cisco4507,4503做HSRP

时间:2014-06-02 03:47:54   收藏:0   阅读:248

4507配置:

interface Port-channel3
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet3/3
 description For 4503-G2/3
 channel-group 3 mode auto
!
interface GigabitEthernet3/4
 description For 4503-G2/4
 channel-group 3 mode auto

 

interface Vlan1
 ip address 10.140.192.253 255.255.255.0
 standby 1 ip 10.140.192.254
 standby 1 priority 110
 standby 1 preempt

 

interface Vlan10
 ip address 10.140.193.253 255.255.255.0
 standby 10 ip 10.140.193.254
 standby 10 priority 110
 standby 10 preempt

 

生成树优先级:

spanning-tree mode pvst

spanning-tree vlan 1-4094 priority 4096

 

4503配置:

interface Port-channel3
 switchport
 switchport trunk encapsulation dot1q
 switchport mode trunk

 

interface GigabitEthernet2/3
 description For 4507
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 3 mode auto
!
interface GigabitEthernet2/4
 description For 4507
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-group 3 mode auto

 

interface Vlan1
 ip address 10.140.192.252 255.255.255.0
 no ip redirects
 standby 1 ip 10.140.192.254
!
interface Vlan10
 ip address 10.140.193.252 255.255.255.0
 no ip redirects
 standby 10 ip 10.140.193.254

 

这样配置完以后,show standby gig3/3失败,sh port-channel 20 is down.

解决办法是不要先creat Port-channel3,要先在4507和4503的interface端口interface GigabitEthernet3/3下面配置channel-group 3 mode auto,然后会自动建立channel-group 3,然后interface Port-channel3
switchport
switchport trunk encapsulation dot1q
switchport mode trunk

这样就OK了!

 

cisco4507,4503做HSRP,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!