User's Manual

Table Of Contents
210
Users Manual of CS-6306R
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.
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.