The port trunk pvid command sets the default VLAN ID of the trunk port.
The undo port trunk pvid command restores the default VLAN ID of the trunk port.
| Parameter | Description | Value |
|---|---|---|
| vlan vlan-id | Specifies the default VLAN ID of the trunk port. | The value is an integer ranging from 1 to 4094. |
By default, interfaces are in VLAN 1.
This command can be configured only when link-type of the Layer 2 Ethernet interface is set to trunk.
Before the configuration, ensure that the VLAN already exists; otherwise, the system displays a message indicating that the input VLAN does not exist.