配置以太网通道不行

作者:思科培训 来源:来自网络 发布时间:10-01-02

学员提问:

实验图:

问题:SW2使用扩展不停的PING——SW1的IP,当手工将SW1的FA0/1或FA0/2的一个端口SHUTDOWN后,SW2不能再PING通SW2,下面的设置有错误?正常的话是不是当SW1任何一个端口关闭,SW2——PING——SW1都不会出现断线呢?

操作过程:
SW1:
Switch>enable
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname SW1
SW1(config)#int range fa0/1 - 2
SW1(config-if-range)#switchport
SW1(config-if-range)#channel-group 1 mode desirable
SW1(config-if-range)#no shutdown
SW1(config-if-range)#exit
SW1(config)#int vlan 1
SW1(config-if)#ip add 192.168.1.1 255.255.255.0
SW1(config-if)#no shutdown
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW1(config-if)#exit
SW1(config)#

SW2:
Switch>enable
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname SW2
SW2(config)#int range fa0/1 - 2
SW2(config-if-range)#switchport
SW2(config-if-range)#channel-group 1 mode desirable
SW2(config-if-range)#
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up
SW2(config-if-range)#exit
SW2(config)#int vlan 1
SW2(config-if)#ip add 192.168.1.2 255.255.255.0
SW2(config-if)#no shutdown
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
SW2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
SW2#


捷盈讲师及学员解答:

你的配置没有问题的。show etherchannel summary看看以太网信道operation没。