C613-50170-01 Rev B
Command Reference for x510 Series
574
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
VLAN C
OMMANDS
PRIVATE
-
VLAN
ASSOCIATION
private-vlan association
Overview
Use this command to associate a secondary VLAN to a primary VLAN. Only one
isolated VLAN can be associated to a primary VLAN. Multiple community VLANs
can be associated to a primary VLAN.
Use the
no
variant of this command to remove association of all the secondary
VLANs to a primary VLAN.
For more information, see the
VLAN Feature Overview and Configuration Guide
.
Syntax
private-vlan <
primary-vlan-id
> association {add
<
secondary-vlan-id
>|remove <
secondary-vlan-id
>}
no private-vlan <
primary-vlan-id
> association
Mode
VLAN Configuration
Examples
The following commands associate primary VLAN 2 with secondary VLAN 3:
awplus#
configure terminal
awplus(config)#
vlan database
awplus(config-vlan)#
private-vlan 2 association add 3
The following commands remove the association of primary VLAN 2 with
secondary VLAN 3:
awplus#
configure terminal
awplus(config)#
vlan database
awplus(config-vlan)#
private-vlan 2 association remove 3
The following commands remove all secondary VLAN associations of primary
VLAN 2:
awplus#
configure terminal
awplus(config)#
vlan database
awplus(config-vlan)#
no private-vlan 2 association
Parameter
Description
<
primary-vlan-id
>
VLAN ID of the primary VLAN.
<
secondary-vlan-id
>
VLAN ID of the secondary VLAN
(either isolated or community).