R211x-HP Flexfabric 11900 Layer 2 - LAN Switching Command Reference

179
Usage guidelines
You can use a nonexistent VLAN as the PVID for a hybrid port. If you remove the PVID of a hybrid port
with the undo vlan command, the setting of the PVID on the port is not affected.
HP recommends that you set the same PVID for the local and remote hybrid ports.
You must configure the hybrid port to allow and forward packets from the PVID by using the port hybrid
vlan command.
The configuration made in Layer 2 Ethernet interface view applies only to the port.
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.
The configuration made in S-channel interface view or S-channel aggregate interface view applies
only to the interface.
Examples
# Configure VLAN 100 as the PVID of the hybrid port Ten-GigabitEthernet 1/0/1, and assign
Ten-GigabitEthernet 1/0/1 to VLAN 100.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-type hybrid
[Sysname-Ten-GigabitEthernet1/0/1] port hybrid pvid vlan 100
[Sysname-Ten-GigabitEthernet1/0/1] port hybrid vlan 100 untagged
Related commands
port hybrid vlan
port link-type
port hybrid vlan
Use port hybrid vlan to assign the hybrid ports to the specified VLANs.
Use undo port hybrid vlan to remove the hybrid ports from the specified VLANs.
Syntax
port hybrid vlan vlan-id-list { tagged | untagged }
undo port hybrid vlan vlan-id-list
Default
A hybrid port allows only packets from VLAN 1 to pass through untagged.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, S-channel interface view, S-channel
aggregate interface view