The following examples show the results of using this command without the command options on
the C300 and S50V switches in the topology diagram previously shown.
•
Display the primary-secondary VLAN mapping. The following example shows the output from the
S50V.
show vlan private-vlan mapping
This command is specific to the PVLAN feature.
Example of Viewing a Private VLAN (C300)
Example of Viewing a Private VLAN (S50V)
Example of the show vlan private-vlan mapping Command
Example of Viewing VLAN Status
Example of Viewing Private VLAN Configuration
The show arp and show vlan commands are revised to display PVLAN data.
c300-1#show vlan private-vlan
Primary Secondary Type
------- --------- --------- ------ --------------
4000
4001
4002
4003
S50-1#show vlan private-vlan
Primary Secondary Type
------- --------- --------- ------ -----------
4000
4001
4003
S50-1#show vlan private-vlan mapping
Private Vlan:
Primary
: 4000
Isolated
: 4003
Community
: 4001
NOTE: In the following example, notice the addition of the PVLAN codes – P, I, and C – in the left
column.
S50V#show vlan
Codes: * - Default VLAN, G - GVRP VLANs, P - Primary, C - Community, I - Isolated
Q: U - Untagged, T - Tagged
x - Dot1x untagged, X - Dot1x tagged
G - GVRP tagged, M - Vlan-stack
NUM
Status
Description
* 1
Inactive
100
Inactive
P 200
Inactive
primary VLAN in PVLAN
I 201
Inactive
isolated VLAN in VLAN 200 T Gi 0/21
!
interface GigabitEthernet 0/3
Private VLANs (PVLAN)
Active Ports
Primary
Yes
Community Yes
Community Yes
Isolated
Yes
Active Ports
Primary
Yes
Gi 0/3,25
Community Yes
Gi 0/4-5
Isolated
Yes
Gi 0/6
Gi 0/0,23,25
Gi 4/0,23
Gi 4/24,47
Gi 0/24,47
Q Ports
T Gi 0/19-20
633