Private-Vlan Mapping - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands

private-vlan mapping

Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) on
the switch stack or on a standalone switch to create a mapping between a private-VLAN primary and
secondary VLANs so that both VLANs share the same primary VLAN SVI. Use the no form of this
command to remove private-VLAN mappings from the SVI.
Note
This command is not supported on switches running the LAN base feature set.
Syntax Description
secondary-vlan-list
add
remove
Defaults
The default is to have no private VLAN SVI mapping configured.
Command Modes
Interface configuration
Command History
Release
12.2(53)SE2
Usage Guidelines
The switch must be in VTP transparent mode when you configure private VLANs.
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 SVI of the primary VLAN.
A secondary VLAN can be mapped to only one primary SVI. 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.
OL-21522-02
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
SVI.
(Optional) Map the secondary VLAN to the primary VLAN SVI.
(Optional) Remove the mapping between the secondary VLAN and the
primary VLAN SVI.
Modification
This command was introduced.
Catalyst 3750-X and 3560-X Switch Command Reference
private-vlan mapping
2-469

Advertisement

Table of Contents
loading

Table of Contents