2
Software version used
This configuration example was created and verified on S7500EX-CMW710-R7168.
Configuration restrictions and guidelines
When you configure Layer 2 link aggregation, follow these restrictions and guidelines:
•
When you assign a port to an aggregation group, the recommended configuration procedure is as
follows:
a.
Use the
display this
command in interface view to check the following attribute configurations
of the port:
−
Port isolation.
−
QinQ.
−
VLAN.
−
VLAN mapping.
b.
If any of the above configurations exist, use the
undo
forms of the corresponding commands to
remove these configurations. This enables the port to use the default attribute configurations.
c.
Assign the port to the aggregation group.
•
An aggregation group can operate in static or dynamic mode. You can choose one mode as
required.
{
In a static aggregation group, the aggregation states of the member ports are not affected by
the peer ports. Static link aggregation is stable.
{
In a dynamic aggregation group, the local system and the peer system automatically maintain
the aggregation states of the member ports. Dynamic link aggregation reduces the
administrators' workload.
•
In a static aggregation group, the Selected state of a port is not affected by whether the peer port
is added to an aggregation group and is Selected. As a result, the Selected state of a port might be
different from the Selected state of the peer port. When both ends support static aggregation and
dynamic aggregation, H3C recommends using dynamic aggregation.
•
You cannot assign a port to a Layer 2 aggregation group when MAC authentication, port security
mode, or 802.1X is configured or enabled on the port.
Configuration procedures
1.
Configure Device A:
# Create VLAN 10, and assign port Ten-GigabitEthernet 1/0/4 to VLAN 10.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port ten-gigabitethernet 1/0/4
[DeviceA-vlan10] quit
# Create VLAN 20, and assign port Ten-GigabitEthernet 1/0/5 to VLAN 20.
[DeviceA] vlan 20
[DeviceA-vlan20] port ten-gigabitethernet 1/0/5