Got it

If Is It Possible to Config the LAN Port of Huawei ONT to Trunk

Created: Aug 26, 2021 12:02:50Latest reply: Aug 26, 2021 14:22:53 304 4 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi,


I want to verify whether the LAN port of Huawei ONT can be configured as a trunk port. 

If you can, please send a configuration example.

1

Thanks.

Featured Answers

Recommended answer

Nino_Chou
Admin Created Aug 26, 2021 12:15:05

Hi friend.


Between ONT and OLT, you can create multiple service ports to allow different VLAN passes.

Between ONT and AR router, you can set VLAN translation for the eth port (each ONT port support max translate 8 VLANs).


Below configuration example for your reference:


ont-lineprofile gpon profile-id 20 profile-name trucktest

  tcont 1 dba-profile-id 10

  gem add 1 eth tcont 1

  gem add 2 eth tcont 1

  gem mapping 1 0 vlan 3093

  gem mapping 2 0 vlan 3081

  commit

  quit

 

ont-srvprofile gpon profile-id 20 profile-nametrucktest

  ont-port pots adaptive 32 eth adaptive 8catv adaptive 8

  port vlan eth 1 translation 3081 user-vlan3081

  port vlan eth 1 translation 3093 user-vlan3093

  commit

 

interface gpon 0/x

ont  add 0 20 sn-auth 4857511111111111 omciont-lineprofile-id 20 ont-srvprofile-id 20

quit

 

service-port vlan 3089 gpon 0/2/0 ont 20 gemport 1multi-service  user-vlan  3089 tag-transform  translate

service-port vlan 3081 gpon 0/2/0 ont 20 gemport 2ulti-service  user-vlan  3081 tag-transform  translate


Thanks.

View more
  • x
  • convention:

All Answers
Hello, friend!
It's nice to meet you in the community.
We're working on getting the right answer for you.
View more
  • x
  • convention:

Hi friend.


Between ONT and OLT, you can create multiple service ports to allow different VLAN passes.

Between ONT and AR router, you can set VLAN translation for the eth port (each ONT port support max translate 8 VLANs).


Below configuration example for your reference:


ont-lineprofile gpon profile-id 20 profile-name trucktest

  tcont 1 dba-profile-id 10

  gem add 1 eth tcont 1

  gem add 2 eth tcont 1

  gem mapping 1 0 vlan 3093

  gem mapping 2 0 vlan 3081

  commit

  quit

 

ont-srvprofile gpon profile-id 20 profile-nametrucktest

  ont-port pots adaptive 32 eth adaptive 8catv adaptive 8

  port vlan eth 1 translation 3081 user-vlan3081

  port vlan eth 1 translation 3093 user-vlan3093

  commit

 

interface gpon 0/x

ont  add 0 20 sn-auth 4857511111111111 omciont-lineprofile-id 20 ont-srvprofile-id 20

quit

 

service-port vlan 3089 gpon 0/2/0 ont 20 gemport 1multi-service  user-vlan  3089 tag-transform  translate

service-port vlan 3081 gpon 0/2/0 ont 20 gemport 2ulti-service  user-vlan  3081 tag-transform  translate


Thanks.

View more
  • x
  • convention:

Diego.Silva
Diego.Silva MVE Author Created Aug 26, 2021 12:19:49

Hi Friend,

More one possibility:

Set report mapping to ONT ETH port, ETH port transparent all the VLANs, in the service port using other-all to identity all the VLANs and using default tag transform add the outer VLAN tag.

HUAWEI(config)#vlan 100
HUAWEI(config)#port vlan  100 0/3 0
HUAWEI(config)#vlan attrib 100 q-in-q
HUAWEI(config)#ont-lineprofile gpon profile-id 10 profile-name QinQ100
HUAWEI(config-gpon-lineprofile-10)#tcont 1 dba-profile-id 10
HUAWEI(config-gpon-lineprofile-10)#mapping-mode port
HUAWEI(config-gpon-lineprofile-10)#gem  add 0 eth tcont 1
HUAWEI(config-gpon-lineprofile-10)#gem mapping  0 0 eth 1
HUAWEI(config-gpon-lineprofile-10)#commit
HUAWEI(config-gpon-lineprofile-10)#quit

HUAWEI(config)#ont-srvprofile gpon profile-id  10 profile-name QinQ100
HUAWEI(config-gpon-srvprofile-10)#ont-port eth 4 pots 2 catv 1
HUAWEI(config-gpon-srvprofile-10)#port vlan  eth 1 transparent
HUAWEI(config-gpon-srvprofile-10)#commit
HUAWEI(config-gpon-srvprofile-10)#quit

HUAWEI(config)#interface gpon 0/1
HUAWEI(config-if-gpon-0/1)#ont add 2 3 sn-auth 48575XXXXXXXXXXX omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc QinQ100
HUAWEI(config-if-gpon-0/1)#quit
HUAWEI(config)#service-port vlan 100 gpon 0/1/2 ont 3 gemport 0 multi-service  user-vlan  other-all tag-transform default


the following post has a scenario similar to the one you are trying to configure::

https://forum.huawei.com/enterprise/en/qinq-olt-ma5800-x2/thread/750901-100181

Eth 1 transparent = 

Configures the VLAN configuration type to transparent. In this mode, the packet is not processed. That is, the VLAN tag is not switched.

When the user-side packet carries a VLAN tag and the VLAN translation is performed on the OLT, use this parameter.



Best regards

View more
  • x
  • convention:

Good all
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.