EasyManua.ls Logo

Cisco Catalyst 3750-E

Cisco Catalyst 3750-E
1414 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
16-14
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 16 Configuring Private VLANs
Monitoring Private VLANs
Note The private-vlan mapping interface configuration command only affects private-VLAN traffic that is
Layer 3 switched.
When you map secondary VLANs to the Layer 3 VLAN interface of a primary VLAN, note this syntax
information:
The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separated
items. Each item can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs.
Enter a secondary_vlan_list, or use the add keyword with a secondary_vlan_list to map the
secondary VLANs to the primary VLAN.
Use the remove keyword with a secondary_vlan_list to clear the mapping between secondary
VLANs and the primary VLAN.
This example shows how to map the interfaces of VLANs 501and 502 to primary VLAN 10, which
pe
rmits routing of secondary VLAN ingress traffic from private VLANs 501 to 502:
Switch# configure terminal
Switch(config)# interface vlan 10
Switch(config-if)# private-vlan mapping 501-502
Switch(config-if)# end
Switch# show in
terfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan10 501 isolated
vlan10 502 community
Monitoring Private VLANs
Table 16-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 Gi2/0/1, Gi3/0/1, Gi3/0/2
10 502 community Gi2/0/11, Gi3/0/1, Gi3/0/4
10 503 non-operational
Ta b l e 16-1 Private VLAN Monitoring Commands
Command Purpose
show interfaces status Displays the status of interfaces, including the VLANs to which they
bel
ongs.
show vlan private-vlan
[ty
pe]
Display the private-VLAN information for the switch or switch stack.
show interface switchport Display private-VLAN configuration on interfaces.
show interface
pri
vate-vlan mapping
Display information about the private-VLAN mapping for VLAN SVIs.

Table of Contents

Other manuals for Cisco Catalyst 3750-E

Related product manuals