642-813lacp实验中channel-groude 1状态为什么为SD
准备要考642-813,但是在做lacp的时候总是配到swith A的channel-group总是处在SD状态。以下是配置:SWitchB:
spanning-tree mode rapid-pvst
spanning-tree vlan 11-13,21-23 priority 28672
interface FastEthernet0/3
channel-group 1 mode passive
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/4
channel-group 1 mode passive
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/9
switchport access vlan 21
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/10
switchport access vlan 21
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 22
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 22
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 23
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 23
switchport mode access
spanning-tree portfast
!
interface Port-channel 1
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
ip address 192.168.1.11 255.255.255.0
!
SWitch A:
spanning-tree mode rapid-pvst
spanning-tree vlan 11-13,21-23 priority 24576
!
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
channel-group 1 mode active
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/4
channel-group 1 mode active
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
!
!
!
interface Port-channel 1
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
测试结果如下:
swith B ping 192.168.1.1,数据总是断断续续的。192.168.1.1是路由器f0/0ip。
方法1:在配置 Port-channel的时候,两端的接口先shutdown,都配置完后,在no shutdown.
方法2:两端的模式都配置成on 试试。 victor_huang 发表于 2012-11-16 13:28 static/image/common/back.gif
方法1:在配置 Port-channel的时候,两端的接口先shutdown,都配置完后,在no shutdown.
方法2:两端的模式 ...
on-on 的是没有协议的,passive-active,是LACP,desirable-auto 是PAGP,两个协议不一样的,SD直接把那个端口在组里面dow 然后在no shut -woniu2--woniu2--woniu2--woniu2-
页:
[1]