Mapping Secondary Vlans To The Layer 3 Vlan Interface Of A Primary Vlan - Cisco 7609 Configuration Manual

Cisco ios software configuration guide—12.1e
Hide thumbs Also See for 7609:
Table of Contents

Advertisement

Chapter 10
Configuring Private VLANs

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

Note
Isolated and community VLANs are both called secondary VLANs.
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
When you map secondary VLANs to the Layer 3 VLAN interface of a primary VLAN, note the
following syntax information:
This example shows how to permit routing of secondary VLAN ingress traffic from private VLANs 303
through 307, 309, and 440 and verify the configuration:
Router# configure terminal
Router(config)# interface vlan 202
Router(config-if)# private-vlan mapping add 303-307,309,440
Router(config-if)# end
Router# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
vlan202
vlan202
vlan202
vlan202
vlan202
vlan202
vlan202
Router#
78-14064-04
The private-vlan mapping interface configuration command only affects private VLAN ingress
traffic that is Layer 3 switched.
The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separated
items. Each item can be a single private VLAN ID or a hyphenated range of private VLAN IDs.
Enter a secondary_vlan_list parameter or use the add keyword with a secondary_vlan_list
parameter to map the secondary VLANs to the primary VLAN.
Use the remove keyword with a secondary_vlan_list parameter to clear the mapping between
secondary VLANs and the primary VLAN.
303
community
304
community
305
community
306
community
307
community
309
community
440
isolated
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.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring Private VLANs
10-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

7600 series

Table of Contents