Author: Ye Lan╭
"Link Aggregation" Configuration of Digital China Switch
Switch A configuration:
SwitchA (config) #port-group 1 (create a link aggregation group) 1 represents the group number, which can be written freely, but must be consistent with the group number of the following aggregation group
SwitchA(config)#internet ethernet 0/0/1-2 (into port 0/0/1-2)
SwitchA (config-if-port-range)#port-group 1mode on/active/passive (manual/active/passive) (add the port to the link aggregation group and select the mode)
SwitchA(config)#internet port-channel 1 (enter link aggregation group 1)
SwitchA (config-if-port-channel)#switchport mode trunk (Enable the trunk mode of the link aggregation group)
Switch B configuration:
SwitchB(config)#port-group 1 (create 1 link aggregation
Combined group) 1 represents the group number, which can be written freely, but must be consistent with the group number of the aggregation group below
SwitchB(config)#internet ethernet 0/0/1-2 (into port 0/0/1-2)
SwitchB (config-if-port-range) #port-group 1mode on/active/passive (manual/active/passive) (add the port to the link aggregation group and select the mode)
SwitchB(config)#internet port-channel 1 (enter link aggregation group 1)
SwitchB(config-if-port-channel)#switchport mode trunk (Enable the trunk mode of the link aggregation group)
Note: When configuring link aggregation, first create a group and select a mode before plugging in the cable. After connecting the network cable, configure the last step (turn on the Trunk mode)
Tip: Only manual mode (on) can be selected when doing link aggregation between Layer 2 switching and Layer 3 switching
When doing link aggregation between Layer 2 and Layer 3 or Layer 3 and Layer 3, choose active mode and passive mode. When one end is active "active", the other end is passive "passive".
The configuration of switch A is the same as that of switch B, the difference is the selection mode
Multiple aggregation groups can be created when multiple links are aggregated .