
Method 2: Configure link aggregation in LACP mode.
[CORE1]
interface Eth-Trunk 1
[CORE1-Eth-Trunk1]
mode lacp
[CORE1-Eth-Trunk1]
trunkport GigabitEthernet 0/0/5 to 0/0/6
[CORE1-Eth-Trunk1]
port link-type access
[CORE1-Eth-Trunk1]
port default vlan 300
[CORE1-Eth-Trunk1]
quit
# Set the system priority of CORE1 to 100 so that CORE1 becomes the Actor.
[CORE1]
lacp priority 100
[CORE1]
interface Eth-Trunk 1
[CORE1-Eth-Trunk1]
max active-linknumber 2
[CORE1-Eth-Trunk1]
quit
[CORE1]
interface GigabitEthernet 0/0/5
[CORE1-GigabitEthernet0/0/5]
lacp priority 100
[CORE1-GigabitEthernet0/0/5] quit
[CORE1]
interface GigabitEthernet 0/0/6
[CORE1-GigabitEthernet0/0/6]
lacp priority 100
[CORE1-GigabitEthernet0/0/6]
quit
# On CORE1, set the maximum number of active interfaces to 2.
# On CORE1, set interface priorities to determine active links. (Configure GE0/0/5 and
GE0/0/6 as active interfaces.)
The configuration of CORE2 is similar to that of CORE1. The difference is that
CORE2 uses the default system priority.
For details on link aggregation configuration and commands, see "Link Aggregation
Configuration" and configuration examples in the corresponding
based on the version of the device.
46
Method 1: Configure link aggregation in load balancing mode.
[CORE1]
interface Eth-Trunk 1
[CORE1-Eth-Trunk1]
trunkport GigabitEthernet 0/0/5 to 0/0/6
[CORE1-Eth-Trunk1]
port link-type access
[CORE1-Eth-Trunk1]
port default vlan 300
[CORE1-Eth-Trunk1]
quit
Configure link aggregation.
1