User Manual

181
Users Manual of XGS-6350-24X4C
18.5.5 Modifying Related Fields of Egress Packets in Private VLAN
Run the following commands to modify related fields of the egress packets in private VLAN:
Command Purpose
Interface interface
Enters the interface configuration mode.
switchport private-vlan tag-pvid vlan-id
Sets the VLAN ID field in the tag of egress packet.
switchport private-vlan tag-pripri
Sets the priority field in the tag of egress packet.
[no] switchport private-vlan untagged
Sets whether the egress packets have the tag or not.
exit
Exits from interface configuration mode.
18.5.6 Displaying the Configuration Information of Private VLAN
Run the following commands in global, interface or VLAN configuration mode to display the private VLAN
configuration information of private VLAN and L2 port:
Command Purpose
show vlan private-vlan
Displays the configuration of private VLAN.
show vlan private-vlan interface interface
Displays the configuration of the L2 port in the private
VLAN.
Configuration Example
18.6
Figure 1: Typical Configuration of Private VLAN
As shown in figure 1, port G0/1 is the promiscuous port in primary VLAN 2 and ports G0/2-G0/6 are host ports,
among which ports G0/2 and G0/3 are host ports (public ports) of Community VLAN 3, port G0/4 is that of
Community VLAN 4, and ports G0/5 and G0/6 are host ports of Isolated VLAN 5.
According to the definition of private VLAN, L2 communication can be conducted between promiscuous port