GPON – BASIC COMMAND OLT
HUAWEI
Continuing previous article about some Basic Command in OLT ZTE. Now,
it’s time to share about some basic Commands at OLT Huawei. Nowadays
GPON Technologies have adopted to many brands Like Cisco , Alcatel
Lucent / Nokia , Huawei , ZTE , Fiberhome , and etc.
I have knowledge with some brands like ZTE , Huawei , Fiberhome , and
Alcatel Lucent. but mostly with ZTE and Huawei. At Least Their Concept is
all same.
That’s same like Topology Below :
There is Always OLT and ONT.
Okay , Here we go of some basic Commands At OLT Huawei.
CHECKING OLT UPTIME
OL01#display sysuptime
System up time: 324 day 20 hour 55 minute 38 second
CHECKING OLT BOARD
OL01#display board 0
————————————————————————-
SlotID BoardName Status SubType0 SubType1 Online/Offline
————————————————————————-
0
1 H805GPFD Normal
2 H805GPFD Normal
3 H805GPFD Normal
4 H805GPFD Normal
5 H805GPFD Normal
6 H805GPFD Normal
7 H802SCUN Active_normal –> Control Module
8 H802SCUN Standby_normal –> Control Module
9 H805GPFD Normal
10 H805GPFD Normal
11 H805GPFD Normal
12 H805GPFD Normal
13 H805GPFD Normal
14 H805GPFD Normal
15 H805GPFD Normal
16 H805GPFD Normal
17 H801X2CS Normal –> Uplink Module
18 H801X2CS Normal –> Uplink Module
19 H801PRTE Normal
20 H801PRTE Normal
————————————————————————-
OL01#
CHECKING OLT PROCESSOR AND MEMORY PER SLOT
OL01#display mem 0/1
Memory occupancy: 33%
OL01#display cpu 0/1
Send message for inquiring board cpu occupancy successfully, board
executing…
CPU occupancy: 15%
OL01#
CHECKING OLT TEMPERATURE
OL01#display temperature 0
SlotID: 1 BoardName: H805 Temperature: 42C( 107F)
SlotID: 2 BoardName: H805 Temperature: 41C( 105F
FINDING ONT BY SN NUMBER
OL01#display ont info by-sn ABCDEF
—————————————————————————–
In Huawei port 1 = port 0 at system
F/S/P : 0/1/0 (remember) this ONT Meaning that locate at
slot 1 port 0 onu id 2
ONT-ID : 2
Control flag : active
Run state : offline
Config state : initial
Match state : initial
DBA type : SR
ONT distance(m) : –
ONT battery state : –
Memory occupation : –
CPU occupation : –
Temperature : –
Authentic type : SN-auth
SN : ABCDEF (HWTC-07930A53)
Management mode : OMCI
Software work mode : normal
Isolation state : normal
ONT IP 0 address/mask : –
Description : IRONMAN
Last down cause : dying-gasp –> down caused by dying gasp (dying-
gasp = ont off )
Last up time : 2016-11-11 17:52:08+07:00 –> Log Last Uptime
Last down time : 2016-11-15 09:23:27+07:00
Last dying gasp time : 2016-11-15 09:23:27+07:00
ONT online duration : –
Type C support : Not support
Interoperability-mode : Unknown
CHECKING ONT STATUS
OL01#display ont info 0 1 0 all
—————————————————————————–
F/S/P ONT SN Control Run Config Match Protect
ID flag state state state side
—————————————————————————–
0/ 1/0 1 ABCDEF deactivated offline initial initial no
0/ 1/0 2 REZABU active offline initial initial no —
0/ 1/0 4 BAREZU active online normal match no –> ONT
online
CHECKING ONT HISTORY LOGS
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#display ont register-info 0 1
——————————————————————————
Index : 10
Auth-type : SN-auth
SN : ABCDEF (HWTC-19698F53)
TYPE : 245H
UpTime : 2016-11-02 16:56:37+07:00
DownTime : 2016-11-04 07:52:15+07:00
DownCause : ONT dying-gasp
——————————————————————————
Index : 9
Auth-type : SN-auth
SN : ABCDEF (HWTC-19698F53)
TYPE : 245H
UpTime : 2016-10-31 22:29:05+07:00
DownTime : 2016-11-02 16:42:36+07:00
DownCause : ONT dying-gasp
——————————————————————————
Index : 8
Auth-type : SN-auth
SN : ABCDEF (HWTC-19698F53)
TYPE : 245H
UpTime : 2016-10-29 00:25:35+07:00
DownTime : 2016-10-31 22:13:03+07:00
DownCause : ONT dying-gasp
CHECKING ONT MAC ADDRESS
OL01#display mac-address port 0/1/0 ont 2
———————————————————————–
SRV-P BUNDLE TYPE MAC MAC TYPE F /S /P VPI VCI
VLAN ID
INDEX INDEX
———————————————————————–
2389 – gpon aaaa-bbbb-cccc dynamic 0 /1 /0 2 2 122
2388 – gpon bbbb-aaaa-cccc dynamic 0 /1 /0 2 1 212
———————————————————————–
Total: 2
Note: F–Frame, S–Slot, P–Port, F/S/P indicates PW Index for PW,
A–The MAC address is learned or configured on the aggregation port,
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
v/e–vlan/encap, pritag–priority-tagged,
ppp–pppoe, ip–ipoe, ip4–ipv4oe, ip6–ipv6oe
OL01#
CHECKING ONT POWER
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#display ont optical-info 0 all
—————————————————————————–
ONT Rx power Tx power OLT Rx ONT Temperature Voltage
Current
ID (dBm) (dBm) power(dBm) (C) (V) (mA)
—————————————————————————–
4 -23.10 2.30 -24.21 56 3.260 13
6 -21.08 2.28 -21.49 44 3.240 13
CHECKING ONT VERSION
OL01#display ont version 0 1 0 4
————————————————————————–
F/S/P : 0/1/0
ONT-ID : 4
Vendor-ID : HWTC
ONT Version : 49
Product-ID : 4
Equipment-ID : 24
Main Software Version : V3R0
Standby Software Version : V3R0
OntProductDescription : EchoLife
Support XML Version : 1.3.
OL01#
CHECKING ONT IP (ROUTING MODE)
OL01#display ont wan-info 0/1 0 4
———————————————————————
F/S/P : 0/1/0
ONT ID : 4
———————————————————————
Index : 1
Name : OLT_C_INTERNET_DHCP_WAN
Service type : Internet
Connection type : IP routed
IPv4 Connection status : Connected
IPv4 access type : DHCP
IPv4 address : 1.2.3.4
Subnet mask : 255.255.255.0
Default gateway : 1.2.3.1
Manage VLAN : 212
Manage priority : 0
Option60 : Yes
Switch : Enable
MAC address : BBBB-AAAA-CCCC
Priority policy : Specified
L2 encap-type : IPoE
IPv4 switch : Enable
IPv6 switch : Disable
———————————————————————
OL01#
CHECKING ONT PORT STATUS
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#display ont port state 0 4 eth-port all
————————————————————————–
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState
RingStatus
port-ID Port-type
————————————————————————–
4 1 GE – – down –
4 2 GE 100 full up –
4 3 GE – – down –
4 4 GE – – down –
————————————————————————–
OL01(config-if-gpon-0/1)#
CHECKING ONT CONFIGURATION
OL01#display current-configuration ont 0/1/0 4
#
[gpon]
<gpon-0/1>
interface gpon 0/1
ont add 0 4 sn-auth “ABCDEF” omci ont-lineprofile-id 5
ont-srvprofile-id 1 desc “HULK”
ont ipconfig 0 4 dhcp vlan 212 priority
ont internet-config 0 4 ip-index 0
ont wan-config 0 4 ip-index 0 profile-id 1
ont port route 0 4 eth 1 enable –> routing mode
ont port native-vlan 0 4 eth 2 vlan 122 priority 0 –> bridging mode
ont port native-vlan 0 4 eth 3 vlan 122 priority 0 –> bridging mode
ont port route 0 4 eth 4 enable –> routing mode
#
[bbs-config]
<bbs-config>
service-port 2677 vlan 212 gpon 0/1/0 ont 4 gemport 1 multi-service user-
vlan 212 tag-transform translate inbound traffic-table index 20 outbound
traffic-table index 20
service-port 2678 vlan 122 gpon 0/1/0 ont 4 gemport 2 multi-service user-
vlan 122 tag-transform translate inbound traffic-table index 0 outbound
traffic-table index 0
return
OL01#
CHECKING ONT CONFIGURATION PER-PORT
OL01#display current-configuration port 0/1/1
#
[gpon]
<gpon-0/1>
interface gpon 0/1
port 1 ont-auto-find enable –> Configuring this to detect your unregister
ONU automatically
CHECKING HOW MANY SERVICES PER-ONT
OL01#display service-port port 0/1/0 ont 4
{ <cr>|e2e<K>|gemport<K>|sort-by<K> }:
Command:
display service-port port 0/1/0 ont 4
Switch-Oriented Flow List
—————————————————————————–
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX
TX STATE
ID ATTR TYPE TYPE PARA
—————————————————————————–
2677 212 common gpon 0/1 /0 4 1 vlan 212 20 20 up
2678 122 common gpon 0/1 /0 4 2 vlan 122 0 0 up
—————————————————————————–
Total : 2 (Up/Down : 2/0)
Note : F–Frame, S–Slot, P–Port,
VPI indicates ONT ID for PON, VCI indicates GEM index for GPON,
OL01#
YOU CAN PING FROM YOUR ONT :P
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont remote-ping 0 4 ip-address 8.8.8.8
OL01(config-if-gpon-0/1)#
—————————————–
ONT remote-ping information
—————————————–
F/S/P : 0/ 1/0
ONT-ID : 4
ONT IP Index : 0
IP address of ping : 8.8.8.8
Transmit packets : 4
Receive packets : 4
Lost packets : 0
Lost packets ratio(%): 0
Min delay(ms) : 31
Max delay(ms) : 31
Average delay(ms) : 31
Error Code : –
—————————————–
REBOOT ONT
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont reset 0 4
RESET FACTORY ONT
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont factory-setting-restore 0 4
HOW TO RELEASE RENEW ONT AS DHCP CLIENT
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont ipconfig 0 4 dhcp reset
CHECKING RX LEVEL FOR OLT UPLINK
OL01#config
OL01(config)#interface giu 0/18
OL01(config-if-giu-0/18)#display port ddm-info 0
Temperature(C) : 38.640000
Supply voltage(V) : 3.260000
TX bias current(mA) : 38.000000
TX power(dBm) : 1.095110
RX power(dBm) : -14.659738
OL01(config-if-giu-0/18)#quit
OL01(config)#quit
OL01#
RESET SLOT
OL01#config
OL01(config)#board reset 0/1
HOW TO FIND ONT BY MAC
OL01#display location aaaa-bbbb-cccc
{ <cr>|fabric<K>|ont<K> }:
Command:
display location 4cf9-5dd3-1914
It will take several minutes, and console may be timeout, please use
command idle-timeout to set time limit
Are you sure to query MAC address location ? (y/n)[n]:y
———————————————————————–
SRV-P BUNDLE TYPE MAC MAC TYPE F /S /P VPI VCI
VLAN ID
INDEX INDEX
———————————————————————–
5493 – gpon aaaa-bbbb-cccc dynamic 0 /6 /6 50 1 203
———————————————————————–
GPON – BASIC COMMAND OLT HUAWEI
– PART 2
Here some additional command for OLT Huawei :
HOW TO CHECK MAC-ADDRESS PER-SLOT :
OL01#display mac-address board 0/6
HOW TO CHECK TRAFFIC PER-GEMPORT :
OL01#display gemport traffic 0/6/0 9 gemindex 1
OL01#
—————————————————————-
Gemport Traffic Information
—————————————————————-
Up traffic (kbps) : 0
Down traffic (kbps) : 0
—————————————————————-
OL01#display gemport traffic 0/6/0 9 gemindex 2
OL01#
—————————————————————-
Gemport Traffic Information
—————————————————————-
Up traffic (kbps) : 0
Down traffic (kbps) : 10
—————————————————————-
OL01#
HOW TO CHECK SSID WIFI FROM ONT
OL01#display ont wlan-info 0/6/5 27
—————————————————————————–
F/S/P : 0/6/5
ONT ID : 27
The total number of SSID : 1
—————————————————————————–
SSID Index : 1
SSID : HULK —> SSID Name
Wireless Standard : IEEE 802.11b/g/n
Administrative state : enable
Operational state : up
Maximum associate number : 32
Current associate number : 4 —> currently total of user connecting to wifi
—————————————————————————–
OL01#
Advertisements
REPORT THIS AD
HOW TO CHECK MAC ADDRESS BY PORT ONT
OL01#display mac-address ont 0/6/5 5 eth 2
{ <cr>|vlanid<U><1,4094> }:
Command:
display mac-address ont 0/6/5 5 eth 2
—————————————————————
F/S/P ONTID ONT ONT MAC-ADDRESS VLAN
port-type port-ID
—————————————————————
0/ 6/5 5 ETH 2 F497-FFFF-FFFF 111
—————————————————————
Total: 1
OL01#
HOW TO CHECK MAC-ADDRESS THAT CONNECT FROM WLAN
ONT
OL01#display ont-learned-mac 0/6/5 1 wlan
—————————————————————
F/S/P ONTID ONT ONT MAC-ADDRESS VLAN
port-type port-ID
—————————————————————
0/ 6/5 1 WLAN 1 F08F-FdF6-Ff4F –
0/ 6/5 1 WLAN 1 F0fF-F9cF-F43F –
0/ 6/5 1 WLAN 1 Fc2F-F3aF-fF2F –
—————————————————————
Total: 3
Note: When the ONT port-type is WLAN, the ONT port-ID indicates WLAN
SSID index
OL01#
HOW TO REGISTER ONT HUAWEI
There is some part of configurations that should be prepared before we
configuring ont at the first time in OLT Huawei.
First we have to configure traffic table for service-port. it is like gemport
profile in OLT ZTE
Here is the configuration :
OL01#config
OL01(config)#traffic table ip index 100 name TEST cir off priority 0
priority-policy local-Setting
Create traffic descriptor record successfully
————————————————
TD Index : 100
TD Name : TEST
Priority : 0
Copy Priority : –
Mapping Index : –
CTAG Mapping Priority: –
CTAG Mapping Index : –
CTAG Default Priority: 0
Priority Policy : local-pri
CIR : off
CBS : off
PIR : off
PBS : off
Fix : off
CAR Threshold Profile: –
Color Mode : color-blind
Color Policy : dei
Referenced Status : not used
————————————————
I am configuring traffic table above with no limit . but if you want to make
some modification you can configure another traffic table number for policy-
rate / cir
like this :
traffic table ip index 1000 name “tr1000” cir 10240 cbs 329680 pir 10240
pbs 329680 color-mode color-blind priority 0 priority-policy local-setting
that’s for 10 Mbps cir.
Okay Next
Next Part we have to configure dba-profile. it’s using like tcont-profile
OL01(config)#dba-profile add profile-id 100 profile-name TEST type4 max
1024000
{ <cr>|priority<K>|weight<K> }:
Command:
dba-profile add profile-id 100 profile-name TEST type4 max 1024000
Adding a DBA profile succeeded
Profile ID : 100
Profile name: TEST
Next part we have to configure ont-srv-profile. it’s using for define ONT-
type
OL01(config)#ont-srvprofile gpon profile-id 100 profile-name “TEST”
OL01(config-gpon-srvprofile-100)#ont-port pots 2 eth 4
OL01(config-gpon-srvprofile-100)#multicast-forward untag
OL01(config-gpon-srvprofile-100)#port vlan eth 1 translation 111 user-vlan
111
OL01(config-gpon-srvprofile-100)#commit
Next Part we have to configure ont-line-profile. it’s using like pon-onu-mng
in ZTE OLT
OL01(config)#ont-lineprofile gpon profile-id 100 profile-name “TEST”
OL01(config-gpon-lineprofile-100)#tcont 1 dba-profile-id 100
OL01(config-gpon-lineprofile-100)#gem add 1 eth tcont 1
{ <cr>|cascade<K>|downstream-priority-queue<K>|encrypt<K>|gem-
car<K>|priority-queue<K> }:
Command:
gem add 1 eth tcont 1
OL01(config-gpon-lineprofile-100)#gem mapping 1 0 vlan 111
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 1 0 vlan 111
OL01(config-gpon-lineprofile-100)#commit
Next Part we have to configure vlan service.
OL01(config)#vlan 111 smart
OL01(config)#port vlan 111 0/19 0 –> It’s command to tag vlan uplink
OL01(config)#display vlan 111
{ <cr>|inner-vlan<K>|to<K> }:
Command:
display vlan 111
VLAN ID: 111
VLAN name: VLAN_0111
VLAN type: smart
VLAN attribute: common
VLAN description:
VLAN forwarding mode in control board: VLAN-MAC
VLAN forwarding mode: VLAN-MAC
VLAN broadcast packet forwarding policy: forward
VLAN unknown multicast packet forwarding policy: forward
VLAN unknown unicast packet forwarding policy: forward
VLAN bind service profile ID: –
VLAN bind RAIO profile index: –
VLAN priority: –
——————————-
F /S /P Native VLAN State
——————————-
0 /19/0 1 up
0 /20/0 1 down
——————————-
Standard port number: 2
Service virtual port number: 0
After That, I usually check first in list of unregistered onu.
For Example :
OL01#display ont autofind all
—————————————————————————-
Number : 1
F/S/P : 0/1/2 –> slot 1 port 2
Ont SN : 3132333456789101 (HWTC-3132333456789101) –> SN number
Password : 0x00000000000000000000
Loid :
Checkcode :
VendorID : HWTC
Ont Version : 494.E
Ont SoftwareVersion : V3R
Ont EquipmentID : 245H
Ont autofind time : 2017-06-21 09:34:47+07:00
—————————————————————————-
The data above showing that ont at slot 1 port 2.
After that , you have to check how onu-id available from that port.
OL01#display ont info 0 1 2 all
There is no ONT available
In This case, there is no onu id configured. so we can choose freely of Onu
ID and i choose onu ID 100
Okay Let’s go to configure :
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont add 2 100 sn-auth 3132333456789101
omci ont-lineprofile-id 100 ont-srvprofile-id 100 desc TEST
Number of ONTs that can be added: 1, success: 1
PortID :2, ONTID :100
OL01(config-if-gpon-0/1)#ont port native-vlan 2 100 eth 1 vlan 111 priority
0
OL01(config-if-gpon-0/1)#quit
OL01(config)#service-port vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-
service user-vlan 111 tag-transform translate inbound traffic-table index
100 outbound traffic-table index 100
OL01(config)#
verifying show run from that port with command :
OL01#display current-configuration ont 0/1/2 100
#
[gpon]
<gpon-0/1>
interface gpon 0/1
ont add 2 100 sn-auth “3132333456789101” omci ont-lineprofile-id 100
ont-srvprofile-id 100 desc “TEST”
ont port native-vlan 2 100 eth 1 vlan 111 priority 0
#
[bbs-config]
<bbs-config>
service-port 815 vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-service user-
vlan 111 tag-transform translate inbound traffic-table index 100 outbound
traffic-table index 100
#
return
( Look at 815 is number that create automatically. and it can said service-
port index )
OL01#
That’s configuration for bridging mode. and for this case i set eth 1 or port 1
to deliver service vlan 111 as bridging mode. If You want to make this ont as
routing mode so you have to deliver IP at ONT. it can be static IP or
Dynamic IP
Here Example for Static IP as routing mode :
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont ipconfig 2 100 static ip-address 50.50.50.50
mask 255.255.255.0 gateway 50.50.50.254 vlan 111 priority 0
{ <cr>|pri-dns<K>|slave-dns<K> }:
Command:
ont ipconfig 2 100 static ip-address 50.50.50.50 mask 255.255.255.0 gateway
50.50.50.254 vlan 111 priority 0 –> just add this
OL01(config-if-gpon-0/1)#ont internet-config 2 100 ip-index 0
OL01(config-if-gpon-0/1)#ont wan-config 2 100 ip-index 0 profile-id 63
OL01(config-if-gpon-0/1)#ont port native-vlan 2 100 eth 1 vlan 1 priority 0 –
> here command to remove ont port native vlan. just change vlan to vlan 1
as default vlan
OL01(config-if-gpon-0/1)#ont port route 1 1 eth 1 enable
Here the full configuration :
OL01#display current-configuration ont 0/1/2 100
#
[gpon]
<gpon-0/1>
interface gpon 0/1
ont add 2 100 sn-auth “3132333456789101” omci ont-lineprofile-id 100
ont-srvprofile-id 100 desc “TEST”
ont ipconfig 2 100 static ip-address 50.50.50.50 mask 255.255.255.0 vlan
111
priority 0 gateway 50.50.50.254
ont internet-config 2 100 ip-index 0
ont wan-config 2 100 ip-index 0 profile-id 1
ont port route 1 1 eth 1 enable
#
[bbs-config]
<bbs-config>
service-port 815 vlan 111 gpon 0/1/2 ont 100 gemport 1 multi-service user-
vlan 111 tag-transform translate inbound traffic-table index 100 outbound
traffic-table index 100
#
return
OL01#
And Now , It’s time to learn how to delete onu and remove configuration.
OL01#config
OL01(config)#undo service-port 815 –> deleting it first after that u can
delete at gpon interface
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont delete 2 100
Number of ONTs that can be deleted: 1, success: 1
OL01(config-if-gpon-0/1)#quit
OL01(config)#undo port vlan 111 ?
———————————————
Command of config Mode:
———————————————
frameid/slotid<S><Length 3-15>
Frame ID/Slot ID
inner-vlan-list VLAN list
to VLAN range
OL01(config)#undo port vlan 111 0/19 0
The port list includes link aggregation or protect group port(s),
so the other link aggregation or protect group port(s)
not being included by the port list will be processed
OL01(config)#undo vlan 111
{ <cr>|to<K> }:
Command:
undo vlan 111
OL01(config)#quit
OL01#display ont-lineprofile gpon all
—————————————————————————–
Profile-ID Profile-name Binding times
—————————————————————————–
100 TEST 0
—————————————————————————–
Total: 1
OL01#config
OL01(config)#undo ont-lineprofile gpon profile-id 100
OL01(config)#quit
OL01#display ont-srvprofile gpon all
—————————————————————————–
Profile-ID Profile-name Binding times
—————————————————————————–
100 TEST 0
—————————————————————————–
Total: 1
OL01#config
OL01(config)#undo ont-srvprofile gpon profile-id 100
OL01(config)#quit
OL01#config
OL01(config)#undo ont-srvprofile gpon profile-id 100
OL01(config)#quit
OL01#display ont wan-profile all
—————————————————————————–
Profile-ID Profile-name Binding times
—————————————————————————–
63 TEST 0
—————————————————————————–
Total: 1
OL01#config
OL01(config)#undo ont wan-profile profile-id 63
OL01(config)#quit