C613-50631-01 Rev A Command Reference for IE340 Series 642
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
VLAN COMMANDS
PRIVATE
-VLAN
private-vlan
Overview Use this command to a create a private VLAN. Private VLANs can be either primary
or secondary. Secondary VLANs can be either community or isolated.
Alternatively, private VLANs can be UFO (Upstream Forwarding Only). Private
VLAN port members are either ‘downstream’ or ‘upstream’. Once a private VLAN is
configured as UFO, its port members by default are downstream.
Use the no variant of this command to remove the specified private VLAN.
For more information, see the VLAN Feature Overview and Configuration Guide.
Syntax
private-vlan <vlan-id> {community|isolated|primary|ufo}
no private-vlan <vlan-id> {community|isolated|primary|ufo}
Mode VLAN Configuration
Examples To configure a set of private VLANs, use the following commands:
awplus# configure terminal
awplus(config)# vlan database
awplus(config-vlan)# vlan 2 name vlan2 state enable
awplus(config-vlan)# vlan 3 name vlan3 state enable
awplus(config-vlan)# vlan 4 name vlan4 state enable
awplus(config-vlan)# private-vlan 2 primary
awplus(config-vlan)# private-vlan 3 isolated
awplus(config-vlan)# private-vlan 4 community
To remove a set of private VLANs, use the following commands:
awplus# configure terminal
awplus(config)# vlan database
awplus(config-vlan)# no private-vlan 2 primary
awplus(config-vlan)# no private-vlan 3 isolated
awplus(config-vlan)# no private-vlan 4 community
Parameter Description
<vlan-id> VLAN ID in the range <2-4094> for the VLAN which is to be made a
private VLAN.
community Community VLAN.
isolated Isolated VLAN.
primary Primary VLAN.
ufo Upstream Forwarding Only (UFO) VLAN.