beautypg.com

Switchport mode trunk – Allied Telesis AT-DC2552XS User Manual

Page 320

background image

Chapter 13: VLAN Commands

320

Section II: Layer 2 Switching

SWITCHPORT MODE TRUNK

Syntax

switchport mode trunk [ingress-filter enable|disable]]

Parameters

enable

Activates ingress filtering so the tagged port accepts only tagged
frames that have one of its tagged VIDs and discards tagged
frames that do not match. By default, ingress filtering is enabled.

disable

Disabled ingress filtering so the tagged port accepts all tagged
frames.

Mode

Port Interface mode

Description

Use this command to change the ports to the trunk mode to configure as
tagged ports. After changing the ports to the trunk mode, use the
SWITCHPORT TRUNK ALLOWED VLAN command to assign VLANs as
tagged VLANS to the ports. See “SWITCHPORT TRUNK ALLOWED
VLAN” on page 322.

The ingress filtering feature allows you to control whether the tagged port
accepts or rejects tagged frames containing VIDs that do not match the
defined tagged VIDs assigned to the port. When ingress filtering is
enabled, the port accepts only frames containing VIDs that match the
defined tagged VIDs to the port. When ingress filtering is disabled, the port
accepts all tagged frames.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116

Examples

This example changes ports 1.0.4 through 1.0.6 to the trunk mode:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.4-port1.0.6
awplus(config-if)# switchport mode trunk