The configuration steps are listed below:
SwitchA#config
SwitchA (Config)#interface eth 1/1
SwitchA (Config-Ethernet1/1)# port-group 1 mode on
SwitchA (Config-Ethernet1/1)#exit
SwitchA (Config)#interface eth 1/2
SwitchA (Config-Ethernet1/2)# port-group 1 mode on
SwitchA (Config-Ethernet1/2)#exit
SwitchA (Config)#interface eth 1/3
SwitchA (Config-Ethernet1/3)# port-group 1 mode on
SwitchA (Config-Ethernet1/3)#exit
SwitchA (Config-Ethernet1/4)# port-group 1 mode on
SwitchA (Config-Ethernet1/4)#exit
SwitchB#config
SwitchB (Config)#port-group 2
SwitchB (Config)#interface eth 1/1-4
SwitchB (Config-Port-Range)#port-group 2 mode on
SwitchB (Config-Port-Range)#exit
Configuration result:
Add ports 1, 2, 3, 4 of Switch 1 to port-group 1 in order, and we can see a group in
"on" mode is completely joined forcedly, switch in other ends won't exchange LACP
BPDU to complete aggregation. Aggregation finishes immediately when the command to
add port 2 to port-group 1 is entered, port 1 and port 2 aggregate to be port-channel 1,
when port 3 joins port-group 1, port-channel 1 of port 1 and 2 are ungrouped and
re-aggregate with port 3 to form port-channel 1. (It should be noted that whenever a new
port joins in an aggregated port group, the group will be ungrouped first and
re-aggregated to form a new group.) Now all four ports in both Switch 1 and Switch 2 are
aggregated in "on" mode and become an aggregated port respectively.
5.4 Port Channel Troubleshooting Help
If problems occur when configuring port aggregation, please first check the following
for causes.
Ensure all ports in a port group have the same properties, i.e., whether they are in
full-duplex mode, forced to the same speed, and have the same VLAN properties,
etc. If inconsistency occurs, make corrections.
173