VLAN Commands
switchport general allowed vlan
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
513
41
Syntax
switchport general acceptable-frame-type {tagged-only | untagged-only | all}
no switchport general acceptable-frame-type
Parameters
•
tagged-only—Ignores (discards) untagged packets and priority-tagged
packets.
•
untagged-only—Ignores (discards) VLAN-tagged packets (not including
priority-tagged packets)
•
all—Does not discard packets untagged or priority-tagged packets.
Default Configuration
All frame types are accepted at ingress (all).
Command Mode
Interface Configuration (Ethernet, port channel) mode
Example
The following example configures gi3 as a general port and discards the untagged
frames at ingress:
switchxxxxxx(config)#
interface gi3
switchxxxxxx(config-if)#
switchport mode general
switchxxxxxx(config-if)#
switchport general acceptable-frame-type tagged-only
switchport general allowed vlan
General ports can receive tagged or untagged packets. To add or remove the
VLANs to or from a general port and configure whether packets on the egress are
tagged or untagged, use the switchport general allowed vlan Interface
Configuration mode command.
Syntax
switchport general allowed vlan {add
vlan-list
[tagged | untagged] | remove
vlan-
list
}