![Alied Telesis GS970M/10 Command Reference Manual Download Page 447](http://html1.mh-extra.com/html/alied-telesis/gs970m-10/gs970m-10_command-reference-manual_2896773447.webp)
C613-50163-01 Rev C
Command Reference for GS970M Series
447
AlliedWare Plus™ Operating System - Version 5.4.7-0.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).