ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the
next port. For more information about Layer 2 aggregate interfaces, see Ethernet Link
Aggregation Configuration in the Layer 2 – LAN Switching Configuration Guide.
Before issuing this command, make sure that you have made 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 2/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 2/0/1
[Sysname-GigabitEthernet2/0/1] port link-type hybrid
[Sysname-GigabitEthernet2/0/1] port hybrid vlan 2 untagged
Please wait... Done
[Sysname-GigabitEthernet2/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 2/0/2 is an access port and GigabitEthernet 2/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.
Configuring GigabitEthernet2/0/2... Done.
Configuring GigabitEthernet2/0/3........................................... Done.
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done.
Configuring GigabitEthernet2/0/2... Done.
Configuring GigabitEthernet2/0/3... Done.
13-29