Basic Query Commands for Huawei MA5680T

10/05/2024 Langzhi


Explore the essential query commands for efficiently managing and troubleshooting the Huawei MA5680T, a versatile and robust telecommunications access platform. Learn how to retrieve vital information, configure settings, and diagnose network issues using these commands. Whether you're a network engineer, technician, or enthusiast, mastering these basic commands is essential for optimizing the performance and reliability of your MA5680T deployment.

root   Default login username

admin  Default login password

MA5680T> enable  Enter privileged mode

MA5680T # config  Enter terminal configuration

MA5680T (config)# switch language-mode Switch between Chinese and English

MA5680T (config)#display board 0 View all boards, 0 is the shelf number

MA5680T (config)# interface  gpon 0/1 Enter GPON command mode, 1 is the PON port number

MA5680T(config-if-gpon-0/1)# port 0 ont-auto-find enable 0 is the port number

MA5680T(config-if-gpon-0/1)#quit

MA5680T (config)#display ont autofind all View automatically discovered ONU (if there are any automatically discovered ONU, it will be displayed as follows)

Serial Number : 1 Frame/Slot/Port : 0/1/0 ONT SN : 4857544350F5FB0A Password : 0x30303030303030303030(0000000000) Logical Identifier : Check Code : Manufacturer ID : HWTC ONT Version : MA5626 VER.D ONT Software Version : V8R308 C00 ONT Device ID : SmartAX MA5626 ONT Auto-Discovery Time: 2012-03-19 15:37:40+08:00

Number of GPON Auto-Discovered ONTs is 1

To enter the config terminal:

1.View the ONU's MAC address through the port.

MA5680T (config)# display mac-address port 0/1/0 (0/1/0 represents frame number/slot number/port number)

2.View the ONU's MAC address through VLAN.

MA5680T (config)# display mac-address vlan 100 (100 is the VLAN ID)

3.View the service-port information of the ONU.

MA5680T(config)# display service-port port 0/1/0 ont 1 (0/1/0 represents frame number/slot number/port number, 1 is the ONU ID)

4.View the version information of MA5680T.

MA5680T(config)# display version

5.View the DBA template.

MA5680T(config)# display dba-profile all

6.View the line template.

MA5680T(config)# display ont-lineprofile gpon all

7.View board information.

MA5680T(config)# display board 0

8.View information about the ONU on the board.

MA5680T(config)# display board 0/1 (0/1 represents frame number/slot number)

To enter GPON command mode and execute the specified commands:

1.Enter GPON command mode.

MA5680T(config)# interface gpon 0/1  (0/1 represents the PON port number)

2.View the received optical power of the ONU.

MA5680T(config-if-gpon-0/1)# display ont optical-info 0 1  (0 is the port number, 1 is the ONU ID)

3.View the status of the ONU.

MA5680T(config-if-gpon-0/1)# display ont info 0 1  (0 is the port number, 1 is the ONU ID)

4.View the port information of the PON board.

MA5680T(config-if-gpon-0/1)# display port info 0  (0 is the port number)

5.View the port status of the PON board.

MA5680T(config-if-gpon-0/1)# display port state 0  (0 is the port number)

Make sure to replace the placeholders (such as port numbers and ONU IDs) with the actual values corresponding to your network configuration.

To view ONU registration information and version information:

 

1.View the registration information of the ONU.

 

MA5680T(config-if-gpon-0/1)# display ont register-info 0 1  (0 is the port number, 1 is the ONU ID)

---------------------------------------------------------------------

  Index Number          : 2

  Authentication Method : SN Authentication

  ONT Serial Number     : 485754436E3EDB04

  Password              : 

  ONT Type              : SmartAX MA5620

  Online Time           : 2012-03-07 06:42:56

  Offline Time          : 2012-03-09 06:00:49

  Offline Reason        : ONT Power Off

 ---------------------------------------------------------------------

  Index Number          : 1

  Authentication Method : SN Authentication

  ONT Serial Number     : 485754436E3EDB04

  Password              : 

  ONT Type              : SmartAX MA5620 

  Online Time           : 2012-02-10 09:25:58

  Offline Time          : 2012-03-07 06:15:55

  Offline Reason        : ONT Power Off

 ---------------------------------------------------------------------

 

 

2.View the ONU version information.

 

MA5680T(config-if-gpon-0/1)# display ont version 0 1  (0 is the port number, 1 is the ONU ID)

--------------------------------------------------

  Frame/Slot/Port   : 0/1/0 

  ONT Number        : 1 

  Manufacturer ID   : HWTC 

  ONT Version       : MA5620 VER.B 

  Product ID        : 111 

  Device ID         : SmartAX MA5620 

  Primary Software Version : V8R308 C00 

  Standby Software Version :  

 

Again, ensure to replace the placeholders (such as port numbers and ONU IDs) with the actual values corresponding to your network setup.

Here's a step-by-step guide for setting up your MA5680T with an MXU:

 

1.Setting System Time and Name:

 

   MA5680T (config)# time 2009-06-12 14:45:30

   MA5680T (config)# switch language-mode

   MA5680T (config)# sysname MA5680T_LY

 

 

2.Creating DBA Profiles:

 

   MA5680T_LY (config)# dba-profile add profile-id 20 profile-name "dba-profile_20" type2 assure 10240

   MA5680T_LY (config)# dba-profile add profile-id 21 profile-name "dba-profile_21" type3 assure 10240 max 20480

 

 

3.Creating Traffic Templates:

 

   MA5680T_LY (config)# traffic table ip index 20 cir 10240 priority 0 priority-policy local-Setting

   MA5680T_LY (config)# traffic table ip index 21 cir 102400 priority 0 priority-policy local-Setting

 

 

4.Creating Line Profiles:

 

   MA5680T_LY (config)# ont-lineprofile epon profile-id 20

   MA5680T_LY (config-epon-lineprofile-20)# llid dba-profile-id 10 ont-car 10

   MA5680T_LY (config-epon-lineprofile-20)# commit

 

 

5.Adding SNMP Profiles:

 

   MA5680T_LY (config)# snmp-profile add profile-id 10

   { profile-name<K>|version<E><v1,v2c> }:v1

   { readgroup<S><Length 1-32> }:public

   { writegroup<S><Length 1-32> }:private

   { des-ip<I><X.X.X.X> }:124.128.255.66

   { source-port<U><1,65535> }:162

   { securityname<S><Length 1-32> }:n2000

 

 

6.Adding SNMP Parameters:

 

   MA5680T_LY (config)# snmp-profile add profile-id 10 v1 public 20cnc06 60.215.134.2 162 h1

   MA5680T_LY (config)# snmp-profile add profile-id 10 v1 public 20cnc06 60.215.134.62 h2

This configuration guide outlines several steps to set up your MA5680T OLT (Optical Line Terminal) with an MXU (Multiservice Access Node). Here's a breakdown of each step:

 

1.Adding Confirmation Boards:

 

   MA5680T_LY (config)# board add 0/1 H801EPBC   \\ Add EPBC business board to slot 1

   MA5680T_LY (config)# board add 0/19 H801GICF   \\ Add upstream board (optional)

   MA5680T_LY (config)# board add 0/20 H801GICF   \\ Add upstream board (optional)

 

 

2.Creating VLANs and Configuring Trunking:

 

   MA5680T_LY (config)# vlan 100 smart             \\ Create management VLAN 100

   MA5680T_LY (config)# vlan 3800 smart            \\ Create voice outer VLAN

   MA5680T_LY (config)# vlan 3780 to 3781 smart    \\ Create broadband outer VLANs

   MA5680T_LY (config)# vlan attrib 3780 to 3781 q-in-q   \\ Set Q-in-Q attribute for broadband outer VLANs

   MA5680T_LY (config)# vlan attrib 3800 q-in-q   \\ Set Q-in-Q attribute for voice outer VLAN

   MA5680T_LY (config)# port vlan 164 0/18 0       \\ Set port 0/18/0 VLAN

   MA5680T_LY (config)# port vlan 3800 0/19 0      \\ Set port 0/19/0 VLAN

   MA5680T_LY (config)# port vlan 3780 to 3781 0/19 0  \\ Set VLAN trunking for upstream ports (e.g., 0/19)

 

 

3.Configuring Ports and Adding ONUs:

 

   MA5680T_LY (config)# interface epon 0/1

   huawei(config-if-epon-0/1)# port 0 ont-auto-find enable   

   huawei(config-if-epon-0/1)# port 0 tag-based-vlan    

   MA5680T_LY (config-if-epon-0/1)# ont add     

   { portid<U><0,7> }:0

   { mac-auth<K>|ontid<U><0,127>|password-auth<K> }:0   

   { mac-auth<K>|password-auth<K> }:mac-auth 

   { mac-value<P><XXXX-XXXX-XXXX> }:0018-0001-0001     

   { oam<K>|snmp<K> }:snmp 

   { ont-lineprofile-id<K>|ont-lineprofile-name<K> }:ont-lineprofile-id 

   { profile-id<U><1,4096> }:20            

 

 

4.Configuring MDU Management VLAN and SNMP:

 

   MA5680T(config)# interface epon 0/1                                             

   MA5680T(config-if-epon-0/1)# ont ipconfig                                         

   MA5680T(config-if-epon-0/1)# ont snmp-profile

 

 

5.Creating Service Ports for ONUs:

 

   huawei(config)# service-port vlan 100 epon 0/1/0 ont 0 multi-service user-vlan 100   

   huawei(config)# service-port vlan 3800 epon 0/1/0 ont 0 multi-service user-vlan 3801   

   huawei(config)# service-port vlan 100 epon 0/1/0 ont 1 multi-service user-vlan 100   

   huawei(config)# service-port vlan 3800 epon 0/1/0 ont 1 multi-service user-vlan 3801   

   huawei(config)# service-port vlan 3780 epon 0/1/0 ont all multi-service user-vlan 3000 to 3799   

 

 

6.Configuring OLT Management VLAN IP:

 

   huawei(config)# interface vlanif100

   huawei(config-if-vlanif1000)# description "Management_VLAN" 

   huawei(config-if-vlanif2)# ip address 10.99.20.1 255.255.255.0

 

 

7.Setting Up Default Route:

 

   huawei(config)# ip route-static 0.0.0.0 0.0.0.0 10.99.20.1

 

 

8.Saving Configuration:

 

   huawei(config)# save

 



Checkin successfully
Checkin successfully
Get bonus points:
My Points
Signed in Day
Checkin Record
Time Points Detailed description
Need help? Chat with us!