Got it

QinQ termination on NE40 subinterface

Created: Dec 3, 2020 20:46:47Latest reply: Dec 9, 2020 23:35:16 785 13 0 0 0
  HiCoins as reward: 0 (problem unresolved)

HI,


We have a network, simplified in the below diagram.

Our need is to have a QinQ transport on the red line, from a subinterface on NE40, PEVID 2000 trunked out on another subinterface, and terminated on a switch.


QinQ

Switch configuration is OK, using standard dot1Q and QinQ terminated interface


On the NE40 we have configuration similar to this:


Customer terminating interface on NE40:

        interface gigabitinterface 0/3/1

        #

        interface gigabitinterface0/3/1.2000

        description "Customer connection location A"

        encapsulation qinq-termination

        qinq termination l2 symmetry

        qinq termination pe-vid 2000 ce-vid any

        #

 Core interface on NE40:

        interface gigabitinterface 0/3/2

        #

        interface gigabitinterface 0/3/2.2000

        description "core link to switch S6730"

        vlan-type dot1q 2000

        #

 The two subinterface on NE40 are connected using CCC:

        ccc TEST interface gigabitinterface0/3/1.2000 out-interface gigabitinterface0/3/2.2000



Switch configuration:
vlan 2000

interface XGigabitEthernet0/0/1
description "core link towards NE40"
portswitch
 port link-type trunk
 port trunk allow-pass vlan 2000
 
interface XGigabitEthernet0/0/2
description "Customer connection location B"
portswitch
 port link-type dot1q-tunnel
 port default vlan 2000


My problem is the configuration on NE40. Anyone got something similar up and running?

Featured Answers

Recommended answer

LuizPuppin
HCIE Author Created Dec 4, 2020 14:08:50

The switch port has to be in trunk mode. Not in access mode. Because the outer VLAN has to be delivered with a tag to the router.
View more
  • x
  • convention:

karladu
karladu Created Dec 9, 2020 00:37:46 (0) (0)
 
jonbov
jonbov Created Dec 9, 2020 11:34:08 (0) (0)
Switchport is QinQ, should be OK

interface XGigabitEthernet0/0/2
description "Customer connection location B"
portswitch
port link-type dot1q-tunnel
port default vlan 2000  
All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

LuizPuppin
LuizPuppin HCIE Author Created Dec 4, 2020 14:08:50

The switch port has to be in trunk mode. Not in access mode. Because the outer VLAN has to be delivered with a tag to the router.
View more
  • x
  • convention:

karladu
karladu Created Dec 9, 2020 00:37:46 (0) (0)
 
jonbov
jonbov Created Dec 9, 2020 11:34:08 (0) (0)
Switchport is QinQ, should be OK

interface XGigabitEthernet0/0/2
description "Customer connection location B"
portswitch
port link-type dot1q-tunnel
port default vlan 2000  
Hi,
managed to get it working with a configuration as follows:


interface GigabitEthernet0/1/1.2012

qinq stacking vid 2 to 4000

qinq stacking pe-vid 2012

#

interface GigabitEthernet0/1/0.2012

encapsulation dot1q-termination

dot1q termination vid 2012

#

ccc TEST interface GigabitEthernet0/1/1.2012 out-interface GigabitEthernet0/1/0.2012
View more
  • x
  • convention:

Hobbit
Hobbit Created Dec 7, 2020 06:06:10 (0) (0)
Is the configuration successful?  
jonbov
jonbov Reply Hobbit  Created Dec 9, 2020 11:29:19 (0) (0)
Yes, Se below for full tested configuration  
Experienced
View more
  • x
  • convention:

The configuration below has proven successful (Tested on a NE20)


CCC VLL


Relevant configuration:

                NE40E-M2K-B:

mpls

mpls l2vpn

#

interface GigabitEthernet0/1/1

 description «Customer CPE – location A»

#

interface GigabitEthernet0/1/1.2012

 qinq stacking vid 2 to 4000

 qinq stacking pe-vid 2012

#

interface GigabitEthernet0/1/0

 description «To SW83 XG0/0/13»

#

interface GigabitEthernet0/1/0.2012

 encapsulation dot1q-termination

 dot1q termination vid 2012

#

ccc TEST interface GigabitEthernet0/1/1.2012 out-interface GigabitEthernet0/1/0.2012

                        Switch terminating QinQ (SW83, S6720S-26Q-EI-24S):

vlan 2012

#

interface XGigabitEthernet0/0/13  

 description «To NE40 G01/0»      

 port link-type trunk

 port trunk allow-pass vlan 2012

#

interface XGigabitEthernet0/0/14

description «Customer CPE – location B»

 port link-type dot1q-tunnel

 port default vlan 2012


View more
  • x
  • convention:

karladu
karladu Created Dec 9, 2020 23:34:51 (0) (0)
 

I also tested using VSI, to create possibilities for future multipoint solutions

VSI


Relevant configuration:

NE40E-M2K-B:

mpls

mpls l2vpn

#

vsi TEST

 pwsignal ldp

  vsi-id 123

#

interface GigabitEthernet0/1/1

 description «Customer CPE – location A»

#

interface GigabitEthernet0/1/1.2012

 qinq stacking vid 2 to 4000

 qinq stacking pe-vid 2012

l2 binding vsi TEST

#

interface GigabitEthernet0/1/0

 description «To SW83 XG0/0/13»

#

interface GigabitEthernet0/1/0.2012

 encapsulation dot1q-termination

 dot1q termination vid 2012

l2 binding vsi TEST

 

                        Switch terminating QinQ (SW83, S6720S-26Q-EI-24S):

vlan 2012

#

interface XGigabitEthernet0/0/13  

 description «To NE40 G01/0»      

 port link-type trunk

 port trunk allow-pass vlan 2012

#

interface XGigabitEthernet0/0/14

description «Customer CPE – location B»

 port link-type dot1q-tunnel

 port default vlan 2012

 


View more
  • x
  • convention:

karladu
karladu Created Dec 9, 2020 23:35:07 (0) (0)
 
Interesting knowledge
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.