
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
421
30
Console(config-if)#
switchport mode general
Console(config-if)#
switchport general ingress-filtering disable
30.18 switchport general acceptable-frame-type
The switchport general acceptable-frame-type Interface Configuration mode
command configures the types of packets (tagged/untagged) that are filtered
(discarded) on the interface. Use the no form of this command to return ingress
filtering to the default.
Syntax
switchport general acceptable-frame-type
{tagged-only | untagged-only | all}
no switchport general acceptable-frame-type
Parameters
•
tagged-only—Ignore (discard) untagged packets and priority-tagged
packets.
•
untagged-only—Ignore (discard) VLAN-tagged packets (not including
priority-tagged packets)
•
all—Do 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 port
gi3
to be in general mode and to discard
untagged frames at ingress.
Console(config)#
interface
gi3
Console(config-if)#
switchport mode general
Console(config-if)#
switchport general acceptable-frame-type tagged-only