8-23
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 8 Configuring Ethernet Virtual Connections
Configuring Other Features on EFPs
For Customer A, service instance 1 on Gigabit Ethernet port 0/1 is configured with the VLAN
encapsulations used by the customer: C-VLANs 1–100. These are forwarded on bridge-domain 500. The
service provider facing port is configured with a service instance on the same bridge-domain and with
an encapsulation dot1q command matching the S-VLAN. The rewrite ingress pop 1 symmetric
command also implies a push of the configured encapsulation on egress packets. Therefore, the original
packets with VLAN tags between 1 and 100 are encapsulated with another S-VLAN (VLAN 30) tag
when exiting Gigabit Ethernet port 0/2.
Similarly, for double- tagged (S-VLAN = 30, C-VLAN = 1–100) packets coming from the provider
network, using the rewrite ingress pop 1 symmetric command enables the outer S-VLAN tag and
forwards the original C-VLAN tagged frame over bridge-domain 500 out to Gigabit Ethernet port 0/1.
Customer B
Router (config)# interface gigabitethernet0/3
Router (config-if)# service instance 1 Ethernet
Router (config-if-srv)# encapsulation dot1q 1-200
Router (config-if-srv)# bridge-domain 500
Router (config)# interface gigabitethernet0/4
Router (config-if)# service instance 2 Ethernet
Router (config-if-srv)# encapsulation dot1q 40 second-dot1q 1-200
Router (config-if-srv)# rewrite ingress pop 1 symmetric
Router (config-if-srv)# bridge-domain 500
Routed QinQ
Cisco ASR 901 router supports pop 2 configuration.
Restrictions
• Pop 2 is not supported for MPLS, L2VPN, and MPLS VPN deployments.
• ACL and QOS configurations for pop2 EVC scenarios are not supported.
Configuration Example
This section provides the following sample configuration examples for routed QinQ on the Cisco ASR
901 Router:
Example: User to Network Interface
Gig 0/1 (Connected to BTS)
interface GigabitEthernet0/1
service instance 1 ethernet
encapsulation dot1q 10
rewrite ingress tag pop 1 symmetric
bridge-domain 100
int vlan 100
ip address 1.1.1.1 255.255.255.0
Example: Network to Network Interface/Core Router
interface GigabitEthernet0/2
service instance 2 ethernet