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 shows how to set the PVID to 100:
CODE
Switch (config)# interface 1/0/10
Switch (config-if)# switchport hybrid pvid 100

This example shows the output of the show interfaces command:

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