beautypg.com

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

Page 206

background image

Chapter 9: Interface Configuration Mode Commands

206

SWITCHPORT TRUNK ALLOWED VLAN

Syntax

switchport trunk allowed vlan
add|all|none|remove|except VLANID

no switchport trunk vlan

Parameters

add

Add a VLAN to transmit and receive through the Layer-2

interface.

all

Allow all VLANs to transmit and receive through the Layer-2

interface.

none

Allow no VLANs to transmit and receive through the Layer-2

interface.

remove

Remove a VLAN that transmits and receives through the

Layer-2 interface.

except

All VLANs, except the VLAN for which the ID is specified, are

able to transmit and receive through the Layer 2 interface.

VLANID Specifies a VLAN ID or a list of VLAN IDs. Enter a value from 2

to 4094. Set a single VLAN, VLAN range, or a VLAN list.

For a VLAN range, specify the lowest VLAN, then the highest

VLAN number in the range, and separate them with a hyphen.

For a VLAN list, specify VLAN numbers separated by commas.

Note

Do not enter spaces between hyphens or commas when setting
parameters for VLAN ranges or lists.

Description

Use the SWITCHPORT ACCESS VLAN command to change the default
VLAN for an interface. Use the no form of this command to remove a
previously created VLAN with the specified VLAN ID.