appreciate some pointers here. This is with regards to metroE. Pls find attached the jpeg file with configs that i've included for an issue that i'm facing. Current setup is i have 1 x ASR9K as NPE and 1 x 7600 as NPE (with ES+ card connected to MPLS core, WS-X67xx card connected to ME3400 UPE switch running as .1Q trunk).
Both routers are running EPL (QinQ) pseudowire however, on ASR9K s-vlan is 100, on 7600 s-vlan is 101. I verified on the actual routers, 7600 & ASR9K establishes a VLAN mode pw and negotiates to vc-type 5 (default), thus on 7600, AFAIK s-vlan 101 is service-delimiter vlan and will be stripped prior to tunneling data into pw (traffic going from right to left). This would mean only c-vlan 10 + data is taken as payload before slapping on the mpls labels (igp label & vc label) and sending it off towards asr9K. As for ASR9K, AFAIK the service-delimiter vlan has to be manually "popped" with the cmd "rewrite ingress tag pop 1" (traffic going from left to right). For ensuring symmetric tag operations, (traffic right to left) "symmetric" keyword is used with the cmd "rewrite ingress tag pop 1". The way I look at it, it should work but it isn't.
So i've reconfigured on asr9k to use "rewrite ingress tag translate 1-to-1 dot1q 101 symmetric" and then traffic between two endpoints has reachability!!
assuming traffic direction is from left to right...what confuses me most is the fact that asr9k performs a translation of the s-vlan from 100 to 101 and then takes c-vlan, s-vlan (and data) as payload prior to tunneling it into pw towards 7600. When it reaches 7600, wouldn't it be triple tagged (9k_c-vlan=10 + 9k_c-vlan=101 + 76_c-vlan=101) and thus gets dropped when it finally sends out from upe to cpe?
and while traffic direction from right to left, 7600 strips s-vlan 101 since its service-delimiter, exposing c-vlan=10 + data and tunneling it into pw towards asr9k. when it reaches asr9k, it would rewrite c-vlan=10 to 100, no? totally confused, but with "translate 1-to-1" it works...
Thanks in advance!