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 | enableconfig |
Let’s see the current configuration:
| 1 2 | display current-configurationdisplay 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.5sysman ip-access ssh 192.168.1.1 192.168.1.2sysman firewall ssh enable sysman ip-access telnet 192.168.5.5 192.168.5.5sysman ip-access telnet 192.168.1.1 192.168.1.2sysman firewall telnet enablesysman ip-access snmp 192.168.5.5 192.168.5.5sysman ip-access snmp 192.168.1.1 192.168.1.2sysman firewall snmp enable |
Configure SNMP and SNMP Traps:
| 1 2 3 4 5 6 7 8 9 | snmp-agent community write IXNFOsnmp-agent community read IXNFOsnmp-agent sys-info contact IXNFOsnmp-agent sys-info location IXNFOsnmp-agent sys-info version v2c snmp-agent target-host trap-hostname U2000SERVER address 192.168.5.3 udp-port 162 trap-paramsname NMSsnmp-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:00ntp-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 0display board 0/0display board 0/2display board 0/4display versiondisplay patch alldisplay io-packetfile informationdisplay temperature 0/0display temperature 0/2display cpu 0/0display 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/0board 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 meth0undo ip addressquit |
Create a VLAN for management and assign an IP address:
| 1 2 3 4 5 | vlan 208 smartport vlan 208 0/2 0interface vlanif 208ip address 192.168.2.2 255.255.255.0quit |
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 smartport vlan 944 0/2 0display 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 alldba-profile add profile-id 15 profile-name "dba-profile_15" type3 assure 1024 max 1000000 display ont-srvprofile gpon allont-srvprofile gpon profile-id 10 profile-name "vlan 944"ont-port eth 1port vlan eth 1 translation 944 user-vlan 944commitquit display ont-lineprofile gpon allont-lineprofile gpon profile-id 10 profile-name "vlan 944"tcont 4 dba-profile-id 15gem add 1 eth tcont 4gem mapping 1 0 vlan 944commit |
Turn on loop protection:
| 1 2 | ring check enablering 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 allinterface gpon 0/0display ont autofind 0ont 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 0quitservice-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 0display ont optical-info 0 0display ont version 0 0display 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 1interface gpon 0/0ont 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/0display 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 | diagnosedisplay ont failed-configuration 0/0/0 allquit |
Example of viewing information about emu:
| 1 2 3 4 5 6 7 8 9 10 11 12 | interface emu 0display fan environment infodisplay fan system parameterquitemu add 1 H801esc 0 0 "GERM4815T"display emudisplay emu baudrateinterface emu 1display esc system parameterdisplay esc environment infoquit |