Operation Manual

Configuring LAG LAG Configuration
Configuration Guide
115
Step 4 channel-group
num
mode { on | active | passive }
Add the port to an LAG and set the mode as LACP.
num
: The group number of the LAG.
mode
: LAG mode. Here you need to select LACP mode: active or passive.
In LACP, the switch uses LACPDU (Link Aggregation Control Protocol Data Unit) to negotiate the
parameters with the peer end. In this way, the two ends select active ports and form the aggregation
link. The LACP mode determines whether the port will take the initiative to send the LACPDU.
passive:
The port will not send LACPDU before receiving the LACPDU from the peer end.
active:
The port will take the initiative to send LACPDU.
Step 5 lacp port-priority
pri
Specify the Port Priority. The port with higher priority in an LAG will be selected as the active port. If
two ports have the same priority value, the port with a smaller port number has the higher priority.
pri:
Port priority. The valid values are from 0 to 65535, and the default value is 32768. A smaller value
means a higher port priority.
Step 6 show lacp sys-id
Verify the global system priority.
Step 7 show lacp internal
Verify the LACP configuration of the local switch.
Step 8 end
Return to privileged EXEC mode.
Step 9 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to specify the system priority of the switch as 2:
Switch#configure
Switch(config)#lacp system-priority 2
Switch(config)#show lacp sys-id
2, 000a.eb13.2397
Switch(config)#end
Switch#copy running-config startup-config
The following example shows how to add ports 1/0/1-4 to LAG 6, set the mode as LACP,
and select the LACPDU sending mode as active:
Switch#configure
Switch(config)#interface range ten-gigabitEthernet 1/0/1-4
Switch(config-if-range)#channel-group 6 mode active