private-vlan mapping
private-vlan mapping
Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) to
create a mapping between a private-VLAN primary and secondary VLANs so that both VLANs share
the same primary VLAN interface. Use the no form of this command to remove private-VLAN mappings
from the interface.
Syntax Description
secondary-vlan-list
add
remove
Defaults
The default is to have no private VLAN mapping configured.
Command Modes
Interface configuration
Command History
Release
12.2(25)EX
Usage Guidelines
The SVI of the primary VLAN is created at Layer 3.
Configure Layer 3 VLAN interfaces (SVIs) only for primary VLANs. You cannot configure Layer 3
VLAN interfaces for secondary VLANs. SVIs for secondary VLANs are inactive while the VLAN is
configured as a secondary VLAN.
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. The list
can contain one isolated VLAN and multiple community VLANs.
Traffic that is received on the secondary VLAN is routed by the interface of the primary VLAN.
A secondary VLAN can be mapped to only one primary VLAN. IF you configure the primary VLAN as
a secondary VLAN, all SVIs specified in this command are brought down.
If you configure a mapping between two VLANs that do not have a valid Layer 2 private-VLAN
association, the mapping configuration does not take effect.
Cisco ME 3400 Ethernet Access Switch Command Reference
2-302
private-vlan mapping {[add | remove] secondary-vlan-list}
no private-vlan mapping
Specify one or more secondary VLANs to be mapped to the primary VLAN
interface.
(Optional) Map the secondary VLAN to the primary VLAN interface.
(Optional) Remove the mapping between the secondary VLAN and the
primary VLAN interface.
Modification
This command was introduced.
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
OL-9640-07