beautypg.com

Switchport trunk allowed vlan – Allied Telesis AT-DC2552XS User Manual

Page 322

background image

Chapter 13: VLAN Commands

322

Section II: Layer 2 Switching

SWITCHPORT TRUNK ALLOWED VLAN

Syntaxes

switchport trunk allowed vlan all|none

switchport trunk allowed vlan add

vids

switchport trunk allowed vlan except

vids

switchport trunk allowed vlan remove

vids

Parameters

all

Assigns all existing VLANs on the switch to the tagged ports. The
ports accept any tagged frames with the VID of an existing VLAN.

none

Specifies that the tagged ports do not accept any tagged frames.

add vids

Adds the specified VLANs to the tagged ports. The tagged ports
start accepting tagged frames with the specified VLANs. You can
specify multiple VIDs. Use a comma (,) to separate VIDs and a
hyphen (-) to indicate a range of VIDs.

except vids

Assigns all existing VLANs on the switch, except the specified
VLANs, to the tagged ports. You can specify multiple VIDs. Use a
comma (,) to separate VIDs and a hyphen (-) to indicate a range of
VIDs.

remove vids

Removes the specified VLANs from the list of VLANs assigned to
the tagged port. The tagged ports stop accepting frames with the
specified VLANs. You can specify multiple VIDs at a time. Use a
comma (,) to separate VIDs and a hyphen (-) to indicate a range of
VIDs.

Mode

Port Interface mode

Description

Use this command to assign VLANs to tagged ports so that the tagged
ports send and receive only the frames that have the IDs of the specified
VLANs. You can assign multiple VLANs to tagged ports. The range of
VIDs is 1 to 4094.