COMMAND LINE INTERFACE

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.

Example

The following example shows how to restrict the traffic passed on port 1 to tagged frames:

Console(config)#interface ethernet 1/1

Console(config-if)#switchport acceptable-frame-types tagged

Console(config-if)#

Related Commands

switchport mode

switchport ingress-filtering

Use this command to enable ingress filtering for an interface. Use the no form to restore the default.

Syntax

switchport ingress-filtering no switchport ingress-filtering

3-100

Page 236
Image 236
SMC Networks SMC7724M/VSW manual Switchport acceptable-frame-types, Switchport ingress-filtering, All frame types