Default login: root, password: admin.
BIOS may contain: huawei123, admin123, Huawei@123.
Default IP: 10.11.104.2
Standard data for a console port connection: Baud rate 9600, 8 bits, stop bits 1, no flow control, VT100/auto.
The assembly will be used for the test:
0 GPBD
1 GPBD
2 –
3 –
4 GPBD
5 GPBD
6 SCUN
7 SCUN
8 GICF
9 X2CS
10 PRTE
And GPON ONUs: Huawei EchoLife HG8010, ZTE ZXA10 F601, Foxgate G2001R, Huawei EchoLife HG8245C (WiFi) and many others.
Let’s connect to the console port (CON) and write the IP for management in the managed VLAN (I have 207):
| 1 2 3 4 5 6 7 | enableconfigvlan 207 smartport vlan 207 0/8 0interface vlanif 207ip address 192.168.5.5 255.255.255.0quit |
Or you can assign an IP to a special meth port for management (then you will have to connect an additional cable to the OLT):
Add a default route if you want the IP address for management 192.168.5.5 to be visible on other networks:
| 1 | ip route-static 0.0.0.0 0.0.0.0 192.168.5.1 |
In configuration mode, add a user so that you can connect via telnet:
| 1 2 3 4 5 6 | MA5683T(config)#terminal user namehuaweipass007pass007(1. user 2. operator 3. admin)4 |
Confirmation or removal of new boards (I installed new boards GPBD, X2CS and the block with coolers on a hot one, without turning off the OLT):
| 1 2 3 4 5 | MA5683T(config)#board confirm 0/5MA5683T(config)#board confirm 0/8MA5683T(config)#board confirm 0/9MA5683T(config)#board remove 0/9MA5683T(config)#display board |
Or all at once like this:
| 1 2 | board confirm 0display board 0 |
You can reboot the board like this:
| 1 | MA5683T(config)#board reset 0/5 |
Let’s create a new Vlan for users and point it to port 0/8/0:
| 1 2 3 | MA5683T(config)#vlan 228 smartMA5683T(config)#port vlan 228 0/8 0MA5683T(config)#display vlan 228 |
An example of removing one or more VLANs from a port:
| 1 2 | MA5683T(config)#undo port vlan 228 0/8 0MA5683T(config)#undo port vlan 228 to 240 0/8 0 |
An example of adding a DBA profile with an outgoing speed limit of 1Gb/s:
| 1 2 | MA5683T(config)#dba-profile add profile-id 20 type3 assure 1024 max 1000000MA5683T(config)#display dba-profile all |
Let’s look at the standard dba-profiles from 1 to 9, they can be changed:
| 1 2 3 4 5 | display dba-profile alldisplay dba-profile profile-id 1dba-profile modify profile-id 1dba-profile modify profile-id 2dba-profile modify profile-id 3...9 |
I noticed that if ONTs with no matter what dba-profile are already registered on OLT, then dba-profile 1 cannot be changed.
Adding lineprofile:
| 1 2 3 4 5 6 7 | MA5683T(config)#ont-lineprofile gpon profile-id 10tcont 4 dba-profile-id 20gem add 1 eth tcont 4mapping-mode vlangem mapping 1 0 vlan 228commitquit |
Adding srvprofile:
| 1 2 3 4 5 | MA5683T(config)#ont-srvprofile gpon profile-id 10ont-port eth 1port vlan eth 1 228commitquit |
GPON settings and adding ONU:
| 1 2 3 4 5 | MA5683T(config)#interface gpon 0/5(config-if-gpon-0/5)#port 0 ont-auto-find enable(config-if-gpon-0/5)#display ont autofind 0huawei(config-if-gpon-0/5)#ont add 0 0 sn-auth 5A544117C04C6148 omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc TEXTMA5683T(config-if-gpon-0/5)#ont port native-vlan 0 0 eth 1 vlan 228 |
An example of viewing information about an added ONU:
| 1 2 3 4 5 6 | MA5683T(config-if-gpon-0/5)#display ont info 0 0MA5683T(config-if-gpon-0/5)#display ont ipconfig 0MA5683T(config-if-gpon-0/5)#display ont traffic 0 0 1MA5683T(config-if-gpon-0/5)#display ont optical-info 0 1MA5683T(config-if-gpon-0/5)#display ont version 0 1MA5683T(config-if-gpon-0/5)#display statistics ont-eth 0 1 ont-port 1 |
Configuring GIU uplink ports:
| 1 2 3 4 5 | MA5683T(config)#interface giu 0/8MA5683T(config-if-giu-0/8)#native-vlan all vlan 228MA5683T(config-if-giu-0/8)#network-role 0 uplinkMA5683T(config-if-giu-0/8)#display port state allMA5683T(config-if-giu-0/8)#display traffic-suppress |
Adding a service-port for the added onu (for each onu, you need to write a service-port, it won’t work without it):
| 1 | MA5683T(config)#service-port 1 vlan 228 gpon 0/5/0 ont 0 gemport 1 multi-service user-vlan 228 |
Using the service-port, you can later look at mac-addresses on onu:
| 1 | display mac-address service-port 1 |
An example of finding a specific mac address:
| 1 2 | display mac-address all | include e0cb-4ec3-7c44display mac-address port 0/4/3 |
DHCP setting (only needed for L3):
| 1 2 3 4 | MA5683T(config)#dhcp-server 0 ip 10.0.0.1MA5683T(config)#dhcp proxy enableMA5683T(config)#interface vlanif 228MA5683T(config-if-vlanif50)#dhcp-server 0 |
SNMP configuration:
| 1 2 3 4 | MA5683T(config)#snmp-agent community read TEXTMA5683T(config)#snmp-agent sys-info version v2cMA5683T(config)#snmp-agent sys-info contact TEXTMA5683T(config)#snmp-agent sys-info location TEXT |
Let’s set up protection against loops:
| 1 2 | ring check enablering check resume-interval 30 |
An example of enabling dos protection:
| 1 2 3 4 5 | security anti-dos enablesecurity anti-dos control-packet policy denysecurity anti-dos control-packet rate 0/5/0 defaultdisplay security anti-dos control-packet rate 0/5/0display security dos-blacklist all |
Let’s turn on other protection:
| 1 2 3 4 5 6 | security anti-icmpattack enablesecurity anti-ipattack enablesecurity anti-macduplicate enabledisplay log securitydisplay security configdisplay security conflict |
Viewing mac addresses:
| 1 | display mac-address |
Save configuration:
| 1 | save |
Viewing the current configuration:
| 1 | display current-configuration |
View the part of the current configuration in which the specified text occurs:
| 1 | display current-configuration | include TEXT |
An example of clearing the configuration:
| 1 | erase flash data active/standby |
An example of viewing various statistics:
| 1 2 3 4 5 6 7 | display board 0/5display cpu 0/5display resourcedisplay security configdisplay temperaturedisplay gpon statistics ethernet 0/5 0display igmp config global |
CPU overload control setting (default 10):
| 1 2 | display cpu-overload-control parametercpu-overload-control parameter adjustfactor 20 |
To remove the ONU, you must first remove the service-port, and then the ONU itself with the commands:
| 1 2 3 | undo service-port 1interface gpon 0/5ont delete 0 0 |
To enable/disable the display of alarms in the console:
| 1 2 | alarm output allundo alarm output all |
When a non-working SFP is connected, you can see information about it, for example, in active alarms:
| 1 | display alarm active all |
You can see the device uptime with the command:
| 1 | display sysuptime |
See also my articles:
Note that if you turn on a media converter instead of ONT on a branch, then all ONTs on this branch may stop working, a similar situation can be if the network has a broken ONT constantly shining with a high optical signal level.
Commands can be typed not to the end, but press the TAB key, they will be added automatically.