COMMAND LINE INTERFACE
switchport native vlan
Use this command to configure the PVID (i.e., default VLAN ID) for a port. Use the no form to restore the default.
Syntax
switchport native vlan
Default Setting
VLAN 1
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
•If the switchport mode is set to trunk, the PVID will be inserted into all untagged frames sent from a tagged port.
•If ingress filtering in disabled, all untagged frames received on this port will be assigned to the VLAN indicated by the PVID.
Example
The following example shows how to set the PVID for port 1 to VLAN 3:
Console(config)#interface ethernet 1/1