Switchport 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

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

switchport private-vlan mapping

To define private VLAN mapping for a promiscuous port, use the switchport private-vlan mapping
command. To clear all mapping from the primary VLAN, use the no form of this command.
Syntax Description
primary-vlan-id
secondary-vlan-list
add
remove
trunk
Defaults
Private VLAN mapping is disabled.
Command Modes
Interface configuration mode
Command History
Release
12.1(8a)EW
12.1(12c)EW
12.2(20)EW
12.2(31)SG
Usage Guidelines
There is no run-time effect on the port unless it is in private VLAN promiscuous mode. If the port is in
private VLAN promiscuous mode but the VLANs do not exist, the command is allowed, but the port is
made inactive.
The secondary VLAN may be an isolated or community VLAN.
The maximum number of unique private VLAN pairs supported by the switchport private-vlan
Note
mapping trunk command above is 500. For example, one thousand secondary VLANs could map to one
primary VLAN, or one thousand secondary VLANs could map one to one to one thousand primary
VLANs.
OL-25342 -01
switchport private-vlan mapping {primary-vlan-id} {secondary-vlan-list} |
{add secondary-vlan-list} | {remove secondary-vlan-list}
switchport private-vlan mapping trunk {primary-vlan-id} [add | remove] secondary-vlan-list
no switchport private-vlan mapping [trunk]
Number of the primary VLAN of the private VLAN relationship; valid values
are from 2 to 4094 (excluding 1002 to 1005).
Number of the secondary VLANs to map to the primary VLAN; valid values
are from 2 to 4094.
Maps the secondary VLANs to the primary VLAN.
Clears mapping between the secondary VLANs and the primary VLAN.
Maps the trunks secondary VLANs to the primary VLAN.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for extended addressing was added.
Support for community VLAN was added.
Support for trunk VLAN was added.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
switchport private-vlan mapping
2-1009

Advertisement

Table of Contents
loading

Table of Contents