R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
43
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port access vlan 3
port hybrid pvid
Syntax
port hybrid pvid vlan vlan-id
undo port hybrid pvid
View
Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
vlan-id: Specifies a VLAN ID, ranging from 1 to 4094.
Description
Use the port hybrid pvid command to configure the PVID of the hybrid port.
Use the undo port hybrid pvid command to restore the default.
By default, the PVID of a hybrid port is VLAN 1.
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, it does not affect the setting of the PVID on the port.
The configuration made in Ethernet 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.
HP recommends that you set the same PVID for the local and remote hybrid ports.
You must use the port hybrid vlan command to configure the hybrid port to allow and forward packets
from the PVID.
Related commands: port link-type and port hybrid vlan.
Examples
# Configure VLAN 100 as the PVID of the hybrid port GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] vlan 100
[Sysname-vlan100] quit
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] port link-type hybrid
[Sysname-GigabitEthernet0/1] port hybrid pvid vlan 100