Switchport Access Vlan - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

VLAN C
OMMANDS

SWITCHPORT ACCESS VLAN

switchport access vlan
Overview
Use this command to change the port-based VLAN of the current port.
Use the no variant of this command to change the port-based VLAN of this port to
the default VLAN, vlan1.
Syntax
switchport access vlan <vlan-id>
no switchport access vlan
Default
Reset the default VLAN 1 to specified switchports using the negated form of this
command.
Mode
Interface Configuration
Usage
Any untagged frame received on this port will be associated with the specified
VLAN.
Examples
To change the port-based VLAN to VLAN 3 for port1.0.2, use the commands:
awplus#
awplus(config)#
awplus(config-if)#
To reset the port-based VLAN to the default VLAN 1 for port1.0.2, use the
commands:
awplus#
awplus(config)#
awplus(config-if)#
Related
show interface switchport
Commands
show vlan
C613-50170-01 Rev B
Parameter
Description
<vlan-id>
<1-4094> The port-based VLAN ID for the port.
configure terminal
interface port1.0.2
configure terminal
interface port1.0.2
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
switchport access vlan 3
no switchport access vlan
586

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents