pvlan mapping

Creates a Private VLAN domain with Primary-Secondary pair. Maps promiscuous and host ports to VLAN based forwarding in PVLAN domain.
Syntax
pvlan mapping vlan-id [ ethernet stackid/slot/port | lag decimal ]
no pvlan mapping vlan-id [ ethernet stackid/slot/port | lag decimal ]
Command Default

PVLAN mapping is not configured.

Parameters
vlan-id
Secondary VLAN ID to be mapped to Primary.
ethernet stackid/slot/port

Specifies the ethernet interface ( stack ID or Slot or port) to which the secondary VLAN is to be mapped.

lag decimal

Specifies the LAG interface (decimal) to which the secondary VLAN is to be mapped.

Modes

VLAN configuration mode

Privileged EXEC

Usage Guidelines

This command will map the secondary VLAN to promiscuous port or LAG. Issue this command only on primary VLAN.Secondary VLAN to be mapped should be VALID.Port or LAG with which secondary VLAN is to be mapped should be a member of Primary VLAN.

The no form of the command removes the mapping of Secondary VLAN with promiscuous port or LAG.

Examples

The following example shows how to configure PVLAN mapping on an Ethernet interface.

device(config)#lag ISL dynamic id 1
device(config-lag-ISL)# ports ethe 1/2/3 ethe 1/2/4 
LAG ISL deployed successfully!
device(config-lag-ISL)#!
device(config-lag-ISL)#lag promiscuous dynamic id 2
device(config-lag-promiscuous)# ports ethe 1/2/1 ethe 1/2/2 
LAG promiscuous deployed successfully!
device(config-lag-promiscuous)#!
device(config-lag-promiscuous)#lag wallplate-1 dynamic id 3
device(config-lag-wallplate-1)# ports ethe 1/1/1 to 1/1/4 
LAG wallplate-1 deployed successfully!
devoce(config-lag-wallplate-1)#!
device(config-lag-wallplate-1)#lag wallplate-2 dynamic id 4
device(config-lag-wallplate-2)# ports ethe 1/1/5 to 1/1/8                                        
LAG wallplate-2 deployed successfully!
History
Release version Command history
08.0.61 This command was modified to support LAG ID options.
08.0.70 This command was modified to support mapping of secondary VLAN to promiscuous port or LAG.