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
permits 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 interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan10 501 isolated
vlan10 502 community
Monitoring Private VLANs
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
Table 16-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 or switch stack.
show interface switchport
Display private-VLAN configuration on interfaces.
show interface
private-vlan mapping
Display information about the private-VLAN mapping for VLAN SVIs.
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...