Configuring a Layer 2 aggregation group
Configuring a Layer 2 static aggregation group
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view. | interface bridge-aggregation interface-number | When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 static aggregation group with the same number as that aggregate interface. |
3. Exit to system view. | quit | N/A |
4. Assign an interface to the specified Layer 2 aggregation group. | Enter Layer 2 Ethernet interface view:interface interface-type interface-number Assign the interface to the specified Layer 2 aggregation group:port link-aggregation group group-id | You can assign multiple Layer 2 Ethernet interfaces to an aggregation group. |
Configuring a Layer 2 dynamic aggregation group
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Set the system LACP priority. | lacp system-priority priority | By default, the system LACP priority is 32768. Changing the system LACP priority might affect the aggregation states of the ports in a dynamic aggregation group. |
3. Create a Layer 2 aggregate interface and enter Layer 2 aggregate interface view. | interface bridge-aggregation interface-number | When you create a Layer 2 aggregate interface, the system automatically creates a Layer 2 static aggregation group with the same number as that aggregate interface. |
4. Configure the aggregation group to operate in dynamic mode. | link-aggregation mode dynamic | By default, an aggregation group operates in static mode. |
5. Exit to system view. | quit | N/A |
6. Assign an interface to the specified Layer 2 aggregation group. | Enter Layer 2 Ethernet interface view:interface interface-type interface-number Assign the interface to the specified Layer 2 aggregation group:port link-aggregation group group-id | You can assign multiple Layer 2 Ethernet interfaces to an aggregation group. |
7. Set the port priority for the interface. | link-aggregation port-priority priority | The default setting is 32768. |