switchport access vlan
Use this command to change the port-based VLAN of the current port.
Use the no parameter to change the port-based VLAN of this port to the default VLAN, vlan1.
Syntax
switchport access vlan <vlan-id>
no switchport access vlan
Parameter
<vlan-id>
Interface mode
Mode
Any untagged frame received on this port will be associated with the specified VLAN.
Usage
To change the port-based VLAN to VLAN 3 for port1.0.2, use the commands:
Examples
awplus(config-if)#
show vlan
Related Commands
C613-50007-01 REV B
Description
<2-4094> The port-based VLAN ID for the port.
awplus#
configure terminal
awplus(config)#
interface port1.0.2
switchport access vlan 3
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
VLAN Commands
17.7