beautypg.com

Switchport access vlan – Allied Telesis AT-S83 User Manual

Page 201

background image

AT-S83 Management Software Command Line Interface User’s Guide

201

SWITCHPORT ACCESS VLAN

Syntax

switchport access vlan VLANID <2-4094>

no switchport access vlan VLANID

Parameters

VLANID

Specifies a VLAN ID. Enter a value from 2 to 4094.

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.

Note

The default VLAN ID is 1. Do not use a VLAN ID of 1 due to
interoperability issues.

Command Mode

Interface mode

Example

The following commands sets the default VLAN to 3 on interface 6:

switch#configure terminal

switch(config)#interface xe6

switch(config-if)#switchport access vlan 3

Related Commands

SHOW VLAN