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
原文地址:http://525837526.blog.51cto.com/5854754/1420905