10-01-2018 06:56 AM
Please check attached document ....Our requirement is
Requirement : Drop tagged data (200,300,400) coming from ASR9000 to respective ASR920 (a,b,c) respectively by using EoMPLS L2VPN .
Configuration Steps:
1) Service instance are created on ASR 907 ,as Router ASR 907 will see vlan tag attached and will send to respective instance configured on ASR 920 , Service instance are created on destination ASR920 respectively .
2) Uplink on ASR 9000 toward ASR907 is configured as sub interface with Vlan 200,300,400 .
3) Loopback are configured on each ASR .
4) IGP (OSPF with MPLS LDP is configured between internal Ring from 920a to 920c).
4) Configuration on ASR 907 a and ASR 907 b for Service instance are
ASR907a> enable
ASR907a# configure terminal
ASR907a (config)#interface TenGigabitEthernet 0/0/0
ASR907a(config)#description **Connected to ASR9K**
ASR907a (config-if)#no ip address
ASR907a (config-if)#no shut
ASR907a (config-if)# service instance 200 ethernet
ASR907a (config-if-srv)# encapsulation dot1q 200
ASR907a (config-if-srv)# xconnect 10.10.10.2 200 encapsulation mpls
ASR907a (config)# exit
ASR907a (config-if)# service instance 300 ethernet
ASR907a (config-if-srv)# encapsulation dot1q 300
ASR907a (config-if-srv)# xconnect 10.10.10.3 300 encapsulation mpls
ASR907a (config)# exit
ASR907a (config)# service instance 400 ethernet
ASR907a (config-if-srv)# encapsulation dot1q 400
ASR907a (config-if-srv)# xconnect 10.10.10.4 400 encapsulation mpls
ASR907a (config)# exit
same on ASR 907b
Configuration Steps on ASR 920 a, are
ASR920a (config)#interface gigabitethernet 0/0/2
ASR920a (config)#description **Connected to CE Node**
ASR920a (config-if)#no ip address
ASR920a (config-if)#no shut
ASR920a (config-if)# service instance 200 ethernet
ASR920a (config-if-srv)# encapsulation dot1q 200
ASR920a (config-if-srv)# xconnect 10.10.10.1 200 encapsulation mpls
ASR920a (config)# backup peer 10.10.10.5 200 pw-class pw1
ASR920a (config)# backup delay 5
ASR920a (config)# exit
Configuration Steps on ASR 920 b for EoMPLS L2 VPN
ASR920b(config)# pseudowire-class pw1
ASR920b(config-pw-class)# encapsulation mpls
ASR920b(config)# backup delay 0 10
ASR920b (config)#interface gigabitethernet 0/0/1
ASR920b (config)#description **Connected to CE Node**
ASR920b (config-if)#no ip address
ASR920b (config-if)#no shut
ASR920b (config-if)# service instance 300 ethernet
ASR920b (config-if-srv)# encapsulation dot1q 300
ASR920b (config-if-srv)# xconnect 10.10.10.1 300 encapsulation mpls
ASR920b (config)# backup peer 10.10.10.5 300 pw-class pw1
ASR920b (config)# backup delay 5
ASR920b (config)# exit
Configuration Steps on ASR 920 c for EoMPLS L2 VPN
ASR920c(config)# pseudowire-class pw1
ASR920c(config-pw-class)# encapsulation mpls
ASR920c(config)# backup delay 0 10
ASR920c (config)#interface gigabitethernet 0/0/0
ASR920c (config)#description **Connected to CE Node**
ASR920c (config-if)#no ip address
ASR920c (config-if)#no shut
ASR920c (config-if)# service instance 400 ethernet
ASR920c (config-if-srv)# encapsulation dot1q 400
ASR920c (config-if-srv)# xconnect 10.10.10.1 400 encapsulation mpls
ASR920c (config)# backup peer 10.10.10.5 400 pw-class pw1
ASR920c (config)# backup delay 5
ASR920c (config)# exit
Confusion point : Do I need to add "rewrite ingress tag pop 1 symmetric"
Please check and reply ......your prompt guide will be appreciated.
Best Regards
NUHU
05-08-2020 05:43 AM
The short answer is YES. The longer answer is, probably. It depends what you are expecting at the other end.
Service instance 200 ethernet
! Creates a service instance. 200 is just a unique label.
encapsulation dot1q 200
! Match vlan 200
xconnect 10.10.10.2 200 encapsulation mpls
! Send it here
The "rewrite ingress tag pop 1 symmetric" directive tells it to remove the tag on the packet coming in and to apply the tag on packets going out. So when you add that to the service instance, you're removing the tag and sending un-tagged data over the xconnect.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: