C
OMMAND
L
INE
I
NTERFACE
4-216
Example
show vlan private-vlan
Use this command to show the private VLAN configuration settings on
this switch.
Syntax
show vlan private-vlan [community | isolated | primary]
• community – Displays all community VLANs, along with their
associated primary VLAN and assigned host interfaces.
• isolated – Displays an isolated VLAN, along with the assigned
promiscuous interface and host interfaces. The Primary and
Secondary fields both display the isolated VLAN ID.
• primary – Displays all primary VLANs, along with any assigned
promiscuous interfaces.
Default Setting
None
Command Mode
Privileged Executive
Example
Console(config)#interface ethernet 1/2
Console(config-if)#switchport private-vlan mapping 2
Console(config-if)#
Console#show vlan private-vlan
Primary Secondary Type Interfaces
-------- ----------- ---------- ------------------------------
5 primary Eth1/ 3
5 6 community Eth1/ 4 Eth1/ 5
0 8 isolated
Console#