Cisco Systems SPS208G Switch User Manual


 
VLAN Commands
switchport trunk native vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 491
34
remove
vlan-list —
List of VLAN IDs to be removed. Separate
nonconsecutive VLAN IDs with a comma and no spaces. A hyphen
designates a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example adds VLANs 1, 2, 5 to 6 to the allowed list.
console(config-if)# switchport trunk allowed vlan add 1-2,5-6
switchport trunk native vlan
The switchport trunk native vlan Interface Configuration mode command defines
the native VLAN when the interface is in trunk mode. Use the no form of this
command to restore the default configuration.
Syntax
switchport trunk native vlan
vlan-id
no switchport trunk native vlan
Parameters
vlan-id—
Specifies the ID of the native VLAN.