User's Manual
232
no private-vlan association
Clears all associations between the current primary VLAN
and all secondary VLANs.
exit
Exits the VLAN configuration mode.
33.4.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
Interface interface
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-association
p_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.
33.4.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
Interface interface
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 | add svlist | remove svlist}
Associates the L2 promiscuous port with private VLAN.