When PVLANs (private VLANs) are configured, the output of the
show vlans
command includes information about the private VLANs.
Example output when a PVLAN is configured
(config)# show vlans 300
VLAN ID : 300
Name : VLAN300
Status : Port-based
Voice : No
Jumbo : No
Private VLAN: primary
Associated Primary VID : None
Associated Secondary VIDs : 301-303
Port Information Mode Unknown VLAN Status
------------------ ------- -------------- --------
1/A2 Untagged Learn Up
Trk1 Tagged Learn Up
Example output for a secondary isolated VLAN
(config)# show vlans 301
VLAN ID : 301
Name : VLAN301
Status : Port-based
Voice : No
Jumbo : No
Private VLAN: isolated
Associated Primary VID : 300
Associated Secondary VIDs : None
Port Information Mode Unknown VLAN Status
------------------ ------- -------------- --------
1/8 Untagged Learn Up
1/9 Untagged Learn Up
Trk1 No Learn Up