Private-Vlan Mapping - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

private-vlan mapping

private-vlan mapping
To create a mapping between the primary and the secondary VLANs so that both share the same primary
VLAN SVI, use the private-vlan mapping command. To remove all PVLAN mappings from an SVI, use
the no form of this command.
Syntax Description
primary-vlan-id
secondary-vlan-list
add
remove
Defaults
All PVLAN mappings are removed.
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
Usage Guidelines
The secondary_vlan_list parameter cannot contain spaces. It can contain multiple, comma-separated
items. Each item can be a single PVLAN ID or a range of PVLAN IDs separated by hyphens.
This command is valid in the interface configuration mode of the primary VLAN.
The SVI of the primary VLAN is created at Layer 3.
The traffic that is received on the secondary VLAN is routed by the SVI of the primary VLAN.
The SVIs of the existing secondary VLANs do not function and are considered down after this command
is entered.
A secondary SVI can be mapped to only one primary SVI. If the configured PVLANs association is
different from what is specified in this command (if the specified primary-vlan-id is configured as a
secondary VLAN), all the SVIs that are specified in this command are brought down.
If you configure a mapping between two VLANs that do not have a valid Layer 2 association, the
mapping configuration does not take effect.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
2-540
private-vlan mapping primary-vlan-id {[secondary-vlan-list | {add secondary-vlan-list} |
{remove secondary-vlan-list}]}
no private-vlan mapping
VLAN ID of the primary VLAN of the PVLAN relationship.
(Optional) VLAN ID of the secondary VLANs to map to the primary VLAN.
(Optional) Maps the secondary VLAN to the primary VLAN.
(Optional) Removes the mapping between the secondary VLAN and the
primary VLAN.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
OL-25342 -01

Advertisement

Table of Contents
loading

Table of Contents