Got it

Configure Trunk Port in Card H902OXHD of OLT MA5800-X7

Created: Oct 7, 2021 21:00:49Latest reply: Oct 25, 2021 08:34:46 778 26 0 0 0
  HiCoins as reward: 5 (problem unresolved)

Hi.


I need to set up the ports of the H902OXHD board as trunk ports to pass several VLANs to an S5730 switch.


The procedure for configuring VLAN in upstream ports does not work in this card.


Anybody has used this card to forward several VLANs to an access switch?


Best regards.

Featured Answers

Recommended answer

Diego.Silva
MVE Author Created Oct 7, 2021 22:25:31

Hi Friend,

See an example of how to add multiple VLANs to an upstream port. In this example, we are adding vlan 2 through 12.


huawei(config)#port vlan
{ name<K>|vlan-list<S><Length 1-255>|vlanid<U><1,4093> }:2
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:to
{ end-vlanid<U><1,4093> }:12
{ frameid/slotid<S><Length 3-15> }:0/9
{ portlist<S><Length 1-255> }:0-1

Command:
port vlan 2 to 12 0/9 0-1
It will take several minutes, and console may be timeout, please use command
idle-timeout to set time limit
Are you sure to add standard port(s)? (y/n)[n]:y
The total of the VLANs having been processed is 11
The total of the port VLAN(s) having been added is 1



If you can't configure it, please share with us the settings you are making.




Thank you
View more
  • x
  • convention:

user_4411447
user_4411447 Created Oct 8, 2021 05:43:06 (0) (0)
 

Ok, at end with help from Huawei Support (excelent) I got the link working.


I'm sharing how to setup it in case it could be helpful for someone.


The problem was the way of configuring the OLT, as the VLANS do not work in the same way that they do in an ethernet switch.


To add two vlans (10 and 20) to the port 0 of the first board, you should use this commands in OLT


MA5800(config)# service-port 2 vlan 10 eth 0/1/0 multi-service user-vlan 10 tag-transform translate
MA5800(config)# service-port 3 vlan 20 eth 0/1/0 multi-service user-vlan 20 tag-transform translate


In the switch part the trunk should be configured like this:


[Huawei]interface XGigabitEthernet0/0/1
[Huawei-XGigabitEthernet0/0/1] port link-type trunk                     
[Huawei-XGigabitEthernet0/0/1] port trunk allow-pass 10 20


Thank you all for your help!!

View more
  • x
  • convention:

Chenxintao
Chenxintao Created Oct 25, 2021 08:37:21 (1) (0)
 
All Answers
Hello! Thank you for contacting us.
We are working on an answer for you.
View more
  • x
  • convention:

Diego.Silva
Diego.Silva MVE Author Created Oct 7, 2021 22:25:31

Hi Friend,

See an example of how to add multiple VLANs to an upstream port. In this example, we are adding vlan 2 through 12.


huawei(config)#port vlan
{ name<K>|vlan-list<S><Length 1-255>|vlanid<U><1,4093> }:2
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }:to
{ end-vlanid<U><1,4093> }:12
{ frameid/slotid<S><Length 3-15> }:0/9
{ portlist<S><Length 1-255> }:0-1

Command:
port vlan 2 to 12 0/9 0-1
It will take several minutes, and console may be timeout, please use command
idle-timeout to set time limit
Are you sure to add standard port(s)? (y/n)[n]:y
The total of the VLANs having been processed is 11
The total of the port VLAN(s) having been added is 1



If you can't configure it, please share with us the settings you are making.




Thank you
View more
  • x
  • convention:

user_4411447
user_4411447 Created Oct 8, 2021 05:43:06 (0) (0)
 
What Silva suggested sounds correct.

There is the potential that connecting two differing types of devices, especially from different vendors can create configuration mismatches, so the same configuration, will not work when connecting all devices. but there is always a workaround :)
View more
  • x
  • convention:

user_4411447
user_4411447 Created Oct 8, 2021 05:43:12 (0) (0)
 
good
View more
  • x
  • convention:

Posted by Diego.Silva at 2021-10-07 22:25 Hi Friend,See an example of how to add multiple VLANs to an upstream port. In this example, we are a ...
Thanks for your kind answer.

I've tried so without success. It does work in upstream links in MCU, but not in the ports of the P2P board model H902OXHD. I've got thee boards of the same model in slots 1-3.

The error I got is:

MA5800-X7(config)#port vlan
{ name<K>|vlan-list<S><Length 1-255>|vlanid<U><1,4093> }: 4
{ frameid/slotid<S><Length 3-15>|inner-vlan-list<K>|to<K> }: 0/1
{ portlist<S><Length 1-255> }: 1

Command:
port vlan 4 0/1 1
Failure: The service configuration type of the board is already service-port


Thanks.
View more
  • x
  • convention:

Posted by CyberTec at 2021-10-08 01:42 What Silva suggested sounds correct. There is the potential that connecting two differing types of ...
I'm trying to connect the board H902OXHD in MA5800-X7 to the SFP+ port of a Huawei S5730 switch, so same vendor in both ends.

Can setup the switch port as a trunk for several vlans, but unable to do the same in the OLT board.
View more
  • x
  • convention:

Diego.Silva
Diego.Silva Created Oct 8, 2021 11:51:33 (0) (0)
Hi Friend, try the following command:

huawei(config)#port vlan 2 to 12 0/1 1  
Jaume
Jaume Reply Diego.Silva  Created Oct 9, 2021 08:40:45 (0) (0)
I've tried that as posted in other message. Just trying to add one single vlan (vlan 4) gives an error.

huawei(config)#port vlan 4 0/1 1
Failure: The service configuration type of the board is already service-port  
Diego.Silva
Diego.Silva MVE Author Created Oct 8, 2021 13:34:20

So, please share with us the port config
View more
  • x
  • convention:

Jaume
Jaume Created Oct 9, 2021 09:02:53 (0) (0)
I'm posting the info in a new comment.  
Jaume
Jaume Created Oct 9, 2021 09:05:04 (0) (0)
MA5800-X7(config-if-eth-0/1)#display port state 0
{ <cr>||<K> }:

Command:
display port state 0
Optics module status is normal
The port is active
Ethernet port is online
Ethernet port is full duplex
Ethernet port rate is 10000M
Ethernet port does not support jumbo frame
Ethernet port MTU is 2052 bytes
Ethernet port network-role is user
Ethernet port loopback is no loop
Ethernet port tx-auto-off is disable
Ethernet port tx state  
Can you also share port error messages you receive and the port status at each side.
View more
  • x
  • convention:

Jaume
Jaume Created Oct 9, 2021 09:06:13 (0) (0)
When I try to add the port to vlan 4 I get the following error:


huawei(config)#port vlan 4 0/1 1
Failure: The service configuration type of the board is already service-port  
Jaume
Jaume Created Oct 9, 2021 09:06:53 (0) (0)
No clue if I can change configuration type of the board, and what does it mean.  
Chenxintao
Chenxintao Reply Jaume  Created Oct 9, 2021 12:26:24 (1) (0)
I've updated my answer, please check! @Jaume  

Hello, friend!


According to the information in the problem description and the device information in the comments, the current error is mainly caused by the board mode error. You can run the following command to change the error:


huawei(config-if-eth-0/3)#network-role uplink

  This operation may take several minutes, please wait...

  The number of total port which need be configured:   8

  The number of total port which have been configured: 8


For details about this command, see: network-role


After the modification, try to configure the VLAN of the board port.


Thanks!

View more
  • x
  • convention:

Diego.Silva
Diego.Silva Created Oct 9, 2021 16:18:59 (0) (0)
Verry goooooooood!  
Jaume
Jaume Created Oct 10, 2021 09:25:50 (0) (0)
Hi!
Thanks for your insight.
I've tried your solution, but it seems that the option uplink in the command network-role is not allowed in this board.

MA5800-X7(config-if-eth-0/1)#network-role ?
Command of eth-0/1 Mode:
---------------------------------------------
cascade Type of network role
extend Type of network role
portid<U><0,7> Port ID
user Type of network role  
Jaume
Jaume Created Oct 10, 2021 09:42:50 (0) (0)
I've tried with the mode cascade also without success.
MA5800-X7(config-if-eth-0/1)#network-role cascade
This operation may take several minutes, please wait...
The number of total port which need be configured: 8
The number of total port which have been configured: 8

MA5800-X7(config)#port vlan 4 0/1 0
Failure: The service configuration type of the board is already service-port  
12
Back to list

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.