C
OMMAND
L
INE
I
NTERFACE
3-98
switchport acceptable-frame-types
Use this command to configure the acceptable frame types for a port. Use
the no form to restore the default.
Syntax
switchport acceptable-frame-types {all | tagged}
no switchport acceptable-frame-types
• all - The port passes all frames, tagged or untagged.
• tagged - The port only passes tagged frames.
Default Setting
All frame types
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• If a port is is connected to a VLAN-aware device at the other end of a
VLAN trunk, you can set the port to pass only tagged frames.
Otherwise, you must configure the port to pass all frame types.
• This command and the switchport mode command have the same
effect.
Example
The following example shows how to restrict the traffic passed on port 1
to tagged frames:
Related Commands
switchport mode
Console(config)#interface ethernet 1/1
Console(config-if)#switchport acceptable-frame-types tagged
Console(config-if)#