交换机的端口聚合配置,交换机的端口聚合配置实验总结

许多人想要配置交换的端口聚合,又不知道怎么弄,今天教给大家方法 。

交换机的端口聚合配置,交换机的端口聚合配置实验总结


方法

首先将配置修改为图中样式PC0 。

交换机的端口聚合配置,交换机的端口聚合配置实验总结


PC3的 。
交换机的端口聚合配置,交换机的端口聚合配置实验总结


PC4的 。
交换机的端口聚合配置,交换机的端口聚合配置实验总结


打开配置,输入%LINEPROTO来自-5-UPDOWN:Line protocol on Interface FastEthernet0/5. changed state to up
交换机的端口聚合配置,交换机的端口聚合配置实验总结


继每谁本北杆够罗续输入
Switch>
Switch>en Switchiconf
Confiouring 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 notr
Command 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)fchann
svl(config-if-range)*channel-g
svl(config-if-range)fchannel-group1 mode on
交换机的端口聚合配置,交换机的端口聚合配置实验总结


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
交换机的端口聚合配置,交换机的端口聚合配置实验总结


sw1#show et
swl#show etherchannels
swltshow etherchannel summary
交换机的端口聚合配置,交换机的端口聚合配置实验总结


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
又是一串很长的
Switch> switch>en Switchtconf
Configuring 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)thos
Switch(config)thostname sw2
sw2(config)#int range fa0/4-5 sw2(config-if-range)tsw motr
Coomand 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-g
sw2(confic-if-range)tchannel-grouplmode
交换机的端口聚合配置,交换机的端口聚合配置实验总结


%LINEPROTO-S-UPDOWN:Line protocol on Intertace FastEthernet0/5, changed state to up exit
sw2(config)#port-chan
sw2(config)fport-channel 1
sw2(config)#port-channel load-balance dst-ip sw2(confia)texit sw2#
#SYS-5-CONFIG I:Configured from console by console
交换机的端口聚合配置,交换机的端口聚合配置实验总结


随后修改【Command Prompt】 , 将自己的IP带入其中 。
PC>ping 自己的IP,这样输入
交换机的端口聚合配置,交换机的端口聚合配置实验总结


第二个也是这样设置 。
交换机的端口聚合配置,交换机的端口聚合配置实验总结


三个都这样设置好了后,就完成了 。
【交换机的端口聚合配置,交换机的端口聚合配置实验总结】
交换机的端口聚合配置,交换机的端口聚合配置实验总结


相关经验推荐