14-14
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 14 Configuring Private VLANs
Monitoring Private VLANs
Switch(config)# interface vlan 10
Switch(config-if)# private-vlan mapping 501-502
Switch(config-if)# end
Switch# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan10 501 isolated
vlan10 502 community
Monitoring Private VLANs
Tabl e 14-1 shows the privileged EXEC commands for monitoring private-VLAN activity.
This is an example of the output from the show vlan private-vlan command:
Switch(config)# show vlan private-vlan
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
10 501 isolated 0/1, Gi0/, Gi0/3
10 502 community 0/1, Gi0/, Gi0/4
10 503 non-operational
Tab l e 14-1 Private VLAN Monitoring Commands
Command Purpose
show interfaces status Displays the status of interfaces, including the VLANs to which they belongs.
show vlan private-vlan [type]Display the private-VLAN information for the switch.
show interface switchport Display the private-VLAN configuration on interfaces.
show interface private-vlan mapping Display information about the private-VLAN mapping for VLAN SVIs.