5.link Aggregation Lab Guide
5.link Aggregation Lab Guide
5.link Aggregation Lab Guide
1
Link Aggregation Lab Guide
Ruijie-SW2(config)#interface aggregatePort 1
Ruijie-SW2(config-if-AggregatePort 1)#no switchport
Ruijie-SW2(config-if-AggregatePort 1)#ip add 12.0.0.2 30
Ruijie-SW2(config-if-AggregatePort 1)#exi
Ruijie-SW2(config)#interface range gigabitEthernet 0/0-1
Ruijie-SW2(config-if-range)#no switchport
Ruijie-SW2(config-if-range)#port-group 1
Ruijie-SW2(config-if-range)#exit
Ruijie-SW2(config)#aggregateport load-balance src-dst-mac
(2) Configure dynamic L2 aggregation for the link between SW2 and SW3, configure an IP
address for the SVI of the gateway, and set the load balancing mode to source IP address +
destination IP address.
Ruijie-SW2(config)#interface range gigabitEthernet 0/2-3
Ruijie-SW2(config-if-range)#port-group 2 mode active
Ruijie-SW2(config-if-range)#exit
Ruijie-SW2(config)#interface aggregatePort 2
Ruijie-SW2(config-if-AggregatePort 2)#switchport mode trunk
Ruijie-SW2(config-if-AggregatePort 2)#exi
Ruijie-SW2(config)#aggregateport load-balance src-dst-ip
Ruijie-SW2(config)#vlan 10
2
Link Aggregation Lab Guide
Ruijie-SW2(config-vlan)#exi
Ruijie-SW2(config)#interface vlan 10
Ruijie-SW2(config-if-VLAN 10)#ip address 192.168.1.254 24
Ruijie-SW2(config-if-VLAN 10)#exit
(2) Shut down one member port (port G0/3) of the L2 aggregate link between SW2 and SW3.
The device logs show that the member port exits the aggregate port. The ping operation
succeeds and no packet loss occurs.
PC1> ping 1.1.1.1 –t
3
Link Aggregation Lab Guide
(3) Run the no shutdown command on port G0/3. The device logs show that the member port
joins the aggregate port. The ping operation succeeds and no packet loss occurs.
(4) Verify the result when a member port of the L3 aggregate port between SW1 and SW2 is
faulty.
1.2 Key Points of the Lab
(1) An L2 port can be added only to an L2 aggregate port. Likewise, an L3 port can be added
only to an L3 aggregate port.
4
Link Aggregation Lab Guide
(2) Member ports of an aggregate port must have the same rate and must work in full-duplex
mode. Otherwise, the aggregation will fail.
(3) In L2 aggregation, member ports must belong to the same VLAN. Otherwise, the aggregation
will fail.