port hybrid pvid vlan
Function
The port hybrid pvid vlan command specifies the default VLAN ID of a hybrid interface.
The undo port hybrid pvid vlan command restores the default VLAN ID of a hybrid interface to the default setting.
By default, VLAN 1 is the default VLAN ID of all interfaces.
Usage Guidelines
Usage Scenario
An interface may receive untagged and tagged frames, but the AC processes only tagged frames. Therefore, the AC adds a tag to each untagged frame received by an interface. The default VLAN ID of the interface can be added to untagged frames so that these frames are forwarded in the default VLAN.
- When the interface receives an untagged frame, it tags the frame with the default VLAN ID. If the default VLAN ID is allowed by the interface, the interface accepts the frame. Otherwise, the interface discards the frame.
- When the interface receives a tagged frame, it accepts the frame if the VLAN ID of the frame is in the list of allowed VLAN IDs. Otherwise, the interface discards the frame.
- If the VLAN ID of a frame is allowed by the interface, the interface forwards the frame.
Prerequisites
The VLAN to be specified as the default VLAN has been created.
Precautions
This command is invalid on a member interface of an Eth-Trunk.
The port hybrid pvid vlan command only specifies the default VLAN for an interface but does not add the interface to the default VLAN.
If you run the port hybrid pvid vlan command multiple times in the same interface view, only the latest configuration takes effect.