-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathont_commands.txt
More file actions
318 lines (279 loc) · 14.5 KB
/
ont_commands.txt
File metadata and controls
318 lines (279 loc) · 14.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
# enable admin mode
JBI-Grand>enable
# enable config mode
JBI-Grand#config
# display ont info by sn (incorrect sn)
JBI-Grand(config)#display ont info by-sn SN
The required ONT does not exist
# display ont info by sn
JBI-Grand(config)#display ont info by-sn SN
-----------------------------------------------------------------------------
F/S/P : 0/2/13
ONT-ID : 5
Control flag : active
Run state : offline
Config state : initial
Match state : initial
DBA type : -
ONT distance(m) : -
ONT last distance(m) : -
ONT battery state : -
Memory occupation : -
CPU occupation : -
Temperature : -
Authentic type : SN-auth
SN : 4857544319536FFC (HWTC-19536FFC)
Management mode : OMCI
Software work mode : normal
Isolation state : normal
Description : ONT_NO_DESCRIPTION
Last down cause : -
Last up time : -
Last down time : -
Last dying gasp time : -
ONT online duration : -
Type C support : -
Interoperability-mode : Unknown
Power reduction status : -
FEC upstream state : use-profile-config
-----------------------------------------------------------------------------
VoIP configure method : Default
-----------------------------------------------------------------------------
Line profile ID : 98
Line profile name : onu-router-line-HUR2102XR
-----------------------------------------------------------------------------
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :PQ
Mapping mode :VLAN
TR069 management :Disable
TR069 IP index :0
-----------------------------------------------------------------------------
Notes: * indicates Discrete TCONT(TCONT Unbound)
-----------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
<T-CONT 4> DBA Profile-ID:16
<Gem Index 11>
--------------------------------------------------------------------
|Serv-Type:ETH |Encrypt:off |Cascade:off |GEM-CAR:- |
|Upstream-priority-queue:0 |Downstream-priority-queue:- |
--------------------------------------------------------------------
Mapping VLAN Priority Port Port Bundle Flow Transparent
index type ID ID CAR
--------------------------------------------------------------------
0 199 - - - - - -
--------------------------------------------------------------------
-----------------------------------------------------------------------------
Notes: Run the display traffic table ip command to query
traffic table configuration
-----------------------------------------------------------------------------
Service profile ID : 98
Service profile name : onu-router-srv-HUR2101XR
-----------------------------------------------------------------------------
Port-type Port-number Max-adaptive-number
-----------------------------------------------------------------------------
POTS adaptive 32
ETH 2 -
VDSL 0 -
TDM 0 -
MOCA 0 -
CATV 2 -
-----------------------------------------------------------------------------
TDM port type : E1
TDM service type : TDMoGem
MAC learning function switch : Enable
ONT transparent function switch : Disable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring detect frequency : 8 (pps)
Ring resume interval : 300 (s)
Multicast forward mode : Unconcern
Multicast forward VLAN : -
Multicast mode : Unconcern
Upstream IGMP packet forward mode : Unconcern
Upstream IGMP packet forward VLAN : -
Upstream IGMP packet priority : -
Native VLAN option : Concern
Upstream PQ color policy : -
Downstream PQ color policy : -
-----------------------------------------------------------------------------
Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound
-----------------------------------------------------------------------------
ETH 1 unconcern unconcern unconcern unconcern
ETH 2 unconcern unconcern unconcern unconcern
-----------------------------------------------------------------------------
Notes: * indicates the discretely configured traffic profile,
run the display traffic table ip command to query
traffic table configuration.
-----------------------------------------------------------------------------
Port-type Port-ID DownstreamMode MismatchPolicy
-----------------------------------------------------------------------------
ETH 1 operation discard
ETH 2 operation discard
-----------------------------------------------------------------------------
Port-type Port-ID Dscp-mapping-table-index
-----------------------------------------------------------------------------
ETH 1 0
ETH 2 0
IPHOST 1 0
-----------------------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
-----------------------------------------------------------------------------
ETH 1 Translation 1 199 - 199 - - -
-----------------------------------------------------------------------------
Notes: * indicates transparent attribute of the vlan
-----------------------------------------------------------------------------
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
-----------------------------------------------------------------------------
ETH 1 - - - Unlimited
ETH 2 - - - Unlimited
-----------------------------------------------------------------------------
Alarm policy profile ID : 0
Alarm policy profile name : alarm-policy_0
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
The number of required ONTs : 1
-----------------------------------------------------------------------------
# switch to interface
JBI-Grand(config)# interface gpon FIBRE/SERVICE
#display ont optical info (incorrect port/ont id)
JBI-Grand(config-if-gpon-0/1)#display ont optical-info PORT ONT_ID
Failure: The ONT does not exist
#display ont optical info (ont is not online)
JBI-Grand(config-if-gpon-0/1)#display ont optical-info PORT ONT_ID
Failure: The ONT is not online
#display ont optical info
JBI-Grand(config-if-gpon-0/1)#display ont optical-info PORT ONT_ID
-----------------------------------------------------------------------------
ONU NNI port ID : 0
Module type : GPON
Module sub-type : CLASS B+
Used type : ONU
Encapsulation Type : BOSA ON BOARD
Optical power precision(dBm) : 3.0
Vendor name : HUAWEI
Vendor rev : -
Vendor PN : HW-BOB-0002
Vendor SN : 1505E1263456C
Date Code : 15-03-07
Rx optical power(dBm) : -24.68
Rx power current warning threshold(dBm): [-,-]
Rx power current alarm threshold(dBm) : [-29.0,-7.0]
Tx optical power(dBm) : 2.05
Tx power current warning threshold(dBm): [-,-]
Tx power current alarm threshold(dBm) : [0.0,5.0]
Laser bias current(mA) : 8
Tx bias current warning threshold(mA) : [-,-]
Tx bias current alarm threshold(mA) : [2.000,100.000]
Temperature(C) : 44
Temperature warning threshold(C) : [-,-]
Temperature alarm threshold(C) : [-61,95]
Voltage(V) : 3.220
Supply voltage warning threshold(V) : [-,-]
Supply voltage alarm threshold(V) : [3.000,3.600]
OLT Rx ONT optical power(dBm) : -28.87
CATV Rx optical power(dBm) : -
CATV Rx power alarm threshold(dBm) : [-,-]
-----------------------------------------------------------------------------
# display ont catv port state info (ont port does not exists)
JBI-Grand(config-if-gpon-0/1)#display ont port state PORT ONT_ID catv-port all|ONT_PORT_ID
Failure: The ONT port does not
# display ont catv port state info
JBI-Grand(config-if-gpon-0/1)#display ont port state PORT ONT_ID catv-port all|ONT_PORT_ID
--------------------------------------------------
ONT-ID ONT ONT LinkState TxPower
port-ID Port-type (dBmV)
--------------------------------------------------
1 1 CATV up -
--------------------------------------------------
# display ont eth port state info (ont port does not exists)
JBI-Grand(config-if-gpon-0/1)#display ont port state PORT ONT_ID eth-port all|ONT_PORT_ID
Failure: The ONT port does not
# display ont eth port state info
JBI-Grand(config-if-gpon-0/1)#display ont port state PORT ONT_ID eth-port all|ONT_PORT_ID
--------------------------------------------------------------------------
ONT-ID ONT ONT Speed(Mbps) Duplex LinkState RingStatus
port-ID Port-type
--------------------------------------------------------------------------
1 1 GE - - down -
--------------------------------------------------------------------------
# display ont catv port attribute info (ont port does not exists)
JBI-Grand(config-if-gpon-0/1)#display ont port attribute PORT ONT_ID catv CATV_ID
Failure: The ONT port ID does not exist
# display ont catv port attribute info
JBI-Grand(config-if-gpon-0/1)#display ont port attribute PORT ONT_ID catv CATV_ID
-------------------------------------------------
ONT ONT ONT Port Frequency
port-ID port-type switch
-------------------------------------------------
1 1 CATV on all-pass
-------------------------------------------------
# display ont eth port attribute info (ont port does not exists)
JBI-Grand(config-if-gpon-0/1)#display ont port attribute PORT ONT_ID eth ETH_ID
Failure: The ONT port ID does not exist
# display ont eth port attribute info
JBI-Grand(config-if-gpon-0/1)#display ont port attribute PORT ONT_ID eth ETH_ID
----------------------------------------------------------------------------
ONT ONT ONT Auto-neg Speed Duplex Port Flow Native Priority
port port-type (Mbps) switch control VLAN
----------------------------------------------------------------------------
1 1 ETH enable auto auto on off 1 0
----------------------------------------------------------------------------
# toggle ont catv port state (CATV port is already in the requested state)
JBI-Grand(config-if-gpon-0/1)#ont port attribute PORT ONT_ID catv CATV_ID operational-state on|off
Failure: Make configuration repeatedly
# toggle ont catv port state
JBI-Grand(config-if-gpon-0/1)#ont port attribute PORT ONT_ID catv CATV_ID operational-state on|off
# reset ont (ont is offline)
JBI-Grand(config-if-gpon-0/1)#ont reset PORT ONT_ID
Resetting the ONT(s) will interrupt all services on the ONT(s)
Are you sure to reset the ONT(s)? (y/n)[n]: y
Failure: The ONT is not online
# reset ont (n)
JBI-Grand(config-if-gpon-0/1)#ont reset PORT ONT_ID
Resetting the ONT(s) will interrupt all services on the ONT(s)
Are you sure to reset the ONT(s)? (y/n)[n]: n
# reset ont
Resetting the ONT(s) will interrupt all services on the ONT(s)
Are you sure to reset the ONT(s)? (y/n)[n]: y
# get mac address (incorrect service port)
JBI-Grand(config)#display mac-address service-port SERVICE_PORT
Failure: There is not any MAC address record
# get mac address
JBI-Grand(config)#display mac-address service-port SERVICE_PORT
-----------------------------------------------------------------------
SRV-P BUNDLE TYPE MAC MAC TYPE F /S /P VPI VCI VLAN ID
INDEX INDEX
-----------------------------------------------------------------------
377 - gpon 9c37-f434-8075 dynamic 0 /1 /0 1 11 993
-----------------------------------------------------------------------
Total: 1
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
# get service port (incorrect ont id)
JBI-Grand(config)#display service-port port F/S/P ont ONT_ID
Failure: No service virtual port can be operated
# get service port
JBI-Grand(config)#display service-port port F/S/P ont ONT_ID
Switch-Oriented Flow List
-----------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA
-----------------------------------------------------------------------------
377 993 common gpon 0/1 /0 1 11 vlan 1 - - up
-----------------------------------------------------------------------------
Total : 1 (Up/Down : 1/0)
Note : F--Frame, S--Slot, P--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.
When FLOW TYPE is plist, the value of FLOW PARA is a byte in
hexadecimal format and indicates a priority list. Eight bits
of its binary value indicate priorities 0-7 from the least
significant bit to the most significant bit. Value 1 indicates
that the priority is used. For example, if FLOW PARA is 0x23 and
its binary format is 0010 0011, priorities 0, 1 and 5 are used