下面是局域网的核心交换机 (三层交换)和二层交换之间的端口聚合的操作实例: 2950 Switch>en Switch#conf t Enter configuration com mands, one per line
End with CNTL/Z
Switch(config)#int f0/1 Switch(config-if)#channel-group 1 mode on %LINK-5-CHANGED: Interface Port-channel 1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to upSwitch(config-if)#int f0/2 Switch(config-if)#channel-group 1 mode on 3560 Switch(config)#int port-channel 1 Switch(config-if)#exit Switch(config)#ip routing(默认已经启用了 路由 功能 ) Switch(config)#int port-channel 1 Switch(config-if)#no switchport Switch(config-if)#ip add 1
0 Switch(config-if)#no shut Switch(config-if)#exit Switch(config)#int f0/1 Switch(config-if)#no switchport %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed