User`s manual

106
Host Port Type
Switch(config-if)# switchport mode
private-vlan promiscuous
<cr>
Switch(config-if)# switchport mode
private-vlan host
<cr>
Private VLAN
Port
Configuration
PVLAN Port Type
Host
Association
primary to
secondary
(The command is
only available
for host port.)
Switch(config)# interface gi9
Switch(config-if)# switchport mode
private-vlan host
Switch(config-if)# switchport
private-vlan host-association
<2-4094> Primary range VLAN ID of the
private VLAN port association
Switch(config-if)# switchport
private-vlan host-association 2
<2-4094> Secondary range VLAN ID of
the private VLAN port association
Switch(config-if)# switchport
private-vlan host-association 2 3
Mapping primary
to secondary
VLANs
(This command
is only
available for
promiscuous
port)
Switch(config)# interface gi10
Switch(config-if)# switchport mode
private-vlan promiscuous
Switch(config-if)# switchport
private-vlan mapping 2 add 3
Switch(config-if)# switchport
private-vlan mapping 2 add 4
Switch(config-if)# switchport
private-vlan mapping 2 add 5
Private VLAN Information
Private VLAN
Information
Switch# show vlan private-vlan
FLAGS: I -> Isolated P ->
Promiscuous
C -> Community
Primary Secondary Type Ports
------- --------- -----------------
---------------------
2 3 Isolated
gi10(P),gi9(I)
2 4 Community
gi10(P),gi8(C)
2 5 Community
gi10(P),fa7(C),gi9(I)
10 - - -
PVLAN Type
Switch# show vlan private-vlan type
Vlan Type Ports
---- -----------------
-----------------
2 primary gi10