For example, I will configure the Huawei MA5608T.
Connect to the device with a console cable at a speed of 9600. Standard login: root, password: admin or admin123.
Let’s go into configuration mode:
1 2 | enable config |
Let’s see the current configuration:
1 2 | display current-configuration display current-configuration | include TEXT |
Change the password for the root user:
1 | terminal user password |
Let’s create another user, since one administrator can log in as root, and under the new user 4 at the same time:
1 2 3 4 5 6 7 8 9 10 11 | terminal user name User Name(length<6,15>):madankc User Password(length<6,15>): Confirm Password(length<6,15>): User profile name(<=15 chars)[root]: User's Level:3 1. Common User 2. Operator 3. Administrator:3 Permitted Reenter Number(0--4):4 User's Appended Info(<=30 chars): Adding user successfully Repeat this operation? (y/n)[n]:n |
Specify the IP addresses from which it is allowed to connect to the device:
1 2 3 4 5 6 7 8 9 10 11 | sysman ip-access ssh 192.168.5.5 192.168.5.5 sysman ip-access ssh 192.168.1.1 192.168.1.2 sysman firewall ssh enable sysman ip-access telnet 192.168.5.5 192.168.5.5 sysman ip-access telnet 192.168.1.1 192.168.1.2 sysman firewall telnet enable sysman ip-access snmp 192.168.5.5 192.168.5.5 sysman ip-access snmp 192.168.1.1 192.168.1.2 sysman firewall snmp enable |
Configure SNMP and SNMP Traps:
1 2 3 4 5 6 7 8 9 | snmp-agent community write IXNFO snmp-agent community read IXNFO snmp-agent sys-info contact IXNFO snmp-agent sys-info location IXNFO snmp-agent sys-info version v2c snmp-agent target-host trap-hostname U2000SERVER address 192.168.5.3 udp-port 162 trap-paramsname NMS snmp-agent target-host trap-paramsname NMS v2C securityname NMS snmp-agent trap enable standard |
Configure NTP:
1 2 3 | timezone GMT+ 02:00 time dst start 04-01 00:00:00 end 10-28 00:00:00 adjust 01:00 ntp-service unicast-server 192.168.2.7 source-interface vlanif208 |
Let’s see which boards are installed:
1 2 3 4 5 6 7 8 9 10 11 | display board 0 display board 0/0 display board 0/2 display board 0/4 display version display patch all display io-packetfile information display temperature 0/0 display temperature 0/2 display cpu 0/0 display cpu 0/2 |
I have displayed:
1 2 3 4 5 6 7 8 9 10 11 | display board 0 ------------------------------------------------------------------------- SlotID BoardName Status SubType0 SubType1 Online/Offline ------------------------------------------------------------------------- 0 H805GPBD Normal 1 2 H801MCUD Active_normal CPCA 3 4 H801MPWC Normal 5 ------------------------------------------------------------------------- |
By the way, the MCUD board has 4 ports of 1 Gb/s, and the MCUD1 board has 2 ports of 10 Gb/s and 2 ports of 1 Gb/s.
If no boards are added, then add:
1 2 | board confirm 0/0 board confirm 0/4 |
If necessary, you can restart the GPON board as follows:
1 | board reset 0/0 |
If not needed, then delete the standard IP address from the meth port:
1 2 3 | interface meth0 undo ip address quit |
Create a VLAN for management and assign an IP address:
1 2 3 4 5 | vlan 208 smart port vlan 208 0/2 0 interface vlanif 208 ip address 192.168.2.2 255.255.255.0 quit |
Specify the default gateway so that the IP address of the device is accessible from other networks:
1 | ip route-static 0.0.0.0 0.0.0.0 192.168.2.1 |
Create a VLAN for users:
1 2 3 | vlan 944 smart port vlan 944 0/2 0 display vlan 944 |
Next, I created a 1Gb/s speed profile and profiles for single-port ONT and client VLANs:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | display dba-profile all dba-profile add profile-id 15 profile-name "dba-profile_15" type3 assure 1024 max 1000000 display ont-srvprofile gpon all ont-srvprofile gpon profile-id 10 profile-name "vlan 944" ont-port eth 1 port vlan eth 1 translation 944 user-vlan 944 commit quit display ont-lineprofile gpon all ont-lineprofile gpon profile-id 10 profile-name "vlan 944"tcont 4 dba-profile-id 15 gem add 1 eth tcont 4 gem mapping 1 0 vlan 944commit |
Turn on loop protection:
1 2 | ring check enable ring check resume-interval 30 |
Enable ONT auto find:
1 |
I’ll give an example of adding the first ONT on the first GPON port (more precisely, zero, since the numbering starts at 0):
1 2 3 4 5 6 7 | display ont autofind all interface gpon 0/0 display ont autofind 0 ont add 0 0 sn-auth "414C434CF2A40000" omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc "madankc" ont port native-vlan 0 0 eth 1 vlan 944 priority 0 quit service-port 1 vlan 944 gpon 0/0/0 ont 0 gemport 1 multi-service user-vlan 944 |
Example of viewing information about ONT:
1 2 3 4 | display ont info 0 0 display ont optical-info 0 0 display ont version 0 0 display statistics ont-eth 0 0 ont-port 1 |
You can view the client’s MAC address by its service-port:
1 | display mac-address service-port 1 |
If you need to remove ONT, then you need to start by removing its service-port:
1 2 3 | undo service-port 1 interface gpon 0/0 ont delete 0 0 |
Save the configuration:
1 | save |
To find out which SFP module is in the PON port, for example C+ or C++, you can use the command:
1 2 | interface gpon 0/0 display port state 0 |
If there are two control cards, then you can check the synchronization status:
1 | display data sync state |
You can check for an ONT with an erroneous configuration by:
1 2 3 | diagnose display ont failed-configuration 0/0/0 all quit |
Example of viewing information about emu:
1 2 3 4 5 6 7 8 9 10 11 12 | interface emu 0 display fan environment info display fan system parameter quit emu add 1 H801esc 0 0 "GERM4815T" display emu display emu baudrate interface emu 1 display esc system parameter display esc environment info quit |