142
The configuration made in Layer 2 aggregate interface view applies to the aggregate interface and its
aggregation member ports.
•
If the system fails to apply the configuration to the aggregate interface, it stops applying the
configuration to aggregation member ports.
•
If the system fails to apply the configuration to an aggregation member port, it skips the port and
moves to the next member port.
For more information about Layer 2 aggregate interfaces, see the
Layer 2—LAN Switching
Configuration Guide
.
Before you use this command, make the following configurations:
•
Create a VLAN and associate it with specified protocols.
•
Configure the link type as hybrid.
•
Configure the port to allow the protocol-based VLAN to pass through.
Related commands:
display protocol-vlan interface
.
Examples
# Associate the hybrid port GigabitEthernet 1/0/1 with protocol 0 (AppleTalk) in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type hybrid
[Sysname-GigabitEthernet1/0/1] port hybrid vlan 2 untagged
Please wait... Done
[Sysname-GigabitEthernet1/0/1] port hybrid protocol-vlan vlan 2 0
# Associate the hybrid Layer 2 aggregate interface
Bridge-aggregation 1
with protocol 0 in VLAN 2,
assuming that
Bridge-aggregation 1
does not have member ports.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done
[Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 0
# Associate the hybrid Layer 2 aggregate interface
Bridge-aggregation 1
with protocol 0 in VLAN 2.
Among the member ports of the aggregation group corresponding to
Bridge-aggregation 1
,
GigabitEthernet 1/0/2 is an access port and GigabitEthernet 1/0/3 is a trunk port.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan at
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type access
Please wait... Done.