25-9
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 25 Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling Configuring VLAN Mapping

Mapping Customer VLANs to Service-Provider VLANs

Figure 25-5 shows a topology where a customer uses the same VLANs in multiple sites on different sides
of a service-provider network. You map the customer VLAN IDs to service-provider VLAN IDs for
packet travel across the service-provider backbone. The customer VLAN IDs are retrieved at the other
side of the service-provider backbone for use in the other customer site. Configure the same set of VLAN
mappings at a customer-connected port on each side of the service-provider network.
The examples following the configuration steps illustrate how to use one-to-one mapping, traditional
QinQ, or selective QinQ to map customer VLANs 1 to 5 to service-provider VLANs.
Figure 25-5 Mapping Customer VLANs
Configuring VLAN Mapping
Default VLAN Mapping Configuration, page 25-9
VLAN Mapping Configuration Guidelines, page 25-10
Configuring VLAN Mapping, page 25-11

Default VLAN Mapping Configuration

By default, no VLAN mapping is configured.
Service provider
Customer A
VLANs 1-5
Host
Host
Customer A
VLANs 1-5
Customer A
VLANs 1-5
Customer
switches
Customer
switch
Trunk port Trunk port
VLAN mapping at
customer-connecting ports
278036
Switch A Switch B