Switchport Private-Vlan Mapping - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

switchport private-vlan mapping

switchport private-vlan mapping
To d efine 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
Defaults
Private VLAN mapping is disabled.
Command Modes
Interface configuration
Command History
Release
12.1(8a)EW
12.1(12c)EW
Usage Guidelines
There is no runtime effect on the port unless it is in PVLAN promiscuous mode. If the port is in PVLAN
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.
Examples
This example shows how to configure the mapping of primary VLAN 18 to secondary isolated VLAN20
on a port:
Switch(config-if)# switchport private-vlan mapping 18 20
Switch(config-if)#
This example shows how to add a VLAN to the mapping:
Switch(config-if)# switchport private-vlan mapping 18 add 21
Switch(config-if)#
Related Commands
show interfaces private-vlan mapping
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
2-470
switchport private-vlan mapping {primary-vlan-id} {secondary-vlan-list} |
{add secondary-vlan-list} | {remove secondary-vlan-list}
no switchport private-vlan mapping
Number of the primary VLAN of the PVLAN relationship; valid values are
from 2 to 4094.
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 secondary VLANs and the primary VLAN.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Support for extended addressing was added.
Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents