交换机的端口聚合配置
许多人想要配置交换的端口聚合,又不知道怎么弄,今天教给大家方法。
交换机的端口聚合配置
1、首先将配置修改为图中样式PC0。
2、PC3的。
3、PC4的。
4、打开配置,输入%LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/5. changed state to up
5、继续输入Switch> Switch>en SwitchiconfConfiouring fron terminal, memory, or network [terminall? Enter configuration commands, one per line. End with CNTL/Z.Svitch(config) #no ip domain lookup3witch(confia)4hostname sw1 sv1(config)*int rangefa0/4-5 swl(config-it-rangelfsw notrCommand relected:Aninterface whose trunk encapsulation is uuto" can not be confiaured to "trunk" node.Command rejected: An interface whose trunk encapsulation is "Auto" can not be confiqured to "trunk" mode. swl(config-if-range)fchannsvl(config-if-range)*channel-gsvl(config-if-range)fchannel-group1 mode on
6、%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
7、sw1#show etswl#show etherchannelsswltshow etherchannel summary
8、%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
9、又是一串很长的Switch> switch>en SwitchtconfConfiguring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.Switchiconfig)no ip domain looku Switch(config)*no ip domain lookup Switch(config)thosSwitch(config)thostname sw2sw2(config)#int range fa0/4-5 sw2(config-if-range)tsw motrCoomand reiected:An interface whose trunk encapsulation is "Auto" can not be contigured to "trunk" mode.Command rejected:An intertace whose trunk encapsulation is "Auto" can not be configured to "trunk" mode. sw2(config-it-range)*sw2(config-if-range)fchannel-gsw2(confic-if-range)tchannel-grouplmode
10、%LINEPROTO-S-UPDOWN:Line protocol on Intertace FastEthernet0/5, changed state to up exitsw2(config)#port-chansw2(config)fport-channel 1sw2(config)#port-channel load-balance dst-ip sw2(confia)texit sw2##SYS-5-CONFIG I:Configured from console by console
11、随后修改【Command Prompt】,将自己的IP带入其中。PC>ping 自己的IP,这样输入
12、第二个也是这样设置。
13、三个都这样设置好了后,就完成了。