
404
VLAN Commands
www
.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
Example
This example configures VLAN 20 as the isolated VLAN of primary private VLAN 200.
pr
ivate-vlan co
mm
unity
The
private-vlan community
Interface Configuration mode command associates the primary
VLAN with the community VLANs.
Syntax
private-vlan community
{
add
community-vlan-list
|
remove
community-vlan-list
}
•
add
community-vlan-list
— Specifies a list of community VLAN IDs to be associated.
Separate non-consecutive VLAN IDs with a comma and no spaces; a hyphen designates a
range of IDs.
•
remove
community-vlan-list
— Specifies a list of community VLAN IDs to be removed.
Separate non-consecutive VLAN IDs with a comma and no spaces; a hyphen designates a
range of IDs.
Default Configuration
No association is configured.
Command Mode
Interface Configuration (VLAN) mode
User Guidelines
•
This command creates a community VLAN and associates it with the primary VLAN.
•
The command is executed in the context of the primary VLAN.
•
A community VLAN can only be associated with one primary VLAN.
•
A VLAN that has been configured as a community VLAN cannot be configured as a primary
or isolated VLAN.
•
The command is not supported under the command
interface range vlan
.
Console#
config
Console(config)#
vlan database
Console(config-vlan)#
vlan
200
Console(config-vlan)#
exit
Console(config)#
interface vlan
200
Console(config-if)#
private-vlan primary
Console(config-if)#
private-vlan isolated
20