User Manual
180
Users Manual of XGS-6350-24X4C
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.
18.5.3 Configuring the L2 Port of Private VLAN to Be the Host Port
Run the following commands to set the L2 port of private VLAN to be the host port:
Command
Purpose
Interfaceinterface Enters the interface configuration mode.
switchport mode private-vlan host
Sets the layer-2 port to be in host’s port
mode.
no switchport mode
Deletes the private VLAN mode
configuration of L2 port.
switchport private-vlan host-associationp_vid
s_vid
Associates the L2 host port with private
VLAN.
no switchport private-vlan host-association
Deletes the association between L2 host
port and private VLAN.
exit Exits from the interface configuration mode.
18.5.4 Configuring the L2 Port of Private VLAN to Be the Promiscuous
Port
Run the following commands to set the L2 port of private VLAN to be the promiscuous port:
Command Purpose
Interfaceinterface
Enters the interface configuration mode.
switchport mode private-vlan promiscuous
Sets the layer-2 port to be in promiscuous port
mode.
no switchport mode
Deletes the private VLAN mode configuration of L2
port.
switchport private-vlan mapping
p_vid{svlist | addsvlist | remove svlist}
Associates the L2 promiscuous port with private
VLAN.
no switchport private-vlan mapping
Deletes the association between L2 promiscuous
port and private VLAN.
exit
Exits from the interface configuration
mode.










