User's Manual

Table Of Contents
209
Users Manual of CS-6306R
18.3.4 Modifying the Fields in VLAN TAG
This functionality supports to modify the VLAN ID and priority in VLAN tag and decides whether the egress
packets of private VLAN carry the tag or not.
Private VLAN Configuration Task List 18.4
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
Private VLAN Configuration Tasks 18.5
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
18.5.1 Configuring Private VLAN
Use the following commands to set VLAN to be a private VLAN.
Command Purpose
vlanvlan-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.
18.5.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| addsvlist| removesvlist}
Sets the to-be-associated secondary VLAN.
no private-vlan association
Clears all associations between the current primary VLAN and all secondary VLANs.
exit
Exits the VLAN configuration mode.