03-25-2025 12:36 PM - edited 03-25-2025 12:36 PM
I'm trying to configure two NCS-5501's running IOS-XR with a QinQ interface for a customer on each end. Apologies if I'm getting my Encaps types wrong, but essentially we are tagging any traffic from the customer with VLAN200 internally.
I've been looking at Cisco docs and feel I'm overcomplicating things. Can someone point me to the correct publication or give a quick config example?
Thanks in advance
Solved! Go to Solution.
03-25-2025 01:02 PM - edited 03-25-2025 01:03 PM
Hello @Rob Sciarrino
On NCS-5501#1 (Customer Facing)
interface GigabitEthernet0/0/0/1
description customer-facing-int
encapsulation dot1q 200 second-dot1q any
rewrite ingress tag pop 1 symmetric
l2transport
On NCS-5501#2 (Customer Facing)
interface GigabitEthernet0/0/0/1
description cust-facing-int
encapsulation dot1q 200 second-dot1q any
rewrite ingress tag pop 1 symmetric
l2transport
On Internal Link Between NCS-5501 #1 and NCS-5501#2:
interface GigabitEthernet0/0/0/2
description internal-QinQ
encapsulation dot1q 200
l2transport
---
03-25-2025 01:02 PM - edited 03-25-2025 01:03 PM
Hello @Rob Sciarrino
On NCS-5501#1 (Customer Facing)
interface GigabitEthernet0/0/0/1
description customer-facing-int
encapsulation dot1q 200 second-dot1q any
rewrite ingress tag pop 1 symmetric
l2transport
On NCS-5501#2 (Customer Facing)
interface GigabitEthernet0/0/0/1
description cust-facing-int
encapsulation dot1q 200 second-dot1q any
rewrite ingress tag pop 1 symmetric
l2transport
On Internal Link Between NCS-5501 #1 and NCS-5501#2:
interface GigabitEthernet0/0/0/2
description internal-QinQ
encapsulation dot1q 200
l2transport
---
03-26-2025 05:14 AM
Thanks! What I was looking for!
03-25-2025 03:15 PM
This configuration works for tagged and untagged packets on the attachment circuit for the XRv9000. No guarantees that it is a platform independent config that will also work on the NCS 5500.
!
interface GigabitEthernet0/0/0/2.200 l2transport
description QinQ trunk
encapsulation dot1q 200
rewrite ingress tag pop 1 symmetric
!
interface GigabitEthernet0/0/0/4
description Attachment circuit
l2transport
!
!
l2vpn
xconnect group s-tag-200
p2p ac2trunk
interface GigabitEthernet0/0/0/4
interface GigabitEthernet0/0/0/2.200
!
!
!
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