Got it

NE40 PPPoX/IPoX L2VPN - how to retagging customer from different VPLS -

Created: Jun 24, 2021 15:05:19Latest reply: Jun 26, 2021 11:07:42 337 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello,

   I have a network where different location are connected to a NE-40 using L2VPN or L2VC.

All the customer have the same VLAN tag 814 in their CE so I have different L2VPN with the same customer tag.


I have have one location I use:

interface Virtual-Ethernet0/1/100.1

 vlan-type dot1q 814

 mtu 2000

 description ----- From location A7 ------

 statistic enable

 l2 binding vsi location1

With the second location I can't use:

interface Virtual-Ethernet0/1/100.2

 vlan-type dot1q 814   <--- error

 mtu 2000

 description ----- From location A7 ------

 statistic enable

 l2 binding vsi location2


because I can't use the same tag in different subinterfaces.

How can I retag the 814 with a different tag in order to have the system working? I tried different ways unsuccessfully.

Thankyou.

Gianrico

Featured Answers

Best answer

Recommended answer

chenhui
Admin Created Jun 26, 2021 02:46:32

Posted by user_4123489 at 2021-06-25 08:40 Hello, thankyou for your answer!Yes, the configuration is invalid, I understand that is a general ru ...
Hi,
It's easy to find the same configuration of your example:
interface G0/0/1
port vlan-mapping vlan 814 map-vlan 157

What I'm doubted is that whether the CE with the same VLAN ID can be identified on the PE router. As far as my understanding, you connect the multi CEs to the PE same physical interface, which means that there should be a switch between the PE and CEs so that the multi CEs can be integrated into a single wire. In that situation, I would suggest that you configure VLAN mapping on the switch to translate the same CE VLAN to the different VLANs, or QinQ to encapsulate the CE VLAN in the different outer VLAN tags.
View more
  • x
  • convention:

All Answers
Thanks for contacting the Huawei community!

We are checking your question and will provide an answer to you shortly...
View more
  • x
  • convention:

Hi Dear,

No. this is an invalid configuration, because of the error clearly says, you cannot have same vlan assigned to different sub-interfaces of same main interface. And obvious reason is that, main interfaces sees the vlan id 814 of the receiving packet to judge on which sub-interface it actually received the packet.

If two subinterfaces use same vlan, it would be impossible for the router to know / understand on which sub-interface it received the packet.


interface Virtual-Ethernet0/1/100.1 configured with tag value 814, &
interface Virtual-Ethernet0/1/100.2 configured with tag value 814, no two logical interfaces can have same tag value. This is invalid configuration.

Hope it will helpful.
View more
  • x
  • convention:

Hello, thankyou for your answer!
Yes, the configuration is invalid, I understand that is a general rule that different subinterfaces are unable to match the same tag. The question for me is how to avoid that, I mean, my customer use always vlan 814, in the CPE at the home. So I have MPLS L2VC all with the same VLAN but coming from different location, so different MPLS circuits. I need to retag the 814 from my customer in order to accomodate them in a different subinterface. So I need to take the 814 retag in order to avoid the conflict.

I'm doing a migration from a Cisco device where I do something like this:
!
interface TenGigE0/0/2/1.2 l2transport
encapsulation dot1q 157
rewrite ingress tag translate 1-to-1 dot1q 814 symmetric
!
as you see I remove the 814 and insert the 157 so I can have many subinterfaces. I know that this is a l2 interface, but this is an example.
View more
  • x
  • convention:

Posted by user_4123489 at 2021-06-25 08:40 Hello, thankyou for your answer!Yes, the configuration is invalid, I understand that is a general ru ...
Hi,
It's easy to find the same configuration of your example:
interface G0/0/1
port vlan-mapping vlan 814 map-vlan 157

What I'm doubted is that whether the CE with the same VLAN ID can be identified on the PE router. As far as my understanding, you connect the multi CEs to the PE same physical interface, which means that there should be a switch between the PE and CEs so that the multi CEs can be integrated into a single wire. In that situation, I would suggest that you configure VLAN mapping on the switch to translate the same CE VLAN to the different VLANs, or QinQ to encapsulate the CE VLAN in the different outer VLAN tags.
View more
  • x
  • convention:

Sara_Obaid
Sara_Obaid Moderator Created Jun 26, 2021 11:07:42

Interesting. Thank you for sharing.
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.