EasyManuals Logo

Cisco Catalyst 4500 Series Software Configuration Guide

Cisco Catalyst 4500 Series
2086 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #880 background imageLoading...
Page #880 background image
30-10
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 30 Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Configuring VLAN Mapping
switchport trunk native vlan 40
switchport mode trunk
switchport vlan mapping 10 20
spanning-tree bpdufilter enable
end
If you need to merge CVLAN and SVLAN spanning tree topology, you do not need to configure
spanning-tree bpdufilter enable.
To ensure consistent operation, do not use a native VLAN for translation.
Configuring VLAN Mapping
The following procedures show how to configure each type of VLAN mapping on trunk ports. To verify
your configuration, enter either the show interfaces interface-id vlan mapping or the
show vlan mapping privileged EXEC command. See the “Monitoring and Maintaining Tunneling
Status” section on page 30-23 for the syntax of these commands. For more information about all
commands in this section, see the Catalyst 4500 Series Switch Software Command Reference for this
release.
The following VLAN mapping types are discussed:
One-to-One Mapping, page 30-10
Traditional Q-in-Q on a Trunk Port, page 30-11
Selective Q-in-Q on a Trunk Port, page 30-12
One-to-One Mapping
To configure one-to-one VLAN mapping to map a customer VLAN ID to a service-provider VLAN ID,
perform this task:
Command Purpose
Step 1
Switch# configure terminal
Enters global configuration mode.
Step 2
Switch(config)# interface
interface-id
Enters interface configuration mode for the interface connected to the
service-provider network. You can enter a physical interface or an
EtherChannel port channel.
Step 3
Switch(config-if)# switchport mode
trunk
Configures the interface as a trunk port.
Step 4
Switch(config-if)# switchport vlan
mapping vlan-id translated-id
Enters the VLAN IDs to be mapped:
vlan-id—the customer VLAN ID (C-VLAN) entering the switch
from the customer network. The range is from 1 to 4094.
translated-id—the assigned service-provider VLAN ID (S-VLAN).
The range is from 1 to 4094.
Note Packets with unconfigured vlan_ids are dropped.
Step 5
Switch# end
Returns to privileged EXEC mode.
Step 6
Switch# show vlan mapping
Verifies the configuration.
Step 7
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 4500 Series and is the answer not in the manual?

Cisco Catalyst 4500 Series Specifications

General IconGeneral
SeriesCatalyst 4500 Series
CategorySwitch
Layer SupportLayer 2, Layer 3
Form FactorModular chassis
StackableNo
Chassis Slots3, 6, 7, 10
Power Supply OptionsAC, DC
RedundancyPower supply, Supervisor engine
Network ManagementCisco IOS Software CLI, SNMP, Cisco Prime Infrastructure
FeaturesSecurity, QoS
Port DensityUp to 384 ports per chassis
Security Features802.1X, ACLs, DHCP Snooping, Dynamic ARP Inspection, IP Source Guard
Supervisor Engine8-E

Related product manuals