Configuring A Layer 2 Interface As A Pvlan Promiscuous Port - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 47
Configuring Private VLANs
Switch# configure terminal
Switch(config)# vlan 202
Switch(config-vlan)# private-vlan association 303-307,309,440
Switch(config-vlan)# end
Switch# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
202
202
202
202
202
202
202
202
202
Note
The secondary VLAN 308 has no associated primary VLAN.

Configuring a Layer 2 Interface as a PVLAN Promiscuous Port

To configure a Layer 2 interface as a PVLAN promiscuous port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface {fastethernet |
gigabitethernet | tengigabitethernet} slot/port
Step 3
Switch(config-if)# switchport mode private-vlan
{host | promiscuous | trunk promiscuous | trunk
[secondary]}
Step 4
Switch(config-if)# [no] switchport private-vlan
mapping [trunk] primary_vlan_ID
{secondary_vlan_list | add secondary_vlan_list |
remove secondary_vlan_list}
Step 5
Switch(config-if)# end
Step 6
Switch# show interfaces {fastethernet |
gigabitethernet | tengigabitethernet} slot/port
switchport
The maximum number of unique PVLAN pairs supported by the switchport private-vlan mapping
Note
command is 1000.
When you configure a Layer 2 interface as a PVLAN promiscuous port, note the following:
303
community
304
community
305
community
306
community
307
community
309
community
440
isolated
550
twoway-community
551
twoway-community
552
twoway-community
308
community
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 hyphenated range of PVLAN IDs.
Enter a secondary_vlan_list or use the add keyword with a secondary_vlan_list to map the
secondary VLANs to the PVLAN promiscuous port.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Interfaces
Purpose
Enters global configuration mode.
Specifies the LAN interface to configure.
Configures a Layer 2 interface as a PVLAN promiscuous
port.
Maps the PVLAN promiscuous port to a primary VLAN
and to selected secondary VLANs.
Exits configuration mode.
Verifies the configuration.
Configuring PVLANs
47-17

Advertisement

Table of Contents
loading

Table of Contents