beautypg.com

Switchport access vlan – Allied Telesis AT-8100 Series User Manual

Page 932

background image

Chapter 61: Port-based and Tagged VLAN Commands

932

SWITCHPORT ACCESS VLAN

Syntax

switchport access vlan

vid

Parameters

vid

Specifies the ID number of the VLAN to which you want to add
untagged ports. You can specify only one VID.

Mode

Port Interface mode

Description

Use this command to add untagged ports to VLANs. Please review the
following information before using this command:

The specified VLAN must already exist.

A port can be an untagged member of only one VLAN at a time.
When you add a port to a VLAN as an untagged member, the
switch automatically removes it from its current untagged VLAN
assignment before moving it to its new assignment. For example, if
you add port 4 as an untagged port to a VLAN, the switch
automatically removes the port from the VLAN in which it is
currently an untagged member.

The PVID of an untagged port is automatically changed to match
the VID number of the VLAN where it is added. For instance, if you
add port 4 as an untagged member of a VLAN with a VID of 15, the
PVID for port 4 is automatically changed to 15.

If the ports are configured as authenticator or supplicant ports for
802.1x port-based network access control, you must change the
ports to the 802.1x none role before you can change their VLAN
assignments.

Confirmation Command

“SHOW VLAN” on page 930