Ruijie Layer 2 Link Aggregation Configuration Experiment + Command Explanation

Introduction to Link Aggregation 

We can bundle multiple physical ports on the switch together to form a logical port, which we call Aggregate Port (hereinafter referred to as AP). The AP function provided by Ruijie equipment conforms to the IEEE802.3ad standard, and it can be used to expand the link bandwidth and provide higher connection reliability. 
The AP function supports traffic balancing, which can evenly distribute traffic to each member link. The AP function also implements link backup. When a member link in the AP is disconnected, the system will automatically distribute the traffic of the member link to other effective member links in the AP. Broadcast or multicast packets received by a member link in the AP will not be forwarded to other member links, so there will be no loops.

Layer 2 static link aggregation

Preface: In order to increase link bandwidth and improve network reliability, it is now necessary to run Layer 2 static link aggregation between two core devices

Command configuration:

Both devices have the same configuration

interface AggregatePort 1 #Create and enter aggregate interface 1

interface range g0/0-2 #Enter g0/0 to g0/2 interface at the same time

 port-group 1 #Add the interface to aggregate interface 1

interface AggregatePort 1 #Enter aggregate interface 1 

switchport mode trunk #set to trunk

aggregateport load-balance src-dst-ip #Change the traffic balance algorithm to the source-destination ip mode, the default is the source MAC+destination MAC mode (the default is this balance algorithm, you can not configure it)

Use the command show aggregatePort summary to view aggregated summary information

 Use the command show aggregatePort load-balance to view the balance algorithm

Layer 2 Dynamic Link Aggregation

command configuration

interface AggregatePort 1 #Create and enter aggregate interface 1

interface range g0/0-2 #Enter g0/0 to g0/2 interface at the same time

 port-group 1 mode active #Add the interface to aggregation interface 1, and set the mode to active

interface AggregatePort 1 #Enter aggregate interface 1 

switchport mode trunk #set to trunk

aggregateport load-balance src-dst-ip #Change the traffic balance algorithm to the source-destination ip mode, the default is the source MAC+destination MAC mode (the default is this balance algorithm, you can not configure it)

Run the show LACP summary command to view the aggregated port summary information

 

Guess you like

Origin blog.csdn.net/m0_62621003/article/details/129903842