Command Line Interface
860 1553-KDU 137 365 Uen D 2006-06-16
Example
The following example shows how to set the interface to port 1 and then enable
ingress filtering:
7.17.9 switchport native vlan
This command configures the Port VLAN ID (PVID, that is, the default VLAN ID)
for a port. Use the no form to restore the default.
Syntax
switchport native vlan <vlan-id>
no switchport native vlan
vlan-id - Default VLAN ID for a port. (Range: 1-4094, no leading
zeroes)
Default Setting
VLAN 1
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• If an interface is not a member of VLAN 1 and its PVID is assigned to
this VLAN, the interface will automatically be added to VLAN 1 as an
untagged member. For all other VLANs, an interface must first be
configured as an untagged member before its PVID can be assigned to
that group.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport ingress-filtering
Console(config-if)#