本帖最后由 jayden5 于 2015-4-23 11:40 编辑
图
SW1
Switch>en Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#intport-channel 1 Switch(config-if)#noswitchport Switch(config-if)#ipaddress 192.168.1.1 255.255.255.0 Switch(config-if)#nosh Switch(config-if)#end Switch# Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#intrange e0/1 - 2 Switch(config-if-range)#swtr en dot1q Switch(config-if-range)#switchportmo trunk Switch(config-if-range)#noswitchport
Switch(config-if-range)#noip address Switch(config-if-range)#channel-group1 mode on
Switch(config-if-range)# Switch(config-if-range)#end
Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#port-channelload-balance dst-ip Switch(config)#end
Switch#shoetherchannel sum Switch#shoetherchannel summary Flags: D - down P - in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator u - unsuitable for bundling w - waiting to be aggregated d - default port
Number ofchannel-groups in use: 1 Number ofaggregators: 1
Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------
1 Po1(RU) - e0/1(P) e0/2(P)
Switch# Switch#ping192.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 0 percent (0/5)
SW2 Switch>en Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#intport-channel 1 Switch(config-if)#noswitchport Switch(config-if)#ipaddress 192.168.1.2 255.255.255.0 Switch(config-if)#nosh Switch(config-if)#end Switch# Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#intrange e0/1 - 2 Switch(config-if-range)#swtr en dot1q Switch(config-if-range)#switchportmo trunk Switch(config-if-range)#noswitchport
Switch(config-if-range)#noip address Switch(config-if-range)#channel-group1 mode on
Switch(config-if-range)# Switch(config-if-range)#end
Switch#conf t Enter configurationcommands, one per line. End with CNTL/Z. Switch(config)#port-channelload-balance dst-ip Switch(config)#end
Switch#shoetherchannel sum Switch#shoetherchannel summary Flags: D - down P - in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator u - unsuitable for bundling w - waiting to be aggregated d - default port
Number ofchannel-groups in use: 1 Number ofaggregators: 1
Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------
1 Po1(RU) - e0/1(P) e0/2(P)
同样的配置在 Cisco Packet Tracer 是通的,正常。 但是在GNS3 上就不通,请高手指点。 谢谢!!
|