Gpon - Basic Command Olt Huawei
Gpon - Basic Command Olt Huawei
Gpon - Basic Command Olt Huawei
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.
OL01#
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 )
OL01#
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#
REBOOT ONT
OL01#config
OL01(config)#interface gpon 0/1
OL01(config-if-gpon-0/1)#ont reset 0 4
RESET SLOT
OL01#config
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 :
OL01#
—————————————————————-
Gemport Traffic Information
—————————————————————-
Up traffic (kbps) : 0
Down traffic (kbps) : 0
—————————————————————-
OL01#
—————————————————————-
Gemport Traffic Information
—————————————————————-
Up traffic (kbps) : 0
Down traffic (kbps) : 10
—————————————————————-
OL01#
OL01#
Advertisements
REPORT THIS AD
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#
OL01#
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
Okay Next
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
Command:
gem add 1 eth tcont 1
Command:
gem mapping 1 0 vlan 111
OL01(config-gpon-lineprofile-100)#commit
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
For Example :
After that , you have to check how onu-id available from that port.
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)#
( 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
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
#
[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)#quit
Command:
undo vlan 111
OL01(config)#quit
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