User's Manual
231
packets of private VLAN carry the tag or not.
33.3 Private VLAN Configuration Task List
Configuring Private VLAN
Configuring the association of private VLAN domains
Configuring the L2 port of private VLAN to be the host port
Configuring the L2 port of private VLAN to be the promiscuous port
Modifying related fields of egress packets in private VLAN
Displaying the configuration information of private VLAN
33.4 Private VLAN Configuration Tasks
The conditions for a private VLAN peer to take effect are listed below:
1. Having the primary VLAN
2. Having the secondary VLAN
3. Having the association between primary VLAN and secondary VLAN
4. Having the promiscuous port in primary VLAN
33.4.1 Configuring Private VLAN
Use the following commands to set VLAN to be a private VLAN.
Command Purpose
vlan vlan-id
Enters the VLAN mode.
private-vlan
{primary|community|isolated}
Configures the features of private VLAN.
no private-vlan
{primary|community|isolated}
Deletes the features of private VLAN.
show vlan private-vlan
Displays the configuration of private VLAN.
exit
Exits from Vlan
configuration mode.
33.4.2 Configuring the Association of Private VLAN Domains
Run the following commands to associate the primary VLAN and the secondary VLAN.
Command Purpose
vlan vlan-id
Enters the primary VLAN configuration mode.
private-vlan association
{
svlist
| add
svlist
| remove
svlist
}
Sets the to-be-associated secondary VLAN.