VLAN mappings
A VLAN mapping is a Layer 2 feature that translates customer VLAN IDs (VLAN ID assigned by the customer) into service VLAN IDs (VLAN ID assigned by the service provider) on trunk ports connected to your network. The VLAN mapping:
-
enables service providers reuse of VLAN IDs across shared backbones by maintaining traffic isolation, and
-
requires all features on mapped ports must reference the S-VLAN instead of the original C-VLAN.
Typical deployment scenario
In a typical deployment, service providers want to provide a transparent switching infrastructure where customers' remote switches function as part of the local site. This allows customers to use the same VLAN ID space and run Layer 2 control protocols seamlessly across the provider network. We recommend that service providers do not impose their VLAN IDs on customers.
Service providers internal VLAN assignments might conflict with a customer's VLANs. VLAN mapping solves this by translating customer VLANs into different service provider VLANs while traffic travels through the provider's network.
VLAN mapping operations and behaviors
VLAN mapping is supported on all models of Cisco Catalyst IE9300 Rugged Series Switches with Network Essentials or Network Advantage licenses. Any feature that you configure on a VLAN-mapped port must reference the S-VLAN rather than the original C-VLAN.
Service provider’s internal assignments might conflict with a customer’s VLAN. To isolate customer traffic, a service provider
could decide to map a specific VLAN into another one while the traffic is in its cloud.
When packets enter a port configured for VLAN mapping, the switch maps the specified C-VLAN to the specified S-VLAN based on the port number and the packet's original C-VLAN. All forwarding operations on the switch are performed using S-VLAN information, not C-VLAN, because the VLAN ID is mapped to the S-VLAN at ingress. When packets exit the port, symmetrical mapping back to the customer C-VLAN occurs automatically.
The VLAN mapping types on trunk port are:
![]() Note |
Always configure features on a VLAN-mapped port with the S-VLAN instead of the customer VLAN ID (C-VLAN). One-to-one VLAN mapping is not supported. |
VLAN mapping deployment
For example, If Customer A and Customer B use the same VLANs (such as VLAN 10) at multiple sites on different sides of a service provider network, you can map the customer VLAN IDs to unique service provider VLAN IDs (such as VLAN 100 for Customer A, VLAN 200 for Customer B) for packet travel across the backbone. The original customer VLAN IDs are restored at the other side of the service provider backbone for use in the other customer site. Configure the same set of VLAN mappings at customer-connected ports on each side of the service provider network.
Selective Q-in-Q
Selective Q-in-Q is a VLAN mapping feature that tags only specified customer VLANs (C-VLANs) with a service-provider VLAN ID (S-VLAN) at the user-network interface (UNI), so packets traverse the provider network double-tagged while retaining the original customer tag.
-
Maps configured customer VLANs at the UNI to the specified S-VLAN and adds the S-VLAN tag while leaving the C-VLAN tag intact.
-
Drops any packets that do not match the configured customer VLAN list.
-
Removes the S-VLAN tag at egress and forwards the packet with the original customer VLAN ID preserved.
Q-in-Q on a trunk ports
Q-in-Q on trunk ports is a VLAN stacking mode that tags every customer VLAN entering the UNI with the same service-provider VLAN ID (S-VLAN), so all customer traffic crosses the provider cloud double-tagged. The switch removes the S-VLAN tag at egress so the customer receives frames with their original VLAN IDs.

Feedback