beautypg.com

Private-vlan association – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 431

background image

VLAN Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

17.3

private-vlan association

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 section

“Private VLANs” on page 16.5

.

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:

The following commands remove the association of primary VLAN 2 with secondary
VLAN 3:

The following commands remove all secondary VLAN associations of primary VLAN 2:

Parameter

Description

<primary-vlan-id>

VLAN ID of the primary VLAN.

<secondary-vlan-id>

VLAN ID of the secondary VLAN
(either isolated or community).

awplus#

configure terminal

awplus(config)#

vlan database

awplus(config-vlan)#

private-vlan 2 association add 3

awplus#

configure terminal

awplus(config)#

vlan database

awplus(config-vlan)#

private-vlan 2 association remove 3

awplus#

configure terminal

awplus(config)#

vlan database

awplus(config-vlan)#

no private-vlan 2 association