Private VLANs (PVLAN) | 803
• show vlan private-vlan mapping: Display the primary-secondary VLAN mapping. See the example
output from the S50V, above, in Figure 37-6.
• Two
show commands revised to display PVLAN data are:
• show arp
• show vlan: See revised output in Figure 37-7.
Figure 37-4. show vlan private-vlan Example Output from C300
Figure 37-5. show vlan private-vlan Example Output from S50V
Figure 37-6. show vlan private-vlan mapping Example Output from S50V
In the following screenshot, note the addition of the PVLAN codes – P, I, and C – in the left column:
Figure 37-7. show vlan Example Output from S50V
c300-1#show vlan private-vlan
Primary Secondary Type Active Ports
------- --------- --------- ------ ------------------------------------------
4000 Primary Yes Gi 0/0,23,25
4001 Community Yes Gi 4/0,23
4002 Community Yes Gi 4/24,47
4003 Isolated Yes Gi 0/24,47
S50-1#show vlan private-vlan
Primary Secondary Type Active Ports
------- --------- --------- ------ ------------------------------------------
4000 Primary Yes Gi 0/3,25
4001 Community Yes Gi 0/4-5
4003 Isolated Yes Gi 0/6
S50-1#show vlan private-vlan mapping
Private Vlan:
Primary : 4000
Isolated : 4003
Community : 4001
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 Q Ports
* 1 Inactive
100 Inactive
P 200 Inactive primary VLAN in PVLAN T Gi 0/19-20
I 201 Inactive isolated VLAN in VLAN 200 T Gi 0/21
PVLAN codes