SMC Networks SMC6750L2 Switch User Manual


 
C
OMMAND
L
INE
I
NTERFACE
3-100
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 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 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
Console(config-if)#switchport native vlan 3
Console(config-if)#