07-07-2022 12:27 AM
Hello,
I have following set up of CSRs and I am testing tag manipulation. There is a working BGP VPLS session between CSR1 and CSR3.
CSR16 is sending packets with tag 30 and 31. And CSR1 is supposed to rewrite tags 30 and 31 with 32 and 33.
Similarly CSR17 is sending packets with tag 32 and 33. And CSR3 is supposed to rewrite tags 32 and 33 with 30 and 31.
But ping is not working between CSR16 to CSR17.
CSR16----------------CSR1----------CSR2------------CSR3------------CSR17.
Following is the configuration
CSR16
---------------
int gi1
no sh
int gi1.30
encap dot1q 30 second-dot1q 31
ip address 100.10.10.16 255.255.255.0
no sh
CSR1
-------------------
int gi2
ip address 100.10.20.1 255.255.255.0
ip ospf 1 area 0
no sh
int lo0
ip address 1.1.1.1 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
mpls ldp autoconfig
exit
int gi1
service instance 100 ethernet
encap dot1q 30 second-dot1q 31
rewrite ingress tag translate 2-to-2 dot1q 32 second-dot1q 33 symmetric
exit
no sh
l2vpn vfi context ctx1
vpn id 123
autodiscovery bgp signaling bgp
ve id 1
exit
bridge-domain 100
member gig1 service-instance 100
member vfi ctx1
exit
router bgp 13
neighbor 3.3.3.3 remote-as 13
neighbor 3.3.3.3 update-source lo0
address-family l2vpn vpls
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 suppress ldp
exit
CSR2
-------------------
int gi2
ip address 100.10.20.2 255.255.255.0
ip ospf 1 area 0
no sh
int gi1
ip address 100.20.30.2 255.255.255.0
ip ospf 1 area 0
no sh
int lo0
ip address 2.2.2.2 255.255.255.255
ip ospf 1 area 0
exit
router ospf 1
mpls ldp autoconfig
CSR3
-------------------
int gi1
ip ospf 1 area 0
ip address 100.20.30.3 255.255.255.0
no sh
int gi2
service instance 100 ethernet
encap dot1q 32 second-dot1q 33
rewrite ingress tag translate 2-to-2 dot1q 30 second-dot1q 31
exit
no sh
int lo0
ip ospf 1 area 0
ip address 3.3.3.3 255.255.255.255
exit
router ospf 1
mpls ldp autoconfig
exit
l2vpn vfi context ctx1
vpn id 123
autodiscovery bgp signaling bgp
ve id 3
exit
bridge-domain 100
member gig2 service-instance 100
member vfi ctx1
exit
l2vpn
router-id 3.3.3.3
exit
router bgp 13
neighbor 1.1.1.1 remote-as 13
neighbor 1.1.1.1 update-source lo0
address-family l2vpn vpls
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 suppress ldp
exit
CSR17
---------------
int gi2
no sh
int gi2.30
encap dot1q 32 second-dot1q 33
ip address 100.10.10.17 255.255.255.0
no sh
Thanks,
Sachin
Solved! Go to Solution.
07-08-2022 03:33 PM
Remove symmetric under gig1 of CSR1.
07-08-2022 03:33 PM
Remove symmetric under gig1 of CSR1.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide