cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1086
Views
0
Helpful
1
Replies

NCS 520 QinQ L2 Encapsulation

DarkSetya1
Level 1
Level 1

Hi All,

 

I need help with QinQ configuration in My Lab. So i'm trying to add a transparent tag to a frame that comes from CE to NCS520, then forward it PE. The idea is to retrieve any tag that comes, encapsulate it maybe with default tag, and forward it to a PE. From PE, it will xconnect through MPLS to the second PE, then forward it to the CE2. Here is the configuration that i made, i still don't manage to ping from CE 1 to CE 2.

 

On CE 1

!
interface GigabitEthernet0/0/4
 description to_NCS520_Gi0/0/1
 mtu 8500
 no ip address
 ip pim sparse-mode
 media-type auto-select
 negotiation auto
 service instance 10 ethernet
  encapsulation dot1q 10
  rewrite ingress tag pop 1 symmetric
  bridge-domain 10
 !
 service instance 100 ethernet
  encapsulation dot1q 100
  rewrite ingress tag pop 1 symmetric
  bridge-domain 100
 !
!
!
interface BDI10
description QINQ_TEST
ip address 10.0.10.100 255.255.255.0
!

 On NCS 520:

!
interface GigabitEthernet0/0/0
 description to PE1_Gi0/0/5
 mtu 8500 
 no ip address
 ip pim sparse-mode
 media-type rj45
 negotiation auto
 service instance 5 ethernet
  encapsulation untagged
  l2protocol forward cdp stp vtp dtp pagp dot1x lldp lacp udld loam esmc elmi ptppd R4 R5 R6 R8 R9 RA RB RC RD RF mmrp mvrp
  bridge-domain 10
 !
 service instance 200 ethernet
  description OSPF_TEST
  encapsulation dot1q 200
  rewrite ingress tag pop 1 symmetric
  bridge-domain 200
 !
!
interface GigabitEthernet0/0/1
 description to_CE1_Gi0/0/4
 mtu 8500
 no ip address
 ip pim sparse-mode
 media-type rj45
 negotiation auto
 service instance 10 ethernet
  encapsulation default
  bridge-domain 10
 !
!
interface BDI10
ip address 10.0.10.101 255.255.255.0
!

On PE 1:

!
interface GigabitEthernet0/0/5
 description to_NCS520_GI0/0/0
 no ip address
 ip pim sparse-mode
 media-type auto-select
 negotiation auto
 no keepalive
 service instance 100 ethernet
  description QinQ_test
  encapsulation default
  xconnect 3.3.3.3 33 encapsulation mpls
 !
 service instance 200 ethernet
  description OSPF_TEST
  encapsulation dot1q 200
  rewrite ingress tag pop 1 symmetric
  bridge-domain 200
 !
!
interface GigabitEthernet0/0/4
 description To_ASR920_3_Gi0/0/5
 mtu 9216
 no ip address
 ip pim sparse-mode
 ip ospf network point-to-point
 media-type auto-select
 negotiation auto
 mpls ip
 service instance 1 ethernet
  description MPLS_Connectivity
  encapsulation untagged
  bridge-domain 101
 !
!
interface BDI101
ip address 10.0.23.2 255.255.255.0
ip pim sparse-mode
!

On PE2:

!
interface GigabitEthernet0/0/4
 description to L2SWITCH-Gi0/1
 no ip address
 media-type auto-select
 negotiation auto
 mpls ip
 no keepalive
 service instance 10 ethernet
  description To_CPNR&TFTP
  encapsulation default
  xconnect 2.2.2.2 33 encapsulation mpls
 !
!
interface GigabitEthernet0/0/5
 description to_ASR920_2
 mtu 9216
 no ip address
 ip pim sparse-mode
 ip ospf network point-to-point
 media-type auto-select
 negotiation auto
 mpls ip
 service instance 1 ethernet
  encapsulation untagged
  bridge-domain 101
 !
!
interface BDI101
 ip address 10.0.23.3 255.255.255.0
 ip pim sparse-mode
!

On CE 2:

!
interface GigabitEthernet0/1
 description to PE2-ASR920_Gi0/0/0/4
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10
 switchport mode trunk
!
!
interface GigabitEthernet0/37
 description to_Server_CPAR&TFTP
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10
 switchport mode trunk
!
!
interface Vlan10
 ip address 10.0.10.10 255.255.255.0
 ip helper-address 10.0.10.2
!

I also attached the topology so You can understand better. Please help me with this, maybe there is something i missed

 

Thank You

Regards,

Dicki

1 Reply 1

DarkSetya1
Level 1
Level 1

Actually the objective here to pass any vlan with encapsulation default and forward it with l2 protocol forward. Maybe anyone can give me clue for this? Anything will do. Thank you.