Chinaunix首页 | 论坛 | 博客
  • 博客访问: 570671
  • 博文数量: 111
  • 博客积分: 3478
  • 博客等级: 中校
  • 技术积分: 1327
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-28 22:37
文章分类

全部博文(111)

文章存档

2013年(4)

2012年(57)

2011年(15)

2010年(7)

2009年(28)

分类:

2012-07-10 17:33:18

cisco 模拟器相关指令,

端口加入到vlan
configure terminal

interface fastEthernet port_id

switchport mode access
 
switchport access vlan vlan_id

端口加入到channel
二层:
configure termianl
interface port-channel channel_number
exit
interface port_id
channel-group channel_id mode on
exit


configure termianl
interface range fastEthernet 1/1 - 2
channel-group 1 mode on

把port-channel 加入到trunk
interface port-channel port-channel_id
switchport mode trunk (注意不能直接进入interface range port_id1 - portidn 的形式来对port-channel内的端口做trunk)

vrrp configuration
interface vlan_id (在那个vlan上做vrrp)
vrrp vrrp_number ip (配置vrrp的虚拟ip)
vrrp vrrp_number priority priority_number
vrrp vrrp_number preempt


stp 针对vlan的端口,portchannel的端口等
interface port-channel port-channel_id (要配置stp协议的vlan,vlan_id)

stp协议解决什么问题那?

stp使任意两个节点之间只有一条路径链接,而其他的冗余链路则被阻塞,从而防止环路

 

阅读(1139) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~