VLAN Commands
switchport general allowed vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 492
34
Default Configuration
VID=1.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command adds the port as a member in native VLAN. If the port is already in
the VLAN (as allowed) it will automatically change the last entry to native.
The command adds the port as a member in native VLAN 2. If the port is already
configured as a native VLAN 3 it will automatically change the last entry (VLAN 2).
Only one native VLAN can be configured to the port.
Example
The following example configures VLAN number 123 as the native VLAN when
Ethernet port 1 is in trunk mode.
Console(config)# interface ethernet 1
Console(config-if)# switchport mode trunk
Console(config-if)# switchport trunk native vlan 123
switchport general allowed vlanThe switchport general allowed vlan Interface Configuration mode command
adds or removes VLANs from a general port.
Syntax
switchport general allowed vlan add
vlan-list
[tagged | untagged]
switchport general allowed vlan remove