switchport hybrid pvid

This topic explains the command that sets the port VLAN ID (PVID) of an interface.

Syntax

switchport hybrid pvid <1-4094>

Parameter

<1-4094>: The port VLAN ID (PVID) is a number from 1 to 4094.

Default

The PVID is 1.

Mode

Interface Configuration

Usage

Use this command to set the PVID of an interface.

You can verify your setting in the output of the show interfaces command.

Example

This example sets the PVID for interface g1 to 100:
CODE
Switch (config)# interface g10
Switch (config-if)# switchport hybrid pvid 100

This example shows the output of the show interfaces command:

CODE
Switch# show interfaces switchport g10
Port : g10
Port Mode : Hybrid
Ingress Filtering : enabled
Acceptable Frame Type : all
Ingress UnTagged VLAN ( NATIVE ) : 100
Trunking VLANs Enabled: