VLAN Commands
©2008 Allied Telesis Inc. All rights reserved.
16.6
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
show vlan private-vlan
Use this command to display the private-vlan configuration and associations.
Syntax
show vlan private-vlan
Mode
Privileged Exec mode
Example
awplus# show vlan private-vlan
PRIMARY SECONDARY TYPE INTERFACES
------- --------- ---------- ----------
2 3 isolated
2 4 community
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
Mode
Interface mode
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:
Related Commands
show vlan
Parameter
Description
<
vlan-id
>
<2-4094> The port-based VLAN ID for the port.
awplus#
configure terminal
awplus(config)#
interface port1.0.2
awplus(config-if)#
switchport access vlan 3