Switchport General Allowed Vlan - Cisco SPS2024 Reference Manual

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

VLAN Commands

switchport general allowed vlan

switchport general allowed vlan
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
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
The switchport general allowed vlan Interface Configuration mode command
adds or removes VLANs from a general port.
Syntax
switchport general allowed vlan add
switchport general allowed vlan remove
vlan-list
[tagged | untagged]
vlan-list
34
492

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents