user manual

SUMMARY STEPS
1.
configure terminal
2.
interface vlan primary_vlan_id
3.
private-vlan mapping [add | remove] secondary_vlan_list
4.
end
5.
show interface private-vlan mapping
6.
copy running-config startup config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Enters interface configuration mode for the primary VLAN, and
configures the VLAN as an SVI. The VLAN ID range is 2 to 1001
and 1006 to 4094.
interface vlan primary_vlan_id
Example:
Switch(config)# interface vlan 10
Step 2
Maps the secondary VLANs to the Layer 3 VLAN interface of a
primary VLAN to allow Layer 3 switching of private VLAN ingress
traffic.
private-vlan mapping [add | remove]
secondary_vlan_list
Example:
Switch(config-if)# private-vlan mapping
Step 3
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.
501-502
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.
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 4
Verifies the configuration.show interface private-vlan mapping
Example:
Switch# show interfaces private-vlan
Step 5
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
100 OL-29440-01
Configuring Private VLANs
Mapping Secondary VLANs to a Primary VLAN Layer 3 VLAN Interface