雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1741|回复: 3

[讨论/求助] 642-813lacp实验中channel-groude 1状态为什么为SD

[复制链接]
发表于 2012-11-16 10:48:24 | 显示全部楼层 |阅读模式
准备要考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。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2012-11-16 13:28:57 | 显示全部楼层
方法1:在配置 Port-channel的时候,两端的接口先shutdown,都配置完后,在no shutdown.
方法2:两端的模式都配置成on 试试。
发表于 2012-11-16 18:02:27 | 显示全部楼层
victor_huang 发表于 2012-11-16 13:28
方法1:在配置 Port-channel的时候,两端的接口先shutdown,都配置完后,在no shutdown.
方法2:两端的模式 ...

on-on 的是没有协议的,passive-active,是LACP,desirable-auto 是PAGP,两个协议不一样的,SD直接把那个端口在组里面dow 然后在no shut
发表于 2012-12-18 23:53:20 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-21 19:33 , Processed in 0.106345 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表