Administrator Guide

Layer 2 Switching Commands 830
Syntax
switchport general acceptable-frame-type tagged-only
no switchport general acceptable-frame-type tagged-only
Default Configuration
All frame types are accepted at ingress.
Command Mode
Interface Configuration (Ethernet and port channel) mode
User Guidelines
It is possible to configure the general mode acceptable frame types of a port
while the port is in access or trunk mode. Doing so does not change the
configuration of the port until it is configured to be in general mode.
Example
The following example configures 1/0/8 to discard untagged frames at ingress.
console(config)#interface gigabitethernet 1/0/8
console(config-if-Gi1/0/8)#switchport general acceptable-frame-type tagged-
only
switchport general allowed vlan
Use the switchport general allowed vlan command in Interface
Configuration mode to add VLANs to or remove VLANs from a general port.
Syntax
switchport general allowed vlan add
vlan-list
[tagged | untagged]
switchport general allowed vlan remove
vlan-list
add
vlan-list
List of VLAN IDs to add. Separate nonconsecutive VLAN
IDs with a comma and no spaces. Use a hyphen to designate a range of
IDs.
remove
vlan-list
— List of VLAN IDs to remove. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range
of IDs.
2CSNXXX_SWUM204.book Page 830 Monday, January 25, 2016 1:25 PM