Got it

Vlan mapping - what am I doing wrong?

Created: Apr 5, 2022 13:47:13Latest reply: Apr 7, 2022 13:24:11 132 5 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hello!

I don't know, how to properly configure a vlan translation on my Huawei S6730 (S6730-S24X6Q).
What I want? I receive multiple VLANs on "WAN" interface and I must translate it to one VLAN and it can't be a QinQ ofcourse. What's more, on this WAN interface I receive multiple others VLANs and they must be as they are.

For example I want translate VLANs in range 100-199 to VLAN 5000, but untouch VLANs 200, 205 and 400.

schema

I tried config below without success:

interface XGigabitEthernet0/0/1
 description WAN
 port link-type hybrid
 qinq vlan-translation enable
 undo port hybrid vlan 1
 port hybrid tagged vlan 100 to 199 200 205 400
 port vlan-mapping vlan 100 to 199 map-vlan 5000
#
interface XGigabitEthernet0/0/2
 description LAN
 port link-type trunk
 port trunk pvid vlan 200
 port trunk allow-pass vlan 200 205 400 5000
#

I don't have vlanif 5000

What am I doing wrong?

Featured Answers

Recommended answer

jason_hu
Admin Created Apr 5, 2022 14:22:12

Hi friend!

You should configure like this:

<HUAWEI> system-view

[HUAWEI] sysname Switch

[Switch] vlan batch 500 100 to 109

[Switch] interface gigabitethernet 0/0/1

[Switch-GigabitEthernet0/0/1] port link-type hybrid

[Switch-GigabitEthernet0/0/1] port hybrid tagged vlan 500 100 to 109

[Switch-GigabitEthernet0/0/1] qinq vlan-translation enable

[Switch-GigabitEthernet0/0/1] port vlan-mapping vlan 100 to 109 map-vlan 500

The maximum number of VLANs is 4094. Refer to Example for Configuring VLAN ID-based N:1 VLAN Mapping

View more
  • x
  • convention:

All Answers
Dear, we are working on it now.
View more
  • x
  • convention:

Hi friend!

You should configure like this:

<HUAWEI> system-view

[HUAWEI] sysname Switch

[Switch] vlan batch 500 100 to 109

[Switch] interface gigabitethernet 0/0/1

[Switch-GigabitEthernet0/0/1] port link-type hybrid

[Switch-GigabitEthernet0/0/1] port hybrid tagged vlan 500 100 to 109

[Switch-GigabitEthernet0/0/1] qinq vlan-translation enable

[Switch-GigabitEthernet0/0/1] port vlan-mapping vlan 100 to 109 map-vlan 500

The maximum number of VLANs is 4094. Refer to Example for Configuring VLAN ID-based N:1 VLAN Mapping

View more
  • x
  • convention:

Thanks for reply!
Unfortunately, there is no such thing on my switch like port hybrid allow-pass. When port link-type is set to trunk, there will be a port trunk allow-pass vlan, but when is set to hybrid, there is a port hybrid tagged vlan.


I want to add some info: when I use only e.q. VLAN 110 forwarding to other my devices, everything works (except traffic on other VLANs 100-199 of course), so there is no problem with receiving traffic on WAN or something.

View more
  • x
  • convention:

jason_hu
jason_hu Created Apr 6, 2022 01:27:44 (0) (0)
I updated the answer  

Thank you very much! I just don't have this before:
port hybrid tagged vlan 500 100 to 109

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.