D-Link DES-3010FA/GA CLI Reference Guide
Page 293
private-vlan community
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 nonconsecu-
tive 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 noncon-
secutive 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.
Example
This example associates primary private VLAN 200 with community private VLAN 2.
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 community add
2