Configuring LAG Configuration Examples
User Guide     119
Figure 3-4 LACP Configuration
4)  Click   to save the settings.
3.2.4  Using the CLI
The configurations of Switch A and Switch B are similar. The following introductions take 
Switch A as an example.
1)  Configure the load-balancing algorithm as “src-dst-mac”.
Switch#configure
Switch(config)#port-channel load-balance src-dst-mac
2)  Specify the system priority of Switch A as 0. Remember to ensure that the system 
priority value of Switch B is bigger than 0.
Switch(config)#lacp system-priority 0
3)  Add ports 1/0/1-8 to LAG 1 and set the mode as LACP. Then specify the port priority as 
0 to make them active.
Switch(config)#interface range gigabitEthernet 1/0/1-8
Switch(config-if-range)#channel-group 1 mode active
Switch(config-if-range)#lacp port-priority 0
Switch(config-if-range)#exit
4)  Add port 1/0/9 to LAG 1 and set the mode as LACP. Then specify the port priority 
as 1 to set it as a backup port. When any of the active ports is down, this port will be 
preferentially selected to work as an active port.
Switch(config)#interface gigabitEthernet 1/0/9
Switch(config-if)#channel-group 1 mode active