Method 2
QinQ is also supported when sending packets between an EFP and a trunk EFP. The same external behavior
as Method 1 can be achieved with this configuration:
Customer A
Router (config)# interface gigabitethernet0/1
Router (config-if)# service instance 1 Ethernet
Router (config-if-srv)# encapsulation dot1q 1-100
Router (config-if-srv)# bridge-domain 30
Router (config)# interface gigabitethernet0/0/2
Router (config-if)# service instance trunk 1 ethernet
Router (config-if-srv)# encapsulation dot1q 30
Router (config-if-srv)# rewrite ingress tag pop 1 symmetric
Router (config-if-srv)# bridge-domain from-encapsulation
Again, service instance 1 on Gigabit Ethernet port 0/1 is configured with the VLAN encapsulations used by
the customer. These are forwarded on bridge-domain 30. The service provider facing port is configured as a
trunk port. The trunk port pushes a tag matching the bridge-domain that the packet is forwarded on (in this
case S-VLAN 30).
For double tagged (S-VLAN = 30, C-VLAN = 1 to 100) packets coming in from the provider network, the
trunk port pops the outer S-VLAN (30) and forwards the packet on that bridge-domain.
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 40
Router (config)# interface gigabitethernet0/0/4
Router (config-if)# service instance trunk 2 Ethernet
Router (config-if-srv)# encapsulation dot1q 40
Router (config-if-srv)# rewrite ingress tag pop 1 symmetric
Router (config-if-srv)# bridge-domain from-encapsulation
You can also combine the customer A and B configurations, as follows:
Customer A and B
Router (config)# interface gigabitethernet0/2
Router (config-if)# service instance trunk 1 ethernet
Router (config-if-srv)# encapsulation dot1q 30,40
Router (config-if-srv)# rewrite ingress tag pop 1 symmetric
Router (config-if-srv)# bridge-domain from-encapsulation
For information about the effect on cost of service (CoS) for different EFT tagging operations, see the
ASR 920 Router Chassis Software Configuration Guide
Example for VLAN Translation Configurations
•
For 1-to-1 VLAN translation configuration:
Router (config)#
interface gigabitethernet0/1
Router (config-if)#
service instance 965 ethernet
Carrier Ethernet Configuration Guide (Cisco ASR 920 Series)
32
Ethernet Virtual Connections Configuration
Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling Using EFPs
Содержание ASR 920 series
Страница 2: ... 2014 Cisco Systems Inc All rights reserved ...
Страница 273: ...Carrier Ethernet Configuration Guide Cisco ASR 920 Series 255 Configuring Ethernet CFM Designing CFM Domains ...
Страница 302: ...Carrier Ethernet Configuration Guide Cisco ASR 920 Series 284 Configuring Ethernet CFM Glossary ...