Mapping Secondary Vlans To The Layer 3 Vlan Interface Of A Primary Vlan - Cisco WS-SUP32-GE-3B - Supervisor Engine 32 Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-SUP32-GE-3B - Supervisor Engine 32:
Table of Contents

Advertisement

Chapter 13
Configuring Private VLANs
This example shows how to associate community VLANs 303 through 307 and 309 and isolated VLAN
440 with primary VLAN 202 and verify the configuration:
Router# configure terminal
Router(config)# vlan 202
Router(config-vlan)# private-vlan association 303-307,309,440
Router(config-vlan)# end
Router# show vlan private-vlan
Primary Secondary Type
------- --------- ----------------- ------------------------------------------
202
202
202
202
202
202
202

Mapping Secondary VLANs to the Layer 3 VLAN Interface of a Primary VLAN

Isolated and community VLANs are both called secondary VLANs.
Note
To map secondary VLANs to the Layer 3 VLAN interface of a primary VLAN to allow Layer 3 switching
of private VLAN ingress traffic, perform this task:
Command
Step 1
Router(config)# interface vlan primary_vlan_ID
Step 2
Router(config-if)# private-vlan mapping
{secondary_vlan_list | add secondary_vlan_list |
remove secondary_vlan_list}
Router(config-if)# [no] private-vlan mapping
Step 3
Router(config-if)# end
Step 4
Router# show interface private-vlan mapping
OL-11439-03
The secondary_vlan_list parameter can contain only one isolated VLAN ID.
Enter a secondary_vlan_list or use the add keyword with a secondary_vlan_list to associate
secondary VLANs with a primary VLAN.
Use the remove keyword with a secondary_vlan_list to clear the association between secondary
VLANs and a primary VLAN.
The command does not take effect until you exit VLAN configuration submode.
When you exit the VLAN configuration submode, only the last specified configuration takes effect.
303
community
304
community
305
community
306
community
307
community
309
community
440
isolated
308
community
Catalyst Supervisor Engine 32 PISA Cisco IOS Software Configuration Guide, Release 12.2ZY
Interfaces
Purpose
Enters interface configuration mode for the primary
VLAN.
Maps the secondary VLANs to the Layer 3 VLAN
interface of a primary VLAN to allow Layer 3 switching
of private VLAN ingress traffic.
Clears the mapping between the secondary VLANs and
the primary VLAN.
Exits configuration mode.
Verifies the configuration.
Configuring Private VLANs
13-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst supervisor engine 32 pisa

Table of Contents