PHP?refimg=" + this.src)" src="http://img.jb51.cc/vcimg/000/004/248/506_ca5_877.jpg" alt="" border="0">
要配置端口聚合时,首先要保证两台交换机所聚合的端口必须工作在半双工方式下,同时还要工作在相同的速率属于相VLAN并且链路也必须一致。
1:
Switch>en
Switch#conf t
Enter configuration commands,one per line. End with CNTL/Z.
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shut
Switch#conf t
Enter configuration commands,one per line. End with CNTL/Z.
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shut
%LINK-5-CHANGED: Interface Vlan1,changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,changed state to up
Switch(config-if)#exit
Switch(config)#int range f0/1 - 2
Switch(config-if-range)#switchport access vlan 1
Switch(config-if-range)#speed 100
Switch(config-if-range)#duplex half
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,changed state to up
Switch(config-if)#exit
Switch(config)#int range f0/1 - 2
Switch(config-if-range)#switchport access vlan 1
Switch(config-if-range)#speed 100
Switch(config-if-range)#duplex half
switch(config-if-range)#channel-group 1 mode on
2.
2.
方法同上
3:1ping 2
Switch#ping 192.168.1.2
Type escape sequence to abort. Sending 5,100-byte ICMP Echos to 192.168.1.2,timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5),round-trip min/avg/max = 31/31/31 ms