Cisco Systems WSC2960XR48FPSI Manual De Usuario
Purpose
Command or Action
single private VLAN ID or a hyphenated range of private VLAN
IDs.
IDs.
mapping 20 add 501-503
Enter a secondary_vlan_list, or use the add keyword with a
secondary_vlan_list to map the secondary VLANs to the private
VLAN promiscuous port.
secondary_vlan_list to map the secondary VLANs to the private
VLAN promiscuous port.
Use the remove keyword with a secondary_vlan_list to clear
the mapping between secondary VLANs and the private VLAN
promiscuous port.
the mapping between secondary VLANs and the private VLAN
promiscuous port.
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 5
Verifies the configuration.
show interfaces [interface-id] switchport
Example:
Switch#
show interfaces gigabitethernet1/0/2
Step 6
switchport
Saves your entries in the switch startup configuration file.
copy running-config startup config
Example:
Switch#
copy running-config startup-config
Step 7
Related Topics
Private VLANs Ports, on page 88
Mapping Secondary VLANs to a Primary VLAN Layer 3 VLAN Interface
If the private VLAN will be used for inter-VLAN routing, you configure an SVI for the primary VLAN and
map secondary VLANs to the SVI.
map secondary VLANs to the SVI.
Isolated and community VLANs are both secondary VLANs.
The private-vlan mapping interface configuration command only affects private VLAN traffic that is Layer
3 switched.
3 switched.
Beginning in privileged EXEC mode, follow these steps to map secondary VLANs to the SVI of a primary
VLAN to allow Layer 3 switching of private VLAN traffic:
VLAN to allow Layer 3 switching of private VLAN traffic:
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01
99
Configuring Private VLANs
Mapping Secondary VLANs to a Primary VLAN Layer 3 VLAN Interface