Command Line Interface4-1844ExampleThe following example shows how to set the interface to port 1 and then enableingress filtering:switchport native vlanThis command configures the PVID (i.e., default VLAN ID) for a port. Use the noform to restore the default.Syntaxswitchport native vlan vlan-idno switchport native vlanvlan-id - Default VLAN ID for a port. (Range: 1-4094, no leading zeroes)Default SettingVLAN 1Command ModeInterface Configuration (Ethernet, Port Channel)Command Usage• If an interface is not a member of VLAN 1 and you assign its PVID to thisVLAN, the interface will automatically be added to VLAN 1 as an untaggedmember. For all other VLANs, an interface must first be configured as anuntagged member before you can assign its PVID to that group.• If acceptable frame types is set to all or switchport mode is set to hybrid, thePVID will be inserted into all untagged frames entering the ingress port.ExampleThe following example shows how to set the PVID for port 1 to VLAN 3:Console(config)#interface ethernet 1/1Console(config-if)#switchport ingress-filteringConsole(config-if)#Console(config)#interface ethernet 1/1Console(config-if)#switchport native vlan 3Console(config-if)#