Huawei OLT SNMP and Telnet commands

Huawei OLT SNMP and Telnet commands

Huawei OLT SNMP and Telnet commands:

1. ADD TR069 SERVER (ACS SERVER)
#ont tr069-server-profile add profile-id 1 profile-name DriniaTech url 10.0.0.2:7547 user DriniaLab DriniaLabPASS

2. Set ACS for one ONT
#ont tr069-server-config 12 66 profile-id 1

3.SNMP PORTs:
4194304000 – Port 1
4194304256 – Port 2 it continues + 256 for each ports
4194312192 -port 1 of Slot 2 + 256 for each ports

4. Unregistered ONTs (get subtree):
1.3.6.1.4.1.2011.6.128.1.1.2.52.1.2

5. CBS, CIR,PIR,PBS
CBS – is the average volume of burst traffic that can pass through an interface.
CIR – The CIR is the guaranteed average transmission rate. Set the CBS to 200 times the CIR.
PIR – Specifies the peak information rate (PIR), which is the maximum rate of traffic that can pass through an interface. (The PIR must be higher than or equal to the CIR. The default PIR is equal to the CIR.)
PBS – Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface. Set the PBS to 2 times the CBS, that is, 400 times the CIR

traffic table ip index 1 name 60DOWN cir 61440 cbs 1968080{advised to set the CBS to be 100-200 times the CIR} pir 61440 pbs 1968080 color-mode color-blind priority 0 inner-priority 0 priority-policy local-setting
traffic table ip index 10 name 60DOWN cir 61440 cbs 1968080 pir 61440 pbs 1968080 color-mode color-blind priority 0 inner-priority 0 priority-policy local-setting
traffic table ip index 11 name 60UP cir 61440 cbs 1968080 pir 61440 pbs 1968080 color-mode color-blind priority 0 inner-priority 0 priority-policy local-setting

6. NAT Enable
#ont wan-profile profile-id 1000 profile-name “DriniaTech”
#nat enable
#quit

7. Policy-route-profile
#ont policy-route-profile profile-id 1 profile-name “DriniaTech”
#policy-route 0 port-based eth 1-4 wlan 1-8 wan 1
#quit

8. ADD/Delete DBA Profile
dba-profile add profile-id 1 profile-name “DriniaTech_TCONT_100M” type4 max 104800

dba-profile delete profile-id 1

9.Enable OMCI configuration from OLT
#gpon ont home-gateway config-method omc

10. Create SRV profile:
#config
#ont-srvprofile gpon profile-id {SRV-ID} profile-name {name of SRV}
#ont-port pots 2 eth 4 catv 1
#ring check enable
#commit

11. Crate LineProfile:
ont-lineprofile gpon profile-id 1000 profile-name DriniaTech
tr069-management enable
mapping-mode priority
tcont 0 dba-profile-id 2
tcont 1 dba-profile-id 10
tcont 2 dba-profile-id 10
tcont 3 dba-profile-id 10
gem add 1 eth tcont 1
gem add 2 eth tcont 2
gem add 3 eth tcont 3
gem mapping 1 1 priority 0
gem mapping 2 1 priority 2
gem mapping 3 1 priority 5
commit
quit

12. Enable auto-find ONT:
interface gpon 0/1
port 0 ont-auto-find enable
port 1 ont-auto-find enable
port 2 ont-auto-find enable
port 3 ont-auto-find enable
port 4 ont-auto-find enable
port 5 ont-auto-find enable
port 6 ont-auto-find enable
port 7 ont-auto-find enable
port 8 ont-auto-find enable
port 9 ont-auto-find enable
port 10 ont-auto-find enable
port 11 ont-auto-find enable
port 12 ont-auto-find enable
port 13 ont-auto-find enable
port 14 ont-auto-find enable
port 15 ont-auto-find enable

13. Configuring Bridge ONT:
interface gpon 0{FRAME}/2{Slot}
ont add 12{PORT-ID} 66 sn-auth “SN” omci ont-lineprofile-id{This will be a General Profile that we will use for all DriniaTech Clients} 1 ont-srvprofile-id{ONU TYPE} 1desc “test”
ont port native-vlan 12{PORT-ID} 66{ONU-ID} eth 1{NUM-OF-ETH-PORT} vlan 20{NUM-OF-VLANID} priority 0

14.Service port:
service-port 6944{ServiveID up to 32767} vlan 20{VLANID} gpon 0/1/12{0/Slot-ID/PORT-ID} ont 66{ONU-ID} gemport 1 multi-service user-vlan 20 tag-transform translate inbound traffic-table index 999 outbound traffic-table index 11

15. Check next free index of service port:
display service-port next-free-index

16. Enable/Disable CATV port on Huawei OLT:
ont port attribute 12 66 catv 1 operational-state off or on
.1.3.6.1.4.1.2011.6.128.1.1.2.63.1.2.4194305792{port-id}.4{ONU-ID}.1{CATV-PORT-ID} – CATV OPERATE STATUS 1-ON, 2-OFF (Also we can SET and change status manually)
.1.3.6.1.4.1.2011.6.128.1.1.2.51.1.7.4194305792.4 – CATV RX Power SIGNAL (when it is 2147483647 it means NO SIGNAL)
.1.3.6.1.4.1.2011.6.128.1.1.2.51.1.3 – TX Power
.1.3.6.1.4.1.2011.6.128.1.1.2.51.1.4 – RX power

17. Router ONT:
config
interface gpon 0/0
ont add 0 100 sn-auth “SN” omci ont-lineprofile-id 4000 ont-srvprofile-id 3002 desc “test”
ont ipconfig 0 100 ip-index 1 dhcp
ont internet-config 0 100 ip-index 1
ont wan-config 0 100 ip-index 1 profile-id 1
ont policy-route-config 12 0 profile-id 1
ont port route 0 100 eth 1 enable – Step 3,configure the port LAN1 as L3 mode, or the above command not works.

18. ONT WAN-config
interface gpon 0/2
ont add 12 0 sn-auth “SN” omci ont-lineprofile-id 1000 ont-srvprofile-id 14 desc “test”
ont ipconfig 12 0 pppoe vlan 37 priority 0 user-account username test37 password test37
ont ipconfig 9 14 ip-index 1 static ip-address 10.10.11.10 mask 255.255.255.0 vlan 10 priority 5 gateway 10.10.11.1 pri-dns 8.8.8.8

19.VOIP Profiles:
ADD NEW:
ont-sipagent-profile add profile-name VoIP registration server-uri 192.168.8.8 server-port 5160 outbound-server 192.168.77.153 outbound-server-port 5160 proxy-server 192.168.8.8 proxy-server-port 5160
Modify:
ont-sipagent-profile modify profile-name VoIP registration server-uri 192.168.77.153 server-port 5160 outbound-server 192.168.77.153 outbound-server-port 5160 proxy-server 192.168.77.153 proxy-server-port 5160

#display ont-sipagent-profile all

20.OLT CONFIG:
.1.3.6.1.2.1.1.3.0 – Uptime
.1.3.6.1.2.1.1.5.0 – NAME OF THE OLT
.1.3.6.1.2.1.47.1.1.1.1.10.6749340 – OLT Version
.1.3.6.1.4.1.2011.2.6.7.1.1.2.1.7 – Modules inserted into OLT
.1.3.6.1.4.1.2011.6.3.3.3.1.3.0 – Port number for each module
.1.3.6.1.4.1.2011.6.3.3.2.1.5.0 – Derscription for each module
.1.3.6.1.4.1.2011.6.3.3.2.1.1 – Slot Numbers
.1.3.6.1.4.1.2011.6.3.3.2.1.6.0 – Processor status 1 Active -2 STB
1.3.6.1.4.1.2011.6.3.3.2.1.11 – SerialNumber for each module
.1.3.6.1.4.1.2011.6.3.3.2.1.21 – MODULE NAMEs
1.3.6.1.2.1.2.2.1.7 – admin status for each port
1.3.6.1.2.1.2.2.1.8 – OperationStatus
.1.3.6.1.2.1.31.1.1.1.18 – GET INDEX FOR EACH PORT
.1.3.6.1.4.1.2011.6.128.1.1.2.23.1.4 – GET TX POWER FOR EACH PORT 729 = 7.29, 2147483647= NULL
1.3.6.1.4.1.2011.6.128.1.1.2.21.1.1 – GET/SET RANGE 0 = 0m, 1 = 1000m, 20 = 20000m, 15 = 15000m
.1.3.6.1.4.1.2011.6.128.1.1.2.21.1.2 – GET/SET RANGE 20 = 20000m, 15 = 15000m
.1.3.6.1.4.1.2011.2.6.7.1.1.2.1.8 – Above Module status 1-ONLINE 2-OFFLINE/Failed
.1.3.6.1.4.1.2011.6.3.3.2.1.11 – SerialNumbers
.1.3.6.1.4.1.2011.6.3.3.2.1.5.0 – Module Description
.1.3.6.1.4.1.2011.5.6.1.1.1.2 – Description VLANs
.1.3.6.1.4.1.2011.5.14.1.4.1.3 -Ether 101- 100M, down 0, dont exist -1
.1.3.6.1.2.1.2.2.1.4 -MTU for each port
1.3.6.1.4.1.2011.5.14.1.4.1.1 – UP-4 down-3
.1.3.6.1.4.1.2011.5.14.1.4.1.5 – 3=Copper
1.3.6.1.4.1.2011.6.128.1.1.2.21.1.4 – 1-UP, 2-OFF
.1.3.6.1.4.1.2011.5.14.6.1.1.10{+1}.234897408 – Module/SFP SPEED,NAME,
#display current-configuration section vlan-config
.1.3.6.1.2.1.31.1.1.1.1.4194304000 – READ THE GPON PORT-ID
.1.3.6.1.2.1.2.2.1.8.4194304000 – Read the status of above PORT UP/Down
.1.3.6.1.2.1.2.2.1.9.4194304000 – Read the Uptime of above PORT
1.3.6.1.4.1.2011.6.128.1.1.1.1.0 – AUTOFIND INTERVAL: you can edit the value
#display ont-srvprofile gpon all
1.3.6.1.4.1.2011.6.128.1.1.2.51.1.3 – TX Power
1.3.6.1.4.1.2011.6.128.1.1.2.51.1.4 – RX power
.1.3.6.1.4.1.2011.6.128.1.1.2.63.1.2.4194305792{port-id}.4{ONU-ID}.1{CATV-PORT-ID} – CATV OPERATE STATUS 1-ON, 2-OFF (Also we can SET and change status manually)
1.3.6.1.4.1.2011.6.128.1.1.2.51.1.7.4194305792.4 – CATV RX Power SIGNAL (when it is 2147483647 it means NO SIGNAL)
.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.9 – GET ONT DESCRIPTION(Client NAME)
1.3.6.1.4.1.2011.6.145.1.1.1.4.1.5 -ONT Description
.1.3.6.1.4.1.2011.6.128.1.1.2.45.1.1. -ONT VERSION 452.A
.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.3(.1.3.6.1.4.1.2011.6.128.1.1.2.46.1.30) – GET ONT SN
.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.8 – GET ONT TYPE
.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.9 – GET ONT DESCRIPTION
1.3.6.1.4.1.2011.6.128.1.1.2.43.1.7 – Read LINEProfile per ONT
1.3.6.1.4.1.2011.6.128.1.1.2.43.1.8 – Read SRVProfile per ONT
.1.3.6.1.4.1.2011.6.128.1.1.2.45.1.5 – GET ONT VERSION RUNNING IMG
.1.3.6.1.4.1.2011.6.128.1.1.2.45.1.6 – GET ONT VERSION Standby IMG
.1.3.6.1.4.1.2011.6.128.1.1.2.47.1.2 – GET NUM-OF-ETH ojm vleren /100
.1.3.6.1.4.1.2011.6.128.1.1.2.46.1.15.4194320640.10 – GET ONT STATUS 1-ONLINE, 2-OFFLINE
.1.3.6.1.4.1.2011.6.128.1.1.2.50.1.4 – if value 2 -LOS
.1.3.6.1.4.1.2011.6.128.1.1.2.50.1.3 – if value 2 -LOS
hwGponDeviceOntEntryStatus”: “1.3.6.1.4.1.2011.6.128.1.1.2.43.1.10
hwGponDeviceOntVersion”: “1.3.6.1.4.1.2011.6.128.1.1.2.45.1.1

21. Display commands:
interface gpon 0/{SLOT-ID}
display ont optical-info {PORT ID} {ONT-ID}
display ont port state {PORT ID} {ONT-ID} catv-port all
display ont info {PORT ID} {ONT-ID}
display ont register-info {PORT ID} {ONT-ID}
display ont wan-info 0/{SLOT-ID} {PORT ID} {ONT-ID}
display ont port state {PORT ID} {ONT-ID} eth-port all
display ont port state {PORT ID} {ONT-ID} pots-port all
display mac-address port 0/{SLOT-ID}/{PORT-ID} ont {ONU-ID}
Display current-configuration ont 0/{SLOT-ID}/{PORT-ID} {ONU-ID}

22.Board reset
config
board reset 0/1

23.Enable all PON Ports:
1.3.6.1.2.1.2.2.1.7.4194304000 set integer 1 – to enable the PON ports set value to 1

24.Enable Autofind
1.3.6.1.4.1.2011.6.128.1.1.2.21.1.4.4194306560 set integer 1 – to enable AUTOFIND ports set value to 1

25.Configure uplink port ethernet 0/2/0
display current-configuration port 0/2/0
1.3.6.1.4.1.2011.6.3.10.2.1.2: Value (Null)

26.LIVE SPEED MONITORING
get-request 1.3.6.1.4.1.2011.6.128.1.1.4.23.1.1.4194320640.10
get-request 1.3.6.1.4.1.2011.6.128.1.1.4.23.1.2.4194320640.10
get-request 1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10
get-request 1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 184772018765  =upload_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 184776268580  =upload_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 184777635331  =upload_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 184782341089  =upload_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 184923456658  =upload_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3.4194320640.10 185134072819  =upload_data

.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10 4824294224766 =download_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10 4824342013501  =download_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10 4824525964153  =download_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10 4824537942712  =download_data
.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4.4194320640.10 4824539521423  =download_data

27. Send TR069 Server to all ONTs in 1 port with a single command:
ont tr069-server-config 0 all profile-id 20
ont tr069-server-config 1 all profile-id 20
ont tr069-server-config 2 all profile-id 20
ont tr069-server-config 3 all profile-id 20
ont tr069-server-config 4 all profile-id 20
ont tr069-server-config 5 all profile-id 20
ont tr069-server-config 6 all profile-id 20
ont tr069-server-config 7 all profile-id 20
ont tr069-server-config 8 all profile-id 20
ont tr069-server-config 9 all profile-id 20
ont tr069-server-config 10 all profile-id 20
ont tr069-server-config 11 all profile-id 20
ont tr069-server-config 12 all profile-id 20
ont tr069-server-config 13 all profile-id 20
ont tr069-server-config 14 all profile-id 20
ont tr069-server-config 15 all profile-id 20

28.DELETE ONT:
config
undo service-port {service id}
interface gpon 0/{slot-id}
undo {port-id} {onu-id}

29. ONT LAN PORT MODE:
ont port vlan 5 70 eth 1 translation 26 20 user-vlan 20 – TRUNK
ont port vlan 5 70 eth 1 translation 26 20 user-vlan 26 20 – Transparent
ont port native-vlan 5 70 eth 1 vlan 20 priority 0 – ACCESS

Posted in HUAWEI OLT, GPON, OLT.

Leave a Reply

Your email address will not be published. Required fields are marked *