0% found this document useful (0 votes)
100 views374 pages

C Data FD1608S B1 User Manual Command Reference 0925

The C-DATA GPON OLT User Manual (Version V1.0) provides comprehensive guidance on the operation and configuration of the FD1608S-B1 model, covering topics such as port management, command references, and service configurations. It includes detailed sections on Layer 2 and Layer 3 commands, ACL management, and diagnostic tools. The document emphasizes copyright and trademark protections, along with a disclaimer regarding content accuracy and potential updates.

Uploaded by

romkabass
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views374 pages

C Data FD1608S B1 User Manual Command Reference 0925

The C-DATA GPON OLT User Manual (Version V1.0) provides comprehensive guidance on the operation and configuration of the FD1608S-B1 model, covering topics such as port management, command references, and service configurations. It includes detailed sections on Layer 2 and Layer 3 commands, ACL management, and diagnostic tools. The document emphasizes copyright and trademark protections, along with a disclaimer regarding content accuracy and potential updates.

Uploaded by

romkabass
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 374

C-DATA GPON OLT

User Manual
FD1608S-B1

--Command Reference

Version: V1.0
Website: www.cdatatec.com
GPON OLT User Manual

Copyright Reserved

Without the prior written consent of C-DATA, any reproduction, excerpting, backup, modification, translation

or any other form of commercial use of this document or any portion of this document, and in any form or by

any means, to transmit the document are prohibited.

Trademark Declaration

is a trademark or registered trademark of C-DATA and its affiliates. Without the prior written

consent of C-DATA , no entity or individual may use, copy, modify, disseminate or bundle any part of the

trademark, trade name or logo of C-DATA in any way or reason.

All other trademarks, product names, service names and company names mentioned in this document and

mentioned in the products described in this document are the property of their respective holders.

Disclaimer

The information in this document is made based on the existing information and may be verified at any time

due to product upgrade or any other reasons. We reserve the right to alter, modify or otherwise change in any

manner the content hereof, without obligation of C-DATA to notify any person of such revision or changes. This

document is for reference only.

C-DATA endeavors to ensure content accuracy and will not assume any responsibility for losses and damages

caused due to content omissions, inaccuracies or errors. All statements, information, and recommendations in

this document do not constitute a warranty of any kind, express or implied.

Revision History

Version Issue Date Update Description


1.0 2023-7-26
GPON OLT User Manual

Contents
Contents ....................................................................................................................................................................1
1 Overview ..............................................................................................................................................................14
1.1 Command View ........................................................................................................................................ 14
1.2 Command Line Conventions .................................................................................................................... 15
2 OLT Port Management ........................................................................................................................................ 16
2.1 Port Property Configuration .....................................................................................................................16
2.1.1 auto-neg ........................................................................................................................................ 16
2.1.2 combo ............................................................................................................................................16
2.1.3 fec .................................................................................................................................................. 17
2.1.4 flow-control ...................................................................................................................................17
2.1.5 frame-max ..................................................................................................................................... 18
2.1.6 isolate ............................................................................................................................................ 18
2.1.7 optical-alarm-profile ..................................................................................................................... 19
2.1.8 show port ddm-info ...................................................................................................................... 19
2.1.9 show port ddm-info alarm ............................................................................................................ 21
2.1.10 show port isolate .........................................................................................................................22
2.1.11 show port state ........................................................................................................................... 23
2.1.12 shutdown .....................................................................................................................................25
2.1.13 speed ........................................................................................................................................... 25
2.2 Traffic suppression function .....................................................................................................................26
2.2.1 traffic-suppress ..............................................................................................................................26
2.3 MAC Address Configuration .....................................................................................................................27
2.3.1 mac-address learning .................................................................................................................... 27
2.3.2 mac-address learning disable action ............................................................................................ 27
2.3.3 mac-address limit .......................................................................................................................... 28
2.3.4 mac-address limit exceed-action .................................................................................................. 28
2.3.5 mac-address static ........................................................................................................................ 29
3 Layer 2 command ................................................................................................................................................ 30
3.1 VLAN Configuration .................................................................................................................................. 30
3.1.1 show vlan .......................................................................................................................................30
3.1.2 show port vlan ...............................................................................................................................31
3.1.3 vlan ................................................................................................................................................ 32
3.1.4 vlan access .....................................................................................................................................32
3.1.5 vlan description ............................................................................................................................. 33
3.1.6 vlan trunk .......................................................................................................................................34
3.1.7 vlan hybrid .....................................................................................................................................34
3.1.8 vlan mode ......................................................................................................................................35
3.1.9 vlan native-vlan ............................................................................................................................. 35
3.1.10 vlan user-bridge .......................................................................................................................... 36
3.2 MAC address configuration ......................................................................................................................36
3.2.1 mac-address black-hole ................................................................................................................ 36
3.2.2 mac-address flush ......................................................................................................................... 37

1
GPON OLT User Manual

3.2.3 mac-address limit .......................................................................................................................... 38


3.2.4 mac-address static ........................................................................................................................ 39
3.2.5 mac-address timer ........................................................................................................................ 39
3.2.6 show mac-address .........................................................................................................................40
3.2.7 show mac-address timer ...............................................................................................................42
4 Layer 3 Command ................................................................................................................................................43
4.1 ARP management .....................................................................................................................................43
4.1.1 arp aging-time ............................................................................................................................... 43
4.1.2 arp gratuitous-arp learning ...........................................................................................................43
4.1.3 arp gratuitous-arp send ................................................................................................................ 44
4.1.4 arp gratuitous-arp send time ........................................................................................................ 44
4.1.5 arp learn-limit-num ....................................................................................................................... 45
4.1.6 arp mac-address change-check .....................................................................................................45
4.1.7 arp quick-update ........................................................................................................................... 46
4.1.8 arp static ........................................................................................................................................46
4.1.9 reset arp dynamic ..........................................................................................................................47
4.1.10 show arp ...................................................................................................................................... 48
4.1.11 show arp config ........................................................................................................................... 49
4.1.12 show arp history ..........................................................................................................................49
4.2 Layer 3 interface configuration ................................................................................................................50
4.2.1 default gateway .............................................................................................................................50
4.2.2 description .....................................................................................................................................50
4.2.3 interface loopback .........................................................................................................................51
4.2.4 interface vlanif ...............................................................................................................................51
4.2.5 ip address ...................................................................................................................................... 52
4.2.6 show interface ...............................................................................................................................52
4.2.7 shutdown .......................................................................................................................................55
4.3 Route configuration ..................................................................................................................................55
4.3.1 ip route .......................................................................................................................................... 55
4.3.2 ip route-default ............................................................................................................................. 56
4.3.3 show fib ......................................................................................................................................... 57
4.3.4 show ip route ................................................................................................................................ 58
5 ACL configuration management ..........................................................................................................................61
5.1 ACL profile Configuration ......................................................................................................................... 61
5.1.1 acl ...................................................................................................................................................61
5.1.2 acl ipv6 ...........................................................................................................................................62
5.1.3 acl name ........................................................................................................................................ 62
5.1.4 rule (acl-basic) ............................................................................................................................... 63
5.1.5 rule (acl-adv) ..................................................................................................................................64
5.1.6 rule (acl-link) ..................................................................................................................................66
5.1.7 show acl .........................................................................................................................................67
5.1.8 show current ................................................................................................................................. 67
6 Service configuration ...........................................................................................................................................69
6.1 DBA profile Configuration ........................................................................................................................ 69

2
GPON OLT User Manual

6.1.1 commit ...........................................................................................................................................69


6.1.2 dba-profile ..................................................................................................................................... 69
6.1.3 show dba-profile ........................................................................................................................... 70
6.1.4 show dba-profile current .............................................................................................................. 71
6.1.5 type ................................................................................................................................................72
6.2 Line profile configuration .........................................................................................................................74
6.2.1 commit ...........................................................................................................................................74
6.2.2 fec .................................................................................................................................................. 74
6.2.3 gem add .........................................................................................................................................74
6.2.4 gem delete .....................................................................................................................................76
6.2.5 gem mapping .................................................................................................................................77
6.2.6 gem modify ....................................................................................................................................80
6.2.7 gemport ......................................................................................................................................... 82
6.2.8 mapping-mode .............................................................................................................................. 84
6.2.9 no gem gem-car ............................................................................................................................ 84
6.2.10 omcc encrypt ...............................................................................................................................85
6.2.11 ont-line-profile ............................................................................................................................ 86
6.2.12 qos-mode .....................................................................................................................................87
6.2.13 show ont-line-profile ...................................................................................................................88
6.2.14 show ont-line-profile current ......................................................................................................89
6.2.15 tcont ............................................................................................................................................ 90
6.3 Line profile discrete configuration ...........................................................................................................90
6.3.1 ont fec ............................................................................................................................................90
6.3.2 ont gemport .................................................................................................................................. 91
6.3.3 ont gemport mapping ................................................................................................................... 93
6.3.4 ont gemport tcont .........................................................................................................................95
6.3.5 ont mapping-mode ........................................................................................................................96
6.3.6 ont omcc encrypt .......................................................................................................................... 97
6.3.7 ont qos-mode ................................................................................................................................ 97
6.3.8 ont tcont ........................................................................................................................................98
6.4 Service profile configuration ....................................................................................................................99
6.4.1 commit ...........................................................................................................................................99
6.4.2 loopdetect ..................................................................................................................................... 99
6.4.3 mac-aging .................................................................................................................................... 100
6.4.4 mac-learning ................................................................................................................................101
6.4.5 multicast fast-leave ..................................................................................................................... 101
6.4.6 multicast mode ............................................................................................................................102
6.4.7 native-vlan ...................................................................................................................................103
6.4.8 ont-port ....................................................................................................................................... 103
6.4.9 ont-srv-profile ............................................................................................................................. 104
6.4.10 ont-type .....................................................................................................................................105
6.4.11 port eth ......................................................................................................................................106
6.4.12 port igmp-forward .....................................................................................................................107
6.4.13 port multicast-forward ..............................................................................................................108

3
GPON OLT User Manual

6.4.14 port multicast-vlan ....................................................................................................................109


6.4.15 port native-vlan .........................................................................................................................110
6.4.16 port vlan .................................................................................................................................... 111
6.4.17 show ont-srv-profile ..................................................................................................................118
6.4.18 show ont-srv-profile current .....................................................................................................120
6.4.19 veip ............................................................................................................................................ 121
6.5 Service profiles discrete configuration .................................................................................................. 121
6.5.1 ont loopdetect .............................................................................................................................121
6.5.2 ont mac-aging ..............................................................................................................................122
6.5.3 ont mac-learning ......................................................................................................................... 122
6.5.4 ont multicast fast-leave .............................................................................................................. 123
6.5.5 ont multicast mode ..................................................................................................................... 124
6.5.6 ont native-vlan ............................................................................................................................ 124
6.5.7 ont ont-port .................................................................................................................................125
6.5.8 ont port attribute max-frame-size ..............................................................................................126
6.5.9 ont port attribute max-mac-count ............................................................................................. 127
6.5.10 ont port igmp-forward .............................................................................................................. 127
6.5.11 ont port multicast-forward ....................................................................................................... 128
6.5.12 ont port multicast-vlan ............................................................................................................. 129
6.5.13 ont port native-vlan .................................................................................................................. 130
6.5.14 ont port vlan ..............................................................................................................................131
6.5.15 ont veip ......................................................................................................................................134
6.6 Virtual port configuration ...................................................................................................................... 134
6.6.1 service-port ................................................................................................................................. 134
6.6.2 service-port desc ......................................................................................................................... 138
6.6.3 service-port srvport-list adminstatus ......................................................................................... 139
6.6.4 service-port srvport-list tag-action ............................................................................................. 140
6.6.5 service-port srvport-list traffic-profile ........................................................................................141
6.6.6 service-port statistics .................................................................................................................. 142
6.6.7 show service-port ........................................................................................................................143
6.6.8 show service-port statistics .........................................................................................................145
6.7 TR069 profile configuration ................................................................................................................... 146
6.7.1 acs ................................................................................................................................................147
6.7.2 commit ........................................................................................................................................ 147
6.7.3 cpe ............................................................................................................................................... 147
6.7.4 inform .......................................................................................................................................... 148
6.7.5 ip-index ........................................................................................................................................148
6.7.6 ont-tr069-profile ......................................................................................................................... 149
6.7.7 tr069-management ..................................................................................................................... 150
6.7.8 show ont-tr069-profile current ...................................................................................................150
6.8 TR069 discrete configuration .................................................................................................................151
6.8.1 tr069 acs ...................................................................................................................................... 151
6.8.2 tr069 cpe ..................................................................................................................................... 152
6.8.3 tr069 inform ................................................................................................................................ 153

4
GPON OLT User Manual

6.8.4 tr069 ip-index .............................................................................................................................. 153


6.8.5 tr069-management ..................................................................................................................... 154
6.9 traffic profile configuration ....................................................................................................................154
6.9.1 show traffic-profile ......................................................................................................................154
6.9.2 traffic-profile ............................................................................................................................... 155
6.10 Multi-service profile configuration ...................................................................................................... 155
6.10.1 commit ...................................................................................................................................... 155
6.10.2 ont mult-srv-profile ...................................................................................................................156
6.10.3 ont-line-profile .......................................................................................................................... 156
6.10.4 ont-srv-profile ........................................................................................................................... 157
6.10.5 show mult-srv-profile ................................................................................................................157
7 Diagnostic management ....................................................................................................................................159
7.1 Mirroring function ..................................................................................................................................159
7.1.1 mirror ...........................................................................................................................................159
7.1.2 show mirror .................................................................................................................................160
7.2 Rogue ONU detection ............................................................................................................................ 161
7.2.1 anti-rogueont auto-check ........................................................................................................... 161
7.2.2 anti-rogueont auto-isolate ..........................................................................................................161
7.2.3 anti-rogueont manual-check .......................................................................................................162
7.2.4 anti-rogueont manual-detect ..................................................................................................... 162
7.2.5 ont re-enable ...............................................................................................................................163
7.2.6 show anti-rogueont .....................................................................................................................163
7.2.7 show anti-rogueont config ..........................................................................................................164
7.3 Loop detection ....................................................................................................................................... 164
7.3.1 loopback-detection ..................................................................................................................... 165
7.3.2 loopback-detection action .......................................................................................................... 165
7.3.3 loopback-detection interval-time ............................................................................................... 166
7.3.4 loopback-detection packet vlan ..................................................................................................166
7.3.5 loopback-detection recovery-time ............................................................................................. 167
7.3.6 show loopback-detection ............................................................................................................167
7.4 Optical module Alarms ...........................................................................................................................168
7.4.1 bias-current ................................................................................................................................. 168
7.4.2 show optical-alarm-profile ..........................................................................................................169
7.4.3 ont-catv ....................................................................................................................................... 171
7.4.4 optical-alarm-profile ................................................................................................................... 172
7.4.5 power-rx ...................................................................................................................................... 172
7.4.6 power-tx ...................................................................................................................................... 173
7.4.7 temperature ................................................................................................................................ 174
7.4.8 voltage ......................................................................................................................................... 174
7.5 Performance statistics ............................................................................................................................175
7.5.1 reset statistics ethernet .............................................................................................................. 175
7.5.2 reset statistics gem ..................................................................................................................... 175
7.5.3 reset statistics pon ...................................................................................................................... 176
7.5.4 reset statistics port ......................................................................................................................176

5
GPON OLT User Manual

7.5.5 show statistics current | history ................................................................................................. 176


7.5.6 show statistics ethernet ..............................................................................................................178
7.5.7 show statistics gem ..................................................................................................................... 179
7.5.8 show statistics ont-eth-performance ......................................................................................... 180
7.5.9 show statistics port ..................................................................................................................... 181
7.5.10 statistics history ........................................................................................................................ 182
7.6 SNMP management ............................................................................................................................... 182
7.6.1 show snmp-agent sys-info .......................................................................................................... 182
7.6.2 snmp-agent community ..............................................................................................................183
7.6.3 snmp-agent sys-info ....................................................................................................................183
7.6.4 snmp-agent trap ..........................................................................................................................184
8 OLT protection management ............................................................................................................................ 185
8.1 Link aggregation function .......................................................................................................................185
8.1.1 lacp system priority .....................................................................................................................185
8.1.2 lacp timeout ................................................................................................................................ 185
8.1.3 link-aggregation group ................................................................................................................185
8.1.4 load-balance ................................................................................................................................ 186
8.1.5 member add | delete ..................................................................................................................187
8.1.6 port-priority .................................................................................................................................187
8.1.7 show link-aggregation all ............................................................................................................ 188
8.1.8 show link-aggregation group ...................................................................................................... 188
9 Device management ..........................................................................................................................................191
9.1 Equipment configuration ....................................................................................................................... 191
9.1.1 end ...............................................................................................................................................191
9.1.2 exec-timeout ............................................................................................................................... 191
9.1.3 ip address .................................................................................................................................... 192
9.1.4 logout .......................................................................................................................................... 192
9.1.5 reboot .......................................................................................................................................... 193
9.1.6 show device .................................................................................................................................193
9.1.7 show exec-timeout ......................................................................................................................194
9.1.8 sysname .......................................................................................................................................194
9.2 Status detection ..................................................................................................................................... 194
9.2.1 fan speed mode ...........................................................................................................................195
9.2.2 ntp-service ...................................................................................................................................195
9.2.3 ntp-service refclock-master ........................................................................................................ 195
9.2.4 ntp-service sync-interval .............................................................................................................196
9.2.5 show cpu ..................................................................................................................................... 196
9.2.6 show fan ...................................................................................................................................... 197
9.2.7 show flash ....................................................................................................................................197
9.2.8 show memory ..............................................................................................................................198
9.2.9 show ntp-service status .............................................................................................................. 198
9.2.10 show temperature threshold ....................................................................................................199
9.2.11 show time ..................................................................................................................................199
9.2.12 show timezone .......................................................................................................................... 199

6
GPON OLT User Manual

9.2.13 show uptime ..............................................................................................................................200


9.2.14 temperature threshold-high ..................................................................................................... 200
9.2.15 time ........................................................................................................................................... 200
9.2.16 time dst ......................................................................................................................................201
9.2.17 timezone ....................................................................................................................................201
9.3 Config management ............................................................................................................................... 202
9.3.1 backup save-config format ftp ....................................................................................................202
9.3.2 backup save-config format tftp ...................................................................................................203
9.3.3 erase saved-config ...................................................................................................................... 203
9.3.4 load saved-config ftp ...................................................................................................................204
9.3.5 load saved-config tftp ................................................................................................................. 204
9.3.6 save ..............................................................................................................................................205
9.3.7 show current-config .................................................................................................................... 205
9.3.8 show current-config section ....................................................................................................... 207
9.3.9 show saved-config .......................................................................................................................207
9.4 OLT upgrade ........................................................................................................................................... 208
9.4.1 firmware switch ...........................................................................................................................208
9.4.2 flash file cp ...................................................................................................................................209
9.4.3 flash file delete ............................................................................................................................ 209
9.4.4 flash file mv ................................................................................................................................. 209
9.4.5 load file to flash ...........................................................................................................................210
9.4.6 load packetfile ftp ....................................................................................................................... 210
9.4.7 load packetfile tftp ...................................................................................................................... 211
9.4.8 show firmware info ..................................................................................................................... 212
9.4.9 show flash file ..............................................................................................................................212
10 Multicast configuration management ............................................................................................................ 214
10.1 OLT multicast configuration management .......................................................................................... 214
10.1.1 igmp fast-leave ..........................................................................................................................214
10.1.2 igmp general-query-interval ..................................................................................................... 214
10.1.3 igmp general-query-response ...................................................................................................215
10.1.4 igmp mode ................................................................................................................................ 215
10.1.5 igmp multicast-unknown .......................................................................................................... 216
10.1.6 igmp policy ................................................................................................................................ 217
10.1.7 igmp program add .....................................................................................................................217
10.1.8 igmp program delete ................................................................................................................ 218
10.1.9 igmp querier .............................................................................................................................. 218
10.1.10 igmp robustness ......................................................................................................................218
10.1.11 igmp router-port ..................................................................................................................... 219
10.1.12 igmp source-ip .........................................................................................................................219
10.1.13 igmp special-query-count ....................................................................................................... 220
10.1.14 igmp special-query-interval .................................................................................................... 220
10.1.15 igmp special-query-response ..................................................................................................221
10.1.16 igmp static-group .................................................................................................................... 221
10.1.17 multicast-vlan ..........................................................................................................................222

7
GPON OLT User Manual

10.1.18 reset igmp ................................................................................................................................222


10.1.19 show igmp group .....................................................................................................................223
10.1.20 show multicast-vlan ................................................................................................................ 223
11 QOS Configuration management .................................................................................................................... 225
11.1 Traffic management based on ACL rules ............................................................................................. 225
11.1.1 packet-filter ............................................................................................................................... 225
11.1.2 show traffic ................................................................................................................................226
11.1.3 show packet-filter ..................................................................................................................... 227
11.1.4 traffic-limit .................................................................................................................................227
11.1.5 traffic-mirror ............................................................................................................................. 229
11.1.6 traffic-redirect ........................................................................................................................... 229
11.1.7 traffic-statistic ........................................................................................................................... 231
12 DHCP function configuration .......................................................................................................................... 232
12.1 DHCP Client function configuration ..................................................................................................... 232
12.1.1 dhcp-client .................................................................................................................................232
12.1.2 dhcp-client option60 .................................................................................................................232
12.1.3 dhcp-client release ....................................................................................................................233
12.1.4 dhcp-client renew ..................................................................................................................... 233
12.2 DHCP option82 ..................................................................................................................................... 234
12.2.1 dhcp option82 ........................................................................................................................... 234
12.2.2 dhcp option82 format ............................................................................................................... 234
12.2.3 dhcp option82 format user-define ........................................................................................... 235
12.2.4 dhcp option82 policy .................................................................................................................235
12.2.5 dhcp option82 vlan-policy .........................................................................................................236
12.2.6 show dhcp option82 config .......................................................................................................237
12.3 DHCP relay ............................................................................................................................................237
12.3.1 dhcp-relay ..................................................................................................................................237
12.3.2 dhcp-relay server ...................................................................................................................... 238
12.3.3 show dhcp-relay config ............................................................................................................. 238
12.4 DHCP snooping ..................................................................................................................................... 238
12.4.1 dhcp-snooping ...........................................................................................................................238
12.4.2 dhcp-snooping chaddr-check ....................................................................................................239
12.4.3 dhcp-snooping limit-rate .......................................................................................................... 239
12.4.4 dhcp-snooping trust .................................................................................................................. 240
12.4.5 show dhcp-snooping config ...................................................................................................... 240
12.5 DHCP security-table ............................................................................................................................. 241
12.5.1 dhcp security-table clear ...........................................................................................................241
12.5.2 dhcp security-table delete-time ............................................................................................... 242
12.5.3 dhcp security-table static ..........................................................................................................242
12.5.4 dhcp security-table vlan ............................................................................................................243
12.5.5 show dhcp security-table ..........................................................................................................243
13 AAA function configuration .............................................................................................................................245
13.1 Radius Server Configuration ................................................................................................................ 245
13.1.1 authentication ...........................................................................................................................245

8
GPON OLT User Manual

13.1.2 radius .........................................................................................................................................245


13.1.3 show radius configuration ........................................................................................................ 246
13.2 Tacacs+ server configuration ............................................................................................................... 246
13.2.1 authentication ...........................................................................................................................246
13.2.2 authorization ............................................................................................................................. 247
13.2.3 show tacacs+ configuration ...................................................................................................... 247
13.2.4 tacacs+ .......................................................................................................................................248
13.3 AAA mode configuration ......................................................................................................................248
13.3.1 aaa ............................................................................................................................................. 248
13.3.2 aaa-protocol .............................................................................................................................. 249
13.3.3 domain .......................................................................................................................................249
13.3.4 radius .........................................................................................................................................250
13.3.5 show domain .............................................................................................................................250
13.3.6 tacacs+ .......................................................................................................................................251
13.3.7 username ...................................................................................................................................251
14 ONT Management ........................................................................................................................................... 253
14.1 ONT Authentication Configuration ...................................................................................................... 253
14.1.1 ont add by loid-auth ..................................................................................................................253
14.1.2 ont add by loid-auth password ................................................................................................. 254
14.1.3 ont add by password .................................................................................................................256
14.1.4 ont add by sn-auth .................................................................................................................... 258
14.1.5 ont add by sn-auth password ................................................................................................... 259
14.1.6 ont authmode ........................................................................................................................... 261
14.1.7 ont autofind ...............................................................................................................................261
14.1.8 ont autofind all ..........................................................................................................................262
14.1.9 ont blacklist ............................................................................................................................... 262
14.1.10 ont blacklist add ...................................................................................................................... 263
14.1.11 ont blacklist delete ..................................................................................................................263
14.1.12 ont confirm ..............................................................................................................................264
14.1.13 ont modify ............................................................................................................................... 265
14.1.14 ont modify auth-type .............................................................................................................. 266
14.1.15 ont quiet-period ...................................................................................................................... 268
14.1.16 ont re-register ......................................................................................................................... 268
14.1.17 show ont autofind ...................................................................................................................269
14.1.18 show ont blacklist ....................................................................................................................270
14.1.19 show ont info .......................................................................................................................... 270
14.2 Basic ONT Management .......................................................................................................................274
14.2.1 ont activate ............................................................................................................................... 274
14.2.2 ont deactivate ........................................................................................................................... 274
14.2.3 ont delete .................................................................................................................................. 275
14.2.4 ont description .......................................................................................................................... 275
14.2.5 ont ipconfig ............................................................................................................................... 276
14.2.6 ont reboot ................................................................................................................................. 278
14.2.7 ont restore-factory ....................................................................................................................278

9
GPON OLT User Manual

14.2.8 ont tr069-profile ........................................................................................................................278


14.2.9 show ont capability ................................................................................................................... 279
14.2.10 show ont catv-info .................................................................................................................. 280
14.2.11 show ont config-capability ......................................................................................................280
14.2.12 show ont failed-config ............................................................................................................ 281
14.2.13 show ont ipconfig ....................................................................................................................282
14.2.14 show ont optical-info .............................................................................................................. 283
14.2.15 show ont port state .................................................................................................................283
14.2.16 show ont register-statistics .....................................................................................................284
14.2.17 show ont run-info ....................................................................................................................284
14.2.18 show ont status-count ............................................................................................................ 285
14.2.19 show ont version .....................................................................................................................286
14.3 ONT Port Management ........................................................................................................................ 287
14.3.1 encryption ................................................................................................................................. 287
14.3.2 key-exchange-interval ...............................................................................................................287
14.3.3 ont (enable|disable) ................................................................................................................. 287
14.3.4 ont auto-aging ........................................................................................................................... 288
14.3.5 ont auto-aging all ...................................................................................................................... 289
14.3.6 ont moving-check ......................................................................................................................289
14.3.7 ont optical-alarm-profile ...........................................................................................................289
14.3.8 ont policy-auth .......................................................................................................................... 290
14.3.9 ont port attribute catv .............................................................................................................. 292
14.3.10 ont port attribute eth ..............................................................................................................292
14.3.11 ont port attribute pots ............................................................................................................294
14.3.12 ont port car ............................................................................................................................. 294
14.3.13 ont re-enable ...........................................................................................................................295
14.3.14 show encryption ......................................................................................................................296
14.3.15 show key-exchange .................................................................................................................296
14.3.16 show ont auto-aging info ........................................................................................................ 296
14.3.17 show ont disable-info ..............................................................................................................297
14.3.18 show ont moving-check .......................................................................................................... 297
14.3.19 show ont port attribute .......................................................................................................... 298
14.3.20 show ont port car ....................................................................................................................298
14.3.21 show ont port learned-mac .................................................................................................... 299
14.3.22 show ont status-count ............................................................................................................ 299
14.3.23 transceiver-compat ................................................................................................................. 300
15 ONT upgrade configuration .............................................................................................................................303
15.1 ONT Automatic upgrade ...................................................................................................................... 303
15.1.1 description .................................................................................................................................303
15.1.2 load file ......................................................................................................................................303
15.1.3 ont-auto-upgrade-task ..............................................................................................................304
15.1.4 ont-match ..................................................................................................................................305
15.1.5 ont-upgrade ...............................................................................................................................305
15.1.6 ont-upgrade delete ................................................................................................................... 306

10
GPON OLT User Manual

15.1.7 ont-upgrade file .........................................................................................................................306


15.1.8 ont-upgrade select .................................................................................................................... 307
15.1.9 ont-upgrade start-time ............................................................................................................. 307
15.1.10 show ont-auto-upgrade-task .................................................................................................. 308
15.1.11 show ont-auto-upgrade-task info ...........................................................................................308
15.1.12 show ont-auto-upgrade-task statisics .................................................................................... 310
15.1.13 show ont-auto-upgrade-task upgrade info ............................................................................ 310
16 ONT voice service configuration ..................................................................................................................... 312
16.1 Configure discrete ONT voice services ................................................................................................ 312
16.1.1 ont port attribute pots ..............................................................................................................312
16.1.2 pstnport electric ........................................................................................................................312
16.1.3 show sippstnuser attribute ....................................................................................................... 313
16.1.4 sippstnuser add ......................................................................................................................... 314
16.1.5 sippstnuser del .......................................................................................................................... 314
16.1.6 sippstnuser digitmap .................................................................................................................315
16.1.7 sippstnuser ipconfig .................................................................................................................. 315
16.1.8 sippstnuser modify ....................................................................................................................316
16.1.9 sippstnuser rightflag ................................................................................................................. 317
16.2 ONT Voice service profile configuration .............................................................................................. 317
16.2.1 commit ...................................................................................................................................... 317
16.2.2 impedance .................................................................................................................................318
16.2.3 ont-pots-profile ......................................................................................................................... 318
16.2.4 pots-side-signaling .................................................................................................................... 319
16.2.5 rxgain ......................................................................................................................................... 320
16.2.6 show ont-pots-profile ............................................................................................................... 320
16.2.7 show ont-pots-profile current .................................................................................................. 321
16.2.8 txgain ......................................................................................................................................... 321
16.3 ONT digitmap profile configuration .....................................................................................................322
16.3.1 commit ...................................................................................................................................... 322
16.3.2 ont-digitmap-profile ..................................................................................................................322
16.3.3 critical-dial-time ........................................................................................................................ 323
16.3.4 partial-dial-time .........................................................................................................................323
16.3.5 digitmap-format ........................................................................................................................ 323
16.3.6 token ..........................................................................................................................................324
16.3.7 show ont-digitmap-profile ........................................................................................................ 324
16.3.8 show ont-digitmap-profile current ........................................................................................... 325
16.4 ONT SIP proxy profile configuration .................................................................................................... 326
16.4.1 auth-realm .................................................................................................................................326
16.4.2 bridged-line-agent .....................................................................................................................326
16.4.3 commit ...................................................................................................................................... 327
16.4.4 conf-factory ............................................................................................................................... 327
16.4.5 ont-sipagent-profile .................................................................................................................. 328
16.4.6 outbound-server ....................................................................................................................... 328
16.4.7 outbound-server-port ............................................................................................................... 329

11
GPON OLT User Manual

16.4.8 proxy-server .............................................................................................................................. 329


16.4.9 proxy-server-port ...................................................................................................................... 330
16.4.10 rtp dscp ....................................................................................................................................330
16.4.11 rtp port .................................................................................................................................... 331
16.4.12 registration expiration ............................................................................................................ 331
16.4.13 registration rereg-head-start-time ......................................................................................... 331
16.4.14 registration server-port ...........................................................................................................332
16.4.15 registration server-uri ............................................................................................................. 332
16.4.16 show ont-sipagent-profile .......................................................................................................333
16.4.17 show ont-sipagent-profile current ..........................................................................................333
16.4.18 signal dscp ............................................................................................................................... 335
16.4.19 signal port ................................................................................................................................336
16.4.20 signal transfer-mode ...............................................................................................................336
16.4.21 voicemail server-uri .................................................................................................................336
16.4.22 voicemail subscription-expiration .......................................................................................... 337
16.5 ONT SIP service data profile configuration ..........................................................................................337
16.5.1 commit ...................................................................................................................................... 337
16.5.2 call-hold ..................................................................................................................................... 338
16.5.3 call-park ..................................................................................................................................... 338
16.5.4 call-transfer ............................................................................................................................... 338
16.5.5 call-waiting ................................................................................................................................ 339
16.5.6 conference .................................................................................................................................339
16.5.7 do-not-disturb ........................................................................................................................... 340
16.5.8 hotline ....................................................................................................................................... 340
16.5.9 mwi ............................................................................................................................................ 340
16.5.10 ont-siprightflag-profile ............................................................................................................341
16.5.11 show ont-siprightflag-profile .................................................................................................. 341
16.5.12 show ont-siprightflag-profile current ..................................................................................... 342
16.5.13 three-party .............................................................................................................................. 343
17 WAN configuration ..........................................................................................................................................344
17.1 WAN discrete configuration .................................................................................................................344
17.1.1 ont wan ipv4 ..............................................................................................................................344
17.1.2 ont wan ipv4-ipv6 ......................................................................................................................345
17.1.3 ont wan ipv6 ..............................................................................................................................347
17.1.4 ont wan option ..........................................................................................................................348
17.1.5 show ont wan config ................................................................................................................. 350
17.1.6 show ont wan status ................................................................................................................. 351
18 Log management .............................................................................................................................................353
18.1 Log configuration and query ................................................................................................................ 353
18.1.1 logging buffer ............................................................................................................................ 353
18.1.2 backup log-file ........................................................................................................................... 354
18.1.3 erase log .................................................................................................................................... 354
18.1.4 erase log file .............................................................................................................................. 354
18.1.5 logging console ..........................................................................................................................355

12
GPON OLT User Manual

18.1.6 logging monitor ......................................................................................................................... 356


18.1.7 show log .................................................................................................................................... 356
18.1.8 show logging configure ............................................................................................................. 357
18.1.9 show logging buffer ...................................................................................................................357
18.1.10 syslog ....................................................................................................................................... 358
18.1.11 syslog host ...............................................................................................................................358
18.1.12 syslog severity ......................................................................................................................... 359
19 Alarm management and event management .................................................................................................360
19.1 Alarm management and query ............................................................................................................ 360
19.1.1 alarm history clear all ................................................................................................................360
19.1.2 alarm jitter-interval ................................................................................................................... 360
19.1.3 alarm output all .........................................................................................................................361
19.1.4 alarm output detail ................................................................................................................... 361
19.1.5 alarm report .............................................................................................................................. 361
19.1.6 show alarm active all .................................................................................................................362
19.1.7 show alarm history all ............................................................................................................... 363
19.1.8 show alarm list .......................................................................................................................... 363
19.2 Event management and queries ..........................................................................................................364
19.2.1 event history clear all ................................................................................................................364
19.2.2 event output all .........................................................................................................................364
19.2.3 event output detail ................................................................................................................... 365
19.2.4 event report .............................................................................................................................. 365
19.2.5 show event history all ............................................................................................................... 365
19.2.6 show event list .......................................................................................................................... 366
20 Iptable Access Control .....................................................................................................................................368
20.1 iptable default rules ............................................................................................................................. 368
20.1.1 service default policy ................................................................................................................ 368
20.1.2 show service default policy .......................................................................................................368
20.2 iptable access rules configuration ....................................................................................................... 369
20.2.1 service ........................................................................................................................................369
20.2.2 show service .............................................................................................................................. 370
20.3 Login Method Control .......................................................................................................................... 370
20.3.1 service ........................................................................................................................................371
20.3.2 show service .............................................................................................................................. 371
20.3.3 telnet ......................................................................................................................................... 372

13
GPON OLT User Manual

1 Overview

This chapter includes the following topics:

 Command View

 Command line conventions

1.1Command View
To facilitate user configuration and management of OLT, this series of OLT assigns commands

to different views based on their functions and permissions. Each command can only be

executed in a specific view.

This command line environment is divided into multiple views including: This command line

environment is divided into multiple views including:

 view,the view looks like: OLT >

 enable view, the view looks like: OLT#

 config view, the view looks like: OLT (config)#

 ge view,the view looks like: OLT(config-interface-ge-0/0)#

 xge view,the view looks like: OLT(config-interface-xge-0/0)#

 GPON view,the view looks like: OLT(config-interface-gpon-0/0)#

 Vlanif view,the view looks like: OLT(config-interface-vlanif-1)#

 MGMT view,the view looks like: OLT(config-interface-mgmt)#

 multicast-vlan view,the view looks like: OLT(config-multicast-vlan-100)#

 line profile view, the view looks like:OLT(config-ont-lineprofile-1)#

 DBA profile view, the view looks like:OLT(config-dba-profile-1)#

 Service profile view, the view looks like:OLT(config-srv-profile-1)#

 tr069 profile view, the view looks like:OLT(config-tr069-profile_1)#

 multi-service profile view, the view looks like:OLT(config-mult-srv-profile_1)#

 link-aggregation view,the view looks like: OLT(config-interface-aggregation)#

14
GPON OLT User Manual

1.2Command Line Conventions


The following command symbols may appear in this manual, representing the following

meanings:

Format Description

Command keywords (the part that remains unchanged in the


Bold
command and must be typed in) are represented in bold font

Command-line arguments (the part of the command that must be


Italic
replaced by an actual value) are in italics

[] Keywords or parameters within [] are optional

(x|y|…… ) Indicates that one must be selected from two or more parameters

[x|y|……] Indicates selecting one or none from two or more parameters

<x-y> Indicates selecting a number from x to y

$ Indicates the content of the comment for the following line

15
GPON OLT User Manual

2 OLT Port Management

This chapter includes the following topics:

 Port Property Configuration

 Traffic Control Function

 MAC Address Configuration

2.1Port Property Configuration


2.1.1 auto-neg
Command Syntax auto-neg portlist (enable|disable)

Applicable Views GE view

This command is used to enable or disable the auto-negotiation


mode of the Ethernet port. When enabled, the Ethernet port
automatically negotiates the port rate and duplex mode with the
docking port, and the system shows auto-negotiation. In this
Description
mode,the maximum port rate can reach 1000M. In the case of
disabling, the speed and working mode of the port are the default
values of the system or the manually set values (that is, the forced
mode)

List of ports to be configured, the format is 1, 2-3, 4. The uplink


portlist
optical port does not support the auto-negotiation function.

Enable: Enables the auto-negotiation function of the port


enable|disable
disable: Disable the auto-negotiation function of the port

[Configuration case]

Case 1: Enable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-ge-0/0)#auto-neg 1 enable
Case 2: Disable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-ge-0/0)#auto-neg 1 disable

2.1.2 combo

16
GPON OLT User Manual

Command Syntax combo portlist (copper | fiber | auto)

Applicable Views GE view

The command is used to configure the type of upper port, with the
Description
default type being auto.

portlist The list of ports to be configured, the format is 1, 2-3, 4.

copper: Port type is electrical port


copper | fiber | auto fiber: Port type is optical port
auto: Automatically select the port type

[Configuration case]

Case 1: Configure the port type of GE1 port as optical port.


OLT(config-ge-0/0)# combo 1 fiber

2.1.3 fec
Command Syntax fec PORTID (enable|disable)

Applicable Views GPON view

This command is used to enable or disable the FEC function of the


Description
PON port, with a default value of disable.

PORTID The number of ports to be configured

enable:Enable the FEC function of the port


enable|disable
disable:Disable the FEC function of the port

[Configuration case]

Case1: Enable the FEC function of the PON1 port of OLT.


OLT(config-interface-gpon-0/0)# fec 1 enable

2.1.4 flow-control
Command Syntax flow-control portlist (enable|disable)

Applicable Views GE view, GPON view

This command is used to enable or disable the Ethernet port flow


Description
control function .The default is enable.

portlist The list of ports to be configured, the format is 1, 2-3, 4.

enable|disable enable:Enable the flow control function of the port

17
GPON OLT User Manual

disable:Disable the flow control function of the port

[Configuration case]

Case1: Enable the flow control function of GE1 port.


OLT(config-ge-0/0)# flow-control 1 enable

2.1.5 frame-max
frame-max portlist value
Command Syntax
no frame-max portlist

Applicable Views GE view, GPON view

The "frame-max" command is used to configure the maximum


Description frame length for port transmission. The system default value is
1526.

portlist The list of ports to be configured, the format is 1, 2-3, 4.

value Range:1518-9600.

[Configuration case]

Case1: Configure the frame max of GE1 port to 1600.


OLT(config-ge-0/0)# frame-max 1 1600
Case2: Configure the frame max of GE1 port as the default value.
OLT(config-ge-0/0)# no frame-max 1

2.1.6 isolate
Command Syntax isolate port-list (enable|disable)

Applicable Views GPON view

This command is used to enable or disable the function of port


isolation from other ports. When the port isolation function is
Description
enabled, the port will not be able to communicate with other
ports. Disabled by default

The list of ports to be configured, with a value range of 1-16 and


port-list
formats is 1, 6-7, and 8.

enable:Enable the isolation function of this port from other ports


enable|disable
disable:Disable the isolation function of this port from other ports

[Configuration case]

18
GPON OLT User Manual

Case1: Enable the isolation function between PON1 port and other ports.
OLT(config-interface-gpon-0/0)# isolate 1 enable
OLT(config-interface-gpon-0/0)#

2.1.7 optical-alarm-profile
optical-alarm-profile (PORTID | all) (profile_id <1-256> |
Command Syntax profile_name PROFILE_NAME)
no optical-alarm-profile (PORTID | all)

Applicable Views GPON view

The command is used to bind the alarm profile of the Optical


module to the PON port. The default PON port will bind the
alarm profile 0 of the Optical module. This command configuration
Description
can be modified.
"no optical-alarm-profile" command is used to unbind the Optical
module alarm profile.

The PON port number to be configured (with different device types


PORTID
and value ranges, the format is 1-4, 1-8, 1-16,...) .

all All PON ports

The Optical module alarm profile number is used to identify a


Optical module alarm profile. The value range is 1-256. The online
<1-256> ONT and PON ports automatically match the alarm profile 0 of the
Optical module, and the alarm profile 0 of the Optical module
cannot be modified or deleted.

The Optical module alarm profile name supports 1-32 characters in


PROFILE_NAME length. The default profile name is "optional_Alarm_Profile_x".
Where 'x' is replaced by the actual profile number.

[Configuration case]

Case1: Bind the PON1 port to the Optical module alarm profile 1.
OLT(config-gpon-0/0)# optical-alarm-profile 1 profile_id 1
OLT(config-gpon-0/0)#
Case2: Delete the alarm profile of the Optical module bound to the PON1 port.
OLT(config-gpon-0/0)# no optical-alarm-profile 1
OLT(config-gpon-0/0)#

2.1.8 show port ddm-info


Command Syntax show port ddm-info [ (gpon | ge | xge) F/S/P ]

19
GPON OLT User Manual

Applicable Views config view

This command is used to show the optical power information of


the PON port of the OLT, the temperature and voltage of the
Description
optical module, and the model type information of the PON
module.

ge: uplink port


gpon | ge | xge xge:10G uplink port
gpon: PON port

F/S/P The port number to be configured, the format is 0/0/x

[Configuration case]

Case1: Show all optical power information of OLT.


OLT(config)# show port ddm-info
gpon 0/0/1 Transceiver information:
-----------------------------------------------------------------------------
Temp(C) :-1.00
Voltage(V) :1677.67
Bias(mA) :33553.41
TX power(dBM) :32.25
-----------------------------------------------------------------------------
Transceiver Type : OC48/STM16_IR_SFP
Connector Type : SC
Wavelength(nm) : 1490(nm)
Transfer Distance : 20km(9um)
Diagnostic Monitor : YES
Vendor Name : HISILICON
Ordering Name : SSX1T1LTD
Serial Number : 031QVGNMJ9002007
Manufact Date : 2018090411
-----------------------------------------------------------------------------

gpon 0/0/2 Transceiver information:


Info: Transceiver is absent.

gpon 0/0/3 Transceiver information:


Info: Transceiver is absent.

gpon 0/0/4 Transceiver information:


Info: Transceiver is absent.

20
GPON OLT User Manual

ge 0/0/1 Transceiver information:


Info: Transceiver is absent.

ge 0/0/2 Transceiver information:


Info: Transceiver is absent.

ge 0/0/3 Transceiver information:


Info: Transceiver is absent.

ge 0/0/4 Transceiver information:


Info: Transceiver is absent.

xge 0/0/1 Transceiver information:


Info: Transceiver is absent.

xge 0/0/2 Transceiver information:


Info: Transceiver is absent.
Case2: Show the optical power information of the PON1 port of the OLT.
OLT(config)# show port ddm-info gpon 0/0/1
gpon 0/0/1 Transceiver information:
-----------------------------------------------------------------------------
Temp(C) :41.00
Voltage(V) :3.30
Bias(mA) :36.28
TX power(dBM) :5.17
-----------------------------------------------------------------------------
Transceiver Type : OC48/STM16_IR_SFP
Connector Type : SC
Wavelength(nm) : 1490(nm)
Transfer Distance : 20km(9um)
Diagnostic Monitor : YES
Vendor Name : HISILICON
Ordering Name : SSX1T1LTD
Serial Number : 031QVGNMJ9002007
Manufact Date : 2018090411
-----------------------------------------------------------------------------

2.1.9 show port ddm-info alarm


Command Syntax show port ddm-info alarm [gpon F/S/P | ge F/S/P | xge F/S/P]

Applicable Views config view

Description This command is used to show the alarm optical power information

21
GPON OLT User Manual

of OLT.

alarm | gpon | ge |
Different interfaces for optical power information
xge

F/S/P The port number to be configured, the format is 0/0/x

[Configuration case]

Case1: Show the alarm optical power information of the GE1 port of the OLT.
OLT(config)# show port ddm-info alarm ge 0/0/1

Case2: Show all optical power information of OLT.


OLT(config)# show port ddm-info alarm

2.1.10 show port isolate


Command Syntax show port isolate

Applicable Views GPON view

Description This command is used to show the isolation status of the PON port.

[Configuration case]

Case1: Show the isolation status of the PON port.


OLT(config-interface-gpon-0/0)# show port isolate
Port isolate config:
-----------------------------
Port Isolate
-----------------------------
gpon 0/0/1 enable
gpon 0/0/2 enable
gpon 0/0/3 enable
gpon 0/0/4 enable
ge 0/0/1 disable
ge 0/0/2 disable
ge 0/0/3 disable
ge 0/0/4 disable
xge 0/0/1 disable
xge 0/0/2 disable
-----------------------------
OLT(config-interface-gpon-0/0)#

22
GPON OLT User Manual

2.1.11 show port state


Command Syntax show port state (portid | all)

Applicable Views GE view, GPON view

This command is used to show the attribute information of an OLT


Description
port or PON port.

portid: Port number to be viewed


portid | all
all: Show attribute information for all ports

[Configuration case]

Case1: Show the properties and status information of all PON ports in OLT.
OLT(config-gpon-0/0)# show port state all
--------------------------------------------------------------------------------------------------------------------
Port Optic Pvid Flow Learn Admin Frame Link Auto Auto
Status Ctrl State Max State Find Mode
--------------------------------------------------------------------------------------------------------------------
gpon 0/0/1 normal 1 on enable enable 1526 on enable A-S
gpon 0/0/2 absence 1 on enable enable 1526 off enable A-S
gpon 0/0/3 absence 1 on enable enable 1526 off enable A-S
gpon 0/0/4 absence 1 on enable enable 1526 off enable A-S
--------------------------------------------------------------------------------------------------------------------
Case2: Show the properties and status information of all GE ports in OLT.
OLT(config-ge-0/0)# show port state all
------------------------------------------------------------------------------------------------------------------------ ----------
Port Optic Pvid Auto Speed Dup Flow Learn Enable Link Frame Media
Status Nego /Mbps lex Ctrl Max Type
------------------------------------------------------------------------------------------------------------------------ ----------
ge0/0/1 absence 1 disable 100 full on enable enable on 1526 Auto
ge0/0/2 absence 1 enable - - on enable enable off 1526 Auto
ge0/0/3 absence 1 enable - - on enable enable off 1526 Auto
ge0/0/4 absence 1 enable - - on enable enable off 1526 Auto
------------------------------------------------------------------------------------------------------------------------ ----------

Case3: Show the properties and status information of the OLT PON1 port.
OLT(config-gpon-0/0)# show port state 1
-----------------------------------------------------------------------------
Frame/ Slot : 0/0
Port :1
Optical Module status : normal

23
GPON OLT User Manual

Admin state : enable


Link state : on
Auto find : enable
Policy authentication : --
Authentication mode : auto to sn-auth
Available bandwidth : --
Anti-rogueont auto-detect : enable
-----------------------------------------------------------------------------
Port Name : gpon 0/0/1
Native vlan :1
Maximum frame size : 1526
Flow-control : on
FEC check : disable
MAC address Learn : enable
Optical alarm profile : --
Maximum learned l2 entries : --
-----------------------------------------------------------------------------
Broadcast storm control : 150 pps(default:150 pps)
Unknow multicast storm control : disable(default:disable)
Unknown unicast storm control : 150 pps(default:150 pps)
Rx bandwidth alarm threshold : --
Tx bandwidth alarm threshold : --
Port 15 minute statistics status : disable
Port 1 hour statistics status : disable
-----------------------------------------------------------------------------
Case4: Show the properties and status information of the OLT GE2 port.
OLT(config-ge-0/0)# show port state 2
-----------------------------------------------------------------------------
Port Name : ge 0/0/2
Current port state : --
Current link state : down
The maximum frame size : 1526
Media Type : Auto
Link speed : autonegotiation( - )
Link duplex : autonegotiation(full)
Flow-control : on
Maximum number of learned l2 entries : --
Broadcast storm control : 150 pps(default:150 pps)
Unknow multicast storm control : disable(default:disable)
Unknown unicast storm control : 150 pps(default:150 pps)
Rx bandwidth alarm threshold : --
Tx bandwidth alarm threshold : --
-----------------------------------------------------------------------------

24
GPON OLT User Manual

Native-vlan: 1 Link-type: Access Priority: 0


Native-vlan: --
Untagged VLAN ID:
1
-----------------------------------------------------------------------------
Statistics 15 minute status : disable
Statistics 1 hour status : disable

Statistics from last clean(maybe the statistics would overflow):


Input(total): 0 bytes
Input:unicast 0, broadcasts 0, multicasts 0, errors 0
Output(total): 0 bytes
Output:unicast 0, broadcasts 0, multicasts 0, errors 0
-----------------------------------------------------------------------------

2.1.12 shutdown
shutdown portlist
Command Syntax
no shutdown portlist

Applicable Views ge view, GPON view

This command is used to disable or enable the specified uplink or


Description
PON port.

portlist The list of ports to be configured, the format is 1, 2-3, 4.

[Configuration case]

Case1: Shutdown the GE1 uplink port.


OLT(config-ge-0/0)# shutdown 1
Case2: Open PON2 and PON3.
OLT(config-gpon-0/0)# no shutdown 2-3

2.1.13 speed
Command Syntax speed portlist (10|100|1000)

Applicable Views GE view

This command is used to configure the Ethernet port rate so that the
Description
port operates at the set rate.

The list of ports to be configured is the format is 1, 2-3, 4. The uplink


portlist optical port does not support speed configuration. The default value
is 1000.

25
GPON OLT User Manual

10: 10Mbs
10 | 100 | 1000 100: 100Mbs
1000: 1000Mbs, only supports auto-negotiation mode

[Configuration case]

Case1: Configure the GE1 uplink port of OLT with a speed of 100Mbps.
OLT(config-ge-0/0)# speed 1 100

2.2Traffic suppression function


2.2.1 traffic-suppress
traffic-suppress portid (broadcast | multicast | unicast) (pps | kbps)
Command Syntax value
traffic-suppress portid (broadcast | multicast | unicast) disable

Applicable Views GE view, GPON view

This command is used to enable or disable the broadcast storm


suppression function and its pulse per second value of the GE
Description
uplink port. Prevent such packets from occupying too many network
resources and causing network congestion.

portid Port number to be configured

broadcast: Configure the uplink port broadcast storm suppression


function
broadcast | multicast
multicast: Configure the uplink port multicast storm suppression
| unicast
function
unicast: Configure the uplink port unicast storm suppression function

pps: value in pps


pps | kbps
kbps: value in kbps

Pulse value per second, ranging from 2 to 148810 (pps) or 64 to


value
1000000 (kbps), with a default value of 150

[Configuration case]

Case1: The pulse value per second of Broadcast storm suppression function configured with

GE1 port is 14,000 pps.


OLT(config-ge-0/0)# traffic-suppress 1 broadcast pps 14000
Case2: Configure the unicast storm suppression function of PON1 port with a pulse value of

181000 kbps per second.

26
GPON OLT User Manual

OLT(config-gpon-0/0)# traffic-suppress 1 unicast kbps 181000


Case3: Disable the broadcast storm suppression function of GE1 port.
OLT(config-ge-0/0)# traffic-suppress 1 broadcast disable

2.3MAC Address Configuration


2.3.1 mac-address learning
Command Syntax mac-address learning port-list (enable|disable)

Applicable Views GE view,XGE view

This command is used to enable or disable the Mac address learning


Description
function of the GE uplink, which is enabled by default.

The list of ports to be configured, with values ranging from 1 to 4 and


port-list
formats of 1, 2 to 3, 4

enable: Enable the Mac address learning function on the GE uplink


enable|disable disable: Disable the Mac address learning function on the GE uplink.
Enable: Disable the MAC address learning function on the GE uplink

[Configuration case]

Case1: Enable the Mac address learning function of GE1 port.


OLT(config-interface-ge-0/0)# mac-address learning 1 enable

OLT(config-interface-ge-0/0)#

2.3.2 mac-address learning disable action


Command Syntax mac-address learning port-list disable action (forward | discard)

Applicable Views GE view

This command is used to configure the handling of exceeding Mac


Description
addresses on the GE interface

The list of ports to be configured, with values ranging from 1 to 4 and


port-list
formats of 1, 2 to 3, 4

forward: Forward the exceeded MAC address


forward | discard
discard: Discard the exceeded MAC addresses

[Configuration case]

Case1: Forward the exceeded Mac addresses in GE1 port.

27
GPON OLT User Manual

OLT(config-interface-ge-0/0)# mac-address learning 1 disable action forward

OLT(config-interface-ge-0/0)#

2.3.3 mac-address limit


Command Syntax mac-address limit port-list number

Applicable Views GE view

This command can configure the maximum number of learned MAC


Description addresses. When the number exceeds the set maximum value, the
excess MAC addresses will be discarded by default.

The list of ports to be configured, with values ranging from 1 to 4 and


port-list
formats of 1, 2 to 3, 4

The number of Mac addresses, ranging from 0 to 8092, where 0


number
represents unlimited. The default is unrestricted.

[Configuration case]

Case1: Configure the maximum number of MAC addresses learned from the GE1 port to 500.
OLT(config)# mac-address limit 1 500

OLT(config)#

2.3.4 mac-address limit exceed-action


mac-address limit port-list number exceed-action (forward |
Command Syntax
discard)

Applicable Views GE view

This command is used to configure the handling of Mac addresses


Description
exceeding the entry limit on the GE interface

The list of ports to be configured, with values ranging from 1 to 4 and


port-list
formats of 1, 2 to 3, 4

The number of Mac addresses, ranging from 0 to 8092, where 0


number
represents unlimited. The default is unlimited.

forward: Forward the exceeded MAC address


forward | discard
discard: Discard the exceeded MAC addresses

[Configuration case]

Case1: Forward Mac addresses with GE1 port exceeding the entry limit.

28
GPON OLT User Manual

OLT(config-interface-ge-0/0)# mac-address limit 1 1 exceed-action forward

OLT(config-interface-ge-0/0)#

2.3.5 mac-address static


mac-address static port (ge|lag|xge) F/S/P vlan vlan-ID
Command Syntax
mac-address

Applicable Views config view

This command is used to configure the static MAC address of OLT.


After successful configuration, the device does not require the
Description
learning process of MAC address and directly forwards data based on
static MAC.

ge:uplink port
ge|lag|xge lag:link aggregation group
xge:10G uplink port

F/S/P The port number to be configured, the format is 0/0/x

vlan-ID VLAN ID, ranging from 1 to 4094.

mac-address Mac address in the format XX: XX: XX: XX: XX: XX: XX

[Configuration case]

Case1: Bind the MAC address e0:67: b3:12: eb: f6 with the GE1 port and vlan100 together.
OLT(config)# mac-address static 1 vlan 100 e0:67:b3:12:eb:f6

OLT(config)#

29
GPON OLT User Manual

3 Layer 2 command

This chapter includes the following topics:

 VLAN Configuration

 MAC Address Configuration

3.1VLAN Configuration
3.1.1 show vlan
Command Syntax show vlan (vlanid | all )

Applicable Views config view

Description This command is used to show vlan information.

Show vlan information for the specified vlan id, with a value range of
vlanid
1-4094

all Show all vlan information

[Configuration case]

Case1: Show information for vlan 1.


OLT(config)# show vlan 1
VLAN ID: 1
VLAN Description: tttt
User-bridge: disable
VLAN Type: Normal vlan
Tagged Ports: none
Untagged Ports:
gpon 0/0/1 gpon 0/0/2 gpon 0/0/3
gpon 0/0/4 gpon 0/0/5 gpon 0/0/6
gpon 0/0/7 gpon 0/0/8 ge 0/0/1
ge 0/0/2 ge 0/0/3 ge 0/0/4
xge 0/0/1 xge 0/0/2

OLT(config)#
Case2: Show information on all vlans of OLT.

30
GPON OLT User Manual

OLT(config)# show vlan all


VLAN ID: 1
VLAN Description: tttt
User-bridge: disable
VLAN Type: Normal vlan
Tagged Ports: none
Untagged Ports:
gpon 0/0/1 gpon 0/0/2 gpon 0/0/3
gpon 0/0/4 gpon 0/0/5 gpon 0/0/6
gpon 0/0/7 gpon 0/0/8 ge 0/0/1
ge 0/0/2 ge 0/0/3 ge 0/0/4
xge 0/0/1 xge 0/0/2

VLAN ID: 100


VLAN Description:
User-bridge: disable
VLAN Type: Normal vlan
Tagged Ports: none
Untagged Ports: none

OLT(config)#

3.1.2 show port vlan


Command Syntax show port vlan portid

Applicable Views GE view, GPON view

This command is used to show vlan information for the specified


Description
port.

portid Port ID

[Configuration case]

Case1: Show the vlan information of GE1 port.


OLT(config-ge-0/0)# show port vlan 1
-----------------------------------------------------------------------------------
Port: ge 0/0/1 Mode: Trunk Native-Vlan: 1 Priority: 0
-----------------------------------------------------------------------------------
Tagged-Vlan:
200-300.
-----------------------------------------------------------------------------------
Untagged-Vlan:
1

31
GPON OLT User Manual

-----------------------------------------------------------------------------------

Case2: Show the vlan information of the PON1 port.


OLT(config-gpon-0/0)# show port vlan 1
-------------------------------------------------------------------------------------------
Port: gpon 0/0/1 Mode: Trunk Native-Vlan: 510 Priority: 0
-------------------------------------------------------------------------------------------
Tagged-Vlan:
1500-509511-600
-------------------------------------------------------------------------------------------
Untagged-Vlan:
510
-------------------------------------------------------------------------------------------

3.1.3 vlan
vlan vlanlist
Command Syntax
no vlan vlanlist

Applicable Views config view

This command is used to create or delete a single VLAN or batch


Description
VLAN.

vlan ids that are created or deleted. The value ranges from 1 to 4094
vlanlist
the format is 1, 20-99,100

[Configuration case]

Case1: Create vlan 200.


OLT(config)# vlan 200
Create vlan successfully:
200
Case2: Batch create vlan 2000-2100.
OLT(config)# vlan 2000-2100
Create vlan successfully:
2000-2100.
Case3: Delete vlan 200.
OLT(config)# no vlan 200
Case4: Batch delete vlan 2000-2100 .
OLT(config)# no vlan 2000-2100

3.1.4 vlan access

32
GPON OLT User Manual

vlan access [portid] [vlan] vlanid


Command Syntax
no vlan [portid] [vlan] vlanid

Applicable Views GE view, link-aggregation view

The “vlan access” command is used to configure the VLAN mode of


an OLT to access.
Description
The "no vlan access" command is used to delete a VLAN whose
mode is access in an OLT. This command cannot be used in a GE view.

Port number to be configured. This parameter is not required in the


portid
link-aggregation view

This parameter is followed by the vlan id. This parameter is required


vlan
only in the link-aggregation view

VLAN ID. The value ranges from 1 to 4094. When you disable vlan
vlanid
access in the link-aggregation view, this parameter is not optional

[Configuration case]

Case1: Add access VLAN 10 to the GE1 port of the OLT.


OLT(config-ge-0/0)# vlan access 1 10
Case2: Remove VLAN with mode access from aggregation group 1 of OLT.
OLT(config-link-aggregation-1)# no vlan access vlan

3.1.5 vlan description


vlan description vlanlist DESCRIPTION
Command Syntax
no vlan description vlanlist

Applicable Views config view

This command is used to configure or delete the description of a


Description
VLAN.

VLAN ID. The value ranges from 1 to 4094. The value can be the
vlanlist format is 1, 11-27, or 100. This parameter is unavailable when you
cancel the vlan access configuration in the link-aggregation view

DESCRIPTION VLAN description. The value can contain 1 to 64 characters

[Configuration case]

Case1: The description for configuring VLAN 1 is test.


OLT(config)# vlan description 1 test
OLT(config)#

33
GPON OLT User Manual

Case2: Delete the description of vlan 1.


OLT(config)# no vlan description 1
OLT(config)#

3.1.6 vlan trunk


vlan trunk [portlist] [vlan] vlanlist
Command Syntax
no vlan trunk [portlist] [vlan] vlanlist

Applicable Views GE view, GPON view, link-aggregation view

This command is used to configure the VLAN mode of an OLT to


Description
trunk.

Port number to be configured. This parameter is not required in the


portlist
link-aggregation view,the format is 1,3-4.

This parameter is followed by the vlan id. This parameter is required


vlan
only in the link-aggregation view

VLAN ID. The value ranges from 1 to 4094. The value can be the
vlanlist format is 1, 11-27, or 100. This parameter is unavailable when you
cancel the vlan access configuration in the link-aggregation view

[Configuration case]

Case1: Add trunk VLAN 115 to the PON1 port of OLT.


OLT(config-gpon-0/0)# vlan trunk 1 115
Case2: Delete the VLAN whose mode is trunk and VLAN ID is 115 on the PON1 port of OLT.
OLT(config-gpon-0/0)# vlan trunk 1 115

3.1.7 vlan hybrid


vlan hybrid [portid] [tagged | untagged] [vlan] vlanlist
Command Syntax
no vlan hybrid [portid] [tagged | untagged] [vlan] vlanlist

Applicable Views GE view, link-aggregation view

Description This command is used to configure the VLAN mode of an OLT.

Port number to be configured. This parameter is not required in the


portid
link-aggregation view

This parameter is followed by the vlan id. This parameter is required


vlan
only in the link-aggregation view

vlanlist VLAN ID. The value ranges from 1 to 4094. The value can be the

34
GPON OLT User Manual

format is 1, 11-27, or 100. This parameter is unavailable when you


cancel the vlan access configuration in the link-aggregation view

tagged: indicates that the packets sent from a port carry the
tagged | untagged corresponding vlan tag
untagged: The tagged packets are removed from a port

[Configuration case]

Case1: Add hybrid VLAN 200 to aggregation group 1 of OLT.


OLT(config-link-aggregation-0/0)# vlan hybrid tagged vlan 200

3.1.8 vlan mode


Command Syntax vlan mode [portlist] (access | hybrid | trunk)

Applicable Views GE view, link-aggregation view

This command is used to configure the VLAN mode of the OLT, which
Description
defaults to Access mode.

The list of ports to be configured, with values ranging from 1 to 4 and


portlist formats of 1, 2 to 3, 4. This parameter is not required for aggregation
group view

Access: Ports of the Access type can belong to only one VLAN and
are generally used to connect to computers.
Trunk: A Trunk port can allow multiple vlans to pass through and can
access| receive and send packets from multiple vlans. It is used for
hybrid| connecting switches. In the GPON view, only the trunk mode can be
trunk configured. The other two modes are unavailable.
Hybrid: A Hybrid port can allow multiple vlans to pass through,
receive and send packets from multiple vlans, connect switches, and
connect users' computers.

[Configuration case]

Case1: Configure the VLAN mode of GE1 connected to OLT to Access mode.
OLT(config-ge-0/0)# vlan mode 1 access
Case2: Configure the VLAN mode of Aggregation group 1 of OLT to hybrid mode.
OLT(config-link-aggregation-1)# vlan mode hybrid

3.1.9 vlan native-vlan


Command Syntax vlan native-vlan [portlist] vlanid

35
GPON OLT User Manual

Applicable Views GE view, GPON view, link-aggregation view

This command is used to configure the Native VLAN of the GE uplink


Description
port of an OLT. The default VLAN is 1.

Port number to be configured. The value is the format is 1, 2-3, or 4.


portlist
This parameter is not optional in the aggregation group view

vlanid The VLAN ID ranges from 1 to 4094.

[Configuration case]

Case1: Configure the Native VLAN of OLT's upper GE1 port to 10.
OLT(config-ge-0/0)# vlan native-vlan 1 10
Case2: Configure aggregation group 1 of OLT to have a Native VLAN of 20.
OLT(config-link-aggregation-1)# vlan native-vlan 20

3.1.10 vlan user-bridge


Command Syntax vlan VLANLIST user-bridge (enable|disable)

Applicable Views config view

This command is used to enable or disable the communication


Description
between ONUs on a port.

List of vlans to be configured. The value ranges from 1 to 4094. The


VLANLIST
format is 1, 6-7, 8.

enable: enables communication between ONUs on this port


enable|disable
disable: Disables the communication between ONUs on this port

[Configuration case]

Case1: Disables the ONUs of VLAN 1 to communicate with each other.


OLT(config)# vlan 1 user-bridge disable
Set vlan user-bridge successfully:
1
OLT(config)#

3.2MAC address configuration


3.2.1 mac-address black-hole
mac-address black-hole vlan vlanid mac-addr
Command Syntax
no mac-address black-hole vlan vlanid mac-addr

36
GPON OLT User Manual

Applicable Views config view

This command is used to specify the black hole MAC address table
entry. If the source or destination MAC address of a packet is equal
to the MAC address of the blackhole MAC address entry, the switch
Description
discards the packet.
Using the no mac-address black-hole command, you can delete a
blackhole MAC address entry.

vlanid VLAN ID. The value ranges from 1 to 4094.

mac-addr The Mac address is the format is XX:XX:XX:XX:XX

[Configuration case]

Case1: Configure the mac address of the black hole whose vlan is 1000 to E0:72:5B:2B:3D:5F.
OLT(config)# mac-address black-hole vlan 1000 E0:72:5B:2B:3D:5F

3.2.2 mac-address flush


mac-address flush [port (ge | xge) F/S portid| vlan vlanid] (all |
Command Syntax
dynamic | static | black-hole)

Applicable Views config view

This command is used to clear the various types of MAC addresses


Description
learned by the OLT.

port | port: clears the mac address learned on the specified port
vlan vlan: clears the learned mac addresses of a specified vlan

ge: Upper connector


ge | xge
xge: 10-Gigabit uplink port

F/S Slot number to be selected, the format is 0/0

portid Port number to be selected

vlanid vlan id to select. The value ranges from 1 to 4094

all: all learned mac addresses


all|
dynamic: indicates the dynamic mac address
dynamic|
static: indicates a static mac address
static |
Black-hole: indicates the black hole mac address. This parameter is
black-hole
unavailable when the mac address of a specified port is cleared

[Configuration case]

Case1: Clears all mac addresses learned by the OLT.

37
GPON OLT User Manual

OLT(config)# mac-address flush all


Case2: Clears all static mac addresses learned by the OLT.
OLT(config)# mac-address flush static
Case3: clears all dynamic mac addresses learned by the OLT.
OLT(config)# mac-address flush dynamic
Case4: Clear all black hole mac addresses from OLT.
OLT(config)# mac-address flush black-hole
Case5: Clears all static mac addresses in vlan 2500 of the OLT.
OLT(config)# mac-address flush vlan 2500 static
Case6: clears all dynamic mac addresses under GE3 of OLT.
OLT(config)# mac-address flush port ge 0/0 3 dynamic

3.2.3 mac-address limit


mac-address limit port (ge|xge) F/S portlist mac-number
Command Syntax
[exceed-action (discard | forward)]

Applicable Views config view

This command can configure the maximum number of learned MAC


Description addresses. When the number exceeds the set maximum, the excess
MAC addresses are discarded by default.

ge: uplink port


ge|xge
xge: 10G uplink port

F/S Slot number to be selected, the format is 0/0

List of ports to be configured. The value ranges from 1 to 16. The


portlist
format is 1, 6-7, 8.

Number of Mac addresses. The value ranges from 0 to 8092. 0


mac-number
indicates no limit. By default, it is unrestricted

exceed-action Exceedance MAC address handling method, default is discard

Method of handling excess MAC addresses: discard indicates


discard | forward
discarding, and forward indicates forwarding

[Configuration case]

Case1: Configure the maximum number of mac addresses learned by GE1 to 500.
OLT(config)# mac-address limit port ge 0/0 1 500
Case2: Configure the maximum number of mac addresses learned by port GE2 to 100. The

38
GPON OLT User Manual

excess MAC addresses are discarded.


OLT(config)# mac-address limit port ge 0/0 2 100 exceed-action discard

3.2.4 mac-address static


mac-address static port (ge | xge) F/S/P vlan vlanid mac-addr
Command Syntax no mac-address static port (ge | xge |lag) F/S/P vlan vlanlist
mac-addr

Applicable Views config view

This command is used to configure a static MAC address for an OLT.


After the configuration is successful, the device does not need to
Description
learn the MAC address and forwards data directly according to the
static MAC address.

ge: uplink port


ge|xge|lag xge: 10G uplink port
lag:link aggregation group

F/S/P The port number to be configured the format is 0/0/x

vlanid VLAN ID. The value ranges from 1 to 4094.

mac-addr The Mac address is in the format XX:XX:XX:XX:XX:XX

[Configuration case]

Case1: Binds mac address E0:67:B3:12:EB:F6 to port ge1 and vlan100.


OLT(config)# mac-address static port ge 0/0/1 vlan 100 E0:67:B3:12:EB:F6

3.2.5 mac-address timer


Command Syntax mac-address timer (aging AGING-TIME | no-aging)

Applicable Views config view

This command is used to configure the aging time of dynamic entries


in the MAC address table. The aging time takes effect immediately
after the setting. The system periodically checks the dynamic MAC
address. If no packet carrying the source MAC address is sent or
Description
received within the aging period, the corresponding MAC address is
deleted from the MAC address table. Periodic aging of dynamic MAC
addresses releases MAC address table resources and prevents the
system from learning new MAC addresses.

Aging AGING-TIME | Aging-time: indicates the aging time of a mac address. The value

39
GPON OLT User Manual

no-aging ranges from 10 to 1000000, in seconds. The default value is 300.


no-aging: Sets the MAC address to not aging. This parameter is used
when you do not need to enable MAC address aging.

[Configuration case]

Case1: Configure the aging time of a mac address to 1000 seconds.


OLT(config)# mac-address timer 1000

3.2.6 show mac-address


show mac-address (all | black-hole | dynamic | static | vlan vlanid |
Command Syntax
port (ge | xge) portid [(include | exclude) string])

Applicable Views config view

Description This command is used to show the OLT's MAC address configuration.

all: Show all MAC addresses learned by the OLT


all | black-hole: Show all black hole MAC addresses learned by the OLT
black-hole | dynamic: Show all dynamic MAC addresses learned by the OLT
dynamic | static: Show all static MAC addresses learned by the OLT
static | timer: Show the MAC address aging time of an OLT
vlan | vlan: Show the MAC address of an OLT in a specified vlan
port port: Show the MAC address learned by the interface connected to
the OLT

vlanid The vlanid to be queried

ge: uplink port


ge | xge
xge: 10G uplink port

portid Port number of the uplink port to be queried

include: Matches the included string with the regular expression


include | exclude
exclude: Matches the excluded string with the regular expression

string String to be matched

[Configuration case]

Case1: Show all mac addresses learned by OLT.


OLT(config)# show mac-address all
------------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
------------------------------------------------------------------------------------------------------------------
A4:BD:C4:79:3E:C0 1 - ge0/0/1 - - dynamic

40
GPON OLT User Manual

E0:72:5B:2B:3D:5F 1000 - cpu - - blackhole


00:E0:FC:09:BC:F9 1 - ge0/0/1 - - dynamic
------------------------------------------------------------------------------------------------------------------
Total: 3
------------------------------------------------------------------------------------------------------------------
Case2: Show all of OLT's black hole mac addresses.
OLT(config)# show mac-address black-hole
----------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
----------------------------------------------------------------------------------------------------------------
E0:72:5B:2B:3D:5F 1000 - cpu - - blackhole
----------------------------------------------------------------------------------------------------------------
Total: 1
----------------------------------------------------------------------------------------------------------------
Case3: Show all the dynamic mac addresses learned by OLT.
OLT(config)# show mac-address dynamic
-------------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------------------------------------------------------------------------
A4:BD:C4:79:3E:C0 1 - ge0/0/1 - - dynamic
00:E0:FC:09:BC:F9 1 - ge0/0/1 - - dynamic
-------------------------------------------------------------------------------------------------------------------
Total: 3
-------------------------------------------------------------------------------------------------------------------
Case4: Show all static mac addresses learned by the OLT.
OLT(config)# show mac-address static
-------------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------------------------------------------------------------------------
E0:BE:B7:C9:43:4F 2500 - ge0/0/1 - - static
E0:9C:BF:DD:44:6D 2600 - ge0/0/2 - - static
-------------------------------------------------------------------------------------------------------------------
Total: 2
-------------------------------------------------------------------------------------------------------------------
Case5: Show the OLT's mac address under vlan 2500.
OLT(config)# show mac-address vlan 2500
----------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
----------------------------------------------------------------------------------------------------------------
E0:BE:B7:C9:43:4F 2500 - ge0/0/1 - - static
----------------------------------------------------------------------------------------------------------------

41
GPON OLT User Manual

Total: 1
----------------------------------------------------------------------------------------------------------------
Case6: Show the mac address learned by GE1.
OLT(config)# show mac-address port ge 0/0/1
----------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-----------------------------------------------------------------------------
EC:D0:9F:D2:6B:E7 101 - ge0/0/1 - - dynamic
E4:A4:71:49:9E:31 101 - ge0/0/1 - - dynamic
48:A9:D2:52:98:11 101 - ge0/0/1 - - dynamic
----------------------------------------------------------------------------------------------------------------
Total: 3
----------------------------------------------------------------------------------------------------------------

3.2.7 show mac-address timer


Command Syntax show mac-address timer

Applicable Views config view

This command is used to show the MAC address aging time of an


Description
OLT.

[Configuration case]

Case1: Show the mac address aging time of an OLT.


OLT(config)# show mac-address timer
MAC aging time: 300s

42
GPON OLT User Manual

4 Layer 3 Command

This chapter includes the following topics:

 ARP management

 Layer 3 interface configuration

 Routing Configuration

4.1ARP management
4.1.1 arp aging-time
arp aging-time aging-time
Command Syntax
no arp aging-time

Applicable Views config view

Using the "arp age time" set command, you can configure the ARP
aging time.
Description
The "no arp age time" set command restores the default ARP aging
time. The default aging time is 600 seconds (10 minutes).

aging-time Aging time value ranging from 60 to 3600

[Configuration case]

Case1: Configure the arp aging time to 1 minute.


OLT(config)# arp aging-time 60
OLT(config)#
Case2: restores the default ARP aging time.
OLT(config)#no arp aging-time
OLT(config)#

4.1.2 arp gratuitous-arp learning


Command Syntax arp gratuitous-arp learning (enable | disable)

Applicable Views config view

This command enables or disables the gratuitous ARP learning


Description
function.

43
GPON OLT User Manual

By default, gratuitous arp learning is disabled.

enable: enables the free arp learning function


(enable | disable)
disable: disable the free arp learning function

[Configuration case]

Case1: Enables the gratuitous ARP learning function on the device.


OLT(config)# arp gratuitous-arp learning enable
OLT(config)#

4.1.3 arp gratuitous-arp send


Command Syntax arp gratuitous-arp send (enable | disable)

Applicable Views config view

Using this command, you can enable or disable the gratuitous ARP
Description periodically sending function. By default, the gratuitous arp
periodically sending function is disabled.

enable: Enable the gratuitous arp periodically sending function


(enable | disable)
disable: disable periodic arp sending

[Configuration case]

Case1: Enables the device to periodically send gratuits ARP packets.


OLT(config)# arp gratuitous-arp send enable
OLT(config)#

4.1.4 arp gratuitous-arp send time


Command Syntax arp gratuitous-arp send time time

Applicable Views config view

Using this command, you can configure the interval for sending
Description
gratuitous ARP packets. The default interval is 5 minutes.

Period for sending gratuitous ARP packets. The value ranges from 1
time
to 60 minutes

[Configuration case]

Case1: Configure the period for sending gratuitous ARP packets to 3 minutes.
OLT(config)# arp gratuitous-arp send time 3
OLT(config)#

44
GPON OLT User Manual

4.1.5 arp learn-limit-num


arp learn-limit-num limit-vlaue vlanif vlan-id
Command Syntax
no arp learn-limit-num vlanif vlan-id

Applicable Views config view

Using the "arp learn-limit-num limit-vlaue vlanif" command, you can


configure the limit of ARP entries on a specified Vlanif interface.
Using the "no arp learn-limit-num vlanif" command, you can remove
Description
the limit of ARP entries on a vlanif interface.
By default, the number of ARP entries that can be learned on a Vlanif
interface is 2048.

Indicates the limit of ARP entries on an interface. The value ranges


limit-vlaue
from 1 to 2048

Vlan-id of the vlan interface to be configured. The value ranges from


vlan-id
1 to 4094

[Configuration case]

Case1: Configure the limit of ARP entries on vlanif 100 to 300.


OLT(config)# arp learn-limit-num 300 vlanif 100
OLT(config)#

4.1.6 arp mac-address change-check


Command Syntax arp mac-address change-check (enable | disable)

Applicable Views config view

Using this command, you can enable or disable the ARP MAC address
change check function.
Description
By default, the ARP MAC address change check function is disabled.
That is, ARP entries are updated when the MAC address changes.

enable: enables the ARP MAC address change check function


(enable | disable) disable: The function of checking ARP MAC address changes is
disabled

[Configuration case]

Case1: Enable the ARP MAC address change check function.


OLT(config)# arp mac-address change-check enable
OLT(config)#

45
GPON OLT User Manual

4.1.7 arp quick-update


Command Syntax arp quick-update (enable | disable)

Applicable Views config view

This command enables or disables the ARP quick update function.


Rapid ARP update means that if a device changes its port or MAC
address without changing its IP address, the device can quickly
Description
update the corresponding port or MAC address of the local ARP
without waiting for the original ARP to age and then re-learn ARP. By
default, quick ARP update is disabled.

enable: Enable the ARP quick update function


(enable | disable)
disable: disables the ARP quick update function

[Configuration case]

Case1: Enable quick ARP update on the device.


OLT(config)# arp quick-update enable
OLT(config)#

4.1.8 arp static


arp static ip-addr mac-addr vid vlanid port (ge|xge|lag) (F/S/P |
Command Syntax lagid )
no arp static (ip-addr | all)

Applicable Views config view

Using the "arp static" command, you can configure static ARP entries
in an ARP mapping table. Using the “no arp static ip-addr” command,
you can delete static ARP entries from a specified IP address. Using
the "no arp static all" command, you can delete all static ARP entries.
Note the following:
Static ARP entries are valid only when the device is working
properly. When the VLAN interface corresponding to an ARP entry is
Description deleted or its IP address is changed, the static ARP entry is deleted.
specifies the VLAN that corresponds to the ARP entry. Vlan-id
must be the id of a VLAN created by a user, and the port specified
after the vlan-id parameter must belong to this vlan. The VLAN
interface corresponding to the VLAN must have been created.
If parameters vlan-id and ip-address are specified, the IP address
of the VLAN interface corresponding to parameter vlan-id must
belong to the same network segment as the IP address specified by

46
GPON OLT User Manual

parameter ip-address.

ip-addr The IP address of an ARP entry, in dotted decimal notation A.B.C.D

The MAC address portion of an ARP entry in the format


mac-addr
XX:XX:XX:XX:XX:XX

vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094

(ge|xge|lag) Port type, including ge|xge|lag type

F/S/P Port number (e.g. 0/0/1)

lagid Aggregation group ID. The value ranges from 1 to 8

[Configuration case]

Case1: Configure the static ARP IP address to 10.11.100.199, corresponding MAC address to

01:02:03:04:05:06, and port ge 0/0/2 of VLAN 2.


OLT(config)# arp static 10.11.100.199 01:02:03:04:05:06 vid 2 port ge 0/0/2
OLT(config)#
Case2: Configure the static ARP IP address 10.11.100.198 to the MAC address of

01:02:03:04:05:07, which belongs to aggregation group 1 of VLAN 2.


OLT(config)# arp static 10.11.100.198 01:02:03:04:05:07 vid 2 port lag 1
OLT(config)#
Case3: Delete static ARP IP 10.11.100.198
OLT(config)# no arp static 10.11.100.198
OLT(config)#
Case4: Deletes all static ARP entries
OLT(config)# no arp static all
OLT(config)#

4.1.9 reset arp dynamic


reset arp dynamic ( all | ip ip-addr | vlanif vlan-id | port (ge F/S/P
Command Syntax
|xge F/S/P | lag lagid ) )

Applicable Views config view

Using the "reset arp dynamic all" command, you can clear all
dynamic arp entries.
Description Using the "reset arp dynamic IP ip-address" command, you can clear
dynamic arp for a specified ip address.
Using the "reset arp dynamic port port-type port-num" command,

47
GPON OLT User Manual

you can clear dynamic arp on a specified port.


Using the "reset arp dynamic vlanif vlan-id" command clears
dynamic arp on a specified vlanif interface.

ip-addr The IP address of an ARP entry is in dotted decimal notation

vlan-id VLAN of a static ARP entry. The value ranges from 1 to 4094

F/S/P The port number to be configured, the format is 0/0/x

lagid Aggregation group ID. The value ranges from 1 to 8

[Configuration case]

Case1: Clear all dynamic arp.


OLT(config)# reset arp dynamic all
OLT(config)#
Case2: Clear dynamic arp with ip 11.1.1.1.
OLT(config)# reset arp dynamic ip 11.1.1.1
OLT(config)#
Case3: Clear dynamic arp under aggregation group 1.
OLT(config)# reset arp dynamic port lag 1
OLT(config)#
Case4: Clear dynamic arp for vlanif 100.
OLT(config)# reset arp dynamic vlanif 100
OLT(config)#

4.1.10 show arp


Command Syntax show arp ( all | dynamic | static | vlanif vlanid )

Applicable Views config view

The "show arp all" command is used to show all arp entries.
The "show arp dynamic" command is used to show all dynamic arp
entries.
Description
The "show arp static" command is used to show all static arp entries.
The "show arp vlanif vlan-id" command, you can show arp entries of
a specified vlanif interface.

vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094

[Configuration case]

Case1: Show all arp entries on the device.

48
GPON OLT User Manual

OLT(config)# show arp all


arp entry max num: 2048
arp entry current: 2
IP address Mac address VLAN F/S/P Type AgeTime
101.0.0.3 E0:67:B3:00:00:02 300 ge0/0/1 Dynamic 569
101.0.0.6 E0:67:B3:00:00:09 300 ge0/0/1 Static --
Case2: Show all dynamic arp entries on the device.
OLT(config)# show arp dynamic
arp entry max num: 2048
arp entry current: 2
IP address Mac address VLAN F/S/P Type AgeTime
101.0.0.3 E0:67:B3:00:00:02 300 ge0/0/1 Dynamic 569
Case3: Show all arp entries under vlanif 300 on the device.
OLT(config)# show arp vlanif 300
arp entry max num: 2048
arp entry current: 2
IP address Mac address VLAN F/S/P Type AgeTime
101.0.0.3 E0:67:B3:00:00:02 300 ge0/0/1 Dynamic 569
101.0.0.6 E0:67:B3:00:00:09 300 ge0/0/1 Static --

4.1.11 show arp config


Command Syntax show arp config

Applicable Views config view

Description This command line is used to show the arp configuration.

vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094

[Configuration case]

Case1: Show the ARP configuration on the device.


OLT(config)# show arp config
arp aging-time: 70
arp quick-update: enable
arp gratuitous-arp send: disable
arp gratuitous-arp send time: 3
arp gratuitous-arp learning: disable
arp mac-address change-check: disable

4.1.12 show arp history


Command Syntax show arp history

49
GPON OLT User Manual

Applicable Views config view

Description This command line is used to show the history of arp.

vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094

[Configuration case]

Case1: Show the ARP history on your device.


OLT(config)# show arp config
arp aging-time: 70
arp quick-update: enable
arp gratuitous-arp send: disable
arp gratuitous-arp send time: 3
arp gratuitous-arp learning: disable
arp mac-address change-check: disable

4.2Layer 3 interface configuration


4.2.1 default gateway
default gateway ip-addr
Command Syntax
no default gateway

Applicable Views mgmt view

This command is used to configure or cancel the default gateway of


Description
the NMS interface

Default gateway of the NMS interface. The value is in dotted decimal


ip-addr
notation.

[Configuration case]

Case1: Configure the default gateway of the mgmt port to 192.168.10.1


OLT(config-interface-mgmt)# default gateway 192.168.10.1
Case2: Unconfigure the default gateway for the mgmt port
OLT(config-interface-mgmt)# no default gateway

4.2.2 description
description description
Command Syntax
no description

Applicable Views mgmt view, vlanif view, loopback view

50
GPON OLT User Manual

This command line is used to configure or remove description


Description
information.

Interface description string (excluding Spaces), ranging from 1 to 128


description
characters

[Configuration case]

Case1: Configure the description of the VLAN interface.


OLT(config-vlanif-1)# description vlanif1_test

Case2: configs the description of the Mgmt port.


OLT(config-mgmt)# description mgmt_test
Case3: configs the description of the loopback interface.
OLT(config-loopback-1)# description loopback1_test

4.2.3 interface loopback


interface loopback loopback-id
Command Syntax
no interface loopback loopback-id

Applicable Views config view

This command is used to create or delete a loopback interface. The


Description
existing loopback interface is directly showed in the interface view.

loopback-id loopback interface id. The value ranges from 1 to 1023

[Configuration case]

Case1: Create loopback interface 2.


OLT(config)# interface loopback 2
OLT(config-loopback-2)#
Case2: Delete loopback interface 2.
OLT(config)# no interface loopback 2

4.2.4 interface vlanif


interface vlanif vlanif-id
Command Syntax
no interface vlanif vlanif-id

Applicable Views config view

This command is used to create or delete a vlanif interface. The


Description
existing vlanif interface is showed in the interface view. Notice vlan 1

51
GPON OLT User Manual

cannot be deleted.

vlanif-id vlanif interface id. The value ranges from 1 to 4094

[Configuration case]

Case1: Create vlanif interface 100.


OLT(config)# interface vlanif 100
OLT(config-vlanif-100)#
Case2: Delete vlanif interface 2.
OLT(config)# no interface vlanif 100

4.2.5 ip address
ip address ip-addr (mask-len | mask-addr)
Command Syntax
no ip address

Applicable Views mgmt view, vlanif view, loopback view

This command line is used to configure or remove the IP address and


Description
mask of the interface.

ip-addr The IP address of the interface is in dotted decimal notation

Mask-len: indicates the length of the subnet mask, that is, the
number of consecutive 1s in the mask. The value ranges from 0 to 32
mask-len | mask-addr
Mask-addr: specifies the subnet mask of the interface IP address.
The value is in dotted decimal notation

[Configuration case]

Case1: Configure the IP address and mask length of the vlanif interface.
OLT(config-vlanif-2)# ip address 1.1.1.1 20
Case2: Deletes the IP address and mask length of the vlanif interface.
OLT(config-vlanif-2)# no ip address

4.2.6 show interface


Command Syntax show interface (mgmt | vlanif [vlan-id] | loopback [loopback-id])

Applicable Views config view

This command line is used to show the details of the specified


Description
interface

mgmt | vlanif | mgmt: Show information about the mgmt port

52
GPON OLT User Manual

loopback vlanif: Show information about a vlanif interface


loopback: Show the information about the loopback interface

If the vlan id is specified, information about the vlanif interface is


vlan-id showed. If the VLAN ID is not specified, information about all vlanif
interfaces is showed

If loopback id is specified, the information about the loopback


loopback-id interface is showed. If no loopback ID is specified, the information
about all loopback interfaces is showed

[Configuration case]

Case1: Show information about all vlanif interfaces.


OLT(config)# show interface vlanif
Vlanif10 current state: ADMIN DOWN
Line protocol current state: DOWN
Description: vlan10 Interface
The Maximum Transmit Unit is 1500 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
Hardware Address is E0:67:B3:00:00:05
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions

Vlanif20 current state: ADMIN DOWN


Line protocol current state: DOWN
Description: vlan20 Interface
The Maximum Transmit Unit is 1500 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
Hardware Address is E0:67:B3:00:00:05
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions
Case2: Show information about vlanif 10.
OLT(config)# show interface vlanif 10
Vlanif10 current state: ADMIN DOWN
Line protocol current state: DOWN

53
GPON OLT User Manual

Description: vlan10 Interface


The Maximum Transmit Unit is 1500 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
Hardware Address is E0:67:B3:00:00:05
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions
Case3: Show information about all loopback interfaces.
OLT(config)# show interface loopback
InLoop0 current state: ADMIN UP
Line protocol current state: UP
Description: lo Interface
The Maximum Transmit Unit is 16436 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions

Loopback2 current state: ADMIN UP


Line protocol current state: DOWN
Description: lo:2 Interface
The Maximum Transmit Unit is 0 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions
Case4: Show loopback2 interface information.
OLT(config)# show interface loopback 2
Loopback2 current state: ADMIN UP
Line protocol current state: DOWN
Description: lo:2 Interface
The Maximum Transmit Unit is 0 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2

54
GPON OLT User Manual

0 input packets (0 multicast), 0 bytes, 0 dropped


0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions
Case5: Show information about the mgmt port.
OLT(config)# show interface mgmt
Mgmt0/0 current state: ADMIN UP
Line protocol current state: UP
Description: eth0 Interface
The Maximum Transmit Unit is 1500 bytes
IP Sending Frames' Format is PKTFMT_ETHNT_2
Hardware Address is E0:67:B3:00:00:04
0 input packets (0 multicast), 0 bytes, 0 dropped
0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame
0 fifo, 0 missed
0 output packets, 0 bytes, 0 dropped
0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat
0 window, 0 collisions

4.2.7 shutdown
shutdown
Command Syntax
no shutdown

Applicable Views mgmt view, vlanif view

Description This command line is used to turn the interface on or off.

[Configuration case]

Case1: Disable vlanif 2.


OLT(config-vlanif-2)# shutdown
Case2: Enable loopback 2.
OLT(config-loopback-2)# no shutdown
Case3: Disables the mgmt port.
OLT(config-mgmt)# shutdown

4.3Route configuration
4.3.1 ip route

55
GPON OLT User Manual

ip route (ip-addr/mask-len | ip-addr mask-addr) [gateway-address]


[distance]
Command Syntax
no ip route (ip-addr/mask-len | ip-addr mask-addr)
[gateway-address] [distance]

Applicable Views config view

This command is used to add or remove static routes from an OLT.


Description
Only one default static route can be configured.

ip-addr The IP address is in dotted decimal notation.

Specifies the subnet mask length of the network segment interface,


mask-len
ranging from 0 to 32

mask-addr The subnet mask is in dotted decimal notation.

gateway-address The gateway IP address is in dotted decimal notation.

distance The administrative distance to be configured, ranging from 1 to 255.

[Configuration case]

Case1: Configure the static default route of OLT with the gateway 192.168.2.253
OLT(config)# ip route 0.0.0.0/0 192.168.5.253
Case2: Configure the static route whose mask is 255.255.255.0 and 192.168.3.0 on the OLT
OLT(config)# ip route 192.168.3.0 255.255.255.0 192.168.5.1
Case3: Delete the static route at 192.168.3.0 with a mask of 255.255.255.0 on OLT
OLT(config)# no ip route 192.168.3.0 255.255.255.0 192.168.5.1

4.3.2 ip route-default
ip route-default gateway ip-addr
Command Syntax
no ip route-default gateway ip-addr

Applicable Views config view

This command is used to configure or remove the default routing


Description
gateway for OLT

OLT Specifies the gateway of the default route, in dotted decimal


ip-addr
notation.

[Configuration case]

Case1: Configure the default routing gateway of OLT to 192.168.5.1


OLT(config)# ip route-default gateway 192.168.5.1

56
GPON OLT User Manual

4.3.3 show fib


Command Syntax show fib [ip-addr | ip-addr/mask-len]

Applicable Views config view

After the route is selected, the routing table sends the active route
to the FIB table. When a packet reaches a router, it is forwarded by
looking up the FIB table.
Each forwarding entry in the FIB table indicates the physical or logical
interface on which the packet destined for a network segment or a
host is sent. Then the packet can be forwarded to the next router in
the path or to the destination host on the directly connected
Description
network without passing through other routers.
The matching in the FIB table follows the longest matching principle.
When searching the FIB table, the destination address of a packet
and the mask of each entry in the FIB table are matched by logical
and bits. If the obtained address matches the network address in the
FIB table, the IP address matches. Finally, a FIB entry with the longest
matching is selected to forward the packet.

ip-addr The route is showed by matching the destination ip address

mask-len Show by destination ip address and mask of the route

[Configuration case]

Case1: Show the current fib entry.


OLT(config)# show fib
FIB Table : Public
FIB Flags: U - Useable, G - Gateway, H - Host, B - Blackhole,
S - Static, D - Dynamic, R - Relay
Destination/Mask Nexthop Interface Flags TunnelID
--------------------------------------------------------------------------------------------
2.2.2.0/24 2.2.2.2 Vlanif10 U 0x0
2.2.2.2/32 127.0.0.1 Vlanif10 UH 0x0
3.3.3.0/24 3.3.3.3 Vlanif20 U 0x0
3.3.3.3/32 127.0.0.1 Vlanif20 UH 0x0
127.0.0.0/8 127.0.0.1 InLoop0 U 0x0
127.0.0.1/32 127.0.0.1 InLoop0 UH 0x0
192.168.2.0/24 0.0.0.0 Null0 UBS 0x0
Case2: Show the fib entry of the route whose destination IP address is 2.2.2.2.
OLT(config)# show fib 2.2.2.2/24
FIB Table : Public

57
GPON OLT User Manual

FIB Flags: U - Useable, G - Gateway, H - Host, B - Blackhole,


S - Static, D - Dynamic, R - Relay
Destination/Mask Nexthop Interface Flags TunnelID
------------------------------------------------------------------------------------------------
2.2.2.0/24 2.2.2.2 Vlanif10 U 0x0

4.3.4 show ip route


show ip route [ip-addr | ip-addr/mask-len | summary | verbose ]
Command Syntax show ip route protocol (kernel | connected | static | rip | ospf | isis
| bgp) (verbose | inactive)

Applicable Views config view

Description This command is used to show routing information on an OLT

ip-addr Route destination IP address

mask-len Mask of the destination IP address

summary: Show statistics


verbose: Show detailed information about the route
summary | verbose longer-match: Show only the routes that match the specified
network/mask pair
inactive: shows inactive routing tables

protocol Show routing information by protocol or type

kernel: Show kernel routing information


connected: shows direct routing information
kernel | connected | static: Show static route information
static | rip | ospf | rip: Show routing information based on RIP
isis | bgp ospf: Show route information based on OSPF
isis: Show the route information according to the ISIS protocol
bgp: Show routing information based on BGP

[Configuration case]

Case1: Show all routing information on the OLT


OLT(config)# show ip route
Routing Table : Public
Route Flags: R - relay, D - download to fib
Destination/Mask Proto Pre Cost Flags NextHop Interface
-------------------------------------------------------------------------------------------------------
2.2.2.0/24 direct 0 0 D 2.2.2.2 Vlanif10
2.2.2.2/32 direct 0 0 D 127.0.0.1 Vlanif10
127.0.0.0/8 direct 0 0 D 127.0.0.1 InLoop0

58
GPON OLT User Manual

127.0.0.1/32 direct 0 0 D 127.0.0.1 InLoop0


192.168.2.0/24 static 1 0 D 0.0.0.0 Null0
Case2: Show OLT traffic statistics
OLT(config)# ow ip route summary
Route Source Routes FIB
connected 4 4
static 1 1
-------------------------------------------------------------------------
Totals 5 5
Case3: Show OLT routing details
OLT(config)# show ip route verbose
Routing Table : Public

Destination: 2.2.2.0/24
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 2.2.2.2 Interface: Vlanif10
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h16m23s RefCnt: 0
State: Active, best, fib

Destination: 2.2.2.2/32
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: Vlanif10
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h16m23s RefCnt: 0
State: Active, best, fib

Destination: 127.0.0.0/8
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoop0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 03h57m09s RefCnt: 0
State: Active, best, fib

Destination: 127.0.0.1/32
Protocol: direct ProcessID: 0

59
GPON OLT User Manual

Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoop0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 03h57m09s RefCnt: 0
State: Active, best, fib

Destination: 192.168.2.0/24
Protocol: static ProcessID: 0
Preference: 1 Cost: 0
NextHop: 0.0.0.0 Interface: Null0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h15m00s RefCnt: 0
State: Active, best, blkh, fib
Case4: Show information about the route whose destination IP address is 2.2.2.2/32 on the OLT
OLT(config)# show ip route 2.2.2.2
2.2.2.2/32 direct 0 0 D 127.0.0.1 Vlanif10

60
GPON OLT User Manual

5 ACL configuration management

This chapter includes the following topics:

 ACL profile Configuration

5.1ACL profile Configuration


5.1.1 acl
acl (basic-acl-id | adv-acl-id | link-acl-id )
Command Syntax
no acl (all | basic-acl-id | adv-acl-id | link-acl-id)

Applicable Views config view

Description This command is used to create and delete ACLs.

ID of the basic acl to be created and deleted. The value ranges from
basic-acl-id
2000 to 2999

advanced acl ID to be created or deleted. The value ranges from


adv-acl-id
3000-4999

The link acl ID to be created or deleted. The value ranges from


link-acl-id
5000-5999

All ACLs. Note; When an acl rule is applied to a port, it cannot be


all
directly deleted. You need to delete the acl rule from the port first.

[Configuration case]

Case1: Create Basic acl 2001


OLT(config)# acl 2001
OLT(acl-basic-2001)#
Case2: Create Advanced acl 3000
OLT(config)# acl 3000
ACL ID Create OK!

OLT(acl-adv-3000)#
Case3: Create link acl 5000
OLT(config)# acl 5000

61
GPON OLT User Manual

ACL ID Create OK!

OLT(acl-link-5000)#
Case4: Deletes acl 2001
OLT(config)# no acl 2001
Number of acl: 1, success: 1

OLT(config)#

5.1.2 acl ipv6


acl ipv6 (basic-acl-id | adv-acl-id )
Command Syntax
no acl ipv6 ( all | basic-acl-id | adv-acl-id )

Applicable Views config view

Description This command is used to create and delete ipv6 ACLs.

ID of the basic acl to be created and deleted. The value ranges from
basic-acl-id
2000 to 2999

advanced acl ID to be created or deleted. The value ranges from


adv-acl-id
3000-4999

All ACLs. Note; When an acl rule is applied to a port, it cannot be


all
directly deleted. You need to delete the acl rule from the port first.

[Configuration case]

Case1: Create Basic acl 2001


OLT(config)# acl ipv6 2001

OLT(acl-basic-2001)#
Case2: Create Advanced acl 3000
OLT(config)# acl ipv6 3000

OLT(acl-adv-3000)#
Case3: Delete acl 2001
OLT(config)# no acl ipv6 2001

OLT(config)#

5.1.3 acl name

62
GPON OLT User Manual

Command Syntax acl name NAME

Applicable Views Acl-adv view, ACL-BASIC view, Link acl view

Description This command is used to configure the name of an ACL.

NAME The ACL name contains 1 to 10 characters.

[Configuration case]

Case1: Configure the name of the ACL to test


OLT(acl-basic-2000)# acl name test
OLT(acl-basic-2000)#

5.1.4 rule (acl-basic)


rule rule-id ( permit | deny ) source (ip-address sour-wildcard |any)
Command Syntax
no rule rule-id

Applicable Views acl-basic view, acl6-basic view

The "rule" command is used to create an ACL rule in ACL-BASIC


mode. This command is used when you need to set an ACL rule
based on the source IP address of packets. After the rule is created
Description successfully, you can use the packet-filter command to filter packets
by referencing the rule. Or it can be used together with QoS policies
to ensure quality of service (qos) for specific packets.
The "no rule" command is used to delete or modify ACL rules.

ID of an ACL rule. The larger the ACL ID, the higher the priority. The
rule-id
value ranges from 1 to 16.

deny: The traffic matching the packet is denied.


permit|deny
permit: permits the packets that match the conditions.

Ip-address: indicates the source IP address segment in the ACl rule


ip-address|any
any: matches any packets with source IP addresses

Reverse mask; The IP address and the backmask are used together
to match the host with the network number, the backmask is the
sour-wildcard wildcard mask, which tells the device which bit to match by marking
0 and 1. In the backmask, the address with the corresponding bit 1 is
ignored in the comparison, and the one with 0 must be checked

[Configuration case]

Case1: Port 1 can receive only packets from IP address 10.10.10.2.

63
GPON OLT User Manual

OLT(config)# acl 2000


OLT(acl-basic-2000)#rule 2 permit source 10.10.10.2 0.0.0.0
OLT(acl-basic-2000)#

Case2: Delete ACL rule 1.


OLT(config)# acl 2000
OLT(acl-basic-2000)#no rule 1
OLT(acl-basic-2000)#

5.1.5 rule (acl-adv)


When the protocol type is ICMP, the command format for the
advanced ACL is:
rule rule-id (permit| deny) (icmp | protocol-id) {soure (ip-address
sour-wildcard | any) | destination (ip-address sour-wildcard |any) |
icmp-type icmp-type | precedence procedence-value | dscp
dscp-value}

When the protocol type is TCP or UDP, the command format of the
advanced ACL is:
rule rule-id (permit| deny) (tcp| udp| protocol-id) {soure
(ip-address sour-wildcard | any) | destination (ip-address
sour-wildcard |any) | src-port port-list | dest-port port-list |
precedence procedence-value | dscp dscp-value}

Command Syntax
When the protocol type is GRE, IGMP, IPINIP, or OSPF, the command
format of the advanced ACL is as follows:
rule rule-id (permit| deny) (gre|igmp| ospf | ipinip | protocol-id)
{soure (ip-address sour-wildcard | any) | destination (ip-address
sour-wildcard |any) | precedence procedence-value | dscp
dscp-value }

If the version type is IPv4, the command format of the advanced ACL
is as follows:
rule rule-id (permit| deny) ip {soure (ip-address sour-wildcard |
any) | destination (ip-address sour-wildcard |any) |precedence
procedence-value | dscp dscp-value}

no rule rule-id

Applicable Views acl-adv view, acl6-adv view

The "rule" command is used to create an advanced ACL rule in


Description
ACL-ADV mode. This command is used when you need to make a

64
GPON OLT User Manual

matching rule based on the source address information, destination


address information, protocol type carried by the IP address, and
protocol characteristics of the data packet. After the rules are
created, you can run the packet-filter command to reference the
rules to filter packets. Or it can be used together with QoS policies to
ensure quality of service (qos) for specific packets.
The "no rule" command is used to delete or modify an ACL rule.

rule-id ID of an ACL rule. The larger the ACL ID, the higher the priority.

deny: The traffic matching the packet is denied.


permit|deny
permit: permits the packets that match the conditions.

ip-address Ip-address: indicates the source IP address segment in an ACl rule

Reverse mask; The IP address and the backmask are used together
to match the host with the network number, the backmask is the
sour-wildcard wildcard mask, which tells the device which bit to match by marking
0 and 1. In the backmask, the address with the corresponding bit 1 is
ignored in the comparison, and the one with 0 must be checked

soure The ACL matches the source IP address of the packet

destination The ACL matches the destination IP address of the packet

dscp Priority of differential service code points

dest-port The ACL matches the destination port in UDP or TCP

src-port ACL matches the source port in UDP or TCP

The acl matches packets with double-layer ip addresses. That is, IP


data Encapsulation and tunneling, IP Encapsulation within IP,
protocol number 4, as it is defined in RFC 2003. It describes how to
Ipinip
take an IP datagram and use it as a payload for another IP datagram.
In mobile IP, the new header specifies how to send the encapsulated
datagram to the forwarding address of the mobile node.

[Configuration case]

Case1: Creates an advanced ACL to match all icmp packets.


OLT(acl-adv-3000)# rule 1 permit icmp

OLT(acl-adv-3000)#
Case2: deletes ACL rule 1.
OLT(config)# acl 3000

65
GPON OLT User Manual

OLT(acl-adv-3000)#no rule 1
OLT(acl-adv-3000)#

5.1.6 rule (acl-link)


rule rule-id (permit|deny) {source src-mac-address
mac-addrmac-wildcard | destination des-mac-address
mac-addrmac-wildcard | dot1p dot1p-value | inner-dot1p
Command Syntax
inner-dot1p-value | vlan vlan-id | inner-vlan inner-vlan-id | type
Ethernet-type }
no rule rule-id

Applicable Views acl-link view

The "rule" command is used to create an ACL rule in ACL-link mode.


This command is used when the link layer information such as the
source MAC address, source VLAN ID, Layer 2 protocol type, and
destination MAC address of packets needs to be specified. After an
Description
ACL rule is created successfully, you can use the packet-filter
command to reference the ACL rule to filter packets. Alternatively,
ACL rules can be used together with QoS policies to ensure quality of
service for specific packets.

rule-id ID of an ACL rule. The larger the ACL ID, the higher the priority.

deny: The traffic matching the packet is denied.


permit|deny permit: allows the data packets that meet the conditions to pass
through.

destination Destination MAC address that matches the packet in the ACL

source The source MAC address field of the matching packet in the ACL

mac-addr mac address

The backmask of the mac address, which is the wildcard mask, tells
the device which bit to match by marking 0 and 1. In the backmask,
mac-wildcard
the address with the corresponding bit of 1 is not matched (ignored)
in the comparison, and the one with 0 must be checked;

inner-dot1p-value Matches the cos value of the inner vlan of the Layer 2 packet

dot1p-value Matches the cos value of the outer vlan

vlan-id Matches the vlanid value of the outer vlan

inner-vlan-id Matches the cos value of the inner vlanid

66
GPON OLT User Manual

Ethernet-type Match the Ethernet type field

[Configuration case]

Case1: Specifies that port 1 can receive only packets from the destination mac address of

22-22-22-22-22.
OLT(config)# acl 5000
OLT(acl-link-5000)# rule 1 permit destination 22:22:22:22:22:22 0000-0000-0000
OLT(acl-link-5000)# rule 2 deny destination 22:22:22:22:22:22 FFFF-FFFF-FFFF
OLT(acl-link-5000)#exit
OLT(config)# packet-filter inbound 5000 port ge 0|0 1

5.1.7 show acl


Command Syntax show acl [ ipv6 ] (acl-id | all )

Applicable Views config view

Description This command is used to show the configured acl.

acl-id Specific ACL.

all Show all ACLs

[Configuration case]

Case1: Show all ACLs of the device


OLT(config)# show acl all

Advanced ACL 3000, 2 rules hold


rule 2 permit icmp source any precedence 0
rule 1 permit 2 destination any

Link ACL 5000, 0 rules hold

OLT(config)#

5.1.8 show current


Command Syntax show current

Applicable Views acl-basic view, acl-adv view, acl-link view

Description This command is used to show the current acl configuration.

[Configuration case]

67
GPON OLT User Manual

Case1: Show the current configuration of basic acl 2000


OLT(acl-basic-2000)# show current

Basic ACL 2000, 1 rules hold


rule 1 permit source 192.168.5.116 0.0.0.255

OLT(acl-basic-2000)#

68
GPON OLT User Manual

6 Service configuration

This chapter includes the following topics:

 DBA profile Configuration

 Line profile Configuration

 Line profile discrete configuration

 Service profile Configuration

 Service profiles discrete Configuration

 Virtual Port Configuration

 TR069 profile configuration

 TR069 Discrete configuration

 traffic profile Configuration

 Multi-service profile configuration

6.1DBA profile Configuration


6.1.1 commit
Command Syntax commit

Applicable Views DBA profile configuration view

This command is used to submit the current DBA profile


Description configuration. All parameter configurations for the DBA will take
effect only after the submission is successful using this command

[Configuration case]

Case1: Submit the current DBA profile configuration.


OLT(config-dba-profile-1)# commit
OLT(config-dba-profile-1)#

6.1.2 dba-profile
dba-profile {profile-id profile-id | profile-name profile-name}
Command Syntax
no dba-profile (profile-id profile-id | profile-name profile-name)

69
GPON OLT User Manual

Applicable Views config view

The Dynamic Bandwidth Assignment (DBA) profile defines the


upstream access bandwidth of an ONU. The bandwidth can be
dynamically configured based on actual service requirements.
The "dba-profile" command is used to add a new DBA profile or
enter an existing DBA profile. If the "dba-profile" command is used
Description
without any parameters, a new DBA profile is automatically created.
The bound DBA profile cannot be modified. To modify it, unbind it
first.
The "no dba-profile" command is used to delete an unnecessary DBA
profile. The default system DBA profile cannot be deleted.

DBA profile number, value range 0-128. If not specified, the system
automatically assigns the minimum free profile number. profile 0 is
profile-id
the default profile. The ONT that goes online automatically matches
profile 0

DBA profile name, which can be 1 to 64 characters long. If this


parameter is not specified, the system automatically uses the default
profile-name
"dba-profile_x" name, where x indicates the number of the DBA
profile.

[Configuration case]

Case1: Automatically create a new DBA profile and go to the DBA profile Configuration view.
OLT(config)# dba-profile
OLT(config-dba-profile-2)#
Case2: Delete a DBA profile based on profile-id.
OLT(config)# no dba-profile profile-id 20
DBA profile not found, DBA profile delete failed.
OLT(config)# no dba-profile profile-id 2
OLT(config)#

6.1.3 show dba-profile


show dba-profile (all | profile-id profile-id | profile-name
Command Syntax
profile-name)

Applicable Views enable view, config view, line profile configuration view

This command is used to show information about all/specific DBA


Description profiles that currently exist. If the queried DBA profile is not created,
an error message is showed.

70
GPON OLT User Manual

all You can show all current DBA profile information

DBA profile number, ranging from 0 to 128, by which you can view
profile-id
specific DBA profile information

DBA profile name, a string of 1 to 64 characters. You can view specific


profile-name
DBA profile information by profile name

[Configuration case]

Case1: Show the details of all DBA profiles currently configured for the OLT device.
OLT(config)# show dba-profile all
---------------------------------------------------------------
ID type Fix Assure Max bind name
(kbps) (kbps) (kbps) times
---------------------------------------------------------------
0 1 256 0 0 3 dba-profile_0
1 4 0 0 1024000 4 dba-profile_1
2 1 512 0 0 0 dba-profile_2
---------------------------------------------------------------
Total: 3
---------------------------------------------------------------
Case2: Show details of the OLT device's current configuration for a specific DBA profile.
OLT(config)show dba-profile profile-id 0
---------------------------------------------------------------
Profile-ID :0
Profile-name : dba-profile_0
type :1
Fix(kbps) : 256
Assure(kbps) :0
Max(kbps) :0
bind-times :3
---------------------------------------------------------------
OLT(config)# show dba-profile profile-id 3
ERROR: DBA profile get failed

6.1.4 show dba-profile current


Command Syntax show dba-profile current

Applicable Views DBA profile configuration view

This command is used to show the currently configured DBA profile


Description
details

71
GPON OLT User Manual

[Configuration case]

Case1: Show the details of the current configuration DBA profile.


OLT(config-dba-profile-2)# show dba-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : dba-profile_2
type :5
Fix(kbps) : 256
Assure(kbps) : 256
Max(kbps) : 128000
bind-times :0
---------------------------------------------------------------

6.1.5 type
type1 fix fix-bandwidth
type2 assure assure-bandwidth
type3 assure assure-bandwidth max max-bandwidth
Command Syntax
type4 max max-bandwidth
type5 fix fix-bandwidth assure
assure-bandwidth max max-bandwidth

Applicable Views DBA profile configuration view

This group of commands is used to configure a DBA bandwidth type.


Only one DBA bandwidth type can be configured in a DBA profile. If
Description
a new bandwidth type exists in the profile, the new bandwidth type
overwrites the old one.

Configure a DBA profile with a fixed bandwidth type. Fixed


bandwidth is completely reserved for a specific ONU or a specific
service on an ONU. This portion of bandwidth cannot be used by
type1
other ONUs even when there is no upstream traffic on the ONU.
Fixed bandwidth is mainly used for quality-sensitive services, such as
TDM and VoIP.

Configure a DBA profile whose type is guaranteed bandwidth.


Guaranteed bandwidth is the bandwidth that is guaranteed to be
available when the ONT needs to use bandwidth. When the actual
service traffic of the ONT does not reach the guaranteed bandwidth,
type2
the device's DBA mechanism should be able to allocate its remaining
bandwidth to other ONT services. Due to the need for the DBA
mechanism to control the allocation, its real-time performance is
less than that of the fixed bandwidth.

72
GPON OLT User Manual

Configure a DBA profile whose type is Guaranteed bandwidth +


Maximum bandwidth. The type3 type is a combination of
bandwidths. The type3 type allows users to preempt certain
type3
bandwidths, but the total value does not exceed the maximum
bandwidth configured by the user. This type of bandwidth is mainly
applied to VoIP and IPTV services.

Configure a DBA profile of type maximum bandwidth. The maximum


bandwidth is the upper limit of bandwidth that can be obtained
type4 when the ONT uses bandwidth, which maximizes the bandwidth
resources used by the ONT. The maximum bandwidth is used for
common Internet access services.

Configure type Fixed bandwidth + guaranteed bandwidth +


Maximum bandwidth DBA profile. The type5 type is a combination
of bandwidths. It reserves fixed bandwidth resources that cannot be
type5 preempted by other users and ensures guaranteed bandwidth when
required. At the same time, users are allowed to preempt certain
bandwidths, but the total does not exceed the maximum bandwidth
configured by the user.

Fixed bandwidth, ranging from 256-962400, in kbps. This portion of


fix-bandwidth bandwidth is allocated to a user. Even if the user does not use this
bandwidth, other users cannot use it.

The guaranteed bandwidth ranges from 256-962400 in kbps. This


portion of bandwidth is allocated to the user. If the user does not
assure-bandwidth
use this portion of bandwidth, other users can use this portion of
bandwidth.

Maximum bandwidth, ranging from 256-1244160 in kbps. This


bandwidth refers to the maximum bandwidth value that a user can
use.
In a type3 DBA profile, the maximum bandwidth must be greater
max-bandwidth
than or equal to the guaranteed bandwidth.
In a type5 type DBA profile, the maximum bandwidth must be
greater than or equal to the sum of the fixed and guaranteed
bandwidth.

[Configuration case]

Case1: Go to the DBA profile Configuration view and configure the DBA profile.
OLT(config)# dba-profile profile-id 2
OLT(config-dba-profile-2)# type5 fix 256 assure 256 max 128000
OLT(config-dba-profile-2)#

73
GPON OLT User Manual

6.2Line profile configuration


6.2.1 commit
Command Syntax commit

Applicable Views Line profile configuration view

This command is used to submit the current line profile


Description configuration. All parameter configurations for the line will take
effect only after the configuration is successfully submitted

[Configuration case]

Case1: Submit the current line profile configuration.


OLT(config-ont-lineprofile-1)# commit
OLT(config-ont-lineprofile-1)#

6.2.2 fec
Command Syntax fec (disable | enable)

Applicable Views Line profile configuration view

This command is used to enable or disable forward error correction


Description
(FEC) for ONT upstream streams. The default value is disable.

Disable the uplink FEC function on the line profile ONT. This keyword
disable is configured when the error correction capability of the line is not
high and some bandwidth resources need to be saved.

Enable the uplink FEC function on the line profile ONT. This
parameter is configured when the transmission signal of the network
enable
fiber is weak and the error correction capability of the line needs to
be enhanced.

[Configuration case]

Case1: Enables the uplink FEC function on the line profile ONT.
OLT(config-ont-lineprofile-1)# fec enable
OLT(config-ont-lineprofile-1)#

6.2.3 gem add


gem add gem-id tcont tcont-id {downstream-priority-queue
Command Syntax
downstream-priority-queue | encrypt (disable| enable) | gem-car

74
GPON OLT User Manual

traffic-profile-id | priority-queue upstream-priority-queue}

Applicable Views Line profile configuration view

The "gem add" command is used to bind the GEM Port to T-CONT
Description
and configure related properties in the ONT line profile.

GEM Port number. The value ranges from 1 to 30. It is used to specify
gem-id the GEM Port bound to the TCONT. The gem-id must be unique in
the same line profile.

The TCONT number, ranging from 1 to 7, is used to specify the


tcont-id TCONT bound to the GEM Port. The TCONT bound to the GEM Port
must already be created.

Downlink priority Queue number. The value ranges from 1 to 8,


downstream-priority-
which specifies the downlink priority of the GEM Index configured in
queue
the T-CONT.

Disable Data encryption switch, used to turn off encryption of data


disable
when creating a GEM Port.

Turn on the data encryption switch, which is used to turn on the


enable
encryption of data when creating a GEM Port.

Line traffic profile id. The value ranges from 1 to 256. Configure the
traffic-profile-id
downlink rate (traffic-table-id) of the GEM Port on the ONT.

Upstream scheduling priority Queue number. The value ranges from


upstream-priority-que
1 to 8. It is used to specify the upstream queue priority configured in
ue
the GEM Index T-CONT.

[Configuration case]

Case1: Create a new GEM Port and bind TCONT to it


OLT(config-ont-lineprofile-1)# tcont 1 dba-profile-id 1
OLT(config-ont-lineprofile-1)# gem add 1 tcont 1
Case2: Create a new GEM Port, bind TCONT to it, and configure its associated properties
OLT(config-ont-lineprofile-1)# tcont 2 dba-profile-id 1
OLT(config-ont-lineprofile-1)# gem add 2 tcont 2 downstream-priority-queue 1 en
crypt enable gem-car 1 priority-queue 1
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0

75
GPON OLT User Manual

------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
<Gem ID 2>
US-GEM-CAR : 1 DS-ENCRYPT-MODE : enable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------

6.2.4 gem delete


Command Syntax gem delete gem-id

Applicable Views Line profile configuration view

The "gem delete" command is used to delete the GEM Port created
Description
in the ONT line profile.

The GEM Port number, ranging from 1 to 30, is used to specify the
gem-id gem-ID to be deleted. The gem delete command can only delete an
existing gem-ID.

[Configuration case]

Case1: Delete an existing GEM Port.


OLT(config-ont-lineprofile-1)# gem delete 2
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable

76
GPON OLT User Manual

Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1

6.2.5 gem mapping


gem mapping gem-id mapping-index [vlan (vlan-id [priority priority]
| untagged | transparent) |priority priority [vlan vlan-id]|eth
Command Syntax
ont-port-id {vlan vlan-id | priority priority } ]
no gem mapping gem-id mapping-index

Applicable Views Line profile configuration view

The "gem mapping" command is used to set up the mapping


between the GEM Port and services on the ONT side, that is, the
mapping between the GEM Port and upstream data flows on the
ONT user interface. You can select a suitable service flow
transmission mode based on multiple mapping modes. After this
command is executed, the GEM Port maps data flows on the ONT
side and the corresponding GEM Port can be used to carry services.
The mapping mode configured by the gem mapping command must
be the same as the global mapping mode configured by the
mapping-mode command. When the mapping-mode command is
used to configure the global mapping to vlan mapping, you can use
Description
the gem mapping command to set only the VLAN keyword. In this
case, you can configure three vlan modes: VLAN-id, untagged, and
transparent.
When the mapping-mode command is used to configure the global
mapping to priority mapping, only the priority keyword can be
configured in the gem mapping command. When the mapping
relationship is set to vlan+priority by using the mapping-mode
command, both VLAN and priority must be configured in the gem
mapping command. In this case, only one vlan mode can be
specified: VLAN-id. When mapping-mode is used to configure the
global mapping to port mapping, the gem mapping can specify vlan

77
GPON OLT User Manual

and priority. In this case, if a VLAN is specified, only one VLAN mode
can be specified: VLAN-ID.
The "no gem mapping" command disables the mapping between
GEM Port and ONT services.

GEM Port ID. The value ranges from 1 to 30. It is used to specify the
gem-id GEM Port that needs to be mapped to services on the ONT or the
GEM Port that needs to be unmapped.

gem mapping Indicates the index number. The value ranges from 1 to
mapping-index 8. It is used to distinguish different service flows in the same GEM
Port.

VALN number. The value ranges from 1 to 4094. It is used to map the
vlan-id
traffic of the specified VLAN to a specific gem mapping index.

Priority level, ranging from 0 to 7, which specifies the priority carried


priority
by eth packets.

ONT eth port number. The value ranges from 1 to 8. It is used to map
ont-port-id the service flow of the ETH port on the ONT device to the specified
gem mapping index.

The untagged flow through function in mapped mode was enabled.


untagged After the untagged stream pass function is enabled, all untagged
frames on the gem mapping are sent to the OLT.

Enable the transparent transmission function in mapping mode.


transparent After transparent transmission is enabled, all services on the gem
mapping are transparently transmitted to the OLT.

[Configuration case]

Case1: Creates a service mapping relationship on the ONT whose GEM Port number is 1, gem

mapping index is 1, and VLAN transparent transmission is enabled.


OLT(config-ont-lineprofile-1)# mapping-mode vlan
OLT(config-ont-lineprofile-1)# gem mapping 1 1 vlan transparent
OLT(config-ont-lineprofile-1)# show ont-lineprofile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : lineprofile_1
Binding times :0
----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ

78
GPON OLT User Manual

Mapping mode : VLAN


TR069 management : Disable
TR069 IP index :0
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------
Mapping-ID VLAN Priority Port-ID
1 --
---------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
Case2: Creates a mapping with GEM Port number as 2, gem mapping index as 1, and mapping

mode as vlan+priority.
OLT(config-ont-lineprofile-1)# no gem mapping 1 1
OLT(config-ont-lineprofile-1)# mapping-mode vlan-priority
OLT(config-ont-lineprofile-1)# gem add 2 tcont 2
OLT(config-ont-lineprofile-1)# gem mapping 2 1 vlan 3 priority 7
OLT(config-ont-lineprofile-1)# show ont-lineprofile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : lineprofile_1
Binding times :0
----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode: VLAN + 802.1p PRI
TR069 management : Disable
TR069 IP index :0
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
---------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1

79
GPON OLT User Manual

<Gem ID 2>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------
Mapping-ID VLAN Priority Port-ID
One, three, seven -
-----------------------------------------------------------------------------
Case3: Creates a mapping with GEM Port number set to 1, gem mapping index set to 1,

mapping mode set to port, VLAN set to 3, and priority set to 7.


OLT(config-ont-lineprofile-1)# no gem mapping 2 1
OLT(config-ont-lineprofile-1)# mapping-mode port
OLT(config-ont-lineprofile-1)# gem mapping 1 1 eth 1 vlan 3 priority 7
OLT(config-ont-lineprofile-1)# show ont-lineprofile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : lineprofile_1
Binding times :0
----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode : PORT
TR069 management : Disable
TR069 IP index :0
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------
Mapping-ID VLAN Priority Port-ID
1371
---------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
<Gem ID 2>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------------

6.2.6 gem modify

80
GPON OLT User Manual

gem modify gem-id {tcont tcont-id | downstream-priority-queue


Command Syntax downstream-priority-queue | encrypt (disable | enable) | gem-car
traffic-profile-id | priority-queue upstream-priority-queue}

Applicable Views Line profile configuration view

The "gem modify" command is used to modify the binding


Description relationship and related properties of the GEM Port and T-CONT in
the ONT line profile.

The value ranges from 1 to 30. It is used to specify the gem-id to be


gem-id modified. The gem modify command can only modify an existing
gem-ID.

The TCONT number, ranging from 0 to 7, is used to respecify the


tcont-id TCONT bound to the GEM Port. The respecified TCONT must already
be created.

Downlink priority Queue number. The value ranges from 1 to 8. It is


downstream-priority-
used to respecify the downlink priority of the GEM Index configured
queue
in the T-CONT.

Data encryption switch, which is used to modify gem port data


encryption.
encrypt
disable: Disables the data encryption switch
enable: enables data encryption

Line traffic profile number. The value ranges from 1 to 256. It is used
traffic-profile-id
to re-specify the traffic profile bound to the gem port.

Upstream scheduling priority Queue number. The value ranges from


upstream-priority-que
1 to 8. It is used to respecify the upstream queue priority configured
ue
by GEM Index in the T-CONT.

[Configuration case]

Case1: Modify an existing GEM Port configuration, rebind TCONT and reconfigure related

properties.
OLT(config-ont-lineprofile-1)# tcont 3 dba-profile-id 0
OLT(config-ont-lineprofile-1)# gem modify 2 tcont 3 encrypt disable downstream-prio
rity-queue 2 gem-car 2 priority-queue 3
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0

81
GPON OLT User Manual

------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
<T-CONT 3> DBA-Profile ID : 0
<Gem ID 2>
US-GEM-CAR : 2 DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 3 DS-PRIORITY-QUEUE : 2
--------------------------------------------------------------------------------------------------

6.2.7 gemport
gemport gemport-id (tag-action vlan-transparent
|vlan vlan-id user-vlan user-vlan-id tag-action
Command Syntax (default|translate|transparent|translate-and-add inner-vlan
inner-vlan-id [inner-priority inner-priority]))
no gemport gemport-id tag-action

Applicable Views Line profile view

These commands are used to configure automatic generation rules


for associating virtual ports. The modes for automatically generating
virtual ports are vlan-transparent and automatic stream creation.
The default mode for generating virtual ports is vlan-transparent.
Modified the rule of automatic generation of associated virtual
ports. The onu associated virtual ports that reference the line profile
Description are also updated.
"no gemport gemport-id tag-action" is used to delete the virtual port
generation rule for the specified gemport. Note: If gemport is 1 and
cannot be deleted, it will be restored to the default virtual port
generation rule of the line profile; The default virtual port generation
rule for line profiles<0>is vlan1 transparent transmission; The default
virtual port generation rules for other line profiles are

82
GPON OLT User Manual

vlan-transparent.
Note: If "gem delete <gem-id>" is used, the associated gemport
virtual port generation rule is also deleted.

gemport-id Specify the GEM Port id to be created, ranging from 1 to 30

In QINQ mode, the C-VLAN carried by the user side remains


unchanged, and an S-VLAN is added. If vlans are set in the new
default 16Port/8Port GPON OLT to distinguish different services, and you do
not want to change the VLAN tag of the packets on the user side. Use
this mode.

Convert the user-carried C-VLAN to S-VLAN by performing a Layer 1


VLAN switch. This mode is used when only the Layer 1 VLAN tag can
translate identify the user service and the service VLAN configured on the new
16Port/8Port GPON OLT is different from the VLAN in the user side
packet.

Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side from layer 1 VLAN to S-VLAN, and then add another
layer inner-vlan to form Layer S+C uplink vlans. This mode is used
when two layers of VLAN tags are required to identify user services
translate-and-add (for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user packets are different from the vlans
planned on the new 16Port/8Port GPON OLT.
Inner-vlan: indicates the inner VLAN after switchover. You can specify
an inner VLAN when the processing mode is translator-and-add.

Transparent transmission mode without VLAN change. The C-VLAN


carried by the user side directly acts as the S-VLAN upstream. This
transparent mode can be used if the vlans planned for identifying different
services on the new 16Port/8Port GPON OLT are the same as those
for user-side packets.

vlan-transparent Transparent Vlan transmission mode.

Service VLAN, which uniquely identifies a VLAN. Value range: 1 to


vlan-id
4094

User-side VLAN ID. This parameter is used when users need to be


user-vlan-id distinguished by the user-side VLAN. The value ranges from 1 to
4094

inner-vlan-id Inner-vlan: The inner VLAN after switching. Value range: 1 to 4094

inner-priority The value ranges from 0 to 7. The default value is 0

83
GPON OLT User Manual

[Configuration case]

Case1: In line profile 1, configure the virtual port mode generated by gemport 1 to full

transparent transmission.
OLT(config-ont-lineprofile-1)# gemport 1 tag-action vlan-transparent
OLT(config-ont-lineprofile-10)#

6.2.8 mapping-mode
Command Syntax mapping-mode (port | priority | vlan | vlan-priority)

Applicable Views Line profile configuration view

This command is used to configure the mapping between the GEM


Port and the services on the ONT side. After the global mapping is
Description configured, you must configure the mapping between the GEM Port
and the services on the ONT side when you use the gem mapping
command. The default mode is vlan.

port Configure the global mapping to map by port ID.

priority Configure the global mapping to map by priority.

vlan Configure the global mapping to map by VLAN.

vlan-priority Configure global mapping by VLAN+ priority.

[Configuration case]

Case1: Creates a mapping between the global GEM Port and services on the ONT side.
OLT(config-ont-lineprofile-1)# mapping-mode port
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : PORT

6.2.9 no gem gem-car


Command Syntax no gem gem-car gem-id

84
GPON OLT User Manual

Applicable Views Line profile configuration view

Description This command is used to unbind a gem port from a traffic profile.

GEM Port ID. The value ranges from 1 to 30. It is used to specify the
gem-id
GEM Port that unbinds the traffic profile.

[Configuration case]

Case1: Unbind the traffic profile of a GEM Port that has been bound to a traffic profile.
OLT(config-ont-lineprofile-1)# no gem gem-car 2
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<Gem ID 2>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

6.2.10 omcc encrypt


Command Syntax omcc encrypt (disable | enable)

Applicable Views Line profile configuration view

This command is used to configure the status of the ONT OMCC(Ont


Description Management and Control Channel) encryption switch. When the
OMCC encryption switch is enabled, the ONT OMCC channel is

85
GPON OLT User Manual

encrypted. The default value is off.

disable Disable OMCC encryption on ONT.

enable Enable OMCC encryption for ONT.

[Configuration case]

Case1: Enable OMCC encryption on ONT.


OLT(config-ont-lineprofile-1)# omcc encrypt enable
OLT(config-ont-lineprofile-1)#

6.2.11 ont-line-profile
ont-line-profile gpon {profile-id profile-id | profile-name
Command Syntax profile-name}
no ont-line-profile (profile-id profile-id | profile-name profile-name)

Applicable Views config view

The line profile defines how to create and configure the logical
communication lines between the OLT device and the ONU device.
The related properties of the ONT line are configured in the line
profile in a centralized manner. For the same ONT, you only need to
configure it once, saving configuration work.
The "ont-line-profile" command is used to add a new line profile or
enter an existing line profile. If the ont-line-profile gpon command is
Description
used without any parameters, a new line profile is automatically
created. Line profile 0 is the default line profile. The ont-line profile
automatically matches line profile 0.
The "no ont-line-profile" command is used to delete an unnecessary
line profile. The default line profile provided by the system cannot be
deleted. The GPON ONT line profile cannot be deleted if it has been
bound to the ONT.

ONT line profile number, which identifies a line profile. The value
ranges from 0 to 512. If no ONT profile number is specified, the
profile-id system automatically assigns the minimum free profile number. Line
profile 0 is the default profile. The ONT that goes online
automatically matches line profile 0

ONT line profile name. The name can contain 1 to 64 characters. The
profile-name default profile name is lineprofile_x, where the "x" is the actual
profile number.

[Configuration case]

86
GPON OLT User Manual

Case1: Automatically create a new line profile and go to the Line profile Configuration view.
OLT(config)# ont-line-profile gpon
OLT(config-ont-lineprofile-3)#
Case2: Deletes a line profile according to profile-id.
OLT(config)# no ont-line-profile profile-id 4
Error: Unknown err code=2
line profile delete failed.
OLT(config)# no ont-line-profile profile-id 3
OLT(config)#

6.2.12 qos-mode
Command Syntax qos-mode (flow-car | gem-car | priority-queue)

Applicable Views Line profile configuration view

This command is used to configure the QoS mode in the ONT line
profile. This command is used when you need to provide end-to-end
quality assurance to users and control the upstream data flow of the
ONT user interface mapped to the GEM Port using the gem mapping
command. By default, the QoS mode of ONT in the GPON ONT line
Description profile is priority-queue mode.
Traffic flow control mode (flow-CAR) has the smallest flow control
(based on individual traffic flows), and GEM flow control mode
(GEM-CAR) has the second smallest flow control (based on GEM
Port). priority-queue is a scheduling mode based on GEM Port
packets, while the first two modes are flow-controlled modes.

Service flow control mode. Select this mode, ONT based on the GEM
Port of each traffic flow to do flow control processing, control
intensity is finer than the GEM flow control mode, the traffic flow to
flow-car
do flow control processing is completed, and then in the T-CONT
queue for scheduling, scheduling mode depends on the ONT
configuration scheduling mode.

GEM flow control mode. If this mode is selected, the ONT


implements traffic control based on the GEM Port. If a T-CONT
gem-car contains multiple GEM ports, the scheduling mode of data packets
between GEM ports depends on the scheduling mode configured on
the ONT.

Priority queue scheduling mode. If this mode is selected, the user


specifies the sending queue of GEM Port packets in the T-CONT.
priority-queue
When the T-CONT sends upstream data, the GEM Port packets are
sent according to the strict queue priority.

87
GPON OLT User Manual

[Configuration case]

Case1: Configure the QoS mode in the line profile to GEM flow control mode.
OLT(config-ont-lineprofile-1)# qos-mode gem-car
OLT(config-ont-lineprofile-1)#

6.2.13 show ont-line-profile


show ont-line-profile gpon (all | profile-id profile-id | profile-name
Command Syntax
profile-name)

Applicable Views enable view, config view

This command is used to show information about all existing or


Description specific line profiles. If the line profile is not created, an error
message is showed.

all You can view all current line profile information

ONT line profile number. The value ranges from 0 to 512. You can
profile-id
view information about a specific line profile by profile number

ONT line profile name. The value is a string of 1 to 64 characters. You


profile-name
can view line profile information by profile name

[Configuration case]

Case1: Show all line profiles configured on the OLT device.


OLT(config)# show ont-line-profile gpon all
---------------------------------------------------------------
Profile-ID Binding times Profile-name
---------------------------------------------------------------
0 0 line-profile_0
1 0 line-profile_1
---------------------------------------------------------------
Total: 2
---------------------------------------------------------------
Case2: Show details about a specific line profile that is currently configured on an OLT device.
OLT(config)# show ont-line-profile gpon profile-id 1
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable

88
GPON OLT User Manual

OMCC encrypt : Disable


Qos mode : PQ
Mapping mode : VLAN
TR069 management : Enable
TR069 IP index :1
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

6.2.14 show ont-line-profile current


Command Syntax show ont-line-profile current

Applicable Views Line profile configuration view

This command is used to show the currently configured line profile


Description
details

[Configuration case]

Case1: Show the details of the current configuration line profile.


OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Enable
TR069 IP index :1
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------

89
GPON OLT User Manual

--------------------------------------------------------------------------------------------------------

6.2.15 tcont
tcont tcont-id (dba-profile-id profile-id | dba-profile-name
Command Syntax profile-name)
no tcont tcont-id

Applicable Views Line profile configuration view

The "tcont" command is used to bind TCONT to the DBA profile. Only
the TCONT bound to the DBA profile can bear services. The TCONT
provides flexible and dynamic bandwidth allocation schemes based
Description on different configurations in the DBA profile.
The "no tcont" command is used to delete the tcont based on the
tcont number. The default tcont cannot be deleted, but you can
modify the bound DBA profile.

The TCONT number, ranging from 0 to 7, can be used to


tcont-id
create/delete a tcont

Specify the dba profile id that tcont needs to bind. The dba profile
profile-id
needs to be created in advance. The value ranges from 0 to 128

This parameter specifies the name of the dba profile to be bound to


profile-name tcont. The dba profile must be created in advance. The value
contains 1 to 64 characters

[Configuration case]

Case1: Create a new TCONT and bind the DBA profile for it
OLT(config-ont-lineprofile-3)# tcont 3 dba-profile-id 1
OLT(config-ont-lineprofile-3)#
Case2: Deletes TCONT by tcont-ID
OLT(config-ont-lineprofile-3)# no tcont 4
Error: The specified T-CONT index does not exist.
Tcont delete failed.
OLT(config-ont-lineprofile-3)# no tcont 3
OLT(config-ont-lineprofile-3)#

6.3Line profile discrete configuration


6.3.1 ont fec
Command Syntax ont fec port-id ont-id (disable | enable)

90
GPON OLT User Manual

Applicable Views GPON view

This command is used to discretely configure the upstream stream


Description
forward error correction (FEC) function of a specified ONT.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Disable the uplink FEC function on the line profile ONT. This keyword
disable is configured when the error correction capability of the line is not
high and some bandwidth resources need to be saved.

Enable the uplink FEC function on the line profile ONT. This
parameter is configured when the transmission signal of the network
enable
fiber is weak and the error correction capability of the line needs to
be enhanced.

[Configuration case]

Case1: Enables the uplink FEC function on the line profile ONT.
OLT(config-gpon-0/0)# ont fec 1 1 enable
OLT(config-gpon-0/0)#

6.3.2 ont gemport


ont gemport port-id ont-id gemport-id (tag-action vlan-transparent
|vlan vlan-id user-vlan user-vlan-id tag-action
(default|translate|transparent|translate-and-add inner-vlan
Command Syntax
inner-vlan-id [inner-priority inner-priority]))

no ont gemport port-id ont-id gemport-id tag-action

Applicable Views GPON view

The "ont gemport" command is used to configure a rule for


automatically generating virtual ports for ONT devices connected to
the specified PON port. The modes for automatically generating
virtual ports are vlan-transparent and automatic stream creation.
The default mode for generating virtual ports is vlan-transparent.
Description Modified the rule of automatic generation of associated virtual
ports. The onu associated virtual ports that reference the line profile
are also updated.
"no ont gemport tag-action" is used to delete the virtual port
generation rule of the specified gemport. Note: If the value of
gemport is 1, it cannot be deleted. The default virtual port

91
GPON OLT User Manual

generation rule is restored. The default virtual port generation rule is


vlan-transparent (transparent transmission).
Note: If you use the "no ont port-id ont-id gemport" command to
delete gemport, the associated gemport virtual port generation rule
will also be deleted.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

gemport-id Specify the GEM Port id to be created, ranging from 1 to 30

In QINQ mode, the C-VLAN carried by the user side remains


unchanged, and an S-VLAN is added. If vlans are set in the new
default 16Port/8Port GPON OLT to distinguish different services, and you do
not want to change the VLAN tag of the packets on the user side. Use
this mode.

Convert the user-carried C-VLAN to S-VLAN by performing a Layer 1


VLAN switch. This mode is used when only the Layer 1 VLAN tag can
translate identify the user service and the service VLAN configured on the new
16Port/8Port GPON OLT is different from the VLAN in the user side
packet.

Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side from layer 1 VLAN to S-VLAN, and then add another
layer inner-vlan to form Layer S+C uplink vlans. This mode is used
when two layers of VLAN tags are required to identify user services
translate-and-add (for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user packets are different from the vlans
planned on the new 16Port/8Port GPON OLT.
Inner-vlan: indicates the inner VLAN after switchover. You can specify
an inner VLAN when the processing mode is translator-and-add.

Transparent transmission mode without any VLAN change. The


C-VLAN carried by the user side directly acts as the S-VLAN
transparent upstream. This mode can be used if the vlans planned for identifying
different services on the new 16Port/8Port GPON OLT are the same
as those for user-side packets.

vlan-transparent Transparent Vlan transmission mode.

Service VLAN, which uniquely identifies a VLAN. Value range: 1 to


vlan-id
4094

User-side VLAN ID. This parameter is used when users need to be


user-vlan-id
distinguished by the user-side VLAN. The value ranges from 1 to

92
GPON OLT User Manual

4094

inner-vlan-id Inner-vlan: The inner VLAN after switching. Value range: 1 to 4094

inner-priority The value ranges from 0 to 7. The default value is 0

[Configuration case]

Case1: Configures the service virtual port on ONT 1 at port PON1 in slot 0 for transparent

transmission of all vlans.


OLT(config-gpon-0/0)# ont gemport 1 1 1 tag-action vlan-transparent
OLT(config-gpon-0/0)#
Case2: Configure the service virtual port whose vlan mapping mode is translator-and-add for

ONT 2 in port PON1 in slot 0. The C-VLAN before mapping is 10, the inner vlan after mapping is

20, the VLAN priority is 7, and the S-VLAN after mapping is 30.
OLT(config-gpon-0/0)# ont gemport1 2 1 vlan 30 user-vlan 10 tag-action translation-and-add
inner-vlan 20 inner-priority 7
OLT(config-gpon-0/0)#

6.3.3 ont gemport mapping


ont gemport mapping port-id ont-id gemport-id mapping-index [vlan
(vlan-id [priority priority] | untagged | transparent) |priority
priority [vlan vlan-id]|eth ont-port-id {vlan vlan-id | priority
Command Syntax
priority } ]

no ont gemport mapping port-id ont-id gemport-id mapping-index

Applicable Views GPON view

The "gem mapping" command is used to set up the GEM mapping


for the ONT device on the specified PON Port. After the GEM
mapping is set up, the upstream data flows of the ONT user can be
mapped to the specified GEM Port. In this way, the OLT device
interacts with the specified ONU device through the GEM Port.
The service mapping configured in gemport mapping on the ONT
Description device must be the same as that configured in mapping-mode on the
ONT device. When mapping-mode is set to vlan mapping, you can
configure only VLAN mapping in gemport mapping. In this case, you
can configure VLAN-ID, untagged, and transparent vlan modes.
When mapping-mode is set to by priority, only priority can be set in
the gemport mapping command. When the mapping mode of
mapping-mode is set to VLAN+ priority, only vlan+priority can be set

93
GPON OLT User Manual

in gemport mapping. In this case, only the specific VLAN-ID vlan


mode can be configured. When mapping-mode is set to port ID,
VLAN and priority can be specified in gemport mapping. If VLAN is
specified, only VLAN-ID can be specified in the VLAN mode.
The "no ont gemport mapping" command cancellations the gem
mapping of the specified ONT device.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

The GEM Port number, ranging from 1 to 30, is used to specify the
gemport-id
GEM Port bound to the TCONT.

gem mapping Indicates the index number. The value ranges from 1 to
mapping-index 8. It is used to distinguish different service flows in the same GEM
Port.

The untagged flow through function in mapped mode was enabled.


untagged After the untagged stream pass function is enabled, all untagged
frames on the gem mapping are sent to the OLT.

Enable the transparent transmission function in mapping mode.


transparent After transparent transmission is enabled, all services on the gem
mapping are transparently transmitted to the OLT.

Uplink scheduling priority queue number. The value ranges from 1 to


ont-port-id 8. It specifies the priority of the GEM Port's uplink data flow in the
T-CONT uplink queue.

VALN number. The value ranges from 1 to 4094. It is used to map the
vlan-id
traffic of the specified VLAN to a specific gem mapping index.

Priority level, ranging from 0 to 7, which specifies the priority carried


priority
by eth packets.

[Configuration case]

Case1: Creates a service mapping relationship on the ONT with the GEM Port number as 1,

gemport mapping index as 1, and VLAN transparent transmission function for the ONT device

at port PON1 in slot 0.


OLT(config-gpon-0/0)# ont mapping-mode 1 1 vlan
OLT(config-gpon-0/0)# ont gemport mapping 1 1 1 1 vlan transparent
OLT(config-gpon-0/0)#
Case2: Creates a mapping for ONT 1 at Port PON1 in slot 0. The GEM Port number is 2, the

94
GPON OLT User Manual

gemport mapping index is 1, and the mapping mode is vlan+priority.


OLT(config-gpon-0/0)# ont mapping-mode 1 1 vlan-priority
OLT(config-gpon-0/0)# ont gemport mapping 1 1 2 1 vlan 100 priority 3
OLT(config-gpon-0/0)#
Case3: Creates a mapping for ONT 2 at Port PON1 in slot 0. The GEM Port number is 1, the

gemport mapping index is 1, and the mapping mode is port.


OLT(config-gpon-0/0)# ont mapping-mode 1 2 port
OLT(config-gpon-0/0)# ont gemport mapping 1 2 1 1 eth 1
OLT(config-gpon-0/0)#
Case4: unmaps the GEM Port number to 1 and gemport mapping index to 1 for ONT 1 at port

PON1 in slot 0.
OLT(config-gpon-0/0)# no ont gemport mapping 1 1 1 1
OLT(config-gpon-0/0)#

6.3.4 ont gemport tcont


ont gemport port-id ont-id gemport-id tcont tcont-id {gem-car
traffic-profile-id | encrypt (disable | enable) | priority-queue
upstream-priority-queue | downstream-priority-queue
Command Syntax
downstream-priority-queue}

no ont gemport port-id ont-id gemport-id [gem-car]

Applicable Views GPON view

The "ont gemport tcont" command is used to create or modify the


GEM Port for the ONT device connected to the specified PON Port,
and configure the binding relationship and related properties
Description
between the GEM Port and T-CONT.
The "no ont gemport" command is used to delete the gemport of a
specified ont.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

The GEM Port number, ranging from 1 to 30, is used to create a GEM
gemport-id
Port or delete an existing one.

TCONT ID. The value ranges from 0 to 7, which specifies the TCONT
tcont-id bound to the GEM Port. The TCONT bound to the GEM Port must
already be created.

traffic-profile-id The line traffic profile number, ranging from 1 to 256, is used to bind

95
GPON OLT User Manual

an existing traffic profile to the created GEM Port or to delete a


traffic profile bound to the GEM Port.

Disable Data encryption switch, used to turn off encryption of data


disable
when creating a GEM Port.

Turn on the data encryption switch, which is used to turn on the


enable
encryption of data when creating a GEM Port.

Upstream scheduling priority Queue number. The value ranges from


upstream-priority-que
1 to 8. It is used to specify the priority of the GEM Port upstream data
ue
flow in the T-CONT upstream queue.

Downlink priority Queue number. The value ranges from 1 to 8,


downstream-priority-
which specifies the priority of the GEM Port's downlink data flow in
queue
the T-CONT downlink queue.

[Configuration case]

Case1: Configure the GEM Port for ONT 1 at port PON1 in slot 0.
OLT(config-gpon-0/0)# ont gemport 1 1 1 tcont 1 gem-car 10 encrypt disable downstre
am-priority-queue 7 priority-queue 7
OLT(config-gpon-0/0)#
Case2: Deletes the traffic profile bound to GEM Port1 of ONT device No. 1 at port PON1 in slot

0.
OLT(config-gpon-0/0)# no ont gemport 1 1 1 gem-car
OLT(config-gpon-0/0)#

6.3.5 ont mapping-mode


Command Syntax ont mapping-mode port-id ont-id (vlan|priority|vlan-priority|port)

Applicable Views GPON view

This command is used to configure the mapping mode of ONT


services for the ONT devices connected to the specified PON port.
Description The ONT device interacts with the OLT device through the GEM Port
through the configured service mapping mode. The default service
mapping mode is VLAN mapping.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

vlan Configure the service mapping mode to by VLAN.

96
GPON OLT User Manual

priority Configure the service mapping mode to mapping by priority.

vlan-priority Configure the service mapping mode to map by VLAN+ priority.

port Configure the service mapping mode to map by port ID.

[Configuration case]

Case1: indicates that the service mapping mode is based on the port ID of the ONT 1 device at

port PON1 in slot 0.


OLT(config-gpon-0/0)# ont mapping-mode 1 1 port
OLT(config-gpon-0/0)#

6.3.6 ont omcc encrypt


Command Syntax ont omcc encrypt port-id ont-id (disable| enable)

Applicable Views GPON view

This command is used to discretely configure the status of the Ont


Management and Control Channel (OMCC) encryption switch on a
Description
specified Ont. When the OMCC encryption switch is enabled, the
ONT OMCC channel is encrypted.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

disable Disable OMCC encryption on ONT.

enable Enable OMCC encryption for ONT.

[Configuration case]

Case1: Enable OMCC encryption on ONT.


OLT(config-gpon-0/0)# ont omcc encrypt 1 1 enable
OLT(config-gpon-0/0)#

6.3.7 ont qos-mode


Command Syntax ont qos-mode port-id ont-id (flow-car | gem-car | priority-queue)

Applicable Views GPON view

This command is used to discretely configure the QoS mode of a


Description specified ONT. This command is used when you need to provide
end-to-end quality assurance to users to control the traffic of the

97
GPON OLT User Manual

upstream data flow on the ONT user interface mapped to the GEM
Port using the "gem mapping" command. By default, the QoS mode
of the ONT is priority-queue.
The flow control mode (flow-CAR) has the smallest flow control
(based on individual traffic flows), and the GEM flow control mode
(GEM-CAR) has the second smallest flow control (based on GEM
Port). priority-queue is a scheduling mode based on GEM Port
packets, while the first two modes are flow-controlled modes.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Service flow control mode. Select this mode, ONT based on the GEM
Port of each traffic flow to do flow control processing, control
intensity is finer than the GEM flow control mode, the traffic flow to
flow-car
do flow control processing is completed, and then in the T-CONT
queue for scheduling, scheduling mode depends on the ONT
configuration scheduling mode.

GEM flow control mode. If this mode is selected, the ONT


implements traffic control based on the GEM Port. If a T-CONT
gem-car contains multiple GEM ports, the scheduling mode of data packets
between GEM ports depends on the scheduling mode configured on
the ONT.

Priority queue scheduling mode. If this mode is selected, the user


specifies the sending queue of GEM Port packets in the T-CONT.
priority-queue
When the T-CONT sends upstream data, the GEM Port packets are
sent according to the strict queue priority.

[Configuration case]

Case1: Configure the QoS mode of the specified ont to GEM traffic control.
OLT(config-gpon-0/0)# ont qos-mode 1 1 gem-car
OLT(config-gpon-0/0)#

6.3.8 ont tcont


ont tcont port-id ont-id tcont-id (dba-profile-id profile-id |
Command Syntax dba-profile-name profile-name)
no ont tcont port-id ont-id tcont-id

Applicable Views GPON view

Description This command is used to bind TCONT to the DBA profile for the ONT

98
GPON OLT User Manual

device on the PON port and configure a dynamic bandwidth


allocation scheme for the ONT device.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

tcont ID. The value ranges from 0 to 7. It can be used to create or


tcont-id
delete TCONTs.

Specify the dba profile id that tcont needs to bind. The dba profile
profile-id
needs to be created in advance. The value ranges from 0 to 128

Specify the name of the dba profile that tcont needs to bind. The dba
profile-name profile needs to be created in advance. The string length ranges from
1 to 64

[Configuration case]

Case1: Create a TCONT numbered 1 for ONT device number 1 on port PON1 in slot 0, and bind

a DBA profile numbered 0 to the created TCONT.


OLT(config-gpon-0/0)# ont tcont 1 1 1 dba-profile-id 0
OLT(config-gpon-0/0)#
Case2: Deletes the TCONT numbered 1 of ONT device No. 1 at port PON1 in slot 0.
OLT(config-gpon-0/0)# no ont tcont 1 1 1
OLT(config-gpon-0/0)#

6.4Service profile configuration


6.4.1 commit
Command Syntax commit

Applicable Views service profile configuration view

This command is used to submit the configuration of the current


Description service profile. All parameter configurations of the service profile
take effect only after the configuration is successfully submitted

[Configuration case]

Case1: Submit the current service profile configuration.


OLT(config-srv-profile-1)# commit
OLT(config-srv-profile-1)#

6.4.2 loopdetect

99
GPON OLT User Manual

loopdetect (disable | enable) {detect-frequency detect-frequency|


Command Syntax auto-shutdown (disable | enable) | resume-interval
resume-interval}

Applicable Views Business profile configuration view

This command is used to configure Settings related to ring detection.


To handle the ring network in the network and prevent the impact of
the ring network on services, you need to detect the user-side ring
Description
network. After the user-side ring detection function is enabled, the
system automatically detects the user-side ring network. By default,
the ring detection function is disabled.

disable Disable the user side ring detection function.

enable Enable the user side ring network detection function.

detect-frequency The value ranges from 1 to 20, expressed in pps.

The user side loop detection function is automatically disabled. The


auto-shutdown
default value is on.

Automatic activation interval The value ranges from 60 to 43,200


seconds. This parameter is used to configure the automatic
activation interval of the port, ONT, and CNU in ring network
resume-interval detection. When detecting the ring network, the system
automatically activates the port, ONT, and CNU at the sending end of
the ring network detection packet after the set automatic activation
interval.

[Configuration case]

Case1: Enable the user side ring detection function.


OLT(config-srv-profile-2)# loopdetect enable
OLT(config-srv-profile-2)#

6.4.3 mac-aging
Command Syntax mac-aging (aging-time | no-aging)

Applicable Views Business profile configuration view

This command is used to configure the mac address aging time of the
Description
ONT. The default value is 300 seconds.

Aging time of a MAC address. The value ranges from 10 to 1000000,


aging-time
in seconds.

100
GPON OLT User Manual

no-aging No-aging option for MAC addresses.

[Configuration case]

Case1: Enables the ONT service profile to disable MAC address aging.
OLT(config-srv-profile-2)# mac-aging no-aging
OLT(config-srv-profile-2)#

6.4.4 mac-learning
Command Syntax mac-learning (disable | enable)

Applicable Views Configure the view for the service profile

This command is used to enable or disable mac address learning on


Description the ONT device. The default value is enable MAC address learning on
the ONT device.

disable The MAC address learning function of the ONT device is disabled.

enable Enable the MAC address learning function of the ONT device.

[Configuration case]

Case1: Disables the MAC address learning function of the ONT device.
OLT(config-srv-profile-2)# mac-learning disable
OLT(config-srv-profile-2)#

6.4.5 multicast fast-leave


Command Syntax multicast fast-leave (disable|enable)

Applicable Views Business profile configuration view

This command is used to enable fast multicast exit on an ONT device.


This command is available only when the multicast mode is not set
Description
to unconcern. The multicast fast leave function on ONT devices is
disabled by default.

Disable the multicast fast exit function on ONT devices. After fast
multicast exit is disabled on the ONT device, the ONT sends a group
query to confirm the online status of the user after receiving the
disable group exit message. If no report message is received after the group
query period expires, the ONT considers the user offline and updates
the local multicast entry. This parameter is used when the user does
not need to change the channel at a faster speed.

101
GPON OLT User Manual

Enable the ONT device multicast Fast Leave function. After the fast
multicast exit function is enabled on the ONT device, the ONT
immediately updates the local multicast entry according to the
enable outgoing multicast message after receiving the outgoing multicast
message, without sending a specific group query message to confirm
whether the user is indeed offline. This parameter is used when the
user needs to switch channels at a faster speed.

[Configuration case]

Case1: Enable the fast exit function for multicast.


OLT(config-srv-profile-2)# multicast fast-leave enable
OLT(config-srv-profile-2)#

6.4.6 multicast mode


Command Syntax multicast mode (snooping|proxy|unconcern)

Applicable Views Business profile configuration view

This command is used to configure the IGMP mode of a multicast


VLAN. Only when the IGMP mode of the multicast VLAN is proxy or
snooping, the system captures the IGMP packets of the multicast
Description
programs of the VLAN for software processing and normal multicast
services are implemented. By default, the IGMP mode of a multicast
VLAN is unconcern.

Configure the IGMP mode of the multicast VLAN to IGMP snooping.


IGMP snooping stands for multicast listening. IGMP snooping uses
IGMP messages that listen to the communication between users and
snooping multicast routers to obtain information and maintain multicast
forwarding entries. The system does not process the multicast
packets that belong to the multicast VLAN, but transmits them
transparently.

Configure the IGMP mode of the multicast VLAN to IGMP proxy.


IGMP proxy is the multicast proxy. The IGMP proxy intercepts IGMP
packets between users and multicast routers, processes them, and
then forwards them to the upper-layer multicast router. From the
proxy
user's point of view, the system is equivalent to a multicast server;
From the point of view of the upper layer device, the system is
equivalent to a multicast user. IGMP proxy mode reduces the
multicast protocol packet traffic on the network side.

Disable the IGMP function of the multicast VLAN. When the IGMP
unconcern
function is turned off, a multicast user will not be able to watch

102
GPON OLT User Manual

programs in that multicast VLAN.

[Configuration case]

Case1: Configure the IGMP mode of the multicast VLAN to snooping.


OLT(config-srv-profile-2)# multicast mode snooping
OLT(config-srv-profile-2)#

6.4.7 native-vlan
Command Syntax native-vlan (concern | unconcern)

Applicable Views Configure the view for the service profile

This command is used to configure whether the ONT pays attention


to the Native VLAN in an ONT service profile. If Native VLAN is
specified, a Native VLAN is added to the Untaged packets on the user
Description
side. If the user does not pay attention to the Native VLAN, the user
does not add a Native VLAN to the Untaged packet. By default, ONT
pays attention to the Native VLAN (concern).

concern Configure the Native VLAN option to Concern.

unconcern Configure the Native VLAN option to Unconcern.

[Configuration case]

Case1: Configure the Native VLAN option of the ONT service profile to unfollow.
OLT(config-srv-profile-2)# native-vlan unconcern
OLT(config-srv-profile-2)#

6.4.8 ont-port
ont-port {eth (eth-port | adaptive) | catv (catv-port | adaptive) |
Command Syntax
pots (pots-port | adaptive) | iphost (iphost -port | adaptive)}

Applicable Views Business profile configuration view

This command is used to configure the port capability set in the ONT
service profile, that is, to configure the number of ports for each
type of port on the ONT. This command is used when the ONT needs
Description to configure the number of ports on the ONT in the service profile
bound to the ONT service profile. If you run this command, the
number of ports you set must be the same as the actual number of
ONT ports. Otherwise, the status of the ONT port is mismatch.

eth-port Number of Ethernet ports on ONT. The value ranges from 0 to 24.

103
GPON OLT User Manual

catv-port Number of CATV ports on ONT. The value ranges from 0 to 8.

pots-port POTS port number on the ONT. The value ranges from 0 to 8.

iphost -port Number of iphost ports on the ONT. The value ranges from 0 to 2.

The number of ports is adaptive and automatically matched


adaptive
according to the number of ports reported by the ONT.

[Configuration case]

Case1: Configure an ONT port capability set with the number of eth ports as 4, POTS ports as 2,

CATV ports as well as iphost ports as the number of adaptive.


OLT(config-srv-profile-2)# ont-port eth 4 pots 2 catv adaptive iphost adaptive
OLT(config-srv-profile-2)#

6.4.9 ont-srv-profile
ont-srv-profile gpon {profile-id profile-id | profile-name
Command Syntax profile-name}
no ont-srv-profile (profile-id profile-id | profile-name profile-name)

Applicable Views config view

The service profile is used to configure the actual ONT capabilities


and service parameters. The service attributes of the ONT are
configured in the profile. You only need to configure the ONT for the
same service once, saving the configuration workload.
The "ont-srvprofile gpon" command is used to create and enter the
GPON ONT service profile mode or enter an existing GPON ONT
service profile mode. If the ont-srv-profile gpon command is used
without any parameters, a new gpON profile is automatically
created. Service profile 0 is the default profile of the system. When
Description an ONT is added, the GPON ONT service profile needs to be bound. If
this parameter is not specified, the system automatically binds the
ONT to the default profile 0. After the command is executed
successfully, the configuration mode of the GPON ONT service profile
is showed. You can configure the properties of the GPON ONT
service profile.
The "no ont-srv-profile" command is used to delete an unnecessary
service profile. The default line profile cannot be deleted. The GPON
ONT service profile cannot be deleted if it has been bound to the
ONT.

ONT service profile ID, which identifies a service profile. The value
profile-id
ranges from 0 to 512. If this parameter is not specified, the system

104
GPON OLT User Manual

automatically assigns the minimum idle profile number. Service


profile 0 is the default profile. The ONT that goes online
automatically matches service profile 0

ONT service profile name, which can contain 1 to 16 characters. The


profile-name default profile name is srv-profile_x, where the "x" is the actual
profile number.

[Configuration case]

Case1: Automatically create a new service profile and enter the service profile Configuration

view.
OLT(config)# ont-srv-profile gpon
OLT(config-srv-profile-2)#
Case2: Deletes a service profile based on profile-id.
OLT(config)# no ont-srv-profile profile-id 2
OLT(config)#
OLT(config)# no ont-srv-profile profile-id 0
% Unknown command.

6.4.10 ont-type
ont-type force (hgu | sfu)
Command Syntax
no ont-type

Applicable Views Business profile configuration view

The "ont-type force" command is used to force the type of the ONT
device.
Description
The "no ont-type" command is used to configure the type of the ONT
device to the default adaptive type.

hgu Home Gateway Unit

sfu Single Family Unit

[Configuration case]

Case1: Configure the ONT device type to HGU.


OLT(config-srv-profile-2)# ont-type force hgu
OLT(config-srv-profile-2)#
Case2: Revert to the default configuration for the ONT device type.
OLT(config-srv-profile-2)# no ont-type
OLT(config-srv-profile-2)#

105
GPON OLT User Manual

6.4.11 port eth


port eth eth-list (max-frame-size max-frame-size | max-mac-count
Command Syntax
(max-mac-count | unlimited))

Applicable Views Business profile configuration view

The "port eth" command is used to configure the service attributes


of an Ethernet port in the ONU service profile. Before configuring the
Description
service attributes of an Ethernet port, you must run the ont-port
command to configure the number of Ethernet ports.

List of Ethernet ports (e.g.:1,3-5,8). The ports range from 1 to 24 and


eth-list can be used to configure the service properties of Ethernet ports in
batches.

The maximum frame length, which ranges from 1500-1996 and


max-frame-size defaults to 1518, is used to configure the maximum length of data
frames that an ONU Ethernet port can receive.

The maximum number of MAC addresses. The value ranges from 1 to


255. The default value is unlimited. When the number of MAC
max-mac-count
addresses learned by the ONU Ethernet port reaches this value, the
ONU Ethernet port will not learn new MAC addresses.

Indicates that the maximum number of MAC addresses is not


unlimited limited. The ONT port does not impose any limit on the number of
MAC addresses that can pass through.

[Configuration case]

Case1: Configure the multicast profile bound to Ethernet interfaces 2-4 on the ONT device to 1,

the maximum frame length to 1700, and the maximum number of MAC addresses to 255.
OLT(config-srv-profile-2)# ont-port eth 4 pots 2 catv adaptive iphost adaptive
OLT(config-srv-profile-2)# port eth 2-4 igmp-profile profile-id 1
OLT(config-srv-profile-2)# port eth 2-4 max-mac-count 255
Configure ONT ethernet port max mac count, total: 3, success: 3
OLT(config-srv-profile-2)# port eth 2-4 max-frame-size 1700
Configure ONT ethernet port(s) max frame size, total: 3, success: 3
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------

106
GPON OLT User Manual

---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS 2 -
CATV adaptive 1
IPHOST adaptive 2
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Transparent - - - - - - -
ETH 2 Transparent - - - - - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 255 1700 1 0 1
ETH 3 255 1700 1 0 1
ETH 4 255 1700 1 0 1
---------------------------------------------------------------

6.4.12 port igmp-forward


port igmp-forward eth eth-list (transparent | default vlan vlan-id
Command Syntax
[priority priority])

Applicable Views Business profile configuration view

This command is used to configure the uplink multicast packet


forwarding mode of the ONT multicast function. The default mode is
Description
transparent. When using this command, the multicast mode is not in
unconcern state.

107
GPON OLT User Manual

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24. The ports


eth-list are used to configure the uplink multicast packet forwarding mode of
Ethernet ports in batches.

Transparent transmission mode: Upstream multicast packets are


transparent
directly forwarded without any VLAN processing.

In default mode, a VLAN is added to the uplink multicast packet


default
before forwarding.

VALN number, ranging from 1 to 4074, used to specify the value of


vlan-id
the VLAN to be added in default mode.

The priority level, ranging from 0 to 7, is used to specify the value of


priority
the priority for adding vlans in default mode.

[Configuration case]

Case1: Configure the uplink multicast packet forwarding mode to default for Ethernet ports 1-2

on the ONT device, configure the outer VLAN to 10, and configure the priority to 7.
OLT(config-srv-profile-2)# port igmp-forward eth 1-2 default vlan 10 priority 7
Configure ONT ethernet port igmp-forward, total: 2, success: 2
OLT(config-srv-profile-2)#

6.4.13 port multicast-forward


Command Syntax port multicast-forward eth eth-list (transparent | untag)

Applicable Views Business profile configuration view

This command is used to configure the downstream multicast packet


forwarding mode of the ONT multicast function. The default mode is
Description
transparent. When using this command, the multicast mode is not in
unconcern state.

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24. The ports


eth-list are used to configure the forwarding mode for downstream
multicast packets of Ethernet ports in batches.

Transparent transmission mode: packets are directly forwarded


transparent
without any VLAN processing on downstream multicast packets.

In untag mode, the packets are stripped of the VLAN carried by the
untag
downlink multicast packet and forwarded.

[Configuration case]

Case1: Configure the downstream multicast forwarding mode to untag for Ethernet ports 1-2

108
GPON OLT User Manual

on the ONT device.


OLT(config-srv-profile-2)# port multicast-forward eth 1-2 untag
Configure ONT ethernet port multicast-forward, total: 2, success: 2
OLT(config-srv-profile-2)

6.4.14 port multicast-vlan


port multicast-vlan eth eth-list (multicast-vlan-id |untagged) [ip
ipaddr |batch-ip start-ip end-ip ]
Command Syntax
no port multicast-vlan eth eth-list (multicast-vlan-id |untagged) [ip
ipaddr |batch-ip start-ip end-ip ]

Applicable Views Business profile configuration view

The "port multicast-vlan" command is used to add multicast entry


rules to the Ethernet port of an ONT device.
Description
The "no port multicast-vlan" command clears the multicast entry
rules for the Ethernet port on the ONT device.

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24, used to set


eth-list
multicast entry rules for Ethernet ports in batches.

multicast-vlan-id Multicast vlan ID. The value ranges from 1 to 4094.

If the multicast vlan is set to untagged mode, the multicast VLAN is


untagged
not added.

Multicast program IP address. The value range is the multicast ip


ipaddr
address.

Start IP address of the multicast program. The value range is the


start-ip
multicast ip address

The end IP address of the multicast program. The value ranges from
end-ip
the multicast ip address

[Configuration case]

Case1: Adds a multicast entry for Ethernet ports 1-2 of the ONT device with the multicast vlan

mode untagged and the multicast program IP address 224.1.1.1-224.1.1.10


OLT(config-srv-profile-2)# port multicast-vlan eth 1-2 untagged batch-ip 224.1.1.1 22
4.1.1.10
OLT(config-srv-profile-2)#
Case2: Add a multicast entry with multicast vlan 10 and multicast program IP 224.1.1.10 for

Ethernet ports 3-4 of the ONT device.

109
GPON OLT User Manual

OLT(config-srv-profile-2)# port multicast-vlan eth 3-4 10 ip 224.1.1.1


OLT(config-srv-profile-2)#

6.4.15 port native-vlan


Command Syntax port native-vlan eth eth-list vlan-id [priority priority]

Applicable Views Business profile configuration view

This command is used to configure the default VLAN for Ethernet


Description ports in the ONU service profile. The port corresponding to the
default VLAN is an Untagged port.

List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1 to


eth-list 24, which can be used to configure the default VLAN for Ethernet
ports in batches.

Default VLAN: Specifies the default VLAN of an Ethernet port. A


vlan-id physical port can have only one default VLAN. The value ranges from
1 to 4094.

Default VLAN Priority, which specifies the priority of the default


priority
VLAN. The value ranges from 0 to 7.

[Configuration case]

Case1: Configure the default VLAN to 100 and the priority to 7 for the Ethernet ports of bits 2-4

on the ONT device.


OLT(config-srv-profile-2)# port native-vlan eth 2-4 100 priority 7
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable

110
GPON OLT User Manual

Ring port auto-shutdown : Enable


Ring check detect frequency(pps) :8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 15 7 15 - - -
ETH 2 Translation 1 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 100 7 -
ETH 3 unlimited 1522 100 7 -
ETH 4 unlimited 1522 100 7 -
---------------------------------------------------------------

6.4.16 port vlan


port vlan (eth eth-list user-vlan-list | iphost iphost-list user-vlan-id)
[priority | priority user-cos]

port vlan (eth eth-list | iphost iphost-list) (transparent |


translation service-vlan-id (priority user-cos (user-vlan-id | user-vlan
Command Syntax user-vlan-id priority) | [service-priority ] user-vlan user-vlan-id
[priority]) |
q-in-q service-vlan-id [service-priority | priority user-cos ] user-vlan
user-vlan-id [priority])

no port vlan (eth eth-list | iphost iphost-list) user-vlan-list [priority]

Applicable Views Business profile configuration view

The "port vlan" command is used to configure the port VLAN of the
User Network Interface (UNI) in the ONT service profile. This
command is used when you need to assign the ONT port to a
Description
specified VLAN or process the VLAN Tag of the incoming and
outgoing data packets.
The "no port vlan" command is used to delete the UNI port VLAN

111
GPON OLT User Manual

from the ONT service profile. This command is used when the user
packets with this VLAN are no longer required to pass through the
UNI port and the uplink port needs to be deleted from the VLAN.
After the port vlan command is run, you can directly attach the port
list and user-side VLAN, which means you can directly configure the
VLAN and port priority that can pass through the ONT port.
If you run the port vlan command, you can add q-in-q to configure
the vlan of an ONT port to QinQ mode, and add a layer of VLAN QinQ
to an ONT port.
After the "port vlan" command is executed, it indicates that the vlan
of the ONT port is configured in switching mode, and the mapping
between the user-side VLAN and the service-side VLAN of the ONT
port can be configured.
If transparent is added after the port vlan command, the ONT port
vlan is set to transparent transmission mode. In this case, you do not
need to specify a VLANID.

List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1 to


eth-list 24, which can be used to configure vlans for Ethernet ports in
batches.

A list of iphost ports (e.g.:1,1-2) with port values ranging from 1-2,
which can be used to set vlans for iphost ports in batches. An IPHOST
iphost-list port is a virtual port that delivers the POTS port configured on the
OLT to the ONT through this port. It is used to open up the
management channel between the OLT and the ONT.

User-side VLAN(C-VLAN ID before switching) list, which is used to set


user-vlan-list
user-side vlans in batches.

User-side VLAN(C-VLAN ID before switching) index, which identifies a


user-vlan-id
unique user-side VLAN.

priority User-side priority, the priority set before VLAN switching.

The service VLAN packet priority policy is copied from the user VLAN.
When the OLT trusts the original priority of the user side or the
user-cos original priority of the user side complies with the VLAN plan of the
OLT, the priority of the service VLAN packets is directly copied from
the user VLAN.

service-vlan-id Service side VLAN(S-VLAN ID after switching) index.

The priority of the service side, which is reset after the VLAN
service-priority switchover. If the OLT needs to replan the priority of a VLAN or does
not trust the original priority, the OLT reassigns the priority after the

112
GPON OLT User Manual

VLAN switchover.

QinQ VLAN. QinQ VLAN packets include the inner VLAN from the
user's private network and the outer VLAN assigned by the device,
q-in-q which can form a Layer 2 VPN tunnel between the user's private
network to implement transparent transmission of services between
private networks.

Set VLAN configuration type to Switch mode. Switch the VLAN tags of
packets based on the VLAN service plan in the actual network. If
translation
upstream and downstream packets are not differentiated, switch the
user-side VLAN to the configured VLAN.

Configure the transparent packet transmission mode of the specified


transparent port to TAG transparent mode. Packets are not processed and the
VLAN tag remains unchanged.

[Configuration case]

Case1: Add Ethernet ports 1 and 2 on ONU devices to VLAN 10-12, 15, and set port vlans in

batches.
OLT(config-srv-profile-2)# port vlan eth 1-2 12-13,15 7
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8

113
GPON OLT User Manual

Ring resume interval(s) : 300


VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case2: Add ETH ports 3-4 of ONU device to QinQ VLAN 100 with priority 2.
OLT(config-srv-profile-2)#port vlan eth 3-4 q-in-q 100 2 user-vlan 12
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable

114
GPON OLT User Manual

Ring port auto-shutdown : Enable


Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 QinQ 1 100 2 12 - - -
ETH 4 QinQ 1 100 2 12 - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case3: Set ETH port 4 on ONU devices to translation mode and configure the priority policy of

VLAN packets on the service side to copy from the VLAN on the user side.
OLT(config-srv-profile-2)# no port vlan eth 4 12
OLT(config-srv-profile-2)# port vlan eth 4 translation 200 priority user-cos user-vlan 12 7
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -

115
GPON OLT User Manual

---------------------------------------------------------------

MAC aging time(s): : 300


MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern

---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 QinQ 1 100 2 12 - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case4: Configure ONU device ETH port 3 to transparent mode.
OLT(config-srv-profile-2)# no port vlan eth 3 12
OLT(config-srv-profile-2)# port vlan eth 3 transparent
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------

116
GPON OLT User Manual

ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case5: Delete port VLAN 12 and port VLAN 13 from ETH ports 1 and 2 of the ONU device.
OLT(config-srv-profile-2)# no port vlan eth 1-2 12-13
Delete ONT port(s) VLAN, total: 2, success: 2
Delete ONT port(s) VLAN, total: 2, success: 2
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------

117
GPON OLT User Manual

---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
--------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 15 7 15 - - -
ETH 2 Translation 1 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------

6.4.17 show ont-srv-profile


show ont-srv-profile gpon (all | profile-id profile-id | profile-name
Command Syntax
profile-name)

Applicable Views enable view, config view

This command is used to show information about all existing or


Description specific service profiles. If the service profile is not created, an error
message is showed.

all You can view information about all current service profiles

118
GPON OLT User Manual

The value ranges from 0 to 512. You can Show the specific service
profile-id
profile information by the profile number

The name of a service profile can be used to show information about


profile-name
a specific service profile. The value is a string of 1 to 64 characters

[Configuration case]

Case1: Show all service profiles for the current configuration of an OLT device.
OLT(config)# show ont-srv-profile gpon all
---------------------------------------------------------------
Profile-ID Profile-name Binding times
---------------------------------------------------------------
0 srv-profile_0 3
1 srv-profile_1 0
2 srv-profile_2 0
---------------------------------------------------------------
Total: 3
---------------------------------------------------------------
Case2: Show details of the OLT device currently configured for a specific line service.
OLT(config)# show ont-srv-profile gpon profile-id 1
---------------------------------------------------------------
Profile-ID :1
Profile-name : srv-profile_1
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 0 -
POTS 0 -
CATV 0 -
IPHOST adaptive 2
---------------------------------------------------------------

MAC aging time(s): : 300


MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern

119
GPON OLT User Manual

---------------------------------------------------------------

6.4.18 show ont-srv-profile current


Command Syntax show ont-srv-profile current

Applicable Views Business profile configuration view

This command is used to show the details about the configured


Description
service profile

[Configuration case]

Case1: Show the details of the current configuration service profile.


OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : NoAging
MAC learing switch: : Disable
Ring check switch : Enable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Unconcern
---------------------------------------------------------------
--M Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 15 7 15 - - -
ETH 2 Translation 1 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -

120
GPON OLT User Manual

IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-CountMax-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 100 7 -
ETH 3 unlimited 1522 100 7 -
ETH 4 unlimited 1522 100 7 -
---------------------------------------------------------------

6.4.19 veip
Command Syntax veip (transparent | trunk)

Applicable Views Business profile configuration view

This command is used to configure the mode of the veip(virtual


Description
ethernet interface point) interface, which defaults to trunk.

transparent Transparent pass mode.

trunk Trunk mode.

[Configuration case]

Case1: Configure the veip interface mode to the trunk mode.


OLT(config-srv-profile-2)# veip trunk
OLT(config-srv-profile-2)#

6.5Service profiles discrete configuration


6.5.1 ont loopdetect
ont loopdetect port-id ont-id (disable | enable) { detect-frequency
Command Syntax detect-frequency| auto-shutdown (disable | enable) |
resume-interval resume-interval}

Applicable Views GPON view

This command is used to discretely configure the loop detection


Description
function of a specified ont device.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

(disable | enable) Enable or disable loop detection on ont.

detect-frequency Configure the sending frequency of loop detection messages. Value

121
GPON OLT User Manual

range: 1 to 20. Unit: pps. Default value: 8.

auto-shutdown Configure the loop port auto-shutdown function.

Configure the interval for loop fault recovery. Value range: 60 to


resume-interval
43200. Unit: s. Default value: 300.

[Configuration case]

Case1: Set PON 1 ONT 1 Turn off loop detection


OLT(config-gpon-0/0)# ont loopdetect 1 1 disable
OLT(config-gpon-0/0)#

6.5.2 ont mac-aging


Command Syntax ont mac-aging port-id ont-id (aging-time | no-aging)

Applicable Views GPON view

This command is used to discretely configure the mac address aging


Description
time of a specified ONT.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Aging time of the MAC address. The value ranges from 10 to


aging-time
1000000.

no-aging No-aging option for MAC addresses.

[Configuration case]

Case1: Configure the mac address aging time of pon 1 ONT 1 to no aging.
OLT(config-gpon-0/0)# ont mac-aging 1 1 no-aging
OLT(config-gpon-0/0)#

6.5.3 ont mac-learning


Command Syntax ont mac-learning port-id ont-id (disable | enable)

Applicable Views GPON view

This command is used to discretely configure the mac address


Description
learning function of a specified ONT.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

122
GPON OLT User Manual

disable Disable the MAC address learning function of a specified ONT device.

enable Enable MAC address learning for a specified ONT device.

[Configuration case]

Case1: Enables mac address learning for pon 1 ONT 1.


OLT(config-gpon-0/0)# ont mac-learning 1 1 enable
OLT(config-gpon-0/0)#

6.5.4 ont multicast fast-leave


Command Syntax ont multicast fast-leave port-id ont-id (disable|enable)

Applicable Views GPON view

This command is used to configure the multicast fast leave function


on a specified ONT device. This command is available only when the
Description multicast function is enabled, that is, the multicast mode is not of
unconcern. The multicast fast leave function on ONT devices is
disabled by default.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Disable the multicast fast exit function on ONT devices. After fast
multicast exit is disabled on the ONT device, the ONT sends a group
query to confirm the online status of the user after receiving the
disable group exit message. If no report message is received after the group
query period expires, the ONT considers the user offline and updates
the local multicast entry. This parameter is used when the user does
not need to change the channel at a faster speed.

Enable the ONT device multicast Fast Leave function. After the fast
multicast exit function is enabled on the ONT device, the ONT
immediately updates the local multicast entry according to the
enable outgoing multicast message after receiving the outgoing multicast
message, without sending a specific group query message to confirm
whether the user is indeed offline. This parameter is used when the
user needs to switch channels at a faster speed.

[Configuration case]

Case1: Turn on the multicast fast leave function for pon 1 onu 1.
OLT(config-gpon-0/0)# ont multicast fast-leave 1 1 enable
OLT(config-gpon-0/0)#

123
GPON OLT User Manual

6.5.5 ont multicast mode


Command Syntax ont multicast mode port-id ont-id (snooping|proxy|unconcern)

Applicable Views GPON view

This command is used to configure the IGMP mode for the multicast
VLAN of the specified ONT device. Only when the IGMP mode of the
multicast VLAN is proxy or snooping, the system captures the IGMP
Description
packets of the multicast programs of the VLAN for software
processing and normal multicast services are implemented. By
default, the IGMP mode of a multicast VLAN is unconcern.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Configure the IGMP mode of the multicast VLAN to IGMP snooping.


IGMP snooping stands for multicast listening. IGMP snooping uses
IGMP messages that listen to the communication between users and
snooping multicast routers to obtain information and maintain multicast
forwarding entries. The system does not process the multicast
packets that belong to the multicast VLAN, but transmits them
transparently.

Configure the IGMP mode of the multicast VLAN to IGMP proxy.


IGMP proxy Indicates the multicast proxy. The IGMP proxy intercepts
IGMP packets between users and multicast routers, processes them,
and then forwards them to the upper-layer multicast router. From
proxy
the user's point of view, the system is equivalent to a multicast
server; From the point of view of the upper layer device, the system
is equivalent to a multicast user. IGMP proxy mode reduces the
multicast protocol packet traffic on the network side.

Disable the IGMP function of the multicast VLAN. When the IGMP
unconcern function is turned off, a multicast user will not be able to watch
programs in that multicast VLAN.

[Configuration case]

Case1: Configure the IGMP mode of multicast VLAN of pon 1 onu 1 to proxy.
OLT(config-gpon-0/0)# ont multicast mode 1 1 proxy
OLT(config-gpon-0/0)#

6.5.6 ont native-vlan

124
GPON OLT User Manual

Command Syntax ont native-vlan port-id ont-id (concern | unconcern)

Applicable Views GPON view

This command is used to discretely configure whether or not the


ONT pays attention to the Native VLAN. If the ONT values the Native
VLAN, a Native VLAN is added to the Untaged packets on the user
Description
side. If the user does not pay attention to the Native VLAN, the user
does not add a Native VLAN to the Untaged packet. By default, ONT
pays attention to the Native VLAN.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

concern Set ONT to focus on the Native VLAN

unconcern Set ONT not to focus on Native VLAN

[Configuration case]

Case1: Configure pon 1 onu 1 Pay attention to the Native VLAN.


OLT(config-gpon-0/0)# ont native-vlan 1 1 concern
OLT(config-gpon-0/0)#

6.5.7 ont ont-port


ont ont-port port-id ont-id {eth (eth-port | adaptive) | catv
Command Syntax (catv-port | adaptive) | pots (pots-port | adaptive) | iphost (iphost
-port | adaptive)}

Applicable Views GPON view

This command is used to discretely configure the port capability set


of a specified ONT, that is, configure the number of ports of different
Description
types on the ONT. The port capability set of the ONT must be
consistent with the actual capability set of the ONT.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

Configure the number of capability sets of eth ports on the ONT. The
value can be 0 to 24 or adaptive. After this value is set to adaptive,
eth-port
the system automatically matches the number of eth ports reported
by the ONT.

catv-port Configure the number of capability sets of catv interfaces on the

125
GPON OLT User Manual

ONT. The value can be 0 to 8 or adaptive. When set to adaptive, the


system automatically matches the number of eth ports reported by
the ONT.

Configure the number of capability sets of eth ports on the ONT. The
value can be 0 to 8 or adaptive. After this value is set to adaptive, the
pots-port
system automatically matches the number of eth ports reported on
the ONT.

This parameter specifies the number of capability sets of the iphost


port on the ONT. The value can be 0 to 2 or adaptive. After this
iphost -port
parameter is set to adaptive, the port automatically matches the
number of iphost ports reported by the ONT.

The number of ports is adaptive and automatically matched


adaptive
according to the number of ports reported by the ONT.

[Configuration case]

Case1: Configure a port capability set for pon 1 onu 1 in which the number of eth ports is 4, the

number of POTS ports is 2, and the number of CATV ports and iphost ports are adaptive.
OLT(config-gpon-0/0)# ont ont-port 1 1 eth 4 pots 2 catv adaptive iphost adaptive
OLT(config-gpon-0/0)#

6.5.8 ont port attribute max-frame-size


ont port attribute port-id ont-id eth eth-list max-frame-size
max-frame-size
Command Syntax
no ont port attribute port-id ont-id eth eth-list max-frame-size
max-frame-size

Applicable Views GPON view

"ont port attribute max-frame-size" is used to discretely configure


the maximum frame length of a specified ONT port.
Description The "no ont port attribute max-frame-size" command is used to
configure the maximum frame length of the specified ONT port
back to the default value 1522.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1


eth-list to 24, which can be used to configure vlans for Ethernet ports in
batches.

126
GPON OLT User Manual

The maximum frame length of the ONT port, in the range


max-frame-size
1500-1996, with a default of 1518.

[Configuration case]

Case1: Configure the maximum frame length of port eth1 on PON 1 ONT 1 to 1600
OLT(config-gpon-0/0)# ont port attribute 1 1 eth 1 max-frame-size 1600
OLT(config-gpon-0/0)#

6.5.9 ont port attribute max-mac-count


ont port attribute port-id ont-id eth eth-list max-mac-count
Command Syntax (unlimited | max-mac-count)
no ont port attribute portid ontid eth eth-list max-mac-count

Applicable Views GPON view

"ont port attribute max-mac-count" is used to discretely configure


the maximum number of MAC addresses for a specified ONT port.
Description The "no ont port attribute max-mac-count" command is used to
remove the maximum number of MAC addresses for a specified
ONT port.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1


eth-list to 24, which can be used to configure vlans for Ethernet ports in
batches.

Indicates that the maximum number of MAC addresses is not


unlimited limited. The ONT port does not limit the number of MAC addresses
that can pass.

Indicates the maximum number of mac addresses that can pass


max-mac-count through the ONT port. The value ranges from 1 to 255. The default
value is unlimited.

[Configuration case]

Case1: Configure the maximum number of mac addresses for port eth1 on PON 1 ONT 1 to 10
OLT(config-gpon-0/0)# ont port attribute 1 1 eth 1 max-mac-count 10
OLT(config-gpon-0/0)#

6.5.10 ont port igmp-forward

127
GPON OLT User Manual

ont port igmp-forward port-id ont-id eth eth-list (transparent |


Command Syntax
default vlan vlan-id [priority priority])

Applicable Views GPON view

This command is used to configure the uplink multicast packet


forwarding mode of the specified ONT multicast function. The
Description
default mode is transparent. When using this command, the
multicast mode is not in unconcern state.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24. The ports


eth-list are used to configure the uplink multicast packet forwarding mode of
Ethernet ports in batches.

Transparent transmission mode: Upstream multicast packets are


transparent
directly forwarded without any VLAN processing.

In default mode, a VLAN is added to the uplink multicast packet


default
before forwarding.

VALN number, ranging from 1 to 4094, used to specify the value of


vlan-id
the VLAN to be added in default mode.

The priority level, ranging from 0 to 7, is used to specify the value of


priority
the priority for adding vlans in default mode.

[Configuration case]

Case1: Configure the uplink multicast forwarding mode to default for Ethernet ports 1-2 on pon

1 onu 1, configure the outer VLAN to 10, and configure the priority to 7.
OLT(config-gpon-0/0)# ont port igmp-forward 1 1 eth 1-2 default vlan 10 priority 7
Configure ONT ethernet port igmp-forward, total: 2, success: 2
OLT(config-gpon-0/0)#

6.5.11 ont port multicast-forward


ont port multicast-forward port-id ont-id eth eth-list (untag |
Command Syntax
transparent)

Applicable Views GPON view

This command is used to configure the downstream multicast packet


Description forwarding mode of the specified ONT multicast function. The
default mode is transparent. When using this command, the

128
GPON OLT User Manual

multicast mode is not in unconcern state.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24. The ports


eth-list are used to configure the forwarding mode for downstream
multicast packets of Ethernet ports in batches.

Transparent transmission mode: packets are directly forwarded


transparent
without any VLAN processing on downstream multicast packets.

In untag mode, the packets are stripped of the VLAN carried by the
untag
downlink multicast packet and forwarded.

[Configuration case]

Case1: Configure the downstream multicast forwarding mode to untag for Ethernet ports 1-2

on pon 1 onu 1.
OLT(config-gpon-0/0)# ont port multicast-forward 1 1 eth 1-2 untag
Configure ONT ethernet port multicast-forward, total: 2, success: 2
OLT(config-gpon-0/0)#

6.5.12 ont port multicast-vlan


ont port multicast-vlan port-id ont-id eth eth-list (multicast-vlan-id
|untagged) [ip ipaddr |batch-ip start-ip end-ip ]
Command Syntax
no ont port multicast-vlan port-id ont-id eth eth-list
(multicast-vlan-id |untagged) [ip ipaddr |batch-ip start-ip end-ip ]

Applicable Views GPON view

The "ont port multicast-vlan" command is used to add multicast


entry rules to the Ethernet port of a specified ONT device.
Description
The "no ont port multicast-vlan" command clears multicast entry
rules for a specified ONT Ethernet port.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8), ranging from 1 to 24, used to set


eth-list
multicast entry rules for Ethernet ports in batches.

multicast-vlan-id Multicast vlan ID. The value ranges from 1 to 4094.

untagged If the multicast vlan is set to untagged mode, the multicast VLAN is

129
GPON OLT User Manual

not added.

Multicast program IP address. The value range is the multicast ip


ipaddr
address.

Start IP address of the multicast program. The value range is the


start-ip
multicast ip address

The end IP address of the multicast program. The value ranges from
end-ip
the multicast ip address

[Configuration case]

Case1: Add a multicast entry for Ethernet ports 1-2 of pon 1 onu 1 device with the multicast

vlan mode untagged and the multicast program IP address 224.1.1.1-224.1.1.10


OLT(config-Gspoon-0/0)# ont port multicast-vlan 1 1 eth 1-2 untagged batch-ip 224.1.1.1
224.1.1.10
Configure ONT ethernet port multicast-vlan, total: 2, success: 2
OLT(config-gpon-0/0)#
Case2: Add a multicast entry with multicast vlan 10 and multicast program IP 224.1.1.10 for

Ethernet ports 3-4 of pon 1 onu 1 device.


OLT(Config-GPOon-0/0)# ont port multicast-vlan 1 1 eth 3-4 10 ip 224.1.1.1
Configure ONT ethernet port multicast-vlan, total: 2, success: 2
OLT(config-gpon-0/0)#

6.5.13 ont port native-vlan


ont port native-vlan port-id ont-id eth eth-port-id {vlan vlan-id |
Command Syntax priority priority}
no ont port native-vlan port-id ont-id eth eth-port-id

Applicable Views GPON view

The "ont port native vlan" command is used to discretely configure


the default VLAN for a specified ONT port. The port corresponding to
the default VLAN is an Untagged port. If neither vlan-id nor priority is
Description
specified in the command, no operation is required.
The "no ont port native-vlan" command is used to cancel the default
VLAN for the port of a specified ONT.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

eth-port-id Ethernet port index, which ranges from 1 to 24.

130
GPON OLT User Manual

Default VLAN, which specifies the default VLAN of an Ethernet port.


vlan-id
A physical port can have only one default VLAN.

Default VLAN priority, which specifies the priority of the default


priority
VLAN.

[Configuration case]

Case1: Configure Ethernet port 1 on pon 1 onu 1 with default VLAN 1.


OLT(config-gpon-0/0)#ont port native-vlan11eth1vlan1
OLT(config-gpon-0/0)#

6.5.14 ont port vlan


ont port vlan port-id ont-id (eth eth-list user-vlan-list | iphost
iphost-list user-vlan-id) [priority | priority user-cos]
ont port vlan port-id ont-id (eth eth-list | iphost iphost-list)
(transparent | translation service-vlan-id (priority user-cos
(user-vlan-id | user-vlan user-vlan-id priority) | [service-priority ]
Command Syntax
user-vlan user-vlan-id [priority]) |
q-in-q service-vlan-id [service-priority | priority user-cos ] user-vlan
user-vlan-id [priority])
no ont port vlan port-id ont-id (eth eth-list | iphost iphost-list)
user-vlan-list [priority]

Applicable Views GPON view

The "ont port vlan" command is used to discretely configure the UNI
(User Network Interface) port VLAN of a specified ONT device. This
command is used when you need to assign an ONT port to a
specified VLAN or process the VLAN Tag of incoming and outgoing
data packets.
The "no ont port vlan" command is used to delete the VLAN of the
port on the user side of the ONT device. This command is used when
the user packets with this VLAN are no longer required to pass
through the UNI port and the uplink port needs to be deleted from
Description
the VLAN.
After the "port vlan" command is run, you can directly attach the
port list and user-side VLAN, which means you can directly configure
the VLAN and port priority that can pass through the ONT port.
If you run the port vlan command, you can add q-in-q to configure
the vlan of an ONT port to QinQ mode, and add a layer of VLAN QinQ
to an ONT port.
After the "port vlan command" is executed, it indicates that the vlan
of the ONT port is configured in switching mode, and the mapping

131
GPON OLT User Manual

between the user-side VLAN and the service-side VLAN of the ONT
port can be configured.
If transparent is added after the "port vlan" command, the ONT port
vlan is set to transparent transmission mode. In this case, the VLAN
on the user side of the ONT port is directly transferred to the VLAN
on the service side without specifying the VLANID.

port-id ONT is located at the PON port.

ont-id The ONT ID ranges from 1 to 128.

List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1 to


eth-list 24, which can be used to configure vlans for Ethernet ports in
batches.

A list of iphost ports (e.g.:1,1-2) with port values ranging from 1-2,
which can be used to set vlans for iphost ports in batches. An IPHOST
iphost-list port is a virtual port that delivers the POTS port configured on the
OLT to the ONT through this port. It is used to open up the
management channel between the OLT and the ONT.

List of user-side vlans (VLAN ids before switchover). The port value
user-vlan-list
ranges from 1 to 24. It is used to set user-side vlans in batches.

User-side VLAN(VLAN ID before switching) index, port range 1-24,


user-vlan-id
used to identify a unique user-side VLAN.

priority User-side priority, the priority set before VLAN switching.

The service VLAN packet priority policy is copied from the user VLAN.
When the OLT trusts the original priority of the user side or the
user-cos original priority of the user side complies with the VLAN plan of the
OLT, the priority of the service VLAN packets is directly copied from
the user VLAN.

service-vlan-id Index of the service VLAN(VLAN ID after switchover).

The priority of the service side, which is reset after the VLAN
switchover. If the OLT needs to replan the priority of a VLAN or does
service-priority
not trust the original priority, the OLT reassigns the priority after the
VLAN switchover.

QinQ VLAN. QinQ VLAN packets include the inner VLAN from the
user's private network and the outer VLAN assigned by the device,
q-in-q which can form a Layer 2 VPN tunnel between the user's private
network to implement transparent transmission of services between
private networks.

132
GPON OLT User Manual

Set VLAN configuration type to Switch mode. Switch the VLAN tags of
packets based on the VLAN service plan in the actual network. If
translation
upstream and downstream packets are not differentiated, switch the
user-side VLAN to the configured VLAN.

Configure the transparent packet transmission mode of the specified


transparent port to TAG transparent mode. Packets are not processed and the
VLAN tag remains unchanged.

[Configuration case]

Case1: Add Ethernet ports 1 and 2 on the PON 1 ONU 1 device to VLAN 10-12, 15, and set port

vlans in batches.
OLT(config-gpon-0/0)# ont port vlan 1 1 eth 1-2 10-12,15 7
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-gpon-0/0)# show ont info 1 1
... ...
---------------------------------------------------------------
Profile-ID : --
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 10 7 10 - - -

133
GPON OLT User Manual

ETH 1 Translation 2 11 7 11 - - -
ETH 1 Translation 3 12 7 12 - - -
ETH 1 Translation 4 15 7 15 - - -
ETH 2 Translation 1 10 7 10 - - -
ETH 2 Translation 2 11 7 11 - - -
ETH 2 Translation 3 12 7 12 - - -
ETH 2 Translation 4 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
---------------------------------------------------------------

6.5.15 ont veip


Command Syntax ont veip port-id ont-id (transparent | trunk)

Applicable Views GPON view

This command is used to discretely configure the veip mode of a


Description
specified ont.

port-id Port number of the ONU to be configured.

ont-id The ONT ID to be configured ranges from 1 to 128.

transparent Configure the veip of the ont to pass through mode.

trunk Configure the veip of ont to trunk mode.

[Configuration case]

Case1: Set veip of PON 1 ONT 1 to trunk mode


OLT(config-gpon-0/0)# ont veip 1 1 trunk
OLT(config-gpon-0/0)#

6.6Virtual port configuration


6.6.1 service-port
service-port (service-port-index |autoindex) vlan vlan-id gpon F/S
Command Syntax
port port-list ont ont-list gemport gemport-id

134
GPON OLT User Manual

[tag-action (default | add-double inner-vlan inner-vlan-id


inner-priori inner-priority) |
multi-service (user-vlan (user-vlan-list tag-action translate|
user-vlan-id [ethertype (ipv4oe |ipv6oe |pppoe)] [tag-action
(default | translate |transparent | translate-and-add inner-vlan
inner-vlan-id inner-priori inner-priority)] ) |
user-8021p priority user-vlan user-vlan-id [ tag-action (default |
translate |transparent | translate-and-add inner-vlan
inner-vlan-id inner-priori inner-priority) ] |
ethertype (ipv4oe |ipv6oe |pppoe) tag-action default)]
[inbound index traffic-profile-index [outbound index
traffic-profile-index]| outbound index traffic-profile-index]

service-port (service-port-index |autoindex) vlan transparent gpon


F/S port port-list ont ont-list gemport gemport-id [outbound index
traffic-profile-index | inbound index traffic-profile-index ]

no service-port (srvport-list [traffic-profile (inbound [outbound]|


outbound)] | gpon F/S port port-list [ont (ont-list|ont-id gemport
gemport-id [user-vlan user-vlan-id])]| vlan (vlan-id gpon F/S port
port-list [ont (ont-id gemport gemport-id | ont-list)]| vlan-list)| all)

Applicable Views config view

The "service-port" command is used to create a service virtual port.


A service virtual port is used to connect user devices to service ports
to form service flows. In this way, users can access various service
flows. After the virtual port is successfully executed, services are
carried on this virtual port.
Service virtual ports are classified into single-service virtual ports
and multi-service virtual ports.
Single-service virtual port indicates that a user port passes only one
service type or does not distinguish between service types.
The multi-service virtual port service means that a user port needs to
Description
carry multiple services and the service types must be distinguished.

Service-port can be configured in two modes: construction stream


and full transparent transmission. In full transparent transmission
mode, only one service virtual port can be configured in batches. In
this mode, rate limiting is supported for intakes but not for egress.

The "no service-port" command is used to delete a service virtual


port. This command is used to delete a service virtual port when it is
no longer required to carry services. After the command is

135
GPON OLT User Manual

successfully executed, the service virtual port does not exist.

Index of the service virtual port. The value ranges from 0 to 8100.
service-port-index This parameter is used when you need to set a service virtual port
based on its index value.

List of service virtual ports (e.g.:1,11-27,100). The value ranges from


srvport-list
0 to 8100, which specifies one or more service virtual ports.

The value ranges from 0 to 8100. If this parameter is used, the


autoindex
system automatically assigns idle index values.

Service VLAN. The value ranges from 1 to 4094. It uniquely identifies


vlan-id
an S-VLAN.

vlan transparent Transparent vlan transmission mode on the service side.

Service VLAN list (e.g. 100,107-120,200). The value ranges from 1 to


vlan-list 4094. It is used to batch delete service virtual ports corresponding to
vlans in the list.

F/S Used to identify the subrack number/slot number, for example, 0/0.

List of PON ports on an OLT device (e.g.:1,3-5,8). The value ranges


port-list
from 1 to 16.

ont-id ONT device index, ranging from 1 to 128.

ont-list The ONT list (e.g.:1,3-5,8) ranges from 1 to 128.

gemport-id GEM Port ID. The value ranges from 1 to 30.

By default, the C-VLAN carried by the user side remains unchanged,


and an S-VLAN is added. If vlans are set in the new 16Port/8Port
default
GPON OLT to distinguish different services, you do not want to
change the VLAN tag of the packets on the user side. Use this mode.

Add two layers of Tag. Add two layers to the packets on the user side:
S-VLAN+C-VLAN.
Applicable to:
S-vlans can be QinQ vlans, Common vlans, or Stacking vlans, and
add-double
service flows that are single-service or classified by
user-encapuser-encap traffic.
An S-VLAN is a QinQ VLAN, Common VLAN, or Stacking VLAN, and an
untagged service flow.

Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
translate-and-add by the user side to the C-VLAN at layer 1, and then add another layer
S-VLAN to form the uplink vlans at Layer S+C. This mode is used

136
GPON OLT User Manual

when two layers of VLAN tags are required to identify user services
(for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user-side packets are different from those
planned on the new 16Port/8Port GPON OLT.

Convert the user-carried C-VLAN to S-VLAN by performing a Layer 1


VLAN switch. This mode is used when only the Layer 1 VLAN tag can
translate identify the user service and the service VLAN configured on the new
16Port/8Port GPON OLT is different from the VLAN in the user side
packet.

Transparent transmission mode without VLAN change. The C-VLAN


carried by the user side directly acts as the S-VLAN upstream. This
transparent mode can be used if the vlans planned for identifying different
services on the new 16Port/8Port GPON OLT are the same as those
for user-side packets.

The switched inner vlan. The value ranges from 1 to 4094. An inner
inner-vlan-id VLAN can be specified when the processing mode is add-double or
translator-and-double.

The priority of the inner vlan after switching. The value ranges from 0
inner-priority
to 7.

User-side VLAN list (e.g.:1,3-5,8). The value ranges from 1 to 4094.


user-vlan-list
This parameter is used when port vlans need to be set in batches.

User-side VLAN ID, ranging from 1 to 4094. This parameter is used


user-vlan-id
when users need to be distinguished by user-side VLAN.

priority User-side VLAN priority, ranging from 0 to 7.

User side service Ethernet type. This parameter is used when users
need to be distinguished by the user-side service encapsulation type.
Available parameters: pppoe, ipv6oe, ipv4oe
PPPoE is used when the user side packets are pppoe packets (that is,
packets of Ethernet type 0x8863 and 0x8864).
ethertype
"ipv6oe" is used when the user-side packet is an IPv6 packet (i.e., a
packet of Ethernet type 0x86dd).
When the user side packet is a packet other than the "pppoe" and
"ipv6oe" packet (i.e. a packet of Ethernet type other than 0x8863,
0x8864, or 0x86dd;) When "ipv4oe" is used.

Inbound direction, a traffic profile that specifies the inbound


inbound
direction.

outbound Outbound direction, a traffic profile that specifies the outbound

137
GPON OLT User Manual

direction.

traffic-profile-index Index of the traffic profile. The value ranges from 1 to 256.

all All service virtual ports.

[Configuration case]

Case1: Create a single-service virtual port 2, configure the service vlan to 100, configure the

vlan tag conversion mode to the default mode, and bind the traffic profile with index 1 in the

direction of the incoming port.


OLT(config)# service-port 2 vlan 100 gpon 0/0 port 1 ont 1 gemport 1 tag-action
default inbound index 1
Config service-port succeed!
OLT(config)#
Case2: Create a multi-service virtual port, automatically assign the virtual port index, configure

the service vlan to 200, configure the user vlan to 200, configure the vlan tag conversion mode

to transparent transmission, and bind the traffic profile with Index 1 in the direction of the

incoming port.
OLT(config)# service-port autoindex vlan 100 gpon 0/0 port 1 ont 6 gemport 1 mu
lti-service user-vlan 100 tag-action transparent inbound index 1 outbound index 1
Config service-port succeed!
OLT(config)#
Case3: Configure the service virtual port in full transparent mode.
OLT(config)# service-port 1 vlan transparent gpon 0/0 port 1 ont 1 gemport 1
OLT(config)# service-port autoindex vlan transparent gpon 0/0 port 1 ont 2 gemport 1
OLT(config)# service-port autoindex vlan transparent gpon 0/0 port 1 ont 3 gemport 1
inbound index 1
Case4: Deletes the service virtual port whose index value is 4,5.
OLT(config)# no service-port 4-5
OLT(config)#
Case5: deletes all service virtual ports whose ont device index is 1-2 from port pon1.
OLT(config)# no service-port gpon 0/0 port 1 ont 1-2
OLT(config)# show service-port all
Case6: Delete all service virtual ports with service VLAN 100 and 200.
OLT(config)# no service-port vlan 100,200
OLT(config)#

6.6.2 service-port desc

138
GPON OLT User Manual

service-port desc service-port-index description


Command Syntax
no service-port desc service-port-index

Applicable Views config view

This command is used to configure the creation mode of a service


Description
virtual port for the PON port.

Index of the service virtual port. The value ranges from 0 to 8100.
service-port-index This parameter is used when you need to set a service virtual port
based on its index value.

Description of the service virtual port. The value contains 1 to 16


description
characters.

[Configuration case]

Case1: Configure the service virtual port 3 description to test.


OLT(config)# service-port desc 3 test
OLT(config)#
Case2: Deletes the description of service virtual port 3.
OLT(config)# no service-port desc 3
OLT(config)#

6.6.3 service-port srvport-list adminstatus


Command Syntax service-port srvport-list adminstatus (disable | enable)

Applicable Views config view

This command is used to configure the management status of one or


Description
more service virtual ports.

List of service virtual ports (e.g.:1,11-27,100). The value ranges from


srvport-list
0 to 8100, which is used to specify one or more service virtual ports.

disable Disable the service virtual port.

enable Enable the service virtual port.

[Configuration case]

Case1: Disable service virtual port 2.


OLT(config)# service-port 2 adminstatus disable
OLT(config)#
Case2: Enables service virtual ports 2-4.

139
GPON OLT User Manual

OLT(config)# service-port 2-4 adminstatus enable


OLT(config)#

6.6.4 service-port srvport-list tag-action


service-port srvport-list tag-action (default | translate |transparent
|add-double inner-vlan inner-vlan-id inner-priori inner-priority |
Command Syntax
translate-and-add inner-vlan inner-vlan-id inner-priori
inner-priority)

Applicable Views config view

This command is used to quickly change the VLAN label switching


mode of a service virtual port. After you run the service-port
command to add a service virtual port, you only need to change the
VLAN tag switching mode for a certain user service (for example, the
Description carrier needs to add or delete VLAN tag layers in user packets
according to the VLAN usage plan). If other parameters do not
change, you do not need to create a service virtual port again. You
can run this command to change the VLAN tag switching mode of the
service virtual port.

List of service virtual ports (e.g.:1,11-27,100). The value ranges from


srvport-list
0 to 8100, which is used to specify one or more service virtual ports.

By default, the C-VLAN carried by the user side remains unchanged,


and an S-VLAN is added. If vlans are set in the new 16Port/8Port
default
GPON OLT to distinguish different services, you do not want to
change the VLAN tag of the packets on the user side. Use this mode.

Convert the user-carried C-VLAN to S-VLAN by performing a Layer 1


VLAN switch. This mode is used when only the Layer 1 VLAN tag can
translate identify the user service and the service VLAN configured on the new
16Port/8Port GPON OLT is different from the VLAN in the user side
packet.

Transparent transmission mode without VLAN change. The C-VLAN


carried by the user side directly acts as the S-VLAN upstream. This
transparent mode can be used if the vlans planned for identifying different
services on the new 16Port/8Port GPON OLT are the same as those
for user-side packets.

Add two layers of tags. Add two layers to the user side message:
S-VLAN+C-VLAN.
add-double Applicable to:
S-VLAN refers to the QinQ VLAN, Common VLAN, or Stacking VLAN,
which is a single service or a traffic flow classified by

140
GPON OLT User Manual

user-encapuser-encap.
S-VLAN refers to QinQ VLAN, Common VLAN, or Stacking VLAN,
untagged traffic flow.

Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side to the C-VLAN at layer 1, and then add another layer
S-VLAN to form the uplink vlans at Layer S+C. This mode is used
translate-and-add
when two layers of VLAN tags are required to identify user services
inner-vlan
(for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user-side packets are different from those
planned on the new 16Port/8Port GPON OLT.

The switched inner vlan. The value ranges from 1 to 4094. An inner
inner-vlan-id VLAN can be specified when the processing mode is add-double or
translator-and-double.

The priority of the inner vlan after switching. The value ranges from 0
inner-priority
to 7.

[Configuration case]

Case1: Change the vlan conversion mode of service virtual port 2 to default.
OLT(config)# service-port 2 tag-action default
Modify service-port tag-action succeed!
OLT(config)#
Case2: Change the vlan conversion mode of service virtual ports 3-4 to default.
OLT(config)# service-port 3-4 tag-action default
Modify service-port tag-action succeed!
OLT(config)#

6.6.5 service-port srvport-list traffic-profile


service-port srvport-list traffic-profile (inbound index
Command Syntax traffic-profile-index [outbound index traffic-profile-index]|
outbound index traffic-profile-index)

Applicable Views config view

This command is used to quickly modify the traffic profile referenced


by a service virtual port. After you run the service-port command to
add a service virtual port, if you only need to change the parameters
Description
of the traffic profile for a certain user service, you can use this
command to change the referenced traffic profile without creating a
service virtual port.

srvport-list List of service virtual ports (e.g.:1,11-27,100). The value ranges from

141
GPON OLT User Manual

0 to 8100, which is used to specify one or more service virtual ports.

inbound Inbound port direction.

outbound Outbound port direction.

traffic-profile-index Index of the traffic profile. The value ranges from 1 to 256.

[Configuration case]

Case1: Modify the traffic binding of service virtual port 2 to a traffic profile with the binding

index of 2.
OLT(config)# service-port 2 traffic-profile inbound index 2 outbound index 2
Modify service-port traffic profile succeed!
OLT(config)#
Case2: Modify the traffic binding of service virtual ports 3-4 to a traffic profile with the binding

index of 2.
OLT(config)# service-port 3-4 traffic-profile inbound index 2 outbound index 2
Modify service-port traffic profile succeed!
OLT(config)#

6.6.6 service-port statistics


service-port statistics (srvport-list |all | gpon F/S port port-id) (clear
Command Syntax
|disable |enable)

Applicable Views config view

This command is used to configure the performance statistics


Description
function for a service virtual port.

List of service virtual ports (e.g.:1,11-27,100). The value ranges from


srvport-list
0 to 8100, which is used to specify one or more service virtual ports.

all All service virtual ports.

F/S Used to identify the subrack number/slot number.

port-id OLT device PON port index, ranging from 1 to 16.

clear Clear the performance statistics of the service virtual port.

disable Disable the service virtual port performance statistics function.

enable Enable the service virtual port performance statistics function.

[Configuration case]

142
GPON OLT User Manual

Case1: Enables the performance statistics function for service virtual ports 3-4.
OLT(config)# service-port statistic 3-4 enable
OLT(config)#
Case2: Clear the performance statistics of service virtual ports 3-4.
OLT(config)# service-port statistics 3-4 clear
OLT(config)#

6.6.7 show service-port


show service-port (service-port-index | service-port-list
| gpon F/S port port-id [ethertype (ipv4oe | ipv6oe | pppoe) | ont
ont-id [gemport gemport-id [user-vlan user-vlan-id]] |user-8021p
Command Syntax priority |user-vlan user-vlan-id ]
| vlan (vlan-id [gpon F/S port port-id [ont ont-id]] | transparent
gpon F/S port port-id [ont ont-id])
| all )

Applicable Views config view

This command is used to show the configuration information of the


Description
service virtual port based on different conditions.

Index of the service virtual port. The value ranges from 0 to 8100. It
service-port-index indicates that the index is used to query details about the
corresponding virtual port.

List of service virtual ports (e.g.:1,11-27,100). The value ranges from


service-port-list 0 to 8100, indicating that information about the corresponding
virtual port can be queried through the index list.

F/S This parameter identifies the subrack ID or slot ID.

port-id OLT device PON port index, ranging from 1 to 16.

User side service Ethernet type. This parameter is used when users
need to be distinguished by the user-side service encapsulation type.
Available parameters: pppoe, ipv6oe, ipv4oe
PPPoE is used when the user side packets are pppoe packets (that is,
packets of Ethernet type 0x8863 and 0x8864).
ethertype
"ipv6oe" is used when the user-side packet is an IPv6 packet (i.e., a
packet of Ethernet type 0x86dd).
When the user side packet is a packet other than the "pppoe" and
"ipv6oe" packet (i.e. a packet of Ethernet type other than 0x8863,
0x8864, or 0x86dd;) When "ipv4oe" is used.

ont-id ONT device index, ranging from 1 to 128.

143
GPON OLT User Manual

gemport-id GEM Port ID. The value ranges from 1 to 30.

User-side VLAN ID, ranging from 1 to 4094. This parameter is used


user-vlan-id
when users need to be distinguished by user-side VLAN.

priority User side VLAN priority. The value ranges from 0 to 7.

transparent Full transparent vlan transmission mode on the service side.

all All service virtual ports.

[Configuration case]

Case1: Show details about service virtual port 1.


OLT(config)# show service-port 1
-----------------------------------------------------------------------------
Index :1
Vlan Id : 100
Port Id : 0/0/2
ONT Id :3
Gemport :1
Flow type :-
Flow param :-
Inbound Id :1
Outbound Id :1
Admin status : enable
Status : up
Tag action : default
Description :-
Statistics : disable
Create method : manual
Config status : success
-----------------------------------------------------------------------------
OLT(config)#
Case2: Show information about service virtual ports 2-4.
OLT(config)# show service-port 2-3

------------------------------------------------------------------------------------------------------------------------ -------

INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG

STATUS ID ID ID PORT TYPE PARAM ACTION VLAN PRIO

------------------------------------------------------------------------------------------------------------------------ -------

2 100 0/0/1 1 1 - - default - - 1 1 down manaul success

3 100 0/0/2 4 1 - - default - - 1 1 down manaul success

------------------------------------------------------------------------------------------------------------------------ -------

Total service-port config entry :2 ( up/down :0 /2 )

144
GPON OLT User Manual

Total inbound ethtype/prio entry : 512 ( using/unused : 0 /512 )

Total outbound speedlimit entry : 128 ( using/unused : 4 /124 )

Case3: Show all service virtual ports under port PON1 of the OLT device.
OLT(config)# show service-port gpon 0/0 port 1

------------------------------------------------------------------------------------------------------------------------ -------

INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG

STATUS ID ID ID PORT TYPE PARAM ACTION VLAN PRIO

------------------------------------------------------------------------------------------------------------------------ -------

2 100 0/0/1 1 1 - - default - - 1 1 down manaul success

------------------------------------------------------------------------------------------------------------------------ -------

Total service-port config entry :1 ( up/down :0 /1 )

Total inbound ethtype/prio entry : 512 ( using/unused : 0 /512 )

Total outbound speedlimit entry : 128 ( using/unused : 4 /124 )

Case4: Show the service virtual port whose vlan is 200 on the user side.
OLT(config)# show service-port vlan 200

------------------------------------------------------------------------------------------------------------------------ -------

INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG

STATUS ID ID ID PORT TYPE PARAM ACTION VLAN PRIO

------------------------------------------------------------------------------------------------------------------------ -------

4 200 0/0/1 2 2 - - default - - 2 2 down manaul success

5 200 0/0/1 3 2 - - default - - 2 2 down manaul success

------------------------------------------------------------------------------------------------------------------------ -------

Total service-port config entry :2 ( up/down :0 /2 )

Total inbound ethtype/prio entry : 512 ( using/unused : 0 /512 )

Total outbound speedlimit entry : 128 ( using/unused : 6 /122 )

Case5: Show all service virtual ports.


OLT(config)# show service-port all

------------------------------------------------------------------------------------------------------------------------ -------

INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG

STATUS ID ID ID PORT TYPE PARAM ACTION VLAN PRIO

------------------------------------------------------------------------------------------------------------------------ -------

0 100 0/0/2 2 1 - - default - - 1 1 down manaul success

1 100 0/0/2 3 1 - - default - - 1 1 down manaul success

2 100 0/0/1 1 1 - - default - - 1 1 down manaul success

3 100 0/0/2 4 1 - - default - - 1 1 down manaul success

4 200 0/0/1 2 2 - - default - - 2 2 down manaul success

5 200 0/0/1 3 2 - - default - - 2 2 down manaul success

------------------------------------------------------------------------------------------------------------------------ -------

Total service-port config entry :6 ( up/down :0 /6 )

Total inbound ethtype/prio entry : 512 ( using/unused : 0 /512 )

6.6.8 show service-port statistics

145
GPON OLT User Manual

Command Syntax show service-port statistics (gpon F/S port port-id | all )

Applicable Views config view

This command is used to show the status of the performance


Description
statistics function of a service virtual port.

F/S This parameter identifies the subrack ID or slot ID.

port-id OLT device PON port index, ranging from 1 to 16.

all All service virtual ports.

[Configuration case]

Case1: Show the performance statistics status of the service virtual port on port PON1 of the

OLT device.
OLT(config)# show service-port statistics gpon 0/0 port 1
-----------------------------------------------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-----------------------------------------------------------------------------
2 100 0/0/1 1 1 - - disable
4 200 0/0/1 2 2 - - disable
5 200 0/0/1 3 2 - - disable
-----------------------------------------------------------------------------
Total : 3
Case2: Show the performance statistics status of all service virtual ports.
OLT(config)# show service-port statistics all
-----------------------------------------------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-----------------------------------------------------------------------------
0 100 0/0/2 2 1 - - disable
1 100 0/0/2 3 1 - - disable
2 100 0/0/1 1 1 - - disable
3 100 0/0/2 4 1 - - disable
4 200 0/0/1 2 2 - - disable
5 200 0/0/1 3 2 - - disable
-----------------------------------------------------------------------------
Total : 6

6.7TR069 profile configuration

146
GPON OLT User Manual

6.7.1 acs
acs-url acs-url [acs-username acs-username acs-password
Command Syntax
acs-password |auth-realm REALM ]

Applicable Views TR069 profile view

This command is used to configure the tr069 acs server functionality


Description
in the tr069 profile.

Configure the URL address of the ACS server. The default value of
acs-url
acs-url is null and the length of the URL is 1-63 characters.

Configure the account of the ACS server. The default value of


acs-username
acs-username is null and the character length is 1-50.

Configure the password for the ACS server. The default value of
acs-password acs-password is null and the length of the password is 1-25
characters.

Configure authentication for the CPE server. The default value is null
REALM
and the character length is 1-24.

[Configuration case]

Case1: Configure ACS server information for TR069 profile 1


OLT (config - tr069 - profile_1) acs - url http://10.10.10.10:9090/acs acs - username # 1
23 acs-password 123
OLT(config-tr069-profile_1)#

6.7.2 commit
Command Syntax commit

Applicable Views TR069 profile Configuration view

This command is used to submit the current TR069 profile


configuration. All parameter configurations for TR069 will take effect
Description
only after the configuration is successfully submitted using this
command

[Configuration case]

Case1: Submit the current TR069 profile configuration.


OLT(config-tr069-profile_1)# commit
OLT(config-tr069-profile_1)#

6.7.3 cpe
147
GPON OLT User Manual

cpe-username cpe-username cpe-password cpe-password [cpe-port


Command Syntax
cpe-port]

Applicable Views TR069 profile view

This command is used to configure the tr069 cpe server functionality


Description
in the tr069 profile.

Configure the account of the CPE server. The default value is null and
cpe-username
the character length is 1-50.

Configure the password for the CPE server. The default value is null
cpe-password
and the length of the password is 1-25 characters.

Configure the port of the CPE server. The default value is 0 and
cpe-port
ranges from 0 to 65535.

[Configuration case]

Case1: Configure the information of the CPE server for TR069 profile 1
OLT(config-tr069-profile_1)# cpe-username 123 cpe-password 123 cpe-port 1222
OLT(config-tr069-profile_1)#

6.7.4 inform
Command Syntax inform (disable | enable) [ interval interval ]

Applicable Views TR069 profile view

This command is used to configure the TR069 service notification


Description
information in the tr069 profile.

Configure the TR069 service notification switch in the tr069 profile.


(disable | enable)
The default value is enable.

Configure the TR069 service notification interval in the tr069 profile.


interval
The default value is 30. The value ranges from 1 to 4,294,967,295.

[Configuration case]

Case1: Configure the service notification switch of TR069 profile 1 to on at an interval of 300

seconds
OLT(config-tr069-profile_1)# inform enable interval 300
OLT(config-tr069-profile_1)#

6.7.5 ip-index

148
GPON OLT User Manual

Command Syntax tr069-management ip-index index

Applicable Views TR069 profile view

This command is used to configure the iphost for the TR069 binding
Description
in the tr069 profile.

Configure the iphost bound to the TR069 profile. The default is 0 and
index
the value ranges from 0 to 1.

[Configuration case]

Case1: Configure the ONU binding of TR069 profile 1 to have an iphost of 1


OLT(config-tr069-profile_1)# tr069-management ip-index 1
OLT(config-tr069-profile_1)#

6.7.6 ont-tr069-profile
ont-tr069-profile gpon {profile-id profile-id | profile-name
profile-name}
Command Syntax
no ont-tr069-profile (profile-id profile-id | profile-name
profile-name)

Applicable Views config view

The tr069 profile defines the tr069 configuration management


mode. You only need to configure the same ONT once, saving
configuration work.
The "ont-tr069-profile gpon" command is used to add a new tr069
profile or access an existing tr069 profile. If the ont-tr069-profile
gpon command is used without any parameters, a new tr069 profile
Description
is automatically created. tr069 profile 0 is the default profile. The
ONT that goes online automatically matches tr069 profile 0.
The "no ont-tr069-profile" command is used to delete an
unnecessary tr069 profile. The default tr069 profile cannot be
deleted. The GPON ONT tr069 profile cannot be deleted if it has
been bound to the ONT.

tr069 profile number, which identifies a tr069 profile. The value


ranges from 1 to 32. If not specified, the system automatically
profile-id assigns the minimum free profile number. tr069 profile 0 is the
default profile. The ONT that goes online automatically matches
tr069 profile 0

profile-name tr069 profile name, which can be 1 to 64 characters in length. The

149
GPON OLT User Manual

default profile name is tr069-profile_x, where the "x" is replaced by


the actual profile number.

[Configuration case]

Case1: Automatically create a new tr069 profile and go to the tr069 profile Configuration view.
OLT(config)# ont-tr069-profile gpon
OLT(config-tr069-profile_2)#
Case2: Delete a tr069 profile according to profile-id.
OLT(config)# no ont-tr069-profile profile-id 2
OLT(config)#

6.7.7 tr069-management
Command Syntax tr069-management (disable | enable| unconcern)

Applicable Views TR069 profile view

This command is used to configure the TR069 administration state in


Description
the tr069 profile.

(disable | enable| Configure the TR069 management status in the tr069 profile. The
unconcern) default is unconcern.

[Configuration case]

Case1: Turn on the TR069 feature of TR069 profile 1


OLT(config-tr069-profile_1)# tr069-management enable
OLT(config-tr069-profile_1)#

6.7.8 show ont-tr069-profile current


Command Syntax show ont-tr069-profile current

Applicable Views TR069 profile view

This command is used to show the current configuration of the


Description
TR069 profile.

[Configuration case]

Case1: Turn on the TR069 feature of TR069 profile 1


OLT(config-tr069-profile_1)# show ont-tr069-profile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : tr069-profile_1

150
GPON OLT User Manual

Binding times :0
----------------------------------------------------------------------------

TR069 management : Enable

The Acs url: http://10.10.10.10:9090/acs

Acs user name : 123

Acs user password : 123

Auth realm :0

Inform : enalbe

Inform interval : 300

Cpe user name : 123

Cpe user password : 123

Cpe port : 1222

TR069 IP index :1
----------------------------------------------------------------------------
OLT(config-tr069-profile_1)#

6.8TR069 discrete configuration


6.8.1 tr069 acs
ont tr069 portid ontid acs-url acs-url [acs-username acs-username
Command Syntax
acs-password acs-password |auth-realm REALM ]

Applicable Views GPON view

This command is used to configure the tr069 acs server function of


Description
ONT.

portid Specify the PON port number. The value ranges from 1 to 16

Indicates the ONT ID to be configured. The value ranges from 1 to


ontid
128

151
GPON OLT User Manual

Configure the URL address of the ACS server. The default value of
acs-url
acs-url is null and the length of the URL is 1-63 characters.

Configure the account of the ACS server. The default value of


acs-username
acs-username is null and the character length is 1-50.

Configure the password for the ACS server. The default value of
acs-password acs-password is null and the length of the password is 1-25
characters.

Configure authentication for the CPE server. The default value is null
REALM
and the character length is 1-24.

[Configuration case]

Case1: Configures information about the ACS server connected to the ONU whose id is 1 on

port 1
OLT(config-gpon-0/0/0)# ont tr069 11 acs-url http://10.11.12.13/acs acs-username
acs acs-password 123
OLT(config-gpon-0/0)#

6.8.2 tr069 cpe


ont tr069 portid ontid cpe-username cpe-username cpe-password
Command Syntax
cpe-password [cpe-port cpe-port]

Applicable Views GPON view

This command is used to configure ONT's tr069 cpe server


Description
functionality.

portid Specify the PON port number. The value ranges from 1 to 16

ontid ID of the ONT to be configured. The value ranges from 1 to 128

Configure the account of the CPE server. The default value is null and
cpe-username
the character length is 1-50.

Configure the password for the CPE server. The default value is null
cpe-password
and the length of the password is 1-25 characters.

Configure the port of the CPE server. The default value is 0 and
cpe-port
ranges from 0 to 65535.

[Configuration case]

Case1: Configure information about the CPE server of ONU 1 on port 1


OLT(config-gpon-0/0)# ont tr069 1 1 cpe-username 124 cpe-password 123 cpe-port

152
GPON OLT User Manual

1222
OLT(config-gpon-0/0)#

6.8.3 tr069 inform


Command Syntax ont tr069 portid ontid inform (disable | enable) [ interval interval ]

Applicable Views GPON view

This command is used to configure the tr069 service notification


Description
information of the ONT.

portid Specify the PON port number. The value ranges from 1 to 16

ontid ID of the ONT to be configured. The value ranges from 1 to 128

Configure the tr069 service notification switch on the ONT. The


(disable | enable)
default value is enable.

Configure the tr069 service notification interval for the ONT. The
interval
default value is 30. The value ranges from 1 to 4294967295.

[Configuration case]

Case1: Configure the ONU service notification switch to on on port 1 at an interval of 300

seconds
OLT(config-gpon-0/0)# ont tr069 5 1 inform enable interval 300
OLT(config-gpon-0/0)#

6.8.4 tr069 ip-index


Command Syntax ont tr069 portid ontid ip-index index

Applicable Views GPON view

Description This command is used to configure the iphost bound to ONT's tr069.

portid Specify the PON port number. The value ranges from 1 to 16

ontid ID of the ONT to be configured. The value ranges from 1 to 128

Configure the iphost bound to the ONT's tr069. The default value is 0
index
and the value ranges from 0 to 1.

[Configuration case]

Case1: Configure the iphost bound to the ONU whose id is 1 on port 1 to 1


OLT(config-gpon-0/0)# ont tr069 1 1 ip-index 1

153
GPON OLT User Manual

OLT(config-gpon-0/0)#

6.8.5 tr069-management
ont tr069 portid ontid tr069-management (disable | enable|
Command Syntax
unconcern)

Applicable Views GPON view

This command is used to configure the tr069 management status of


Description
ONT.

portid Specify the PON port number. The value ranges from 1 to 16

ontid ID of the ONT to be configured. The value ranges from 1 to 128

(disable | enable| Configure the tr069 management status of the ONT. The default is
unconcern) unconcern.

[Configuration case]

Case1: Turn on the TR069 function of the ONU with id 1 under port 1
OLT(config-gpon-0/0)# ont tr069 1 1 tr069-management enable
OLT(config-gpon-0/0)#

6.9traffic profile configuration


6.9.1 show traffic-profile
show traffic-profile (all | profile-id Profile-ID | profile-name
Command Syntax
Profile-name )

Applicable Views GPON view

Description This command is used to show the ONT traffic profile.

Profile-ID id of the traffic profile. The value ranges from 1 to 256

Profile-name The name of the traffic profile, which can be 1 to 16 characters long

all Show all traffic profile configurations

[Configuration case]

Case1: Show all traffic profile configurations


OLT(config)# show traffic-profile all
-----------------------------------------------------------------------------

154
GPON OLT User Manual

ID Profile-name CIR(kbps) PIR(kbps) CBS(bytes) PBS(bytes) Bind


----------------------------------------------------------------------------
1 traffic-profile_1 1024 2048 34768 67536 0
-----------------------------------------------------------------------------
Total: 1
OLT(config)#

6.9.2 traffic-profile
traffic-profile (profile-id Profile-ID|profile-name Profile-name) {cir
Command Syntax committed-rate-value |pir peek-rate-rate |cbs committed-burst-size|
pbs peek-burst-size}

Applicable Views GPON view

Description This command is used to configure the traffic profile for ONT.

Profile-ID id of the traffic profile. The value ranges from 1 to 256

Profile-name The name of the traffic profile, which can be 1 to 16 characters long

Configure the committed bandwidth. The value ranges from 64 to


committed-rate-value
1024000, in kbps.

Configure the best-effort bandwidth. The value ranges from 64 to


peek-rate-rate
102400, in kbps.

Configure the committed burst size. The value ranges from


committed-burst-size
2000-10240,000, in bytes.

Configure the peak burst size. The value ranges from


peek-burst-size
2000-10240,000, in byte.

[Configuration case]

Case 1: Create a traffic profile with id 10 and name test1, cir 128, pir 256, cbs2000, pbs3000

Traffic profile
OLT(config)# traffic-profile profile-id 10 profile-name test1 cir 128 pir 256 cbs 2000 pbs
3000
OLT(config)#

6.10 Multi-service profile configuration


6.10.1 commit
Command Syntax commit

155
GPON OLT User Manual

Applicable Views mult-srv-profile view

This command is used to submit the configuration of the


multi-service profile. All parameter configurations of the
Description
multi-service profile take effect only after the configuration is
successfully submitted

[Configuration case]

Case1: Submit the current multi-service profile configuration.


OLT(config-mult-srv-profile_1)# commit
OLT(config-mult-srv-profile_1)#

6.10.2 ont mult-srv-profile


ont mult-srv-profile gpon {profile-id <0-127 >| profile-name
profile-name}
Command Syntax
no ont mult-srv-profile gpon (profile-id <0-127 >| profile-name
profile-name)

Applicable Views config view

The "ont mult-srv-profile" command is used to create an ONT


multi-service profile.
Description
The "no ont mult-srv-profile" command is used to delete an ONT
multi-service profile.

ONT Multi-service profile ID. The value ranges from 0 to 127.


<0-127 >
0 indicates the profile created by default.

The name of the ONT multi-service profile, which can contain 1 to 64


profile-name
characters

[Configuration case]

Case1: Create a multi-service profile with ID 1.


OLT(config)# ont mult-srv-profile profile-id 1
OLT(config-mult-srv-profile_1)#

6.10.3 ont-line-profile
Command Syntax ont-line-profile (profile-id profile-id | profile-name profile-name)

Applicable Views mult-srv-profile view

This command is used to reference the line profile in the ONT


Description
multi-service profile.

156
GPON OLT User Manual

ONT line profile number, which identifies a line profile. The value
ranges from 0 to 512. If no ONT profile number is specified, the
profile-id system automatically assigns the minimum free profile number. Line
profile 0 is the default profile. The ONT that goes online
automatically matches line profile 0

ONT line profile name, which can contain 1 to 16 characters. The


profile-name default profile name is lineprofile_x, where the "x" is the actual
profile number.

[Configuration case]

Case1: Configure multi-service profile with ID 1 to reference line profile 6.


OLT(config-mult-srv-profile_1)# ont-line-profile profile-id 6
OLT(config-mult-srv-profile_1)#

6.10.4 ont-srv-profile
Command Syntax ont-srv-profile (profile-id profile-id| profile-name profile-name)

Applicable Views mult-srv-profile view

This command is used to reference a service profile at ONT


Description
multi-service profile.

ONT Service profile ID, which identifies a service profile. The value
ranges from 1 to 512. If this parameter is not specified, the system
profile-id automatically assigns the minimum idle profile number. Service
profile 0 is the default profile. The ONT that goes online
automatically matches service profile 0

ONT service profile name, which can contain 1 to 16 characters. The


profile-name default profile name is srvprofile_x, where the "x" is the actual
profile number.

[Configuration case]

Case1: Configure the multi-service profile whose ID is 1 to reference service profile 0.


OLT(config-mult-srv-profile_1)# ont-srv-profile profile-id 0
OLT(config-mult-srv-profile_1)#

6.10.5 show mult-srv-profile


show ont mult-srv-profile gpon ( all | profile-id <0-127 > |
Command Syntax profile-name profile-name )
show mult-srv-profile current

157
GPON OLT User Manual

Applicable Views config view, mult-srv-profile view

Description used to show the ONT multi-service profile configuration.

all All current ONU service profiles.

<1-127 > ONT Multi-service profile ID. The value ranges from 1 to 127.

The name of the ONT multi-service profile, which can contain 1 to 64


profile-name
characters

[Configuration case]

Case1: Show the multi-service profile 1 Current configuration.


OLT(config-mult-srv-profile_1)# show mult-srv-profile current
---------------------------------------------------------------
Profile-ID :1
Profile-name : mult-srv-profile_1
Profile-Type : professional
Ont-line-profile :6
Ont-srv-profile :0
Binding-times :0
---------------------------------------------------------------
OLT(config-mult-srv-profile_1)#

158
GPON OLT User Manual

7 Diagnostic management

This chapter includes the following topics:

 Mirror function

 Rogue ONU detection

 Loop detection

 Optical module Alarm

 Performance statistics

 SNMP management

7.1Mirroring function
7.1.1 mirror
mirror group group-id src-port src-port-id dst-port (ge|xge) portid
Command Syntax (all|egress|ingress)
no mirror group group-id

Applicable Views GE view, GPON view

This command is used to configure the port mirroring function. This


command is used when you need to copy the traffic of a port to
another port for traffic observation, network fault diagnosis, and
Description
data analysis. After the mirroring function is configured for an
Ethernet port, the packets from the source port in the specified
direction are completely copied to the destination port.

group-id The value ranges from 1 to 4.

The port number of the mirrored source port. A source port can only
src-port-id
exist in one group

ge: Gigabit ge upper connector


ge|xge
xge: 10-Gigabit xge uplink port

Port number of the destination port of the mirror. The value of the
portid
port is in the range of 0/0/1-0/4 for ge and 0/0/1-0/2 for xge.

159
GPON OLT User Manual

all: sends and receives bidirectional packets from the mirrored


source port. The packets received and sent from the mirrored source
port are completely copied and output to the mirrored destination
port.
egress: Sends a packet from a mirrored source port. This section
all|egress|ingress
describes how to copy the packet from the mirrored source port to
the mirrored destination port.
ingress: Receives the packet from the mirrored source port. The
ingress copies the packet received from the source port to the
destination port.

[Configuration case]

Case1: Mirrors the outgoing and incoming packets of GE3 to GE1.


OLT(config-ge-0/0)# mirror group 1 src-port 3 dst-port ge 0/0/1 all
Case2: Mirrors outgoing packets from port PON1 to port GE2.
OLT(config-gpon-0/0)# mirror group 2 src-port 1 dst-port ge 0/0/2 all
Case3: Delete the mirror configuration in mirror group 1.
OLT(config-ge-0/0)# no mirror group 1

7.1.2 show mirror


Command Syntax OLT(config-interface-ge-0/0)# show mirror

Applicable Views enable view, config view, GE view, GPON view

This command is used to show the configuration information about


Description
the mirroring function of an Ethernet port.

[Configuration case]

Case1: Show the configuration of the OLT port mirroring function.


OLT(config-gpon-0/0)# show mirror
--------------------------------------------
Group ID: 1
Destnation port: ge 0/0/1
Source-port Ingress Egress
gpon 0/0/3 Yes Yes
--------------------------------------------
Group ID: 2
Destnation port: ge 0/0/2
Source-port Ingress Egress
gpon 0/0/1 Yes Yes
--------------------------------------------

160
GPON OLT User Manual

Group ID: 3
Destnation port: NONE
--------------------------------------------
Group ID: 4
Destnation port: NONE
--------------------------------------------

7.2Rogue ONU detection


7.2.1 anti-rogueont auto-check
anti-rogueont auto-check (port-ID | all) (enable|disable) [interval
Command Syntax
interval-value]

Applicable Views GPON view

This command enables or disables the ONU long glow detection


function of the PON port. If this function is enabled, the OLT will
Description
generate an alarm when the ONU long glow occurs. By default, the
automatic detection of ONU long glow is enabled on the PON port.

port-ID The port number to be configured

all Refers to all port numbers

enable: enables the PON port to automatically detect the ONU long
glow
enable|disable
disable: indicates that the PON port automatically detects the long
glow of the ONU

The value ranges from 1 to 100, expressed in minutes (mins). The


interval-value default value is 15. If this parameter is not specified, use the default
value.

[Configuration case]

Case1: Enable the PON1 port to automatically detect ONU long glow.
OLT(config-interface-gpon-0/0)# anti-rogueont auto-check 1 enable

OLT(config-interface-gpon-0/0)#

7.2.2 anti-rogueont auto-isolate


Command Syntax anti-rogueont auto-isolate (port-ID | all) (enable|disable)

Applicable Views GPON view

161
GPON OLT User Manual

Configure the automatic isolation function under the PON port. The
Description
default is disable

port-ID The port number to be configured

enable: enables automatic ONU isolation


enable|disable
disable: disables automatic ONU isolation

[Configuration case]

Case1: Enable PON1 automatic isolation


OLT(config-interface-gpon-0/0)# anti-rogueont auto-isolate 1 enable
OLT(config-interface-gpon-0/0)#

7.2.3 anti-rogueont manual-check


Command Syntax anti-rogueont manual-check (port-ID | all)

Applicable Views GPON view

This command is used to manually configure the detection ONU long


Description glow function of the PON port. After this command is executed, the
PON port performs the ONU long glow detection function.

port-ID The port number to be configured

[Configuration case]

Case1: Manually configure the PON1 port to detect ONU long luminescence.
OLT(config-interface-gpon-0/0)# anti-rogueont manual-check 1

OLT(config-interface-gpon-0/0)#

7.2.4 anti-rogueont manual-detect


Command Syntax anti-rogueont manual-detect (port-ID | all)

Applicable Views GPON view

This command is used to manually configure the detection ONU long


light function of the PON port. After executing this command, the
Description
PON port will perform the function of detecting the long light
emission of the ONU and try to find out which rogue ONU is.

port-ID The port number to be configured

【Configuration case】

162
GPON OLT User Manual

Case1: Manually configure the PON1 port to detect the long light emitting function of the ONU

and detect which rogue ONU is the specific one。


OLT(config-interface-gpon-0/0)# anti-rogueont manual-detect 1
OLT(config-interface-gpon-0/0)#

7.2.5 ont re-enable


Command Syntax ont re-enable port-ID sn SN-VALUE

Applicable Views gpon interface view

This command is used to move the ONU out of the Rogue onu
Description
Automatic quarantine table.

port-ID The specified port number

SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.

[Configuration case]

Case1: Move the ONU of port 1 with sn RTKG11111111 out of the isolation table.
OLT(config-gpon-0/0)# ont re-enable 1 sn RTKG11111111
OLT(config-gpon-0/0)#

7.2.6 show anti-rogueont


Command Syntax show anti-rogueont (PORTID | all)

Applicable Views GPON view

Description Check the PON port for rogue ONU information

PORTID Port number specified

all Show Rogue ONU information for all PON ports

[Configuration case]

Case1: Show the information of all rogue ONUs on the PON port
OLT(config-interface-gpon-0/0)# show anti-rogueont all
-------------------------------------------------------------------------
index Port ONT-ID SN
-------------------------------------------------------------------------
1 gpon 0/0/1 1 RTKG00000819
-------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#

163
GPON OLT User Manual

7.2.7 show anti-rogueont config


Command Syntax show anti-rogueont (auto-detect | auto-isolate)config

Applicable Views GPON view

Show the PON port length glow detection and Rogue ONU isolation
Description
enable configuration

[Configuration case]

Case1: Check the status of the automatic PON port isolation function
OLT(config-gpon-0/0)# show anti-rogueont auto-isolate config
-----------------------------------------------------
Port Status
-----------------------------------------------------
gpon 0/0/1 enable
gpon 0/0/2 disable
gpon 0/0/3 disable
gpon 0/0/4 disable
gpon 0/0/5 disable
gpon 0/0/6 disable
gpon 0/0/7 disable
gpon 0/0/8 disable
-----------------------------------------------------
OLT(config-gpon-0/0)#
Case2: Check the status of the PON port automatic isolation function
OLT(config-gpon-0/0)# show anti-rogueont auto-detect config
-----------------------------------------------------
Port Status Interval(min)
-----------------------------------------------------
gpon 0/0/1 enable 15
gpon 0/0/2 enable 15
gpon 0/0/3 enable 15
gpon 0/0/4 enable 15
gpon 0/0/5 enable 15
gpon 0/0/6 enable 15
gpon 0/0/7 enable 15
gpon 0/0/8 enable 15
-----------------------------------------------------
OLT(config-gpon-0/0)#

7.3Loop detection

164
GPON OLT User Manual

7.3.1 loopback-detection
Command Syntax loopback-detection [portlist] (enable | disable)

Applicable Views config view, GE view, GPON view

This command is used to enable or disable loop detection. Loop


Description
detection is enabled (enable) by default.

List of ports to be configured. The value is in 1, 2-3 format. This


portlist
parameter is not optional in config view

enable Enable loop detection.

disable The loop detection function is disabled.

[Configuration case]

Case1: Enables loop control monitoring globally.


OLT(config)# loopback-detection enable
OLT(config)#
Case2: Enables the loop control monitoring function of the GE1 port.
OLT(config-ge-0/0)# loopback-detection 1 enable
OLT(config-ge-0/0)#

7.3.2 loopback-detection action


loopback-detection portlist action (block | shutdown | trap)
Command Syntax
no loopback-detection portlist action

Applicable Views GE view, GPON view

This command is used to configure the loop detection controlled


Description
state of the specified port.

portlist List of ports to be configured. The value is in 1, 2-3 format.

block: When a loop is detected, it sends a Trap alarm to the NMS and
blocks the interface to allow only BPDU to pass through.
block |
shutdown: When a loop is detected, a Trap alarm is sent to the NMS
shutdown |
and the interface is shutdown.
trap
trap: When a loop is detected, only Trap alarms are sent to the NMS
and logs are recorded.

[Configuration case]

Case1: Configure the loop detection controlled state of GE1 to block.

165
GPON OLT User Manual

OLT(config-ge-0/0)# loopback-detection 1 action block


OLT(config-ge-0/0)#
Case2: deconfiges the loop detection controlled state of port GE1.
OLT(config-ge-0/0)# no loopback-detection 1 action
OLT(config-ge-0/0)#

7.3.3 loopback-detection interval-time


loopback-detection interval-time time
Command Syntax
no loopback-detection interval-time

Applicable Views config view

This command is used to configure or restore the loop detection


Description interval of an OLT system. By default, the loop detection interval is
30s.

time Loop detection interval, ranging from 5 to 300, expressed in seconds

[Configuration case]

Case1: Configure the loop detection interval of the OLT system to 10s.
OLT(config)# loopback-detection interval-time 10
OLT(config)#
Case2: Restore the OLT system's loop detection interval to its default value.
OLT(config)# no loopback-detection interval-time
OLT(config)#

7.3.4 loopback-detection packet vlan


loopback-detection portlist packet vlan vlanlist
Command Syntax
no loopback-detection portlist packet vlan vlanlist

Applicable Views GE view, GPON view

This command is used to monitor specified vlans on trunk and hybrid


Description ports and is not valid for access ports. When this function is disabled,
the system monitors only the default vlan of the port.

portlist List of ports to be configured. The format is 1, 6-7, 8.

vlanlist vlan list to be monitored in 8, 25-27 format.

[Configuration case]

Case1: Monitors the loop control on vlan100 of port GE1.

166
GPON OLT User Manual

OLT(config-ge-0/0)# loopback-detection 1 packet vlan 100


OLT(config-ge-0/0)#
Case2: Disable vlan100 of port GE1 for loop control monitoring.
OLT(config-ge-0/0)# no loopback-detection 1 packet vlan 100
OLT(config-ge-0/0)#

7.3.5 loopback-detection recovery-time


loopback-detection portlist recovery-time time
Command Syntax
no loopback-detection portlist recovery-time

Applicable Views GE view, GPON view

This command is used to configure the loop detection recovery


Description
interval for the specified port.

portlist List of ports to be configured. The format is 1, 6-7, 8.

time The value ranges from 5 to 1000, in seconds. The default value is 90

[Configuration case]

Case1: Configure the loop detection recovery interval for port G1 to 300 seconds.
OLT(config-ge-0/0)# loopback-detection 1 recovery-time 300
OLT(config-ge-0/0)#
Case2: restores the loop detection recovery interval of port GE1.
OLT(config-ge-0/0)# no loopback-detection 1 recovery-time
OLT(config-ge-0/0)#

7.3.6 show loopback-detection


Command Syntax show loopback-detection [port (ge | xge | gpon) 0/0/x ]

Applicable Views config view, GE view, GPON view

This command is used to show the loop detection status of an OLT


Description
system.

ge: Check the loop detection status of the upper interface


ge | xge | gpon xge: Check the loop detection status of the 10-gigabit upper interface
gpon: Checks the loop detection status of the PON interface

0/0/x List of ports to be configured. The format is 0/0/x.

[Configuration case]

Case1: Show the loop detection status of the OLT system.

167
GPON OLT User Manual

OLT(config)# show loopback-detection

System loopback-detection is running


Loopback-detect sending-packet interval: 5
---------------------------------------------------------------------------
Port RecoverTime Action Status
---------------------------------------------------------------------------
gpon 0/0/1 15 block NORMAL
ge 0/0/1 15 block NORMAL
---------------------------------------------------------------------------
Case2: Check the loop detection status of OLT port GE1.
OLT(config)# show loopback-detection port gpon 0/0/1
-----------------------------------------
Port : gpon 0/0/1
Detect VLAN : Untag
Looped VLAN :
Action : block
Status : NORMAL
Recover Time : 15
----------------------------------------

7.4Optical module Alarms


7.4.1 bias-current
bias-current ( alarm-lower | alarm-upper | warning-lower |
warning-upper ) threshold
Command Syntax
no bias-current ( alarm-lower | alarm-upper | warning-lower |
warning-upper )

Applicable Views Optical module alarm profile view

This command is used to modify or delete the value of the


bias-current parameter in the alarm profile of an optical module. The
Description
value must be alarm-lower < warning-lower < warning-upper <
alarm-upper

Alarm-lower: indicates the lower alarm value. The default value is 2.


Alarm-upper: indicates the upper alarm value. The default value is
alarm-lower |
70.
alarm-upper |
Warning-lower: indicates the warning lower limit. The default value
warning-lower|
is 7.
warning-upper
Warning-upper: indicates the warning upper limit. The default value
is 30.

168
GPON OLT User Manual

threshold The value ranges from 0 to 10000, expressed in mA.

[Configuration case]

Case1: Configure the lower limit of bias-current alarms in the optical module alarm profile to

5mA.
OLT(config-optical-alarm-profile-10)# bias-current alarm-lower 5
Case2: Deletes the bias-current alarm lower limit of the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no bias-current alarm-lower

7.4.2 show optical-alarm-profile


show optical-alarm-profile (all | profile-id profile-id | profile-name
Command Syntax
profile-name | current)

Applicable Views config view, optical module alarm profile view

This command is used to query the alarm profile of an optical


Description
module in the system.

all: Show all optical module alarm profiles on the OLT


profile-id: shows the alarm profile information of the specified
all | optical module on the OLT
profile-id | profile-name: Show information about the optical module alarm
profile-name| profile with the specified profile name on the OLT
current current: Show the information about the optical module alarm
profile in the current profile. This parameter exists only in the view of
the optical module alarm profile

Show the information about the optical module alarm profile with
profile-id
the specified id. The value ranges from 0 to 256.

Show information about the optical module alarm profile with the
profile-name
specified name.

[Configuration case]

Case1: Show the information about the alarm profile of the optical module whose profile ID is

1.
OLT(config)# show optical-alarm-profile profile-id 1
Profile-ID :1
Profile-name : optical_alarm_profile_1
Binding times :0
----------------------------------------------------------------------------

169
GPON OLT User Manual

Tx optical power warning upper threshold (dBm) : 6.00


Tx optical power warning lower threshold (dBm) : 0.00
Tx optical power alarm upper threshold (dBm) : 7.00
Tx optical power alarm lower threshold (dBm) : -1.00
Rx optical power warning upper threshold (dBm) : -1.00
Rx optical power warning lower threshold (dBm) : -30.00
Rx optical power alarm upper threshold (dBm) : 1.00
Rx optical power alarm lower threshold (dBm) : -35.00
Bias current warning upper threshold(mA) : 30.00
Bias current warning lower threshold(mA) : 7.00
Bias current alarm upper threshold(mA) : 70.00
Bias current alarm lower threshold(mA) : 2.00
Supply voltage warning upper threshold (V) : 3.47
Supply voltage warning lower threshold (V) : 3.14
Supply voltage alarm upper threshold (V) : 3.63
Supply voltage alarm lower threshold (V) : 2.97
Temperature warning upper threshold (C) : 70.00
Temperature warning lower threshold (C) : 0.00
Temperature alarm upper threshold (C) : 100.00
Temperature alarm lower threshold (C) : -10.00
ONT CATV rx optical power alarm upper threshold (dBm) : 2.50
ONT CATV rx optical power alarm lower threshold (dBm) : -9.50
ONT CATV tx voltage alarm upper threshold (dBm) : 7.00
ONT CATV tx voltage alarm lower threshold (dBm) : -1.00
ONT CATV voltage alarm upper threshold (dBm) : 3.63
ONT CATV voltage alarm lower threshold (dBm) : 2.97
ONT CATV temperature alarm upper threshold (dBm) : 100.00
ONT CATV temperature alarm lower threshold (dBm) : -10.00
----------------------------------------------------------------------------
Case2: Show the information about the alarm profile of the current optical module.
OLT(config-optical-alarm-profile-1)# show optical-alarm-profile current
Profile-ID :1
Profile-name : optical_alarm_profile_1
Binding times :0
----------------------------------------------------------------------------
Tx optical power warning upper threshold (dBm) : 46.00
Tx optical power warning lower threshold (dBm) : -78.00
Tx optical power alarm upper threshold (dBm) : 7.00
Tx optical power alarm lower threshold (dBm) : -1.00
Rx optical power warning upper threshold (dBm) : -1.00
Rx optical power warning lower threshold (dBm) : -30.00
Rx optical power alarm upper threshold (dBm) : 1.00
Rx optical power alarm lower threshold (dBm) : -35.00

170
GPON OLT User Manual

Bias current warning upper threshold(mA) : 30.00


Bias current warning lower threshold(mA) : 7.00
Bias current alarm upper threshold(mA) : 1000.00
Bias current alarm lower threshold(mA) : 100.00
Supply voltage warning upper threshold (V) : 3.47
Supply voltage warning lower threshold (V) : 3.14
Supply voltage alarm upper threshold (V) : 3.63
Supply voltage alarm lower threshold (V) : 2.97
Temperature warning upper threshold (C) : 70.00
Temperature warning lower threshold (C) : 0.00
Temperature alarm upper threshold (C) : 100.00
Temperature alarm lower threshold (C) : -10.00
ONT CATV rx optical power alarm upper threshold (dBm) : 2.50
ONT CATV rx optical power alarm lower threshold (dBm) : -9.50
ONT CATV tx voltage alarm upper threshold (dBm) : 7.00
ONT CATV tx voltage alarm lower threshold (dBm) : -1.00
ONT CATV voltage alarm upper threshold (dBm) : 3.63
ONT CATV voltage alarm lower threshold (dBm) : 2.97
ONT CATV temperature alarm upper threshold (dBm) : 100.00
ONT CATV temperature alarm lower threshold (dBm) : -10.00
----------------------------------------------------------------------------

7.4.3 ont-catv
ont-catv ( rx | tx | voltage | temp ) ( alarm-lower | alarm-upper )
Command Syntax
threshold

Applicable Views Optical module alarm profile view

This command is used to change the value of the ont-catv parameter


Description in the alarm profile of an optical module. The parameter must meet
the alarm-lower < alarm-upper value

rx: Specifies the alarm threshold for the CATV to receive optical
power. By default, the lower alarm threshold is -9.5, and the upper
alarm threshold is 2.5.
rx |
tx: CATV send voltage alarm threshold. The default lower alarm
tx |
threshold is -1, and the default upper alarm threshold is 7.
voltage |
voltage: CATV voltage alarm threshold. The default lower alarm
temp
threshold is 2.97, and the default upper alarm threshold is 3.63.
temp: indicates the CATV temperature alarm threshold. The default
lower threshold is -10, and the default upper threshold is 100.

alarm-lower | Alarm-lower: indicates the lower alarm value


alarm-upper Alarm-upper: indicates the upper alarm value

171
GPON OLT User Manual

threshold Alarm threshold

[Configuration case]

Case1: Configure the optical module alarm profile ont-catv receives optical power alarms to -10

DBM.
OLT(config-optical-alarm-profile-10)# ont-catv rx alarm-lower -10

7.4.4 optical-alarm-profile
optical-alarm-profile {profile-id <1-256>|profile-name
Command Syntax
profile-name}

Applicable Views config view

This command is used to create and enter the optical module alarm
profile mode or enter an existing optical module alarm profile mode.
An optical module alarm profile describes the alarm upper and lower
Description limits of power-tx, power-rx, temerature, voltage, bias-current, and
ont-catv. After the command is executed successfully, the
configuration mode of the optical module alarm profile is showed.
You can configure the properties of the optical module alarm profile.

< 1-256 > Optical module alarm profile ID, which identifies an optical
module alarm profile. The value ranges from 1 to 256. If this
parameter is not specified, the system automatically assigns the
<1-256> minimum idle profile number. Optical module alarm profile 0 is the
default profile. The ONT and PON ports that go online automatically
match optical module alarm profile 0. Optical module alarm profile 0
cannot be modified or deleted.

The optical module alarm profile name contains 1 to 32 characters.


profile-name The default profile name is optical_alarm_profile_x, where x is the
actual profile number.

[Configuration case]

Case1: Create and enter the optical module alarm profile as 10.
OLT(config)# optical-alarm-profile profile-id 10
OLT(config-optical-alarm-profile-10)#

7.4.5 power-rx
power-rx ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold

172
GPON OLT User Manual

Applicable Views Optical module alarm profile view

This command is used to modify or delete the value of the power-rx


Description parameter in the alarm profile of an optical module. The value must
be alarm-lower < warning-lower < warning-upper < alarm-upper

Alarm-lower: indicates the lower alarm threshold. The default value


is -35.
alarm-lower |
Alarm-upper: indicates the upper alarm value. The default value is 1.
alarm-upper |
Warning-lower: indicates the warning lower limit. The default value
warning-lower|
is -30.
warning-upper
Warning-upper: indicates the warning upper limit. The default value
is -10.

threshold The value ranges from -99.00-100.00, expressed in dbm.

[Configuration case]

Case1: Configure the optical module alarm profile power-rx alert lower limit to -25 DBM.
OLT(config-optical-alarm-profile-10)# power-rx warning-lower -25
Case2: Deletes the power-rx warning lower limit of the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no power-rx warning-lower

7.4.6 power-tx
power-tx ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold

Applicable Views Optical module alarm profile view

This command is used to modify or delete the value of the power-tx


Description parameter in the alarm profile of an optical module. The value must
be alarm-lower < warning-lower < warning-upper < alarm-upper

Alarm-lower: indicates the lower alarm value. The default value is -1.
alarm-lower | Alarm-upper: indicates the upper alarm value. The default value is 7.
alarm-upper | Warning-lower: indicates the warning lower limit. The default value
warning-lower| is 0.
warning-upper Warning-upper: indicates the warning upper limit. The default value
is 6.

threshold The value ranges from -99.00-100.00, expressed in dbm.

[Configuration case]

Case1: Configure the upper limit of power-rx alarm in the optical module alarm profile to

173
GPON OLT User Manual

5dbm.
OLT(config-optical-alarm-profile-10)# power-tx warning-lower 5
Case2: Deletes the upper limit of the optical module alarm profile power-rx warning.
OLT(config-optical-alarm-profile-10)# no power-tx warning-lower

7.4.7 temperature
temperature ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold

Applicable Views Optical module alarm profile view

This command is used to modify or delete the temperature


Description parameter in an optical module alarm profile. The value must be
alarm-lower < warning-lower < warning-upper < alarm-upper

Alarm-lower: indicates the lower alarm threshold. The default value


is -10.
alarm-lower | Alarm-upper: indicates the upper alarm value. The default value is
alarm-upper | 100.
warning-lower| Warning-lower: indicates the warning lower limit. The default value
warning-upper is 0.
Warning-upper: indicates the warning upper limit. The default value
is 70.

threshold The value ranges from -99.00 to 300.00, expressed in C.

[Configuration case]

Case1: Configure the temperature upper limit of an optical module alarm profile to 70 C.
OLT(config-optical-alarm-profile-10)# temperature alarm-upper 70
Case2: Deletes the upper limit of the temperature alarm in the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no temperature alarm-upper

7.4.8 voltage
voltage ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold

Applicable Views Optical module alarm profile view

This command is used to change or delete the value of the voltage


Description parameter in the optical module alarm profile. The value must be
alarm-lower < warning-lower < warning-upper < alarm-upper

alarm-lower | Alarm-lower: indicates the lower alarm threshold. The default value

174
GPON OLT User Manual

alarm-upper | is 2.97.
warning-lower| Alarm-upper: indicates the upper alarm threshold. The default value
warning-upper is 3.63.
Warning-lower: indicates the warning lower threshold. The default
value is 3.14.
Warning-upper: indicates the warning upper limit. The default value
is 3.47.

threshold The value ranges from 0.00 to 100.00, expressed in V.

[Configuration case]

Case1: The voltage alarm profile for an optical module is configured. The Voltage alarm upper

limit is 3V.
OLT(config-optical-alarm-profile-10)# voltage alarm-upper 3
Case2: Deletes the optical module alarm profile voltage alarm upper limit.
OLT(config-optical-alarm-profile-10)# no voltage alarm-upper

7.5Performance statistics
7.5.1 reset statistics ethernet
Command Syntax reset statistics ethernet port F/S portid

Applicable Views GPON view

This command is used to clear the performance statistics of an


Description
Ethernet port.

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

[Configuration case]

Case1: Clears the performance statistics of the Ethernet port.


OLT(config-gpon-0/0)# reset statistics ethernet port 0/0 1

7.5.2 reset statistics gem


Command Syntax reset statistics gem port F/S portid ontid

Applicable Views GPON view

This command is used to clear the performance statistics of the GEM


Description
PORT on the PON port.

175
GPON OLT User Manual

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

ontid ID of the ONT to be configured.

[Configuration case]

Case1: Clears the performance statistics of the ONU whose ONT ID is 1 in port PON1.
OLT(config-gpon-0/0)# reset statistics gem port 0/0 1 1

7.5.3 reset statistics pon


Command Syntax reset statisticspon pon port F/S portid

Applicable Views GPON view

Description This command is used to clear the performance statistics of a port.

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

[Configuration case]

Case1: Clears performance statistics of port PON1.


OLT(config-gpon-0/0)# reset statistics pon port 0/0 1

7.5.4 reset statistics port


Command Syntax reset statistics port portid

Applicable Views GE view, GPON view

Description This command is used to clear the performance statistics of a port.

portid Port number to be configured.

[Configuration case]

Case1: Clears the performance statistics of port GPON1.


OLT(config-gpon-0/0)# reset statistics port 1

7.5.5 show statistics current | history


show statistics (current | history) port portid [interval (15min |
Command Syntax
1hour | other)

176
GPON OLT User Manual

Applicable Views GE view, GPON view

This command is used to show the performance statistics in the


Description
current or historical interval.

current: Show the performance statistics of a port in the current


interval. You can select interval and the following parameters only
when this parameter is selected
current | history
history: Show the performance statistics of a port in the history
interval. When this parameter is selected, you can select interval and
the following parameters

15min: Show the current or historical performance statistics in the


last 15 minutes
1hour:
Other:
Current-15minutes: Show onu Ethernet performance statistics in the
15min | 1hour | other
current 15minutes
historic-15minutes: Show onu Ethernet performance statistics in the
last 15minutes
This parameter is optional only when ont-eth-performance is
selected

portid Port number to be configured.

[Configuration case]

Case1: Show the current performance statistics of port GE2 in the last 15 minutes.
OLT(config-ge-0/0)# show statistics current port 2 interval 15min
-----------------------------------------------------------------------------
Port: ge 0/0/2 Record Time: 2000-3-9 14:15:0
-----------------------------------------------------------------------------
RX TX
-----------------------------------------------------------------------------
Octets : 13968729 55139
Packets : 52737 312
BroadcastPackets : 11562 0
MulticastPackets : 40884 8
OversizePackets :0 0
Discards :0 0
Errors :0 0
frames 64 octets : 9548 163
frames 65 to 127 octets : 16333 68
frames 128 to 255 octets : 7657 44
frames 256 to 511 octets : 15272 7

177
GPON OLT User Manual

frames 512 to 1023 octets : 2151 14


frames 1024 to 1518 octets : 1776 16
Rate bps : 124160 488
Rate pps : 58 0
Utilization: 0.1 0.0
-----------------------------------------------------------------------------

7.5.6 show statistics ethernet


Command Syntax show statistics ethernet port F/S portid

Applicable Views GPON view

This command is used to show the performance statistics of Ethernet


Description
ports.

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

[Configuration case]

Case1: Show performance statistics for Ethernet on PON chips.


OLT(config-gpon-0/0)# show statistics ethernet port 0/0 1
-----------------------------------------------------------------------------------
Port ID: 1
-----------------------------------------------------------------------------------
RX TX
good frames :6 0
control frames :0 0
pause frames :0 0
pfc frames :0 0
jabber frames :0 0
vlan frames :6 0
double vlan frames :0 0
fragmented frames :0 0
truncated frames :0 -
undersize frames :0 -
mtu_check errors :0 -
promiscuous frames :0 -
unsupported opcode :0 -
unsupported da :0 -
alignment errors :0 -
length out of range :0 -
code errors :0 -

178
GPON OLT User Manual

oversize frames :- 0
error frames :- 0
runt frames :- 0
underrun frames :- 0
-----------------------------------------------------------------------------------
Port ID: 1 enet_stat
-----------------------------------------------------------------------------------
RX TX
bytes : 516 0
data bytes : 516 0
frames :6 0
frames 64 :0 0
frames 65 to 127 :6 0
frames 128 to 255 :0 0
frames 256 to 511 :0 0
frames 512 to 1023 :0 0
frames 1024 to 1518 :0 0
frames 1519 to 2047 :0 0
frames 2048 to 4095 :0 0
frames 4096 to 9216 :0 0
frames 9217 to 16383 :0 0
broadcast frames :0 0
multicast frames :6 0
unicast frames :0 0
abort frames :0 0
fcs error :0 0
oversize_error :0 -
runt_error :0 -
-----------------------------------------------------------------------------------

7.5.7 show statistics gem


Command Syntax show statistics gem port F/S portid ont-id gem-id

Applicable Views GPON view

This command is used to show the performance statistics of the GEM


Description
PORT on the PON port.

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

ont-id The ID of the ONT to be configured.

gem-id GEM ID to be configured

179
GPON OLT User Manual

[Configuration case]

Case1: Show the performance statistics of the GEM PORT on the PON port.
OLT(config-gpon-0/0)# show statistics gem port 0/0 1 1 1
-----------------------------------------------------------------------------------
Port ID: 1
-----------------------------------------------------------------------------------
RX TX
packets :0 0
bytes :0 0
-----------------------------------------------------------------------------------

7.5.8 show statistics ont-eth-performance


show statistics ont-eth-performance F/S portid ont-id ont-port-id
Command Syntax
(current-15minutes | historic-15minutes)

Applicable Views GPON view

Description This command is used to show ONT Ethernet performance statistics.

F/S Port number to be configured. The format is 0/0

portid Port number to be configured.

ont-id Indicates the ONT ID to be configured.

gem-id GEM ID to be configured

ont-port-id Indicates the ID of the ONT PORT to be configured

Current-15minutes: Show onu Ethernet performance statistics in the


current 15minutes
current-15minutes | historic-15minutes: Show onu Ethernet performance statistics in the
historic-15minutes last 15minutes
This parameter is optional only when ont-eth-performance is
selected

[Configuration case]

Case1: Show the current 15-minute Ethernet performance statistics at ONT


OLT(config-gpon-0/0)# show statistics ont-eth-performance 0/0 1 1 1 historic-15minutes
-----------------------------------------------------------------------------------
Port ID: 1
-----------------------------------------------------------------------------------
RX TX
Interval end time :0 0

180
GPON OLT User Manual

packets :0 0
bytes :0 0
Discarded Frames :0 0
Broadcast Frames :0 0
Multicast Frames :0 0
Crc Errored Frames :0 0
Undersize Frames :0 0
Oversize Frames :0 0
Frames 64 :0 0
Frames 65 to 127 :0 0
Frames 128 to 255 :0 0
Frames 256 to 511 :0 0
Frames 512 to 1023 :0 0
Frames 1024 to 1518 :0 0
------------------------------------------------------------------------------------

7.5.9 show statistics port


Command Syntax show statistics port portid

Applicable Views GE view, GPON view

Description This command is used to show the performance statistics of a port.

portid Port number to be configured.

[Configuration case]

Case1: Show the performance statistics of port GE2.


OLT(config-ge-0/0)# show statistics port 2
-----------------------------------------------------------------------------
Port: ge 0/0/2 Rx rate(kbps):44 Tx rate(kbps):0
-----------------------------------------------------------------------------
RX TX
-----------------------------------------------------------------------------
Octets : 35174387 1426418
Packets : 119042 6163
UnicastPackets : 6763 6117
BroadcastPackets : 24252 6
MulticastPackets : 88027 40
OversizePackets :0 0
Discards : 178 0
Errors :0 0
frames 64 octets : 21295 2774
frames 65 to 127 octets : 35878 1741

181
GPON OLT User Manual

frames 128 to 255 octets : 17778 578


frames 256 to 511 octets : 31534 178
frames 512 to 1023 octets : 5440 383
frames 1024 to 1518 octets : 7117 509
Rate pps : 30 0
Utilization: 0.0 0.0
-----------------------------------------------------------------------------

7.5.10 statistics history


Command Syntax statistics history port portid interval (15min | 1hour | time)

Applicable Views GE view, GPON view

This command is used to configure the interval for collecting


Description
historical performance statistics on a port.

portid Port number to be configured.

15min: Configure the historical statistics interval for the upper link
interface to 15 minutes
15min |
1hour: The interval for collecting statistics on the upper interface is
1hour |
1hour
time
time: Configure the historical statistics interval of the upper interface
to any time. The value ranges from 30 to 3600

[Configuration case]

Case1: Configure the historical performance statistics interval of port GE1 to one hour.
OLT(config-ge-0/0)# statistics history port 1 interval 1hour
OLT(config-ge-0/0)#

7.6SNMP management
7.6.1 show snmp-agent sys-info
Command Syntax show snmp-agent (sys-info | config)

Applicable Views config view

Description This command is used to show basic SNMP information

[Configuration case]

Case1: Show basic SNMP information


OLT(config)# show snmp-agent sys-info
contact : Shenzhen CData Tech. Co., Ltd.

182
GPON OLT User Manual

location : Shenzhen China


description : Copyright (C), 2009-2022, Shenzhen CData Tech. Co., Ltd.
sysname : SDCP1000

OLT(config)#

7.6.2 snmp-agent community


snmp-agent community (read | write) NAME
Command Syntax
no snmp-agent community (read | write) NAME

Applicable Views config view

Description This command is used to configure the SNMP community

read: snmp read-only community


read | write
write: indicates the snmp read and write community

NAME The community to configure

[Configuration case]

Case1: Configure the SNMP read-only community to aaaaa


OLT(config)# snmp-agent community read aaaaa
OLT(config)#

7.6.3 snmp-agent sys-info


snmp-agent sys-info (contact|location|description|sysname) info
Command Syntax
no snmp-agent sys-info (contact|location|description|sysname)

Applicable Views config view

The "snmp-agent sys-info" command is used to set basic SNMP


information.
Description
The "no snmp-agent sys-info" command is used to delete the basic
SNMP information.

contact: Contact information


location: Location information
contact| location|
description: indicates the description
description| sysname
sysname: indicates the name information

info Information characters to configure

[Configuration case]

183
GPON OLT User Manual

Case1: Configure the name information to aaaaa


OLT(config)# snmp-agent sys-info sysname aaaaa
OLT(config)#

7.6.4 snmp-agent trap


snmp-agent trap( ( host-name A.B.C.D <1-65535> version (1|2c|3)) |
Command Syntax (source interface loopback <1-1023> ))
no snmp-agent trap A.B.C.D

Applicable Views config view

The "snmp-agent trap" command is used to set SNMP traps.


Description The "no snmp-agent trap" command is used to delete the set SNMP
traps.

host-name Name configuration

A.B.C.D IP address

<1-65535> Port number configuration

version Snmp protocol version

[Configuration case]

Case1: Set an SNMP TRAP to aaaaa, IP address to 192.168.90.90, port number to 161, and

SNMP version to 2c
OLT(config)# snmp-agent trap aaaaa 192.168.90.90 161 version 2c
OLT(config)#
Case2: Delete an SNMP TRAP with IP 192.168.90.90
OLT(config)# no snmp-agent trap 192.168.90.90
OLT(config)#

184
GPON OLT User Manual

8 OLT protection management

This chapter includes the following topics:

 Link aggregation function

8.1Link aggregation function


8.1.1 lacp system priority
Command Syntax lacp system priority priority-value

Applicable Views config view

This command is used to configure the priority of the aggregation


Description
group system

priority-value Parameter of priority, ranging from 0 to 65535, default is 32768

[Configuration case]

Case1: Configure the OLT with an aggregation group system priority of 3000
OLT(config)# lacp system priority 3000

OLT(config)#

8.1.2 lacp timeout


Command Syntax lacp timeout (fast | slow)

Applicable Views link-aggregation view

This command is used to configure the timeout value of an LACP


Description
aggregation group

In lacp packet sending mode, fast indicates fast and slow indicates
fast | slow
slow. The default value is slow

[Configuration case]

Case1: Configure the lacp packet sending mode of aggregation group 1 to fast
OLT(config-link-aggregation-1)# lacp timeout fast

8.1.3 link-aggregation group

185
GPON OLT User Manual

link-aggregation group lagid [workmode (lacp-static | manual)]


Command Syntax
no link-aggregation group lagid

Applicable Views Config view

Using the "link-aggregation group <1-8>" command, you can add the
aggregation group
The "link-aggregation group <1-8> workmode {lacp-static | manual}"
Description
command creates a new aggregation group
Using the "no link-aggregation group <1-8>" command, you can
delete the aggregation group

Aggregation group ID. A maximum of eight aggregation groups are


lagid
supported

Lacp-static is for setting the aggregation group to LACP mode,


(lacp-static | manual)
manual is for setting the aggregation group to manual mode

[Configuration case]

Case1: Create LACP aggregation group 1


OLT(config)# link-aggregation group 1 workmode lacp-static
OLT(config-link-aggregation-1)#
Case2: New manual aggregation group 4
OLT(config)# link-aggregation group 4 workmode manual
OLT(config-link-aggregation-4)#
Case3: Go to aggregation group 4 view
OLT(config)# link-aggregation group 4
OLT(config-link-aggregation-4)#
Case4: Deletes aggregation group 4
OLT(config)# no link-aggregation group 4
This command will delete the lag group. Are you sure to execute this command? (
y/n):y
OLT(config)#

8.1.4 load-balance
load-balance
Command Syntax (dest-mac|source-mac|source-dest-mac|dest-ip|source-ip|source-
dest-ip)

Applicable Views link-aggregation view

Description This command is used to configure the sharing mode of informed

186
GPON OLT User Manual

unicast data in an aggregation group

dest-ip: Implements unicast load balancing by destination ip address


dest-mac: Load balancing by destination mac address
(dest-mac|source-ma
Source-dest-ip: load balancing by source or destination ip address
c|source-dest-mac|d
Source-dest-mac: Loads are balanced by source or destination mac
est-ip|source-ip|sour
address
ce-dest-ip)
Source-ip: load balancing by source ip address
Source-mac: Load balancing by source mac address (default mode)

[Configuration case]

Case1: Configure the informed unicast load balancing mode of aggregation group 1 to load

balancing by destination IP address.


OLT(config-link-aggregation-1)# load-balance dest-ip

8.1.5 member add | delete


Command Syntax member (add|delete) (ge|xge) F/S port-list

Applicable Views link-aggregation view

The device supports a total of eight aggregation groups. "member


add" adds member ports under the aggregation group, and
Description
"member delete" deletes member terminals under the
corresponding aggregation group

add: Adds a member to the aggregation group


add|delete
delete: Deletes an aggregation group member

ge|xge Aggregation group member port mode

F/S Slot number(eg.0/0)

port-list Port number, in the format 1,3-4,6

[Configuration case]

Case1: Add upper interface ge3 to aggregation group 1


OLT(config-link-aggregation-1)# member add ge 0/0 3
OLT(config-link-aggregation-1)#
Case2: Remove upper link ge2 from aggregation group 1
OLT(config-link-aggregation-1)# member delete ge 0/0 2
OLT(config-link-aggregation-1)#

8.1.6 port-priority

187
GPON OLT User Manual

Command Syntax port-priority (ge|xge) F/S/P priority

Applicable Views link-aggregation view

This command is used to configure the priority of aggregation group


Description
ports

ge|xge Aggregation group member port mode

F/S/P Aggregation group port number

Parameter of the priority, ranging from <0-65535>, with a default


priority
value of 32768

[Configuration case]

Case1: Configure the priority of upper interface GE1 to 6000


OLT(config-link-aggregation-1)# port-priority ge 0/0/1 6000
OLT(config-link-aggregation-1)#

8.1.7 show link-aggregation all


Command Syntax show link-aggregation all

Applicable Views config view

This command is used to show information about all aggregation


Description
groups

[Configuration case]

Case1: Show the status of all aggregation groups


OLT(config)# show link-aggregation all
--------------------------------------------------------------------------------
System priority: 3000
--------------------------------------------------------------------------------
Lag Master Lag Load Link Port MaxSpeed RealSpeed
ID Port Mode Balance Status Num /Mbps /Mbps
--------------------------------------------------------------------------------
1 ge 0/0/1 STATIC dest-ip down 1 1000 1000
2 - MANUAL source-mac down 0 0 0
4 - MANUAL source-mac down 0 0 0
--------------------------------------------------------------------------------
OLT(config)#

8.1.8 show link-aggregation group

188
GPON OLT User Manual

Command Syntax show link-aggregation group lagid [verbose]

Applicable Views config view

This command is used to show information about the aggregation


Description
group

lagid Aggregation group ids, up to 8

[verbose] Show the details of the aggregation group

[Configuration case]

Case1: Show information about aggregation group 1


OLT(config)# show link-aggregation group 1
Link aggregation ID: 1
Lag Mode: STATIC
Master port: ge 0/0/1
Load balance mode: dest-ip
Link status: down
Lacp timeout mode: fast
Lacp system priority value: 3000
-------------------------------------------------------------------------
Member-port Priority Selected/unselected PortLink
-------------------------------------------------------------------------
ge 0/0/1 100 selected up
-------------------------------------------------------------------------
OLT(config)#
Case2: Show details for aggregation group 1
OLT(config)# show link-aggregation group 1 verbose
Link aggregation ID: 1
Lag Mode: STATIC
Master port: ge 0/0/1
Load balance mode: dest-ip
Link status: down
Lacp timeout mode: fast
Lacp system priority value: 3000
-------------------------------------------------------------------------
Member-port Priority Selected/unselected PortLink
-------------------------------------------------------------------------
ge 0/0/1 100 selected up
-------------------------------------------------------------------------
MaxSpeed(/Mbps): 1000 RealSpeed(/Mbps): 1000
-----------------------------------------------------------------------------

189
GPON OLT User Manual

Vlan mode: Access Native-Vlan: 100


-----------------------------------------------------------------------------
Tagged-Vlan:
-----------------------------------------------------------------------------
Untagged-Vlan:
100
-----------------------------------------------------------------------------
OLT(config)#

190
GPON OLT User Manual

9 Device management

This chapter includes the following topics:

 Device configuration

 Status detection

 Configuration Management

 OLT upgrades

9.1Equipment configuration
9.1.1 end
Command Syntax end

Applicable Views Other views other than enable view

This command is used to exit directly to enable view from any view
Description
other than enable view.

[Configuration case]

Case1: Exit from config view to view view.


OLT(config)# end

OLT#

9.1.2 exec-timeout
exec-timeout time
Command Syntax
no exec-timeout

Applicable Views enable view, config view

Using the "exec-timeout" command, you can configure the login


timeout period of the user. If the user does not perform any
Description operation on the device within the specified period, the user will log
out automatically. The default is 300 seconds.
The "no exec-timeout" command is used to configure the default

191
GPON OLT User Manual

login timeout.

time The value ranges from 1 to 36,000, expressed in seconds

[Configuration case]

Case1: The configuration execution timeout is 36,000 seconds.


OLT(config)# exec-timeout 36000

OLT(config)#

9.1.3 ip address
ip address ip-address (ip-address-mask | length of mask)
Command Syntax
no ip address

Applicable Views mgmt view

The "ip address" command is used to configure the IP address and


subnet mask of an out-of-band management interface. You can use
Description this IP address to access the OLT.
The "no ip address" command is used to cancel the IP address and
subnet mask of an out-of-band management interface.

IP address. IP addresses are divided into five types. You can select an
appropriate IP subnet based on the actual situation. If the host
ip-address
address part is all 0 or all 1, it can not be used as a general IP
address.

ip-address-mask Subnet mask. The format is X.X.X.X

length of mask The subnet mask length, ranging from 0 to 32

[Configuration case]

Case1: Configure the IP address of OLT's out-of-band management interface to 192.168.5.68

and the subnet mask length to 24.


OLT(config-interface-mgmt)# ip address 192.168.5.68 24

OLT(config-interface-mgmt)#
Case2: Unconfigure the IP address of the out-of-band management interface of the OLT
OLT(config-interface-mgmt)# no ip address

OLT(config-interface-mgmt)#

9.1.4 logout
192
GPON OLT User Manual

Command Syntax logout

Applicable Views view view, enable view, config view

Description This command is used to exit the current system.

[Configuration case]

Case1: Exit the current system.


OLT# logout

>>User name:

9.1.5 reboot
Command Syntax reboot

Applicable Views view view, enable view, config view

Description This command is used to reboot the current system.

[Configuration case]

Case1: reboot the current system.


OLT(config)# reboot

Please check whether data has saved,


the unsaved data will lose if reboot system.
Are you sure to reboot system? (y/n):

9.1.6 show device


Command Syntax show device

Applicable Views enable view, config view

This command is used to query information about an OLT, including


Description
the model, mac address, SN, and manufacturer name.

[Configuration case]

Case1: Show device information for the OLT.


OLT(config)# show device
Device name : TENDA
Device MAC address : E0:67:B3:21:10:09

193
GPON OLT User Manual

Device serial-number : AF2101-160150001


Device vendor name : TES7008
Device csm : 0X000

admin's Device status:


Slot Type Status OnlineTime OfflineTime
--------------------------------------------------------------------------
0 V1.0.0.1 Normal 2018-10-28 01:02:18 --

OLT(config)#

9.1.7 show exec-timeout


Command Syntax show exec-timeout

Applicable Views enable view, config view

Description This command is used to show the user execution timeout period.

[Configuration case]

Case1: Show user execution timeout.


OLT# show exec-timeout
Timeout: 36000s

OLT#

9.1.8 sysname
Command Syntax sysname name

Applicable Views config view

This command is used to configure the OLT name showed on the


Description
command line of the OLT.

name The network name of the OLT, supported 1-16 characters.

[Configuration case]

Case1: Configure the OLT network name to test.


OLT(config)# sysname test

test(config)#

9.2Status detection

194
GPON OLT User Manual

9.2.1 fan speed mode


Command Syntax fan speed mode (auto | manual (level1 | level2 | level3 | level4))

Applicable Views config view

This command is used to configure the working mode of the cooling


Description
fan of the OLT.

auto: Auto mode


auto | manual
manual: Manually configure the fan operation level

level1: RPM level1


level1 | level2 | level2: Speed level2
level3 | level4 level3: Speed level3
level4: Speed level4

[Configuration case]

Case1: The cooling fan configured with OLT works in manual mode and the speed level is level

2.
OLT(config)# fan speed mode manual level2

OLT(config)#

9.2.2 ntp-service
Command Syntax ntp-service (server|client)(enable|disable)

Applicable Views Config view

Description The NTP client or server is enabled

Client or server. The client and server cannot be enabled at the same
(server|client)
time

enable|disable Enable or disable the ntp client or server

[Configuration case]

Case1: Configure the client to open


OLT(config)# ntp-service client enable
OLT(config)#

9.2.3 ntp-service refclock-master


Command Syntax ntp-service refclock-master (server|server-bak) A.B.C.D

195
GPON OLT User Manual

Applicable Views Config view

Description The server IP configuration that the NTP client follows.

(server|server-bak) The NTP client follows the server

A.B.C.D The NTP client follows the IP address of the server

[Configuration case]

Case1: Configure the IP address of the client to follow the server


OLT(config)# ntp-service refclock-master server-bak 120.25.108.11
OLT(config)# ntp-service refclock-master server 182.92.12.11
OLT(config)#

9.2.4 ntp-service sync-interval


Command Syntax ntp-service sync-interval <180-600>

Applicable Views Config view

Description Server cycle configuration that the NTP client follows.

< > 180-600 NTP client follows server cycle (default :180).

[Configuration case]

Case1: Configure the server period followed by the NTP client to 300 seconds
OLT(config)#ntp-service sync-interval 300
OLT(config)#

9.2.5 show cpu


Command Syntax show cpu [history (5sec | 1min | 5min)]

Applicable Views config view

Description This command is used to show the usage of the OLT CPU.

[Configuration case]

Case1: Look at OLT CPU usage


OLT(config)# show cpu
-----------------------------------------------------------------------------
Load Average(5sec) : 18.07%
Load Average(1min) : 17.93%
Load Average(5min) : 17.99%

196
GPON OLT User Manual

Load Average(15min) : 17.87%


-----------------------------------------------------------------------------
OLT(config)#

Case2: Show OLT CPU usage in the last 1 minute


OLT(config)# show cpu history 1min
Load Average 1min history:
-----------------------------------------------------------------------------
17.96% 17.85% 18.08% 17.83% 18.04% 17.96% 18.03% 17.55% 17.72% 17.77%
17.88% 17.76% 17.95% 17.74% 17.91% 18.01% 18.06% 17.92% 17.82% 17.75%
17.71% 18.01% 18.07% 17.88% 17.99% 17.95% 18.25% 17.57% 17.93% now
-----------------------------------------------------------------------------
OLT(config)#

9.2.6 show fan


Command Syntax show fan

Applicable Views enable view, config view

This command is used to show the working status of the cooling fan
Description
of an OLT.

[Configuration case]

Case1: Check the working status of OLT's cooling fan.


OLT(config)# show fan
-----------------------------------------------------------------------------
Fan speed mode: auto
Fan speed level: 1
-----------------------------------------------------------------------------
FAN[1] status: Normal (7500RPM)
FAN[2] status: Normal (7380RPM)
-----------------------------------------------------------------------------
Fan speed level2 :40.00(C)
Fan speed level3 :50.00(C)
Fan speed level4 :65.00(C)
-----------------------------------------------------------------------------
OLT(config)#

9.2.7 show flash


Command Syntax show flash

Applicable Views Config view

197
GPON OLT User Manual

Description Show flash usage

[Configuration case]

Case1: Show flash usage


OLT(config)# show flash
-----------------------------------------------------------------------------
User Total memory : 832MB
User Free memory : 807MB
Utilization: 2.98%
-----------------------------------------------------------------------------
OLT(config)#

9.2.8 show memory


Command Syntax show memory

Applicable Views enable view, config view

Description This command is used to show the memory usage of the OLT.

[Configuration case]

Case1: Look at the memory usage of the OLT.


OLT# show memory
-----------------------------------------------------------------------------
Total memory : 1012MB
Free memory : 745MB
Utilization : 27%
-----------------------------------------------------------------------------

OLT#

9.2.9 show ntp-service status


Command Syntax show ntp-service status

Applicable Views Config view

Description The NTP client follows the ntp server

[Configuration case]

Case1: Check the status of the client following ntp server


OLT(config)# show ntp-service status
service server status : disable

198
GPON OLT User Manual

service client status : disable


main server ip-address: 127.127.1.0
backup server ip-address: 127.127.1.1
clock status : unsynchronized
OLT(config)#

9.2.10 show temperature threshold


Command Syntax show temperature threshold

Applicable Views config view

This command is used to show the temperature threshold of an OLT


Description
system.

[Configuration case]

Case1: Check the OLT system temperature threshold.


OLT(config)# show temperature threshold
The temperature high-threshold of the system : 80(C)

OLT(config)#

9.2.11 show time


Command Syntax show time

Applicable Views enable view, config view

Description This command is used to see the time of the OLT.

[Configuration case]

Case1: Check the time of the OLT.


OLT(config)# show time
2018-10-28 18:49:01 +0800 GMT
OLT(config)#

9.2.12 show timezone


Command Syntax show timezone

Applicable Views config view

This command is used to show the current time zone of the OLT
Description
system.

199
GPON OLT User Manual

[Configuration case]

Case1: Show the current time zone of the OLT system


OLT(config)# show timezone
The current time zone: GMT+08:00
OLT(config)#

9.2.13 show uptime


Command Syntax show uptime

Applicable Views enable view, config view

This command is used to show the startup time and running working
Description
time of the OLT.

[Configuration case]

Case1: Look at OLT startup times and running hours.


OLT# show uptime
System up time : 0 day 17 hour 29 minute 47 second
System boot time : Thu Sep 7 17:20:33 2017

OLT#

9.2.14 temperature threshold-high


Command Syntax temperature threshold-high value

Applicable Views config view

This command is used to configure the temperature threshold of the


OLT system. If the real-time temperature is higher than the specified
Description
temperature threshold, an alarm is reported. The default value is
80 ° C.

Temperature threshold of the OLT system. The value ranges from 40


value
to 105, expressed in ° C

[Configuration case]

Case1: Configure the maximum temperature threshold of the OLT system to 40 ° C.


OLT(config)# temperature threshold-high 40
OLT(config)#

9.2.15 time

200
GPON OLT User Manual

Command Syntax time time

Applicable Views config view

Description This command is used to configure the time of the OLT.

time Time, format: YYYY/MM/DD-HH:MM:SS

[Configuration case]

Case1: Time to configure the OLT.


OLT(config)# time 2018/06/22-15:35:59

OLT(config)#

9.2.16 time dst


time dst start <1-12> (1st|2nd|3rd|4th|last)
(sun|mon|tues|wed|thurs|fri|sat) HH:MM:SS end <1-12>
Command Syntax (1st|2nd|3rd|4th|last) (sun|mon|tues|wed|thurs|fri|sat)
HH:MM:SS adjust HH:MM
no time dst

Applicable Views Config view

Description Daylight saving time configuration

<1-12> < 1-12 > The month in which daylight saving time begins or ends

(1st|2nd|3rd|4th|las
The week of the month in which daylight saving time begins or ends
t)

(sun|mon|tues|wed|
The day of the week in which daylight saving time begins or ends
thurs|fri|sat)

The time on the day daylight Saving time starts or ends


HH:MM:SS
(default :<02:00:00>)

adjust HH:MM Adjust time < 00:01-03:00 >(Default :< 01:00 >)

[Configuration case]

Case1: Configure the start and end of daylight saving time, and the time of adjustment
OLT(config)# time dst start 1 2nd wed 02:11:11 end 3 4th tues 01:22:22 adjust 00:34
OLT(config)#

9.2.17 timezone

201
GPON OLT User Manual

Command Syntax timezone gmt+/gmt- timezone

Applicable Views config view

Configure the system time zone to be East or West. GMT+ indicates


the Eastern time zone, where the local time is faster than Greenwich
Description
Mean Time, and GMT- indicates the Western time zone, where the
local time is slower than Greenwich Mean time.

Time zone Time, in the format hh:mm, with a maximum of 18:00 for
timezone
the Eastern time zone and 18:00 for the Western time zone.

[Configuration case]

Case1: Configure the OLT system time zone


OLT(config)# timezone gmt+ 08:00

OLT(config)#

9.3Config management
9.3.1 backup save-config format ftp
backup save-config format (gz|txt) ftp server-ip-address user-name
Command Syntax
user-password filename

Applicable Views enable view, config view

This command is used to back up the OLT's configuration to the ftp


Description
server

Format (gz|txt) File formats for backup configuration: gz format and txt format

server-ip-address ip address of the ftp server

user-name ftp username

user-password ftp user password

The name of the backup profile, which you set yourself, does not
filename
need the file format name

[Configuration case]

Case1: Back up the configuration file of the device. The configuration file name is config, the

backup file type is gz, the IP address of the ftp server is 192.168.1.16, the ftp user name is

amdin, and the password is admin.

202
GPON OLT User Manual

OLT(config)# backup save-config format gz ftp 192.168.1.16 admin admin config


Start backup configuration files
The backup is successful

OLT(config)#

9.3.2 backup save-config format tftp


Command Syntax backup save-config format (gz|txt) tftp server-ip-address filename

Applicable Views enable view, config view

This command is used to back up the OLT's configuration to the tftp


Description
server

server-ip-address ip address of the tftp server

The name of the backup profile, which you set yourself, does not
filename
need the file format name

Format (gz|txt) The backup configuration file format is gz and txt

[Configuration case]

Case1: backs up the configuration file of the device. The configuration file name is config, the

backup file type is gz, and the tftp server IP address is 192.168.5.202.
OLT# backup save-config format gz tftp 192.168.5.202 config
Start backup configuration files
The backup is successful

OLT#

9.3.3 erase saved-config


Command Syntax erase saved-config

Applicable Views config view

This command is used to erase the configuration save file. After


Description running this command, reboot the OLT and the OLT will be restored
to factory Settings.

[Configuration case]

Case1: Delete the configuration save file


OLT# erase saved-config
This command will clear the active board data that has been saved

203
GPON OLT User Manual

Please rememb
er to backup the system configuration data
Are you sure to continue? (y|n)[n]: y

Successfully restored factory configuration!

9.3.4 load saved-config ftp


load saved-config ( gz |txt) ftp server-ip-address user-name
Command Syntax
user-password filename

Applicable Views enable view, config view

This command is used to download the configuration file of the OLT


Description
from the ftp server

gz: Files compressed using gzip


gz |txt
txt: Text file

server-ip-address ip address of the ftp server

user-name ftp user name

user-password ftp user password

The name of the backup profile, which you set yourself, does not
filename
need the file format name

[Configuration case]

Case1: Download the configuration file of the device from the server, the configuration file

name is config, the backup file type is gz, the IP address of the ftp server is 192.168.1.16, the

ftp user name is amdin, and the password is admin.


OLT(config)#load saved-config ftp 192.168.1.16 admin admin config
OLT(config)#

9.3.5 load saved-config tftp


Command Syntax load saved-config tftp server-ip-address filename

Applicable Views enable view, config view

This command is used to download the configuration file of OLT from


Description
the tftp server

server-ip-address ip address of the tftp server

204
GPON OLT User Manual

The name of the backup profile, which you set yourself, does not
filename
need the file format name

[Configuration case]

Case1: Download the configuration file of the device from the server, the configuration file

name is config, the backup file type is gz, and the tftp server IP address is 192.168.5.202.
OLT# load saved-config tftp 192.168.5.202 config
OLT#

9.3.6 save
Command Syntax save

Applicable Views enable view, config view

This command is used to save the configuration file of the current


Description
device.

[Configuration case]

Case1: Saves the OLT real-time configuration file


OLT(config)# save
Backup old configuration succeed.
Current configuration saved.
OLT(config)#

9.3.7 show current-config


Command Syntax show current-config [(include|exclude) CMDSTR]

Applicable Views enable view, config view

"show current-config" is used to show real-time configuration files.


This command is used when you need to query the current effective
configuration commands to verify the correct configuration after
completing a set of configurations.
Description
"show current-config (include|exclude) CMDSTR" is used to filter
real-time configuration files with keywords and show them. This
command is used when you need to query a configuration file with
the keyword.

(include|exclude) include means include, exclude means anti-include

CMDSTR Filter keywords

[Configuration case]

205
GPON OLT User Manual

Case1: Show the OLT current live configuration file


OLT(config)# show current-config
Current configuration:
!
spanning-tree enable
spanning-tree timer max-age 6
spanning-tree timer forward-delay 30
spanning-tree timer hello 1
spanning-tree priority 4096
!
interface ge 0|0
spanning-tree edged-port 1 enable
spanning-tree priority 1 16
spanning-tree cost 1 1600
spanning-tree mcheck 1 enable
exit

Case2: Show the OLT's current command line containing the live configuration of gpon
OLT# show current-config include gpon
ont-line-profile gpon profile-id 0 profile-name line-profile_0
ont-line-profile gpon profile-id 1 profile-name line-profile_1
ont-line-profile gpon profile-id 128 profile-name line-profile_128
ont-srv-profile gpon profile-id 0 profile-name srv-profile_0
ont-type-profile gpon profile-id 1 profile-name 1ETH_2IP
ont-type-profile gpon profile-id 2 profile-name 4ETH_2IP
ont-type-profile gpon profile-id 3 profile-name 4ETH_1TV_2IP
ont-type-profile gpon profile-id 4 profile-name 4ETH_1TV_2POTS_2IP
interface gpon 0/0
service-port 2 vlan 1000 gpon 0/0 port 4 ont 3 gemport 1 multi-service user-vlan 1000
tag-action transparent
service-port autoconfig vlan 1 gpon 0/0 port 1 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 2 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 3 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 4 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 5 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 6 gemport 1 multi-service user-vlan 1 tag-action
transparent

206
GPON OLT User Manual

service-port autoconfig vlan 1 gpon 0/0 port 7 gemport 1 multi-service user-vlan 1 tag-action
transparent
service-port autoconfig vlan 1 gpon 0/0 port 8 gemport 1 multi-service user-vlan 1 tag-action
transparent
OLT#

9.3.8 show current-config section


show current-config section (ge|gpon|xge) (F/S/P| all)
Command Syntax
show current-config section ont F/S PORTID <1-128>

Applicable Views enable view, config view

The "show current-config section (ge|gpon|xge) (F/S/P| all)" is used


to show the real-time configuration of a port.
Description
The "show current-config section ont F/S PORTID <1-128>" command
is used to show the real-time configuration of an ONU.

(ge|gpon|xge) Query the type of port

F/S/P Port number (e.g. 0/0/1)

all Query all port configurations under the board

F/S Board number (e.g. 0/0)

PORTID Port id

<1-128> Board number (e.g. 0/0)

[Configuration case]

Case1: Show the current real-time configuration of OLT gpon port 0/0/1
OLT(config)# show current-config section gpon 0/0/1
ont authmode 1 auto
ont policy-auth 1 match any sn-auth to mult-srv-profile profile-name
default-mult-srv-profile priority 0
OLT(config)#
Case2: Show the current live configuration of the ONU with id 5 under port 5 of gpon 0/0 on

the OLT
OLT(config)# show current-config section ont 0/0 5 5
ont add 5 5 sn-auth "RTKG11111111" mult-srv-profile profile-id 0
OLT(config)#

9.3.9 show saved-config

207
GPON OLT User Manual

Command Syntax show saved-config

Applicable Views enable view, config view

Description This command is used to show the OLT configuration save file.

[Configuration case]

Case1: Show the OLT configuration save file


OLT(config)# show saved-config
!
sysname OLT
!
!
!
!
dba-profile profile-id 0 profile-name dba-profile_0
type1 fix 256
commit
exit
dba-profile profile-id 1 profile-name dba-profile_1
type4 max 1024000
commit
exit
dba-profile profile-id 2 profile-name dba-profile_2
type2 assure 2048
commit
exit
dba-profile profile-id 3 profile-name dba-profile_3
type2 assure 20480
commit
exit
dba-profile profile-id 4 profile-name dba-profile_4
type3 assure 30720 max 102400
--More ( Press 'Q' to quit )--

9.4OLT upgrade
9.4.1 firmware switch
Command Syntax firmware switch

Applicable Views enable view, config view

Description This command is used to switch the system firmware

208
GPON OLT User Manual

[Configuration case]

Case1: Show device version information.


OLT(config)# firmware switch
This command will switch the firmware
Please reboot the device to switch to the new firmware
Are you sure to continue? (y/n):
OLT(config)#

9.4.2 flash file cp


Command Syntax flash file cp OLD-FILE-NAME NEW-FILE-NAME

Applicable Views config view

Description This command is used to copy OLT upgrade files uploaded to OLT

The original name of the copied OLT upgrade file, with a character
OLD-FILE-NAME
length of 1-64

The new name of the copied OLT upgrade file, with a character
NEW-FILE-NAME
length of 1-64

[Configuration case]

Case1: Copy the uploaded OLT upgrade file


OLT(config)#flash file cp V1.0.5_190701.img test.img

9.4.3 flash file delete


Command Syntax flash file delete [FILE-NAME]

Applicable Views config view

Description This command is used to delete OLT upgrade files uploaded to OLT

FILE-NAME Name of the deleted OLT upgrade file, 1 to 64 characters in length

[Configuration case]

Case1: Delete the uploaded OLT upgrade file


OLT(config)# flash file delete V1.0.5_190701.img
Delete V1.0.5_190701.img successfully!

9.4.4 flash file mv


Command Syntax flash file mv OLD-FILE-NAME NEW-FILE-NAME

209
GPON OLT User Manual

Applicable Views config view

Description This command is used to move OLT upgrade files uploaded to OLT

The original name of the moved OLT upgrade file, with a character
OLD-FILE-NAME
length of 1-64

The new name of the moved OLT upgrade file is 1 to 64 characters in


NEW-FILE-NAME
length

[Configuration case]

Case1: Delete the uploaded OLT upgrade file


OLT(config)# flash file mv V1.0.5_190701.img test.img

9.4.5 load file to flash


load file [to flash] (ftp ip-address FTP-user-name FTP-user-password
Command Syntax
FILE-NAME>} | tftp ip-address FILE-NAME)

Applicable Views config view

This command is used to transfer the upgrade file of the OLT to the
Description
OLT.

ftp Transfer ONT upgrade files to OLT using ftp protocol

ip-address The ip address of the ftp or tftp server in the format X.X.X.X

User name for accessing the ftp server. The value ranges from 1 to 32
FTP-user-name
characters

Password for accessing the ftp server. The value ranges from 1 to 32
FTP-user-password
characters

The upgrade file name of the OLT. The value ranges from 1 to 64
FILE-NAME
characters, plus the extension of the OLT upgrade file

tftp Transfer OLT upgrade files to OLT using tftp protocol

[Configuration case]

Case1: Transfers the upgrade file of the OLT to the OLT through tftp
OLT(config)# load file to flash tftp 192.168.5.155 V1.0.4_190307.img
OLT(config)#

9.4.6 load packetfile ftp

210
GPON OLT User Manual

Command Syntax load packetfile ftp ftp-server-ip user-name user-password file-name

Applicable Views enable view, config view

This command is used to upgrade the OLT software version. This


Description
command can only be used under the root account.

ftp-server-ip The IP address of the FTP server

user-name User name set on the FTP server

user-password Password set on the FTP server

file-name Name of the OLT software to be downloaded

[Configuration case]

Case1: Upgrade the OLT application with the program file name

New16Port_Image_V1.0.0_180530_1928.img, ftp server IP address 192.168.1.16, ftp user

name amdin, and password admin. When the OLT shows upgrade OK, reboot the OLT.
OLT(config)# load packetfile ftp 192.168.1.16 admin admin
New16Port_Image_V1.0.0_180530_1928.img
Broadcast message from root:
Upgrade is in process.
File [New16Port_Image_V1.0.0_180530_1928.img] download.......... OK
File [New16Port_Image_V1.0.0_180530_1928.img] upgrade.......... OK

9.4.7 load packetfile tftp


Command Syntax load packetfile tftp tftp-server-ip file-name

Applicable Views enable view, config view

This command is used to upgrade the OLT software version. This


Description
command can only be used under the root account.

tftp-server-ip The IP address of the TFTP server

file-name Name of the OLT software to be downloaded

[Configuration case]

Case1: Upgrade OLT application with file name New16Port_Image_V1.0.0_180530_1928.img

and tftp server IP address 192.168.1.16. When the OLT shows upgrade OK, reboot the OLT.
OLT(config)# load packetfile tftp 192.168.1.16 New16Port_Image_V1.0.0_180530_1928.img
Broadcast message from root:

211
GPON OLT User Manual

Upgrade is in process.
The download File [New16Port_Image_V1. 0.0 _180530_1928. Img]... OK
The File [New16Port_Image_V1. 0.0 _180530_1928. Img] upgrade... OK

9.4.8 show firmware info


Command Syntax show firmware info

Applicable Views enable view, config view

Description This command is used to show OLT software information.

[Configuration case]

Case1: Show device version information.


OLT(config)# show firmware info
firmware1 status :0
firmware1 version: 2.1.1
firmware1 date : 22-05-12 15:26:15
firmware1 size : 34157988

firmware2 status :0
firmware2 version: 2.0.4
firmware2 build date : 22-06-28 05:18:37
firmware2 size : 38856932

boot selection : firmware2


OLT(config)#

9.4.9 show flash file


Command Syntax show flash file

Applicable Views config view

Description This command is used to show OLT upgrade files uploaded to OLT

[Configuration case]

Case1: Show the uploaded OLT upgrade file


OLT(config)# show flash file
----------------------------------------------------------------------------
file list:
File Name Size(B) Creation Time Attribute
----------------------------------------------------------------------------
V1.0.5_190701.img 20512256 2019/10/16 09:22:24 +0000 -rw

212
GPON OLT User Manual

----------------------------------------------------------------------------
Files Total: 1
----------------------------------------------------------------------------

213
GPON OLT User Manual

10 Multicast configuration management


This chapter includes the following topics:

 OLT multicast configuration management

10.1 OLT multicast configuration management


10.1.1 igmp fast-leave
Command Syntax igmp fast-leave (enable | disable)

Applicable Views config view

"igmp fast-leave disable":


Disable igmp-snooping fast leave disable. After igmp-snooping is
disabled, ONT needs to send a group query to confirm the online
status of the user after receiving the user group exit message. If no
report message is received after the group query period times out,
the ONT considers the user offline and updates the local multicast
entry. This parameter is used when the user does not need to switch
Description channels at a faster speed
"igmp fast-leave enable":
Enable igmp-snooping fast leave. After igmp-snooping fast exit is
enabled, ONT updates the local multicast entry immediately after
receiving the IGMP-Snooping exit message without sending specific
group query messages to confirm whether the user is indeed offline.
This parameter is used when the user needs to change the channel
at a faster speed.

disable: disables the igmp quick exit function of OLT.


enable | disable
enable: enables the quick exit function of igmp on OLT.

[Configuration case]

Case1: Enables the fast exit function of igmp for OLT


OLT(config)# igmp fast-leave enable
OLT(config)#

10.1.2 igmp general-query-interval


Command Syntax igmp general-query-interval interval

214
GPON OLT User Manual

Applicable Views config view

This command is used to configure the general group query interval.


The system sends a general group query for all programs to confirm
whether the user is watching a certain program. If the system does
not receive the report message from the user, it considers that the
Description
user is not watching the program and no longer sends the program
stream. This prevents the user from receiving a multicast stream
even if the user does not watch the program.

Query interval. The value ranges from 2 to 3000. The default value is
interval
125.

[Configuration case]

Case1: indicates the interval for querying IGMP universal groups


OLT(config)# igmp general-query-interval 200

OLT(config)#

10.1.3 igmp general-query-response


Command Syntax igmp general-query-response max-response

Applicable Views config view

This command is used to configure the maximum response time for a


Description
generic group query

Query the maximum response time. The value ranges from 1 to 25.
max-response
The default value is 10.

[Configuration case]

Case1: Configure the maximum IGMP response time to 20


OLT(config)# igmp general-query-response 20

OLT(config)#

10.1.4 igmp mode


Command Syntax igmp mode ( proxy | snooping | disable )

Applicable Views config view

Description This command is used to configure the mode of IGMP

215
GPON OLT User Manual

snooping: Configure the IGMP mode of the multicast VLAN to IGMP


snooping. IGMP snooping stands for multicast listening. IGMP
snooping uses IGMP messages that listen to the communication
between users and multicast routers to obtain information and
maintain multicast forwarding entries. The system does not process
the multicast packets that belong to the multicast VLAN, but
transmits them transparently.
proxy: Configure the IGMP mode of the multicast VLAN to IGMP
proxy | snooping |
proxy.
disble
IGMP proxy is the multicast proxy. The IGMP proxy intercepts IGMP
packets between users and multicast routers, processes them, and
then forwards them to the upper-layer multicast router. From the
user's point of view, the system is equivalent to a multicast server;
From the point of view of the upper layer device, the system is
equivalent to a multicast user. IGMP proxy mode reduces the
multicast protocol packet traffic on the network side.
disable: Sets the IGMP mode of a multicast VLAN to IGMP disable.

[Configuration case]

Case1: Configure the IGMP mode in the ONT multicast profile to proxy
OLT(config)# igmp mode proxy

OLT(config)#

10.1.5 igmp multicast-unknown


Command Syntax igmp multicast-unknown policy (discard | transparent)

Applicable Views multicast-vlan view

This command is used to configure a suppression policy for unknown


multicast traffic. If the service stream carries unknown multicast for
Description a specific purpose, it is configured to pass through. Unknown
multicast with no special purpose consumes bandwidth and is
generally configured to be discarded.

discard: The system discards an unknown multicast service flow.


discard | transparent transparent: The system transparently transmits unknown multicast
service streams.

[Configuration case]

Case1: Configure the unknown multicast suppression policy to discard.


OLT(config-multicast-vlan-100)# igmp multicast-unknown policy discard

216
GPON OLT User Manual

OLT(config-multicast-vlan-100)#

10.1.6 igmp policy


Command Syntax igmp policy (discard|pass)

Applicable Views config view

This command is used to configure the multicast protocol packet


Description
forwarding policy.

discard: Discard multicast protocol packets.


discard|pass pass: indicates that multicast packets are set to transparent
transmission mode.

[Configuration case]

Case1: indicates that unknown multicast protocol packets are discarded


OLT(config)# igmp policy discard

OLT(config)#

10.1.7 igmp program add


igmp program add program-index (Program-index |autoindex)
Command Syntax batch-ip ip-addr ip-addr
igmp program add program-index Program-index ip ip-addr

Applicable Views multicast-vlan view

This command is used to batch add static multicast programs to a


multicast VLAN. If the program matching function is enabled by
running the igmp match mode enable command, the multicast
Description
program library needs to be configured in advance so that
authorized users can view or preview programs in a specified
multicast VLAN.

Program-index Index of the multicast program<1-2000>

autoindex Automatically select the program Program index

They represent the start and end multicast IP addresses and form a
ip-addr
multicast range

[Configuration case]

Case1: Batch configure static multicast programs 239.1.1.1 to 239.2.2.2 and bind in program

217
GPON OLT User Manual

index 3
OLT(config-multicast-vlan-100)# igmp program add program-index 3 batch ip 239.1.1.1 to ip
239.2.2.2

OLT(config-multicast-vlan-100)#

10.1.8 igmp program delete


Command Syntax igmp program delete (all | PROGRAM-LIST )

Applicable Views multicast-vlan view

This command is used to delete a multicast program. When you no


longer want a multicast user to watch a multicast program, you can
Description run this command to delete a multicast program from the program
library. After deleting a program from the program library, the user
will no longer be able to watch the program on demand.

PROGRAM-LIST List of the multicast program

all All the multicast program shows

[Configuration case]

Case1: Delete Static multicast Program Index 2


OLT(config-multicast-vlan-100)# igmp program delete program-index 2

OLT(config-multicast-vlan-100)#

10.1.9 igmp querier


Command Syntax igmp querier (enable|disable)

Applicable Views config view

Description Turn igmp querier on/off

disable: Disables the igmp querier function.


enable/disable
enable: enables the igmp querier function.

[Configuration case]

Case1: Enable the igmp querier function


OLT(config)# igmp querier enable
OLT(config)#

10.1.10 igmp robustness

218
GPON OLT User Manual

Command Syntax igmp robustness robustness

Applicable Views config view

This command is used to configure the robustness factor of the


system. This command is used when you want to adjust the
robustness coefficient based on the stability of the network. After
the value is set, the system uses the robustness coefficient to
determine the aging time of multicast users. Robustness coefficient
Description
The robustness coefficient is set to enhance the robustness of the
system. It directly affects the aging time of multicast users and the
number of times that universal group query messages are sent. If a
subnet is likely to lose packets, the robustness coefficient should be
increased to ensure the stability of multicast users.

robustness Robustness coefficient, value range 0-255, default is 0.

[Configuration case]

Case1: Configure the IGMP robustness coefficient to 2


OLT(config)# igmp robustness 2

OLT(config)#

10.1.11 igmp router-port


Command Syntax igmp router-port ( ge | lag | xge ) F/S/P

Applicable Views multicast-vlan view

Description This command is used to configure the routing port of igmp

ge:uplink port
ge | lag | xge lag:link aggregation group
xge:10G uplink port

F/S/P Port number(eg.0/0/1)

[Configuration case]

Case1: Configure the ge1 port as a routing port


OLT(config-multicast-vlan-100)# igmp router-port ge 0/0/1

OLT(config-multicast-vlan-100)#

10.1.12 igmp source-ip

219
GPON OLT User Manual

Command Syntax igmp source-ip ip-addr

Applicable Views config view

This command is used to configure the source IP of the IGMP


Description
message.

IP address in A.B.C.D format,The IP address must be a unicast


ip-addr
address

[Configuration case]

Case1: Configure the IGMP message source IP to 192.168.24.59


OLT(config)# igmp source-ip 192.168.24.59
OLT(config)#

10.1.13 igmp special-query-count


Command Syntax igmp special-query-count max-count

Applicable Views config view

Description This command is used to set group specific query keywords

max-count Query keyword. The value ranges from 1 to 10. The default value is 2.

[Configuration case]

Case1: Configure the maximum IGMP response time to 3


OLT(config)# igmp special-query-count 3

OLT(config)#

10.1.14 igmp special-query-interval


Command Syntax igmp special-query-interval special-query-interval-value

Applicable Views config view

This command is used to configure the interval for sending


Description
IGMP-specific group query messages in the ONT multicast profile.

special-query-interval-v
The value ranges from 100 to 10000. The default value is 10S
alue

[Configuration case]

Case1: Configure the interval for sending IGMP query packets in the ONT multicast profile to 12

220
GPON OLT User Manual

OLT(config)# igmp special-query-interval 12

OLT(config)#

10.1.15 igmp special-query-response


Command Syntax igmp special-query-response max-response

Applicable Views config view

This command is used to configure the maximum response time for a


Description
specific group of queries

Query the maximum response time. The value ranges from 100 to
max-response
10000. The default value is 10.

[Configuration case]

Case1: Configure the maximum IGMP response time to 20


OLT(config)# igmp special-query-response 20

OLT(config)#

10.1.16 igmp static-group


igmp static-group ip IP-address vlan VLAN-ID port((gpon|ge| xge) F/S
port-list | lag lag-id)
Command Syntax
no igmp static-group (ip IP-address vlan VLAN-ID port (gpon|ge|
xge) F/S port-list | port lag lag-id)

Applicable Views config view

Description Configure the igmp static table

IP-address Static entry multicast IP address the format is A.B.C.D

VLAN-ID The vlan of the static entry, with values ranging from <1-4094>

gpon: indicates the PON port. The value ranges from 0/0/1-16
ge: connects to the upper port. The value ranges from 0/0/1-4
gpon|ge|xge
xge: upper-connected 10-gigabit port. The value ranges from
0/0/1-2

F/S FrameID/SlotID, <0-0>/<0-0>

port-list List of ports to be configured. The format is 1, 2-3, 4.

ID of the aggregation group to be configured. The value ranges


lag-id
from 1 to 8

221
GPON OLT User Manual

[Configuration case]

Case1: Configure igmp static group rules for port ge0/0/1


OLT(config)#igmp static-group ip 224.1.1.1 vlan 100 port ge 0/0/1
OLT(config)#

10.1.17 multicast-vlan
Command Syntax multicast-vlan vlan-id

Applicable Views config view

This command is used to create a multicast VLAN and enter the


multicast VLAN mode. The no command is used to delete the VLAN.
Description
Multicast VLAN is an application mode of VLAN. In multicast VLAN
mode, you can configure the parameters related to multicast.

Multicast VLAN ID. You can create a multicast VLAN using its ID only
vlan-id
after the corresponding VLAN has been created.

[Configuration case]

Case1: Create multicast VLAN 100 and enter its corresponding multicast VLAN mode.
OLT(config)# multicast-vlan 100

OLT(config-multicast-vlan-100)#

10.1.18 reset igmp


reset igmp group port lag ( port (gpon|ge| xge) F/S port-list |port
Command Syntax
lag lag-id)

Applicable Views config view

Description Reconfigure the igmp static group

gpon: indicates the PON port. The value ranges from 0/0/1-16
ge: connects to the upper port. The value ranges from 0/0/1-4
gpon|ge|xge
xge: upper-connected 10-gigabit port. The value ranges from
0/0/1-2

F/S Frame/Slot,<0-0>/<0-0>

port-list List of the port to be configured,the format is 1,2-3,4

ID of the aggregation group to be configured. The value ranges


lag-id
from 1 to 8

222
GPON OLT User Manual

[Configuration case]

Case1: Resets the igmp static rules for aggregation group 1


OLT(config)# reset igmp group port lag 1
OLT(config)#

10.1.19 show igmp group


Command Syntax show igmp group (all |ip IP-address |vlan vlan-id)

Applicable Views config view

Description This command is used to show the formed multicast table entry

all all: Show all multicast entries

IP-address Ip-address: Show the multicast entry for the specified channel IP.

vlan-id Vlan-id: Views the multicast entries of the specified vlan.

[Configuration case]

Case1: Show all multicast entries of the OLT


OLT(config)# show igmp group all
ERROR : There is not any group address record.

OLT(config)#

10.1.20 show multicast-vlan


Command Syntax show multicast-vlan (vlan-id|all)

Applicable Views Config view

This command is used to show information about multicast


Description members, multicast programs, and unknown multicast processing
policies

vlan-id Vlan-id: The multicast vlan id used for query.

all all: All vlans

[Configuration case]

Case1: Show information about multicast vlan 100.


OLT(config)# show multicast-vlan 100
-----------------------------------------------------------------------------
multicast-vlan 100

223
GPON OLT User Manual

igmp multicast-unknown policy discard


igmp router-port ge 0/0/1
igmp member port gpon 0/0/2
igmp match group ip 224.1.1.1 to-ip 224.2.2.2
-----------------------------------------------------------------------------

OLT(config)#

224
GPON OLT User Manual

11 QOS Configuration management


This chapter includes the following topics:

 Traffic management based on ACL rules

11.1 Traffic management based on ACL rules


11.1.1 packet-filter
packet-filter [clear-counters] (inbound|outbound) (acl | acl6)
<2000-5999> [rule-id rule-id] port (ge | pon | xge) F/S port-list
Command Syntax [counting]
no packet-filter (inbound|outbound) (acl | acl6) <2000-5999>
[rule-id rule-id] port (ge | pon | xge) F/S port-list

Applicable Views config view

Using the "packet-filter" command, you can configure ACL rules for
a specified port and make them take effect. This command is used
when you need to use ACL rules to filter the traffic on a port.
Description
The "no packet-filter" command is used to cancel the ACL filtering
rules for a specified port. This command is used when you need to
delete an ACL filtering rule for a specified port.

inbound: indicates inbound traffic


inbound|outbound
outbound: indicates the outbound traffic

< > 2000-5999 < 2000-5999 > Specifies the id of the ACL

rule-id Rule ID in the ACL

clear-counters Clear the counters

ge:uplink port
ge | pon | xge pon:the pon port
xge:10G uplink port

acl:IPV4 acl
acl | acl6
acl6:IPV6 acl

F/S Number of the slot to be configured

port-list List of ports to be configured. The format is 1, 2-3, 4.

225
GPON OLT User Manual

counting Used to add traffic statistics

[Configuration case]

Case1: Configure ACL filtering rule with number 2000 for the incoming port direction of port 1

of GE.
OLT(config)# packet-filter inbound acl 2000 port ge 0/0 1

OLT(config)#

11.1.2 show traffic


show (traffic | traffic-remark | traffic-limit | traffic-mirror |
Command Syntax traffic-vlanmap | traffic-redirect)( all |port ( ge|gpon|xge)
port-list)

Applicable Views config view

Description This command is used to show the QOS policy of a device port

traffic: It is used in QoS configuration to distinguish different data


streams. In the configuration, different QoS parameters can be set,
such as traffic restrictions, priority, etc., to achieve the division and
management of different data streams.
traffic-remark: is an ACL based operation used to re mark traffic
passing through an interface. The re labeling operation can classify,
prioritize, or label different service types based on demand
traffic | traffic-remark traffic-limit: is a configuration command that limits traffic. In
| traffic-limit | network devices, the traffic limit command can be used to limit the
traffic-mirror | traffic of interfaces based on ACL (Access Control List). By using the
traffic-vlanmap | traffic limit command, specific ACL matching rules can be set, and
traffic-redirect then speed limit the matched traffic.
traffic-mirror: It is used to configure stream mirroring.
traffic-vlanmap: It is a function used to map one VLAN to another
VLAN or multiple VLANs. You can use the traffic vlanmap command
to configure VLAN mapping on the switch. The traffic vlanmap
command is only applicable to traffic in the Inbound direction and
cannot achieve VLAN mapping in the Outbound direction.
traffic-redirect: ACL for traffic redirection configuration.

ge:uplink port
ge|gpon|xge gpon:the pon port
xge:10G uplink port

port-list List of ports to view. The format is F/S/P.

226
GPON OLT User Manual

[Configuration case]

Case1: Show all QOS policies for the ge1 port


OLT(config)# show traffic all
---------------------------------------------------------------
traffic-limit on gpon 0/0/1:
Inbound:
Matches: acl 2000 running
Target rate: cir 1024(kbps) pir 1024(kbps)
Burst size: cbs 10240(byte) pbs 10240(byte)
Exceed(red): Drop packets

---------------------------------------------------------------
OLT(config)#

11.1.3 show packet-filter


Command Syntax show packet-filter ( all | port ( ge | xge | pon ) port-list )

Applicable Views config view

Description This command is used to show the policy applied to a device port

all: All filtering policies


all|port
port: indicates a certain port filtering policy

port-list List of ports to be configured. The format is F/S/P.

[Configuration case]

Case1: Show all filtering policies applied by the device


OLT(config)# show packet-filter all
-----------------------------------------------------------------------------
inbound acl 2000 port ge 0/0 1 running
-----------------------------------------------------------------------------

OLT(config)#

11.1.4 traffic-limit
traffic-limit (inbound|outbound) (acl | aclv6) acl-id [rule-id rule-id]
port (ge | gpon | xge) F/S port-list cir rate-value pir rate-value
Command Syntax exceed (yellow | red) (drop | remark-dscp)
no traffic-limit (inbound|outbound) (acl | aclv6) acl-id [rule-id
rule-id] port (ge | gpon | xge) F/S port-list

227
GPON OLT User Manual

Applicable Views config view

Using the "traffic-limit" command, you can configure an ACL to limit


traffic on a specified port and make the ACL take effect. This
command is used when you need to limit the traffic on a port by
Description using the ACL rule.
Using the "no traffic-limit" command, you can cancel the ACL traffic
limit on a specified port. This command is used when you need to
delete the ACL limit function on a specified port.

inbound: indicates inbound traffic


(inbound|outbound)
outbound: indicates outbound traffic

acl-id id of the ACL

rule-id Rule ID in the ACL

ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port

F/S Frame/Slot

port-list List of ports to be configured

Configure the guaranteed bandwidth, which ranges from


cir
64-1024,000 in kbps

Configure the best-effort bandwidth, which ranges from 64 to


pir
102400 in kbps

yellow: Limits traffic that exceeds the specified best-effort


(yellow|red) bandwidth
red: Limits traffic that exceeds the specified guaranteed bandwidth

drop: to drop
(drop | reremark-dscp)
reremark: The value of the re-labeled DSCP

[Configuration case]

Case1: For packets from IP address 10.10.10.2 and packets from interface 1, the guaranteed

bandwidth is 1 Mbit/s and the average peak bandwidth is 100 Mbit/s. Traffic exceeding 1

Mbit/s is discarded.
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime

228
GPON OLT User Manual

OLT(acl-basic-2000)# exit
OLT(config)# traffic-limit inbound 2000 port ge 0/01 cir 1024 pir 102400 exceed red drop

OLT(config)#

11.1.5 traffic-mirror
traffic-mirror inbound (acl | aclv6) acl-id [rule-id rule-id] port(ge |
gpon | xge) port-list to (cpu | port (ge | gpon | xge) port-list)
Command Syntax
no traffic-mirror inbound (acl | aclv6) acl-id [rule-id rule-id]port(ge
| gpon | xge) port-list

Applicable Views config view

Using the "traffic-mirror" command, you can configure the ACL for
traffic mirroring on a specified port and make it take effect. This
command is used when you need to use the ACL rule to mirror
Description traffic on a port.
The "no traffic-mirror" command is used to cancel ACL traffic
mirroring on a specified port. This command is used when you need
to delete the ACL traffic mirroring function of a specified port.

acl: IPV4 ACL


acl | aclv6
acl6: IPV6 ACL

acl-id ID of the ACL

ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port

rule-id Rule ID in the ACL

port-list List of ports to be configured

[Configuration case]

Case1: Mirrors the packet from port 1 with IP address 10.10.10.2 to port 2
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime
OLT(acl-basic-2000)# exit
OLT(config)# traffic-mirror inbound 2000 port ge 0/0 1 to ge 0/0 2

OLT(config)#

11.1.6 traffic-redirect

229
GPON OLT User Manual

traffic-redirect inbound (acl | aclv6) acl-id [rule-id rule-id] port


(ge | gpon | xge) port-list to (ge | xge) port-list
Command Syntax
no traffic-redirect inbound (acl | aclv6) acl-id [rule-id rule-id] port
(ge | gpon | xge) port-list

Applicable Views config view

Using the "traffic-redirect" command, you can configure the ACL for
traffic redirection on a specified port and make it effective. This
command is used when you need to use ACL rules to redirect traffic
on a port.
Using the "no traffic-redirect" command, you can disable the ACL
traffic redirection on a specified port. This command is used when
you need to delete the ACL traffic mirroring function of a specified
Description
port.

(Redirects the packets matching ACL rules on the specified port or


port list to other ports for forwarding. After the configuration is
successful, the redirected packets are forwarded by the destination
port instead of the redirected packets. Pay attention to the
configuration of the port VLAN.

acl: IPV4 ACL


acl | aclv6
acl6: IPV6 ACL

acl-id id of an ACL

rule-id Rule ID in the ACL

ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port

port-list List of ports to be configured

[Configuration case]

Case1: Redirects the packet from port 1 with IP address 10.10.10.2 to port 2
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime
OLT(acl-basic-2000)# exit
OLT(config)# traffic-redirect inbound 2000 port ge 0/0 1 to ge 0/0 2

OLT(config)#

230
GPON OLT User Manual

11.1.7 traffic-statistic
traffic-statistic [clear-counters] (inbound | outbound) (acl | aclv6)
acl-id [rule-id rule-id] port (ge | gpon | xge) port-list
Command Syntax
no traffic-statistic [clear-counters] (inbound | outbound) [acl |
aclv6] acl-id [rule-id rule-id] port (ge | gpon | xge) port-list

Applicable Views config view

The "traffic-statistic" command is used to clear traffic that matches


Description
acl rules on a port

acl-id id of the ACL

clear-counters Clear the counters

inbound: Configure the uplink (entrance) speed limit function of the


ONT port
inbound | outbound
outbound: Configure the downstream (exit) speed limit function of
the ONT port

acl: IPV4 ACL


acl | aclv6
acl6: IPV6 ACL

rule-id Rule ID in the ACL

port-list List of ports to be configured

[Configuration case]

Case1: Deletes the traffic collected by ge4 that matches acl 2000 rules.
OLT(config)# traffic-statistic clear-counters outbound 2000 port ge 0/0 4

OLT(config)#

231
GPON OLT User Manual

12 DHCP function configuration


This chapter includes the following topics:

 Configure DHCP Client functions

 DHCP option82

 DHCP relay

 DHCP snooping

 DHCP security-table

12.1 DHCP Client function configuration


12.1.1 dhcp-client
Command Syntax dhcp-client (enable|disable)

Applicable Views vlanif view

This command is used to enable or disable the DHCP client function


Description
on a Layer 3 interface

Enable: enables the DHCP client function


enable |disable
Disable: indicates that the DHCP client function is disabled

[Configuration case]

Case1: Enables the DHCP client function on Interface vlanif100


OLT(config-interface-vlanif-100)# dhcp-client enable

OLT(config-interface-vlanif-100)#

12.1.2 dhcp-client option60


dhcp-client option60 option60
Command Syntax
no dhcp-client option60

Applicable Views vlanif view

This command is used to configure the option60 information to be


Description carried by a DHCP-Client when it sends a request message. If the
uplink device is configured with option60 as a DHCP Relay agent,

232
GPON OLT User Manual

you can use this command to configure option60 on the interface


to match the configuration of the uplink device. The no command is
used to cancel the configured option60 and restore it to the default
value.
Using the "no dhcp-client option60" command, you can delete the
option60 carried by the DHCP-Client when it sends a request
message.

option60 Configuration information at option60.

[Configuration case]

Case1: Configure the option60 information of the dhcp-client of vlanif100 to "test".


OLT(config-interface-vlanif-100)# dhcp-client option60 test

OLT(config-interface-vlanif-100)#

12.1.3 dhcp-client release


Command Syntax dhcp-client release

Applicable Views vlanif view

This command is used to release the IP address of an interface in


Layer 3 interface mode. When you need to delete the IP address
Description dynamically obtained by the interface, this command triggers the
release message to notify the DHCP Server to release the IP address
of the interface.

[Configuration case]

Case1: Releases the IP address of vlanif100


OLT(config-interface-vlanif-100)# dhcp-client release

OLT(config-interface-vlanif-100)#

12.1.4 dhcp-client renew


Command Syntax dhcp-client renew

Applicable Views vlanif view

This command is used to enable the renew function of an interface


in Layer 3 interface mode. When an interface needs to actively
Description
obtain an IP address, this command triggers the sending of a
request message to the DHCP Server to renew the lease or renew

233
GPON OLT User Manual

the IP address request.

[Configuration case]

Case1: Enables the renew switch of an interface on vlanif100.


OLT(config-interface-vlanif-100)# dhcp-client renew

OLT(config-interface-vlanif-100)#

12.2 DHCP option82


12.2.1 dhcp option82
Command Syntax dhcp option82 (enable|disable)

Applicable Views config view

The "dhcp option82" command is used to enable or disable DHCP


Option82. After DHCP-snooping is enabled, the option82
information is inserted into DHCP request messages received from
Description
untrusted ports. Peel the Option82 information from the DHCP
response messages received from the trusted port. The dhcp
option82 function is disabled by default.

Enable: enables dhcp option82


enable |disable
Disable: indicates that dhcp option82 is disabled

[Configuration case]

Case1: Enable DHCP option 82.


OLT(config)# dhcp option82 enable

OLT(config)#

12.2.2 dhcp option82 format


Command Syntax dhcp option82 format ( default | common | extend )

Applicable Views config view

This command is used to configure the fill mode for the Opton82
Description
option

default: vlan+slot+ponid+onuid
default | common |
common: vlan+slot+ponid
extend
extend: hostname-chassis-slot-ponid-gemid-onuid

234
GPON OLT User Manual

[Configuration case]

Case1: Configure the fill mode for the option82 option to UNI+ONU MAC
OLT(config)# dhcp option82 format common

OLT(config)#

12.2.3 dhcp option82 format user-define


dhcp option82 format user-define format-name [(hex|ascii) (cid
Command Syntax circuit-id | rid remote-id )]
no dhcp option82 format user-define format-name

Applicable Views config view

Create a custom option82 format item with the field data filled in
Description
ascii format.

format-name A custom format item name with a length of 1-32

hex: option82 field data is filled in hex format


hex|ascii
ascii: option82 field data is filled in ascill format

String, organized by defined keywords and slashes/or single quotes


as delimiters.
Keywords: hostname, oltmac, vlan, chassis, frame, slot, poind,
circuit-id/ remote-id gemid, onusn.
Format: "the vlan/slot/rr4 ponid onuid/' 88 '" (existence space
string in double quotes), vlan/slot2 / ponid4/88 r4 ounid4 /'/',
length of 1-128

[Configuration case]

Case1: Add a user-defined format with the name user1 and field data filled with hex. The cid

content is vlan+ponid+onuid, and the rid content is oltmac


OLT(config)# dhcp option82 format user-define user1 hex cid vlan/ponid/onuid rid oltmac
Case2: Configure the fill format of the option82 field to user-defined user1
OLT(config)# dhcp option82 format add ascii name test01 rid vlan
Case3: deletes the user-defined format user1
OLT(config)# no dhcp option82 format user-define user1

12.2.4 dhcp option82 policy


Command Syntax dhcp option82 policy (keep|drop|replace| merge)

235
GPON OLT User Manual

Applicable Views config view

This command is used to configure the forwarding policy of


Description
Opton82 for request packets. The default is keep.

keep Forward the DHCP message with the Option82 as is

drop Discard the DHCP message with the Option82 option directly

Replace the Option82 option in the original DHCP message and


replace
forward it

merge The DHCP packets with Option82 are merged and forwarded

[Configuration case]

Case1: indicates that the dhcp forwarding policy is based on the original forwarding policy
OLT(config)#dhcp option82 policy keep
OLT(config)#

12.2.5 dhcp option82 vlan-policy


dhcp option82 vlan-policy vlan-list
Command Syntax
(none|keep|replace|strip|drop)

Applicable Views config view

This command is used to configure the forwarding policy for an


Description
Opton82 with vlan request packets.

vlan-list List of vlans, ranging from 1 to 4094

none Cancel the option82 vlan forwarding policy

keep Forward the DHCP message with the Option82 option of vlan as is

Replace the Option82 option in the DHCP packet with vlan and
replace
forward it

strip Strip DHCP messages with the Option82 option of vlan

Discard the DHCP message with the Option82 option of vlan


drop
directly

[Configuration case]

Case1: Configure the forwarding policy of DHCP-Snooping vlan 10 to keep


OLT(config)# dhcp option82 vlan-policy 10 keep

236
GPON OLT User Manual

OLT(config)#

12.2.6 show dhcp option82 config


Command Syntax show dhcp option82 config

Applicable Views config view

Description This command is used to show the configuration of dhcp option82

[Configuration case]

Case1: Check the configuration of dhcp-snooping


OLT(config)# show dhcp option82 config
-----------------------------------------------------------------------------
DHCP option82 status : Disable
DHCP option82 policy : keep
DHCP option82 format : default
-----------------------------------------------------------------------------
Index: 1 Name: default type: hex
CircuitId: vlan(2 bytes)slot(1 byte)ponid(1 byte)onuid(1 byte)
RemoteId : oltmac(6 bytes)
-----------------------------------------------------------------------------
Index: 2 Name: common type: hex
CircuitId: vlan(2 bytes)slot(1 byte)ponid(1 byte)
RemoteId : oltmac(6 bytes)
-----------------------------------------------------------------------------
Index: 3 Name: extend type: ascill
CircuitId: hostname-chassis-slot-ponid-gemid-onuid
RemoteId :
-----------------------------------------------------------------------------

12.3 DHCP relay


12.3.1 dhcp-relay
Command Syntax dhcp-relay (enable|disable)

Applicable Views config view

This command is used to enable or disable the dhcp-relay function.


Description
By default, the dhcp-relay thread is disabled.

Enable: enables the dhcp-relay function


enable |disable
Disable: The dhcp-relay function is disabled

[Configuration case]

237
GPON OLT User Manual

Case1: Enables the dhcp relay function


OLT(config)# dhcp-relay enable

12.3.2 dhcp-relay server


dhcp-relay server <1-32> ip A:B:C:D
Command Syntax
no dhcp-relay server <1-32>

Applicable Views config view, vlanif view

Description This command is used to configure the server group

<1-32> Server group, group id range 1-32

A:B:C:D Network management ip address of the server

[Configuration case]

Case1: Configure server group 1. The network management ip address of the server is 10.1.1.1
OLT(config)# dhcp-relay server 1 ip 10.1.1.1

12.3.3 show dhcp-relay config


Command Syntax show dhcp-relay config

Applicable Views config view

Description This command is used to show the configuration of dhcp-relay

[Configuration case]

Case1: Show dhcp-relay configuration information


OLT(config)# show dhcp-relay config
-----------------------------------------------------------------------------
Switch DHCP Relay status : Disable
-----------------------------------------------------------------------------
Server-group Group IP
1 10.10.10.10
-----------------------------------------------------------------------------
OLT(config)#

12.4 DHCP snooping


12.4.1 dhcp-snooping
Command Syntax dhcp-snooping (enable|disable)

238
GPON OLT User Manual

Applicable Views config view

This command is used to enable or disable dhcp-snooping.


Description
By default, dhcp-snooping threads are disabled.

Enable: enables dhcp-snooping


enable |disable
Disable: dhcp-snooping is disabled

[Configuration case]

Case1: Enables dhcp-snooping


OLT(config)# dhcp-snooping enable

12.4.2 dhcp-snooping chaddr-check


Command Syntax dhcp-snooping chaddr-check (enable|disable)

Applicable Views config view

The "dhcp-snooping chaddr-check" command is used to enable or


Description disable dhcp-snooping chaddr check.
By default, the dhcp-snooping chaddr check thread is disabled.

Enable: enables dhcp-snooping chaddr check


enable |disable
Disable: indicates that dhcp-snooping chaddr check is disabled

[Configuration case]

Case1: Enables dhcp-snooping chaddr-check


OLT(config)# dhcp-snooping chaddr-check enable

12.4.3 dhcp-snooping limit-rate


dhcp-snooping limit-rate <1-2048> port (ge | pon | xge) F/S
Command Syntax
PORTLIST

Applicable Views config view

This command is used to configure dhcp-snooping limit rate


Description
Settings.

<1-2048> dhcp-snooping limit rate, which ranges from 1 to 2048

ge:uplink port
ge | pon | xge pon:the pon port
xge:10G uplink port

F/S Slot number of the OLT, for example, 0/0

239
GPON OLT User Manual

List of ports to be configured. The format is 1, 2-3, 4. The upper


PORTLIST optical port does not support auto-negotiation. The default value is
enable.

[Configuration case]

Case1: Configure the dhcp-snooping limit rate on ge 0/0/1 port to 11


OLT(config)#dhcp-snooping limit-rate 11 port ge 0/0 1

12.4.4 dhcp-snooping trust


dhcp-snooping trust port (ge | pon | xge |lag) F/S PORTLIST
Command Syntax
no dhcp-snooping trust port (ge | pon | xge |lag) F/S PORTLIST

Applicable Views config view

This command is used to configure the trusted port of


dhcp-snooping.
Description
The "no dhcp-snooping trust port" command is used to delete a
trusted port.

ge:uplink port
pon:the pon port
ge | pon | xge |lag
xge:10G uplink port
lag: the link aggregation group

F/S Slot number of the OLT, for example, 0/0

List of ports to be configured. The format is 1, 2-3, 4. The upper


PORTLIST optical port does not support auto-negotiation. The default value is
enable.

[Configuration case]

Case1: Set ge 0/0/1 as a dhcp-snooping trusted port


OLT(config)#dhcp-snooping trust port ge 0/0 1

12.4.5 show dhcp-snooping config


Command Syntax show dhcp-snooping config

Applicable Views config view

Description This command is used to show the configuration of dhcp-snooping

[Configuration case]

Case1: Show dhcp-snooping configuration information

240
GPON OLT User Manual

OLT(config)# show dhcp-snooping config


-----------------------------------------------------------------------------
DHCP Snooping Configurations
-----------------------------------------------------------------------------
Switch DHCP Snooping status : Enable
DHCP Snooping verification of hwaddr status : Disable
-----------------------------------------------------------------------------
Port Trusted Rate-limit(pps)
-----------------------------------------------------------------------------
gpon 0/0/1 Untrust 300
gpon 0/0/2 Untrust 300
gpon 0/0/3 Untrust 300
gpon 0/0/4 Untrust 300
gpon 0/0/5 Untrust 300
gpon 0/0/6 Untrust 300
gpon 0/0/7 Untrust 300
gpon 0/0/8 Untrust 300
ge 0/0/1 Trust 11
ge 0/0/2 Untrust 300
ge 0/0/3 Untrust 300
ge 0/0/4 Untrust 300
xge 0/0/1 Untrust 300
xge 0/0/2 Untrust 300
-----------------------------------------------------------------------------
OLT(config)#

12.5 DHCP security-table


12.5.1 dhcp security-table clear
dhcp security-table clear (all | static | dynamic | ip-address |vlan
Command Syntax
vlan-id)

Applicable Views config view

Description This command is used to delete bound listening entries by type

all Delete all entries of the listening binding table:

static Delete static listening binding entries

dynamic Delete dynamic listening binding entries

Delete the entry of the listening binding table for the specified IP
ip-address
address

241
GPON OLT User Manual

vlan Delete listening entries in the specified vlanID

vlan-id Specify vlan-ID

[Configuration case]

Case1: Deletes all bound listening entries


OLT(config)# dhcp security-table clear all
no dhcp security entry
OLT(config)#

12.5.2 dhcp security-table delete-time


Command Syntax dhcp security-table delete-time time

Applicable Views config view

This command is used to configure the time for deleting dynamic


entries from the DHCP listening binding table. When the lease time
Description is reached, the dynamic entry is not deleted immediately. Instead,
the dynamic entry is deleted after the specified time. The default
value is 300 seconds.

time The value ranges from 1 to 86,400, expressed in seconds.

[Configuration case]

Case1: The dynamic entry is deleted 100s after it reaches the lease period
OLT(config)# dhcp security-table delete-time 100
OLT(config)#

12.5.3 dhcp security-table static


Command Syntax dhcp security-table static MAC-address IP-address

Applicable Views config view

This command is used to configure the static binding of dhcp


Description
security entries

The MAC address of a statically bound entry is the format is


MAC-address
AA:BB:CC:DD:EE:FF

IP-address The IP address of the statically bound entry the format is A.B.C.D

[Configuration case]

Case1: Add a statically bound DHCP security entry. The mac address is 00:00:00:00:11, and the

242
GPON OLT User Manual

ip address is 10.10.10.10
OLT(config)#dhcp security-table static 00:00:00:11 10.10.10.10
OLT(config)#

12.5.4 dhcp security-table vlan


dhcp security-table vlan VLANLIST
Command Syntax
no dhcp security-table vlanid VLANLIST

Applicable Views config view

The "dhcp security-table" command is used to configure binding


policies based on request messages.
Description
Using the "no dhcp security-table" command, you can delete the
configuration of the binding policy based on request messages.

The vlan of the statically bound entry, ranging from <1-4094>,the


VLANLIST
format is 1,4-5,7

[Configuration case]

Case1: Add a DHCP security entry bound to vlan 100.


OLT(config)# dhcp-snooping binding 00:0f:1f:c5:10:08 192.168.1.101 100 port ge 0/0/2
OLT(config)#

12.5.5 show dhcp security-table


show security-table [ static | dynamic | ip-address |vlan vlan-id
Command Syntax
|config]

Applicable Views config view

This command is used to show entries in the DHCP listening binding


Description
table by type.

static Show static listening binding table entries

dynamic Show dynamic listening binding entries

Ip-address Show the entry of the listening binding table for the specified IP

vlan Show listening entries within the specified vlanID

vlan-id The vlanID specified, with values ranging from <1-4094>

config Show the configuration of dhcp security-table

[Configuration case]

243
GPON OLT User Manual

Case1: Show all DHCP security entries


OLT(config)# show dhcp security-table
-------------------------------------------------------------------------------------
database entries count: 1 database entries delete time: 100 (s)
-------------------------------------------------------------------------------------
MacAddress IpAddress Vlan Port Lease(s) Type Status
-------------------------------------------------------------------------------------
00:00:00:00:00:11 10.10.10.10 - - - Static Valid
-------------------------------------------------------------------------------------
Case2: Shows the configuration of DHCP security entries
OLT(config)# show dhcp security-table config
DHCP security-table entry delete time: 100(s)
DHCP security-table is configured on following vlans :
-----------------------------------------------------------------------------
100
-----------------------------------------------------------------------------
OLT(config)#

244
GPON OLT User Manual

13 AAA function configuration


This chapter includes the following topics:

 Radius server configuration

 Tacacs+ server configuration

 AAA mode configuration

13.1 Radius Server Configuration


13.1.1 authentication
authentication server-id <0-49> ip SADDR share-key SECKEY [port
Command Syntax <1-6500>]
no authentication server-id <0-49>

Applicable Views radius view

Description This command is used to configure the RADIUS authentication server.

<0 to 49 > Authentication server id. When configuring domain, use this id

SADDR Authentication server IP address

SECKEY The shared key for authenticating the server

<1-6500> Certification Service port (default port :1812)

[Configuration case]

Case1: Configure the RADIUS authentication server whose id is 0, IP is 192.168.10.1, shared key

is 123456, and port is 1024


OLT(config-radius)#authentication server-id 0 ip 192.168.10.1 share-key ****** port 1024
OLT(config-radius)#
Case2: Clears the RADIUS authentication server whose id is 0.
OLT(config-radius)#no authentication server-id 0
OLT(config-radius )#

13.1.2 radius
Command Syntax radius

245
GPON OLT User Manual

Applicable Views config view

Description This command is used to enter radius view mode.

[Configuration case]

Case1: Enter radius mode.


OLT(config)#radius
OLT(config-radius)#

13.1.3 show radius configuration


Command Syntax show radius configuration

Applicable Views radius view

Description This command is used to query radius configuration information.

[Configuration case]

Case1: Query radius configuration information.


OLT(config-radius)#show radius configuration

RADIUS authentication is enabled.

RADIUS authentication server config:


id server-status server-ip server-udp-port
-------------------------------------------------
1 ACTIVE 11.11.11.11 1812

OLT(config-radius)#

13.2 Tacacs+ server configuration


13.2.1 authentication
authentication server-id <0-4> ip SADDR share-key SECKEY [port
Command Syntax <1-65535>]
no authentication server-id <0-4>

Applicable Views tacacs+ view

Description This command is used to configure the tacacs+ authentication server.

< > 0 to 4 Authentication server id. When configuring domain, use this id

SADDR Authentication server IP address

246
GPON OLT User Manual

SECKEY The shared key for authenticating the server

<1-6500> Certification Service port (default port :1812)

[Configuration case]

Case1: Configure tacacs+ authentication server 0, whose IP address is 10.10.10.10, shared key

is 123456, and port number is 1024


OLT(config-tacacs+)#authentication server-id 1 ip 10.10.10.10 share-key ******
port 1024
OLT(config-tacacs+)#
Case2: Delete the tacacs+ authentication server whose id is 1
OLT(config-tacacs+)#no authentication server-id 1
OLT(config-tacacs+)#

13.2.2 authorization
authorization server-id <0-4> ip SADDR share-key SECKEY [port
Command Syntax <1-65535>]
no authentication server-id <0-4>

Applicable Views tacacs+ view

Description This command is used to configure the tacacs+ authorization server.

< 0 to 4> id of the authorization server. When configuring domain, use this id

SADDR IP address of the authorization server

SECKEY The shared key of the authorization server

<1-6500> Authorized service port (Default port :1812)

[Configuration case]

Case1: Configure tacacs+ authorization server with id 0, IP 10.10.10.10, shared key 123456, and

port 1024
OLT(config-tacacs+)#authorization server-id 1 ip 10.10.10.10 share-key ****** p
ort 1024
OLT(config-tacacs+)#
Case2: Delete the tacacs+ authorization server with id 1
OLT(config-tacacs+)#no authorization server-id 1
OLT(config-tacacs+)#

13.2.3 show tacacs+ configuration


247
GPON OLT User Manual

Command Syntax show tacacs+ configuration

Applicable Views tacacs+ view

Description This command is used to query tacacs+ configuration information.

[Configuration case]

Case1: Query radius configuration information.


OLT(config-tacacs+)#show tacacs+ configuration
==========================================================
TACC authentication enabled
----------------------------------------------------------
id server-status server-ip tcp-port
----------------------------------------------------------
1 Active 10.10.10.10 1024

==========================================================
TACC authorization enabled
---------------------------------------------------------
id server-status server-ip tcp-port
---------------------------------------------------------
1 Active 10.10.10.10 1024
----------------------------------------------------------
TACC accounting disabled
OLT(config-tacacs+)#

13.2.4 tacacs+
Command Syntax tacacs+

Applicable Views config view

Description This command is used to enter tacacs+ view mode.

[Configuration case]

Case1: Enters the tacacs+ mode.


OLT(config)#tacacs+
OLT(config-tacacs+)#

13.3 AAA mode configuration


13.3.1 aaa

248
GPON OLT User Manual

Command Syntax aaa

Applicable Views config view

Description This command is used to enter AAA mode.

[Configuration case]

Case1: Enter AAA mode.


OLT(config)# aaa
OLT(config-aaa)#

13.3.2 aaa-protocol
Command Syntax aaa-protocol (radius|tacacs+)

Applicable Views domain view

This command configures which authentication mode to select in the


Description
specified domain.

radius Specify the authentication mode as RADIUS authentication.

tacacs+ Specify the authentication mode as tacacs+ authentication.

[Configuration case]

Case1: Configure the authentication mode in the abc domain to radius.


OLT(config-aaa-domain-abc)#aaa_protocol radius
OLT(config-aaa-domain-abc)#

13.3.3 domain
Command Syntax [no] domain DOMAIN-NAME

Applicable Views aaa view

"domain domain-name" create domain and enter domain view or


Description enter an existing one domain view.
"no domain domain-name" used to delete a domain.

DOMAIN-NAME Domain name

[Configuration case]

Case1: Create a domain called domain1.


OLT(config-aaa)#domain domain1
OLT(config-aaa-domain-domain1)#

249
GPON OLT User Manual

Case2: Enter a domain called default. The default field exists by default.
OLT(config-aaa)#domain default
OLT(config-aaa-domain-default )#

13.3.4 radius
Command Syntax [no] radius authentication server-id <0-4>

Applicable Views domain view

The "radius authentication server-id <0-4>" command is used to bind


the server with the specified id to the specified domain name.
Description
The "no radius authentication server-id <0-4>" command is used to
delete the server bound to the specified domain name.

authentication Specify the category as Authentication Server.

< > 0 to 4 The id of the server (refer to radius view)

[Configuration case]

Case1: Set to add authentication server with id 0 to domain name default.


OLT(config-aaa-domain-default)#radius authentication server-id 0
OLT(config-aaa-domain-default)#

13.3.5 show domain


Command Syntax show domain ( all |name DOMAIN-NAME)

Applicable Views aaa view, domain view

Description This command is used to query domain configuration information.

all Query all domain configuration information

DOMAIN-NAME Specify the domain name of the domain you want to query.

[Configuration case]

Case1: Query the configuration information of the abc domain.


OLT(config-aaa-domain-abc)#show domain name abc
===========================================================================
=====
Domain Name : abc Domain Id :1
AAA Protocol : RADIUS User Name : Incomplete
Authentication : Enabled

250
GPON OLT User Manual

RADIUS Authentication Server Configuration:


id type status serverIP port
-----------------------------------------------
1 PRIMARY ACTIVE 11.11.11.11 1812

TACACS+ Authentication Server Configuration:


id type status serverIP port
---------------------------------------------
1 PRIMARY ACTIVE 10.10.10.10 49

TACACS+ Authorize Server Configuration:


id type status serverIP port
---------------------------------------------

OLT(config-aaa-domain-abc)#

13.3.6 tacacs+
Command Syntax [no] tacacs+ (authentication|authorize) server-id <0-4>

Applicable Views domain view

The "tacacs+ (authentication|authorize) server-id <0-4>" command


is used to bind a server with a specified id to a specified domain
name.
Description
The "no tacacs+ (authentication|authorize) server-id <0-4>"
command is used to delete the bound server in the specified domain
name.

authentication Specify the category as Authentication Server.

authorize Specify the category as Authorization Server.

< > 0 to 4 The id of the server (refer to tacacs+ view)

[Configuration case]

Case1: Configure the authentication server 0 to be added to the domain name default.
OLT(config-aaa-domain-default)#tacacs+ authentication server-id 0
OLT(config-aaa-domain-default)#

13.3.7 username
Command Syntax username (complete | incomplete)

251
GPON OLT User Manual

Applicable Views domain view

Description This command is used to configure the name of the domain.

complete | complete Configure the domain to use the full name


incomplete The incomplete configuration domain uses an incomplete name

[Configuration case]

Case1: Configure the domain to use an incomplete name.


OLT(config-aaa-domain-abc)#username incomplete
OLT(config-aaa-domain-abc)#

252
GPON OLT User Manual

14 ONT Management
This chapter includes the following topics:

 ONT Authentication Configuration

 Basic ONT Management

 ONT Port Management

14.1 ONT Authentication Configuration


14.1.1 ont add by loid-auth
ont add port-id ONT-id loid-auth LOID-VALUE [ (ont-lineprofile-id
profile-id |ont-lineprofile-name profile-name) [ont-srvprofile-id
profile-id |ont-srvprofile-name profile-name ]] [ always | once-aging
Command Syntax
<1-10080>| once-no-aging]
ont add port-id ONT-id loid-auth LOID-VALUE mult-srv-profile
(profile-id profile-id| profile-name profile-name)

Applicable Views gpon interface view

Using the "ont add port-id ONT-id loid-auth LOID-VALUE


[ ont-lineprofile-id profile-id |ont-lineprofile-name profile-name ]
[ont-srvprofile-id profile-id |ont-srvprofile-name profile-name ]
[ always | once-aging <1-10080>| ont-no-aging]" command, you can
authenticate an ONT and bind an ONT line profile and service profile
based on an ONT loid. The OLT checks whether the loid reported by
the ONT was the same as the configuration. If the LOID was the
Description same, the ONT passed the authentication and went online.
"ont add port-id ONT-id loid-auth LOID-VALUE mult-srv-profile
(profile-id profile-id| profile-name profile-name)"
The command is used to authenticate an ONT and bind the ONT
multi-service profile based on the ONT loid. The OLT checks whether
the loid reported by the ONT was the same as the loid configured. If
the LOID was the same, the ONT passed the authentication and went
online.

port-id Specifies the PON port number of the newly added ONT. The value

253
GPON OLT User Manual

ranges from 1 to 16

ONT-id Specify the ONT number. The value ranges from 1 to 128

LOID-VALUE loid of the ONT. The value can contain 1 to 24 characters.

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name Name of the ONT profile, which can be 1-64 characters

always: The ONU can authenticate the onu for unlimited times at any
always time. As long as each online authentication mode matches the
password, loid + loid-password, loid of the ONU.

Once-aging: The aging system can be authenticated only once in a


specified time. If the aging system is not authenticated within a
specified time, the authentication will fail. If the authentication
once-aging <1-10080> mode matches the password or loid + loid-password or loid of the
onu for the first time, the onu can be authenticated only when the
authentication mode matches the password of the SN and ONU, or
loid + loid-password or loid succeeds

once-no-aging: The authentication time is not restricted. As long as


the onu authentication mode matches the password or loid +
loid-password, loid, according to the ONU authentication mode for
once-no-aging the first time. If it is not the first time to log on, only after matching
the password of the SN and onu or loid + loid-password or loid
according to the authentication mode can the log on be
authenticated

[Configuration case]

Case1: Authenticates an ONT ONT 6, Loid as 12345678 on port pon1 and binds ONT line profile

0 and ONT service profile 0


OLT(config-gpon-0/0)# ont add 1 6 loid-auth 12345678 ont-lineprofile-id 0 ont
-srvprofile-id 0 always
OLT(config-gpon-0/0)#
Case1: Authenticated an ONT ONT 1, Loid 123456, on port pon1 and bound the ONT

multi-service profile 1.
OLT(config-gpon-0/0)# ont add 1 1 loid-auth 123456 mult-srv-profile profile-id 1
OLT(config-gpon-0/0)#
2022-05-15 14:13:25 PON 0/0/1 ONU 1: The ONT online

14.1.2 ont add by loid-auth password

254
GPON OLT User Manual

ont add port-id ONT-id loid-auth LOID-VALUE password


PASSWORD-VALUE [ (ont-lineprofile-id profile-id
|ont-lineprofile-name profile-name) [ont-srvprofile-id profile-id
|ont-srvprofile-name profile-name ] ] [ always | once-aging
Command Syntax
<1-10080>| once-no-aging]
ont add port-id ONT-id loid-auth LOID-VALUE password
PASSWORD-VALUE mult-srv-profile (profile-id profile-id|
profile-name NAME)

Applicable Views gpon interface view

"ont add port-id ONT-id loid-auth LOID-VALUE password


PASSWORD-VALUE [ ont-lineprofile-id profile-id
|ont-lineprofile-name profile-name ] [ont-srvprofile-id profile-id
|ont-srvprofile-name profile-name ] [ always | once-aging
<1-10080>| once-no-aging]"
The command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the loid+ password of the ONT.
The OLT checks whether the loid and password reported by the ONT
were the same as the configuration. If they were the same, the
Description
authentication passed and the ONT went online.
"ont add port-id ONT-id loid-auth LOID-VALUE password
PASSWORD-VALUE mult-srv-profile (profile-id profile-id|
profile-name NAME)"
The command is used to authenticate the ONT and bind the ONT
multi-service profile based on the loid+ password of the ONT. The
OLT checks whether the loid and password reported by the ONT
were the same as the configured one. If they were the same, the
authentication passed and the ONT went online.

Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16

ONT-id Specify the ONT number. The value ranges from 1 to 128

LOID-VALUE loid of the ONT. The value can contain 1 to 24 characters.

Password of the ONT to be authenticated. It can contain 1 to 12


PASSWORD-VALUE
characters

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name Name of the ONT profile, which can be 1-64 characters

always: The ONU can authenticate the onu for unlimited times at any
always
time. The ONU only needs to match the password, loid +

255
GPON OLT User Manual

loid-password, or loid of the ONU according to the authentication


mode.

once-aging: The aging system can be authenticated only once in a


specified time. If the aging system is not authenticated within a
specified time, the authentication will fail. If the authentication
once-again
mode matches the password or loid + loid-password or loid of the
<1-10080>
onu for the first time, the onu can be authenticated only when the
authentication mode matches the password of the SN and ONU, or
loid + loid-password or loid succeeds

once-no-aging: The authentication time is not restricted. As long as


the onu authentication mode matches the password or loid +
loid-password, loid, according to the ONU authentication mode for
once-no-aging the first time. If it is not the first time to log on, only after matching
the password of the SN and onu or loid + loid-password or loid
according to the authentication mode can the log on be
authenticated

[Configuration case]

Case1: Authenticated an ONT whose ONT ID was 10, Loid was test and password was test on

port pon1 and bound the ONT line profile 5 and ONT service profile 5. The authentication mode

was always.
OLT(config-interface-gpon-0/0)# ont add 1 10 loid-auth test password-auth test
ont-lineprofile-id 5 ont-srvprofile-id 5 always

OLT(config-interface-gpon-0/0)#
Case2: Authenticated an ONT 1 whose ONT ID was 1. Loid as 123456 and password was 123456

and bound to ONT multi-service profile 1 on port pon1.


OLT(config-interface-gpon-0/0)# ont add 1 1 loid-auth 123456 password-auth 123456
mult-srv-profile profile-id 1
OLT(config-gpon-0/0)#
2022-05-15 14:15:15 PON 0/0/1 ONU 1: The ONT online

14.1.3 ont add by password


ont add port-id ont-id password-auth PASSWOED-VALUE
[ (ont-lineprofile-id profile-id |ont-lineprofile-name profile-name)
Command Syntax [ont-srvprofile-id profile-id |ont-srvprofile-name profile-name ] ]
[always |once-aging <1-10080> |once-no-aging]
ont add port-id ont-id password-auth PASSWOED-VALUE

256
GPON OLT User Manual

mult-srv-profile [profile-id profile-id| profile-name NAME]

Applicable Views gpon interface view

"ont add port-id ont-id password-auth PASSWOED-VALUE


[ ont-lineprofile-id profile-id |ont-lineprofile-name profile-name ]
[ont-srvprofile-id profile-id |ont-srvprofile-name profile-name ]
[always |once-aging <1-10080> | ont-no-aging]"
The command enables you to authenticate the ONT and bind the
ONT line profile and service profile according to the SN Password of
the ONT. The OLT checks whether the SN Password reported by the
ONT is the same as the password configured. If the password is the
Description
same, the authentication succeeds and the ONT goes online.
"ont add port-id ont-id password-auth PASSWOED-VALUE
mult-srv-profile [profile-id profile-id| profile-name NAME]"
The command is used to authenticate the ONT and bind the ONT
multi-service profile according to the SN Password of the ONT. The
OLT checks whether the SN Password reported by the ONT is the
same as the configured one. If the password is the same, the
authentication succeeds and the ONT goes online.

Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16

ONT-id Specify the ONT number. The value ranges from 1 to 128

Password of the ONT SN to be authenticated. The value is a 10-bit


PASSWOED-VALUE
ASCII character with 1 to 10 characters in length

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name ONT profile name. The value contains 1 to 64 characters

always: The ONU can authenticate the onu for unlimited times at any
always time. As long as each online authentication mode matches the
password, loid + loid-password, loid of the ONU.

once-aging: The aging system can be authenticated only once in a


specified time. If the aging system is not authenticated within a
specified time, the authentication will fail. If the authentication
once-aging
mode matches the password or loid + loid-password or loid of the
<1-10080>
onu for the first time, the onu can be authenticated only when the
authentication mode matches the password of the SN and ONU, or
loid + loid-password or loid succeeds

once-no-aging: The authentication time is not restricted. As long as


once-no-aging
the onu authentication mode matches the password or loid +

257
GPON OLT User Manual

loid-password, loid, according to the ONU authentication mode for


the first time. If it is not the first time to log on, only after matching
the password of the SN and onu or loid + loid-password or loid
according to the authentication mode can the log on be
authenticated

[Configuration case]

Case1: Authenticates ont 3 on port pon1. The Pasword of sn is 12345678 and binds ONT line

profile 0 and ONT service profile 0. The authentication mode is always.


OLT(config-gpon-0/0)# ont add 1 3 password-auth 12345678 ont-lineprofile-id 0 o
nt-srvprofile-id 0 always
OLT(config-gpon-0/0)#
Case2: Case1: authenticates an ont whose ONT number is 1 and whose Pasword of sn is

1234567890 on port pon1 and binds the ONT multi-service profile 0.


OLT(config-gpon-0/0)# ont add 1 1 password-auth 1234567890 mult-srv-profile profile-id 0
OLT(config-gpon-0/0)#
2022-05-15 14:03:21 PON 0/0/1 ONU 1: The ONT online

14.1.4 ont add by sn-auth


ont add port-id ont-id sn-auth SN-VALUE (ont-lineprofile-id profile-id
|ont-lineprofile-name profile-name) [ont-srvprofile-id profile-id
Command Syntax |ont-srvprofile-name profile-name ]
ont add port-id ont-id sn-auth SN-VALUE mult-srv-profile (profile-id
profile-id | profile-name profile-name)

Applicable Views gpon interface view

"ont add port-id ont-id sn-auth SN-VALUE [ ont-lineprofile-id


profile-id |ont-lineprofile-name profile-name ] {ont-srvprofile-id
profile-id |ont-srvprofile-name profile-name}"
The command is used to authenticate the ont and bind the ont line
profile and service profile based on the ONT SN. The OLT checks
whether the SN reported by the ONT is the same as the configured
SN. If the SN is the same, the ONT authentication succeeds and the
Description
ONT goes online.
"ont add port-id ont-id sn-auth SN-VALUE mult-srv-profile [profile-id
profile-id | profile-name profile-name]"
The command is used to authenticate the ONT and bind the ONT
multi-service profile based on the ONT SN. The OLT checks whether
the SN reported by the ONT is the same as the configured SN. If the
SN is the same, the authentication succeeds and the ONT goes

258
GPON OLT User Manual

online.

Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16

ONT-id Specify the ONT number. The value ranges from 1 to 128

The SN of the ONT is in 12-bit ASCII or converted hexadecimal


SN-VALUE format. The format is <Length 12, 13, 16>(XXXXXXXXXXXX,
XXXX-XXXXXXXX, XXXXXXXXXXXXXXXX).

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name Name of the ONT profile, which can be 1-64 characters

[Configuration case]

Case1: Authenticate an ont whose ONT number is 2 and sn is XPON12345678 on port pon1 and

bind ONT line profile 0 and ONT service profile 0.


OLT(config-gpon-0/0)# ont add 1 2 sn-auth XPON12345678 ont-lineprofile-id 0 ont
-srvprofile-id 0
OLT(config-gpon-0/0)#
Case2: authenticates an ont whose ONT number is 1 and sn is DD15B353EE6A on port pon1 and

binds the ONT Multi-service profile 1.


OLT(config-gpon-0/0)# ont add 1 1 sn-auth 44443135B353EE6A mult-srv-profile pro
file-id 1
OLT(config-gpon-0/0)#
2022-05-15 13:57:16 PON 0/0/1 ONU 1: The ONT online
OLT(config-gpon-0/0)#

14.1.5 ont add by sn-auth password


ont add port-id ont-id sn-auth SN-VALUE password-auth
PASSWOED-VALUE ( ont-lineprofile-id profile-id
|ont-lineprofile-name profile-name ) [ont-srvprofile-id profile-id
Command Syntax |ont-srvprofile-name profile-name ]
ont add port-id ont-id sn-auth SN-VALUE password-auth
PASSWOED-VALUE mult-srv-profile (profile-id profile-id |
profile-name NAME)

Applicable Views gpon interface view

"ont add port-id ont-id sn-auth SN-VALUE password-auth


Description PASSWOED-VALUE [ ont-lineprofile-id profile-id
|ont-lineprofile-name profile-name ] [ont-srvprofile-id profile-id

259
GPON OLT User Manual

|ont-srvprofile-name profile-name ]"


The command is used to authenticate the ONT and bind the ONT line
profile and service profile according to the SN+Password. The OLT
checks whether the sn and Password reported by the ONT are
consistent with the configured SN and password. If the SN and
password are consistent, the authentication succeeds and the ONT
goes online.
"ont add port-id ont-id sn-auth SN-VALUE password-auth
PASSWOED-VALUE mult-srv-profile [profile-id profile-id |
profile-name NAME]"
The command is used to authenticate the ONT and bind the ONT
multi-service profile according to the SN+Password of the ONT. The
OLT checks whether the sn and Password reported by the ONT are
consistent with the configured SN and password. If the SN and
password are consistent, the authentication succeeds and the ONT
goes online.

Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16

ONT-id Specify the ONT number. The value ranges from 1 to 128

The SN of the ONT is in 12-bit ASCII or converted hexadecimal


SN-VALUE format. The format is <Length 12, 13, 16>(XXXXXXXXXXXX,
XXXX-XXXXXXXX, XXXXXXXXXXXXXXXX).

Password of the ONT SN to be authenticated. The value is a 10-bit


PASSWOED-VALUE
ASCII character with 1 to 10 characters in length

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name Name of the ONT profile, which can be 1-64 characters

[Configuration case]

Case1: Authenticate an ont 4 on port pon1, whose sn is XPON12345678, Pasword is the ONT of

12345678, and bind the ONT line profile 0 and ONT service profile 0
OLT(config-gpon-0/0)# ont add 1 4 sn-auth XPON12345678 password-auth 12345678 o
nt-lineprofile-id 0 ont-srvprofile-id 0
OLT(config-gpon-0/0)#
Case1: Authenticate an ont 1 on port pon1, whose sn is 44443135B353EE6A, Pasword is the

ONT of 1234567890 and bind the ONT multi-service profile 0


OLT(config-gpon-0/0)# ont add 1 1 sn-auth 44443135B353EE6A password-auth 123456
7890 mult-srv-profile profile-id 0

260
GPON OLT User Manual

OLT(config-gpon-0/0)#
2022-05-15 14:03:21 PON 0/0/1 ONU 1: The ONT online

14.1.6 ont authmode


ont authmode (<port-id>|all) (auto |manual)
Command Syntax
ont authmode (<port-id>|all) aaa [to auth-mode]

Applicable Views gpon interface view

This command is used to configure the ONT authentication mode of


the specified PON port.
Description If automatic authentication is enabled, policy authentication is
enabled.
The default automatic authentication mode is auto.

Specify the PON port number where you want to configure the ONT
port-id
authentication mode. The value ranges from 1 to 16

Configure the automatic authentication mode for the specified PON


auto
port

Configure the manual authentication mode for the specified PON


manual
port

aaa Configure the aaa authentication mode for the specified PON port

Configure the authentication mode used to record ONT


authentication. The following authentication modes are available:
1- loid-auth
auth-mode 2- loid-password-auth
3- password-auth
4- sn-auth
5- sn-password-auth

[Configuration case]

Case1: Configure the ONT authentication mode of port pon1 to automatic authentication
OLT(config-interface-gpon-0/0)# ont authmode 1 auto

OLT(config-interface-gpon-0/0)#

14.1.7 ont autofind


Command Syntax ont autofind port-id (disable | enable)

Applicable Views gpon interface view

261
GPON OLT User Manual

enable or disable the ONT automatic discovery function.


Unregistered ONTs are showed on the OLT only after the ONT
Description
automatic discovery function is enabled. By default, the ONT
automatic discovery function is enabled.

all Enable ONT automatic discovery for all PON ports on the OLT

Enable: enables the ONT automatic discovery function


disable | enable
Disable: Disables the ONT automatic discovery function

[Configuration case]

Case1: Enables the ONT automatic discovery function of port PON1 on the OLT
OLT(config-interface-gpon-0/0)# ont autofind 1 enable

OLT(config-interface-gpon-0/0)#

14.1.8 ont autofind all


Command Syntax ont autofind all (disable | enable)

Applicable Views Config view

enable or disable the ONT automatic discovery function.


Unregistered ONTs are showed on the OLT only after the ONT
Description
automatic discovery function is enabled. By default, the ONT
automatic discovery function is enabled.

all Enable ONT automatic discovery for all PON ports on the OLT

Enable: enables the ONT automatic discovery function


disable | enable
Disable: Disables the ONT automatic discovery function

[Configuration case]

Case1: Enables the automatic discovery function of all ONTs on the OLT
OLT(config)# ont autofind all enable
OLT(config)#

14.1.9 ont blacklist


Command Syntax ont blacklist (disable | enable)

Applicable Views config view

Description This command enables or disables the ONT blacklist authentication

262
GPON OLT User Manual

function.

disable The ONT blacklist authentication function is disabled.

enable Enable the ONT blacklist authentication function

[Configuration case]

Case1: Enable the blacklist authentication function.


OLT(config)# ont blacklist enable
OLT(config)#

14.1.10 ont blacklist add


Command Syntax ont blacklist add sn SN-VALUE mask length

Applicable Views config view, gpon interface view

This command is used to add the specified ONT to the blacklist and
Description
then make the ONT authentication of the blacklist unsuccessful.

Add the specified ONT sn to the blacklist. The value can contain 12
SN-VALUE
characters in the format XXXXXXXXXXXX

This parameter specifies the length of the sn mask that the ONT sn is
SN-VALUE
added to the blacklist. The value ranges from 4 to 12

[Configuration case]

Case1: Add the ONT whose SN is test12345678 to the blacklist, and configure the mask length

of sn to 4
OLT(config-interface-gpon-0/0)# ont blacklist add sn test12345678 mask 4
OLT(config-interface-gpon-0/0)#

14.1.11 ont blacklist delete


Command Syntax ont blacklist delete (all |index)

Applicable Views config view, gpon interface view

This command is used to remove an ONU with a specified index from


Description
the blacklist list.

Specify the id of the ONT to be removed from the blacklist, you can
index use the show ont blacklist to see what the ONT id is in the blacklist,
the value ranges from 1 to 128

263
GPON OLT User Manual

[Configuration case]

Case1: Deletes the ONU device whose index is 1 from the device blacklist list
OLT(config-gpon-0/0)# ont blacklist delete
<1-128> Blacklist index. <U><1-128>
all All Blacklist entries
OLT(config-gpon-0/0)# ont blacklist delete 1
OLT(config-gpon-0/0)#

14.1.12 ont confirm


ont confirm port-id all (loid-auth | loid-password-auth |
password-auth | sn-auth | sn-password-auth) (ont-srvprofile-id
profile-id |ont-srvprofile-name profile-name) [always |once-again
<1-10080> |once-no-aging]
ont confirm port-id (loid-auth LOID-VALUE [password-auth
Command Syntax
PASSWORD-VALUE] | password-auth PASSWORD-VALUE | sn-auth
SN-VALUE [password-auth PASSWORD-VALUE]) ( ont-lineprofile-id
profile-id |ont-lineprofile-name profile-name ) (ont-srvprofile-id
profile-id |ont-srvprofile-name profile-name) [always |once-again
<1-10080> |once-no-aging]

Applicable Views gpon interface view

This command is used to authenticate the ONT that is in the


discovery state under the specified PON port. If the automatic
discovery of ONT is enabled on the OLT interface, the OLT will obtain
the registration information of the ONT interface after the ONT
Description
interface is added. The ONT interface is in automatic discovery state.
After you run this command to confirm that the ONT is in the normal
state, you can configure services related to the ONT. This command
can be used to register ONT services in batches.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

all Batch authenticate all found ONTs under the PON port.

loid-auth Adopt the authentication mode of loid

loid loid value in authentication mode. It is a loid of 1 to 24


LOID-VALUE
characters

loid-password-auth The password authentication mode of loid+loid is adopted

password-auth The sn password authentication mode is used

264
GPON OLT User Manual

password Specifies the password value in authentication mode. The


PASSWORD-VALUE
value contains 1 to 10 characters

sn-auth Adopt sn authentication

The SN of the ONT is in 12-bit ASCII or converted hexadecimal


SN-VALUE format. The format is <Length 12, 13, 16>(XXXXXXXXXXXX,
XXXX-XXXXXXXX, XXXXXXXXXXXXXXXX).

sn-password-auth Adopt sn+password authentication

profile-id ID of the ONT profile. The value ranges from 0 to 512

profile-name Name of the ONT profile, which can be 1-64 characters

Always: ONU can go online at any time without limiting the number
always
of authentications

once-again once-aging: The ONU can only be authenticated online once within a
<1-10080> specified period of time, and the ONU will be cleared once offline

once no-aging: There is no restriction on when the ONU is


once-no-aging authenticated, but once the ONU is online, it will be deleted if it is
offline

[Configuration case]

Case1: Identifies all discovered ONTs in port pon1 based on the sn and binds the line profile

and industry Service profile 10


OLT(config-interface-gpon-0/0)#ont confirm 1 all sn-auth ont-lineprofile-id 10
ont-srvprofile-id 10
Number of ONTs that can be added: 0, success: 0

OLT(config-interface-gpon-0/0)#
Case2: authenticate the ONT that was in the discovered state and loid as test from port pon1

and bind the line profile and service profile 10


OLT(config-interface-gpon-0/0)# ont confirm 1 loid-auth test ont-lineprofile-id 10
ont-srvprofile-id 10
Add port 1 ONT 1 successfully.

OLT(config-interface-gpon-0/0)#

14.1.13 ont modify


Command Syntax ont modify port-id ONT-id {(ont-lineprofile-id profile-id |

265
GPON OLT User Manual

ont-lineprofile-name profile-name) | (ont-srvprofile-id profile-id|


ont-srvprofile-name profile-name)}
ont modify port-id ONT-id mult-srv-profile (profile-id profile-id|
profile-name profile-name)

Applicable Views gpon interface view

This command is used to modify the line profile and service profile
Description
bound to the ONT on the PON port.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

Specifies the ONT id of the line profile and service profile to be


ONT-id
repaired. The value ranges from 1 to 128

id of the line profile, service profile, and multi-service profile. The


profile-id
value ranges from 0 to 512

The name of the line profile, service profile, and multi-service profile.
profile-name
The value ranges from 1 to 16 characters

[Configuration case]

Case1: Change the line profile of ONT1 under port PON1 to 5


OLT(config-interface-gpon-0/0)# ont modify 1 1 ont-lineprofile-id 5

OLT(config-interface-gpon-0/0)#
Case2: Change the line profile and service profile of ONT1 under port PON1 to 5 and 5,

respectively
OLT(config-interface-gpon-0/0)# ont modify 1 1 ont-lineprofile-id 5 ont-srvprofile-id 5

OLT(config-interface-gpon-0/0)#
Case3: Change the multi-service profile bound to onu whose ID is 1 under pon1 to 1.
OLT(config-gpon-0/0)# ont modify 1 1 mult-srv-profile profile-id 1
OLT(config-gpon-0/0)#

14.1.14 ont modify auth-type


ont modify port-id ONT-id auth-type (loid-auth LOID-VALUE |
[password-auth PASSOERD-VALUE] | password-auth
Command Syntax
PASSWORD-VALUE | sn-auth SN-VALUE [password-auth
PASSOERD-VALUE] )

Applicable Views gpon interface view

266
GPON OLT User Manual

This command is used to change the authentication mode of a


Description
registered ONT.

Specifies the PON port number of the ONT. The value ranges from
port-id
1 to 16

ONT id of the authentication mode to be changed. The value


ONT-id
ranges from 1 to 128.

Change the authentication mode of the registered ONT to sn and


enter the sn value to be authenticated. The value can contain
sn-auth SN-VALUE
12,13,13 characters the format is XXXXXXXXXXXX,XXXX-XXXXXXXX,
XXXXXXXXXXXXXXXX

Change the authentication mode of the registered ONT to sn+sn


sn-auth SN-VALUE password and enter the sn value and password value under sn. sn
password-auth can contain 12,13,13 characters the format is
PASSWORD-VALUE XXXXXXXXXXXX,XXXX-XXXXXXXX, XXXXXXXXXXXXXXXX, and
XXXXXXXXXXXXXXXX. The password contains 1 to 10 characters

Change the authentication mode of the registered ONT to


password-auth
password under sn and enter the password value under sn. The
PASSWORD-VALUE
value of password ranges from 1 to 10 characters

Change the authentication mode of the registered ONT to loid and


loid-auth LOID-VALUE
enter a loid value ranging from 1 to 24 characters

Change the authentication mode of the registered ONT to the


loid-auth LOID-VALUE
password of loid+loid and enter the value of loid and the password
password-auth
of a loid. The value of a loid ranges from 1 to 24 characters. The
PASSWORD-VALUE
value of a password ranges from 1 to 12 characters

[Configuration case]

Case1: Change the authentication mode of ONT 1 under port PON1 to sn and sn to

xpon12345678
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type sn-auth xpon12345678

OLT(config-interface-gpon-0/0)#
Case2: Change the authentication mode of the first ONT from port PON1 to loid and loid to test
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type loid-auth test

OLT(config-interface-gpon-0/0)#
Case3: Change the authentication mode of ONT 1 on port PON1 to sn+password and loid and

267
GPON OLT User Manual

password to xpon12345678 and test1 respectively


OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type sn-auth xpon12345678
password-auth test

OLT(config-interface-gpon-0/0)#

14.1.15 ont quiet-period


Command Syntax ont quiet-period quiet-time

Applicable Views config view

Description This command is used to configure the silence time at ONT.

quiet-time The value ranges from 10 to 120, in seconds.

[Configuration case]

Case1: Configure the silence time for ONT authentication to 60s.


OLT(config)# ont quiet-period 60
The ont quiet-period set seccess!
OLT(config)#

14.1.16 ont re-register


Command Syntax ont re-register port-id (ONT-id | all)

Applicable Views gpon interface view

This command is used to re-register ONT. After the command is


Description executed successfully, the ONT goes offline and reports the
registration information again.

port-id Re-register ONT under the specified PON port

ONT-id Re-register the ONT with the specified ID on the specified PON port

all Batch re-register all ONTs under the specified PON port

[Configuration case]

Case1: Re-register ONT1 under port PON2


OLT(config-interface-gpon-0/0)# ont re-register 2 1
OLT(config-interface-gpon-0/0)# 2000-01-03 08:50:39 PON 0/0/2 ONU 1 Onu offline
OLT(config-interface-gpon-0/0)#
OLT(config-interface-gpon-0/0)# 2000-01-03 08:50:48 PON 0/0/2 ONU 1 Onu online

268
GPON OLT User Manual

14.1.17 show ont autofind


show ont autofind F/S portid (all [brief sn-format ( hex | string )]
Command Syntax | sn SN-NUM)
show ont autofind all [brief sn-format ( hex | string )]

Applicable Views config view or gpon interface view

This command is used to show the automatic discovery of


Description
unregistered ONT on the OLT.

Show the slot number of the PON where the ONT is automatically
F/S
discovered

Check the port number of the PON where the ONT is located. The
port-id
value ranges from 1 to 16

all Show automatically discovered ONUs under all PON ports

hex Show the SN number of ONU in 16 mechanism number format

string Show the SN number of ONU in string format

SN-NUM Show the SN of the automatic discovery ONT

[Configuration case]

Case1: Show all ONTs automatically discovered by port PON2


OLT(config-interface-gpon-0/0)# show ont autofind 0/0 2 all
-----------------------------------------------------------------------------
Number :1
Frame/Slot : 0/0
Port :2
Logic ID :1
Ont SN : DD16B3551CD3
Password : 12345678
Loid : e067b3551cd3
Loid Password : e067b3551cd3
OMCC Ver : 0xA0
Vendor ID : xPON
Ont Version: HZ660.1A
Ont Software Version: V2.1.2
Equipment ID : ONT1
Last autofind time : Sat Jan 1 10:15:36 2000
-----------------------------------------------------------------------------
Total: 1

269
GPON OLT User Manual

OLT(config-interface-gpon-0/0)#

14.1.18 show ont blacklist


Command Syntax show ont blacklist

Applicable Views config view, gpon interface view

Description This command is used to show the ONT authentication blacklist.

[Configuration case]

Case1: Show the ONT information in the authentication blacklist


OLT(config-gpon-0/0)# show ont blacklist
----------------------------------------------------
Blacklist function switch : disable
----------------------------------------------------
----------------------------------------------------
ID SN/Mask-Len Hit-Count
----------------------------------------------------
There is no entry available.
----------------------------------------------------
OLT(config-gpon-0/0)#

14.1.19 show ont info


show ont info all [online [sn-format (hex |string)] | sn-format (hex
|string)]
show ont info port-id (ONT-id | all [online [sn-format (hex |string)]
Command Syntax
| sn-format (hex |string)] )
show ont info ( by-desc DESCRIPTION | by-loid LOID-VALUE |
by-password PASSWORD-VALUE | by-sn SN-VALUE)

Applicable Views config view or gpon interface view

This command is used to show the ONT status, including the ONT
registration details, ONT binding profile information, and ONT port
configuration.
This command is used to query information about the ONT, including
Description the current status of the ONT, the configuration of the ONT, and the
information about the ONT T-CONT.
Port: indicates the PON port number of the ONT on the OLT.
ONT ID: indicates the number of the ONT set by the user.
SN: indicates the sn of the ONT.

270
GPON OLT User Manual

Control flag:
active: The ONT is in the active state. The ONT must be activated on
the OLT before it is allowed to go online.
deactive: The ONT is in the deactivated state. You can activate the
ONT by using the ont activate command when the ONT is
deactivated
Run state: Indicates the running status of the ONT. The value can be
online or offline. The value is online when the ONT is normally
online.
Config state: indicates the configuration status. After the ONT is
online, this status indicates whether the ONT configuration is
delivered and restored, and the completion of configuration delivery
and recovery. The value can be initial, failed, or Success.
initial: The ONT is being delivered or recovered.
failed: The ONT configuration failed to be delivered or restored.
Success: The ONT configuration is successfully delivered or restored.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT id Specifies the ONT id to be viewed. When the information to


be viewed is specified to the ONT ID, you can Show the ONT
ONT-id
registration status, profile bound to the ONT, and port configuration
on the ONT. The value ranges from 1 to 128

Show the status of all registered ONU registrations at the specified


all PON port, mainly some brief registration information, both online
and offline.

online Show the onu information that is currently online

To Show the registration status of the ONT by specifying the


by-desc DESCRIPTION
description of the ONT. It can contain 1-64 characters

Show the registration status of the ONT by specifying the LOID of the
by-loid LOID-VALUE
ONT. The value can contain 1 to 24 characters

by-password Show the registration status of the ONT by specifying the password
PASSWORD-VALUE under the SN of the ONT. It can contain 1-10 characters

To Show the registration status of the ONT, specify the SN of the


by-sn SN-VALUE ONT. The value can contain 12,13, or 16 characters the format is
XXXXXXXXXXXX, XXXX-XXXXXXXX, XXXXXXXXXXXXXXXX)

[Configuration case]

Case1: Check the registration status of all ONTs on port PON2

271
GPON OLT User Manual

OLT(config-interface-gpon-0/0)# show ont info 2 all


-----------------------------------------------------------------------------
F/S P ONT SN Control Run Config Match
ID flag state state state
----------------------------------------------------------------------------
0/0 2 1 TPLGCAF02E40 Active Online failed mismatch
0/0 2 2 DD16B3551CD3 Active Offline initial initial
0/0 2 3 XPON12345678 Active Online success match
-----------------------------------------------------------------------------
Total: 3, online: 2, deactive: 0, failed: 1

OLT(config-interface-gpon-0/0)#
Case2: See registration details for Pon2-port ONT3
OLT(config-interface-gpon-0/0)# show ont info 2 3
-----------------------------------------------------------------------------
F/S : 0/0
Port :2
ONT-ID :3
Control flag : active
Run state : online
Config state : success
Match state : match
DBA type : SR
Distance(m) :1
Validity mode : always
Authentic mode : sn-auth
SN : XPON12345678
Description :
Last up time : 2000-01-01 09:16:46
Last down time :
----------------------------------------------------------------------------
Line Profile-ID :6
Line Profile-name : 1530
----------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode : VLAN
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 6
<Gem ID 1> US-GEM-CAR : - DS-ENCRYPT-MODE : off

272
GPON OLT User Manual

Mapping-ID VLAN Priority


1 101 -
----------------------------------------------------------------------------
Service Profile-ID :6
Service Profile-name : 12
----------------------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
----------------------------------------------------------------------------
MAC learning switch : enable
MAC aging time(s) : 300
Multicast mode : transparent
Multicast forward mode : transparent
Multicast forward VLAN : -
Native VLAN option : concern
----------------------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
---------------------------------------------------------------------------
ETH 1 Translation 1 101 - 101 - - -
ETH 2 Translation 1 101 - 101 - - -
ETH 3 Translation 1 101 - 101 - - -
ETH 4 Translation 1 101 - 101 - - -
IPHOST 1 Transparent - - - - - - -
----------------------------------------------------------------------------
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
---------------------------------------------------------------------------
ETH 1 transparent - - unlimited
ETH 2 transparent - - unlimited
ETH 3 transparent - - unlimited
ETH 4 transparent - - unlimited
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#
Case3: Show information for all online ONTs at port PON2
OLT(config-gpon-0/0)# show ont info all online
--------------------------------------------------------------------------------------------------------------------
F/S P ONT SN Control Run Config Match Last Desc
ID flag state state state down-cause
--------------------------------------------------------------------------------------------------------------------

273
GPON OLT User Manual

0/0 1 3 XAHSF094DF86 Active Online success match --


--------------------------------------------------------------------------------------------------------------------
Total: 1, online: 1, deactive: 0, success: 1 , failed: 0

14.2 Basic ONT Management


14.2.1 ont activate
Command Syntax ont activate port-id (ONT-id | all)

Applicable Views gpon interface view

This command is used to activate an ONT that is in a deactivated


state. The ONT will only work when it is in the activated state. Use
Description
this command to activate the ONT when it is required to work
properly. By default, ONT is activated.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

Ont-id: indicates the id of the ONT to be activated. The value ranges


ONT-id | all from 1 to 128.
all: activates all onTs

[Configuration case]

Case1: Activates the first ONT under port PON1


OLT(config-interface-gpon-0/0)# ont activate 1 1

OLT(config-interface-gpon-0/0)#

14.2.2 ont deactivate


Command Syntax ont deactivate port-id (ONT-id | all)

Applicable Views gpon interface view

This command is used to deactivate ONT. Use this command to


Description deactivate the ONT when it is not needed to work properly. By
default, ONT is activated.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

Ont-id: indicates the id of the ONT to be deactivated. The value


ONT-id | all ranges from 1 to 128.
all: indicates all ONT's to be deactivated

274
GPON OLT User Manual

[Configuration case]

Case1: Deactivates the first ONT under port PON1


OLT(config-interface-gpon-0/0)# ont deactivate 1 1

OLT(config-interface-gpon-0/0)#

14.2.3 ont delete


Command Syntax ont delete port-id ( ONT-id | all |offline-list all )

Applicable Views GPON view

Description Delete the offline ONU

port-id Port number. The value ranges from 1 to 16.

ONT-id: The ONT id of the ONT to be deleted, with a value range of


ONT-id | all 1-128.
|offline-list all all: Delete all ONTs under the PON port.
Offline-list all: Clear offline ONU

[Configuration case]

Case1:Delete onu with ID 1 under PON1 port


OLT(config-interface-gpon-0/0)# ont delete 1 1

OLT(config-interface-gpon-0/0)#
Case2:Delete all ONUs under PON1 port
OLT(config-interface-gpon-0/0)# ont delete 1 all
This command will delete all the ONTs in port. Are you sure to execute this command? (y/n):y
Number of ONTs that can be delete: 0, success: 0
OLT(config-interface-gpon-0/0)#
Case3:Delete all offline ONUs under PON1
OLT(config-interface-gpon-0/0)# ont delete 1 offline-list all
Total offline ONT(s):0 delete.

OLT(config-interface-gpon-0/0)#

14.2.4 ont description


ont description port-id ONT-id description
Command Syntax
no ont description port-id ONT-id

Applicable Views gpon interface view

275
GPON OLT User Manual

The "ont description" command is used to add a description to the


ONT for easy management. The default value is null.
Description
The "no ont description" command is used to delete the description
of an ONT.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT id to which description information is to be added. The value


ONT-id
ranges from 1 to 128.

description Description to be added. The value can contain 1 to 64 characters

[Configuration case]

Case1: Add the description of ONT1 to port PON1 as test


OLT(config-interface-gpon-0/0)# ont description 1 1 test

OLT(config-interface-gpon-0/0)#
Case2: Delete the description of ONT1 from port PON1
OLT(config-interface-gpon-0/0)# no ont description 1 1

OLT(config-interface-gpon-0/0)#

14.2.5 ont ipconfig


ont ipconfig port-id ONT-id ip-index IP-host-index dhcp vlan VLAN-ID
priority VLAN-priority
ont ipconfig port-id ONT-id ip-index IP-host-index static {ip-address
Command Syntax ONT-IP mask ONT-subnet-mask | gateway ONT gateway | pri-dns
ONT-primary-DNS | slave-dns ONT-slave-DNS | vlan VLAN-ID priority
VLAN-tag-priority}
no ont ipconfig port-id ONT-id [ ip-index IP-host-index]

Applicable Views view of the gpon interface

The "ont ipconfig" command is used to configure the iphost function


of the ONT including management IP address, subnet mask, gateway,
Description management vlan, priority, etc.
The "no ont ipconfig" command is used to delete the iphost function
of an ONT.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id Ont-id: indicates the ONT id of the ONT to be configured. The value

276
GPON OLT User Manual

ranges from 1 to 128

ip-index IP-host-index The IP Host interface index is set. The value ranges from 0 to 1

dhcp Configure the IP address of the ONT in dynamic DHCP mode.

Configure the ONT management VLAN. The value ranges from 1 to


vlan VLAN-ID
4094

Setting the priority of the ONT management VLAN takes effect on


priority
the ONT. The higher the priority, the higher the priority. The value
VLAN-priority
ranges from 0 to 7

static Configure the IP address in static mode

ip-address ONT-IP Configure the static management IP address the format is X.X.X.X

mask Configure the address mask for the static IP address the format is
ONT-subnet-mask X.X.X.X

The gateway IP address of the ONT management network must be in


gateway ONT
the same network segment as the static IP address and the format is
gateway
X.X.X. x

Configure the IP address of the primary DNS server. The DNS server
pri-dns is used to resolve the IP address through the domain name, or obtain
ONT-primary-DNS its domain name information through the IP address, the format is
X.X.X.X

slave-dns Configure the IP address of the secondary DNS server the format is
ONT-slave-DNS X.X.X.X

[Configuration case]

Case1: Configure the static management IP address of ONT1 port PON1 to 192.168.101.1,

subnet mask to 255.255.255.0, gateway IP to 192.168.101.254, management vlan to 101, and

priority to 0
OLT(config-interface-gpwon-0/0)# ont ipconfig 1 1 ip-index 0 ip-address 192.168.101.1 mask
255.255.255.0 gateway 192.168.101.254 vlan 101 priority 0

OLT(config-interface-gpon-0/0)#
Case2: Configure the management ip address of PON1 ONT2 in dhcp mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 dhcp vlan 101 priority 0

OLT(config-interface-gpon-0/0)#

277
GPON OLT User Manual

Case3: deletes the management IP address of ONT1 on port PON1


OLT(config-interface-gpon-0/0)# no ont ipconfig 1 1

OLT(config-interface-gpon-0/0)#

14.2.6 ont reboot


Command Syntax ont reboot port-id ( ONT-id |all)

Applicable Views gpon interface view

Description This command is used to reboot ONT.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

Ont-id: indicates the ONT id of the ONT to be rebooted. The value


ONT-id |all ranges from 1 to 128
all: reboots all onTs of the PON port

[Configuration case]

Case1: reboot ONT1 from port PON1


OLT(config-interface-gpon-0/0)# ont reboot 1 1

OLT(config-interface-gpon-0/0)#

14.2.7 ont restore-factory


Command Syntax OLT(config-interface-gpon-0/0)# ont restore-factory Port-ID ONT-ID

Applicable Views GPON view

Description Restore onu factory mode.

Specify the PON port number where the ONT is located. The value
Port-ID
ranges from 1 to 16

ONT-ID ONT id of the ONT to be restored. The value ranges from 1 to 128

[Configuration case]

Case1:pon 16-port onu1 restores factory mode


OLT(config-interface-gpon-0/0)# ont restore-factory 5 5
<cr> - Please press ENTER to execute command

14.2.8 ont tr069-profile

278
GPON OLT User Manual

ont tr069-profile PORTID <1-128> (ont-tr069profile-id <1-256>


Command Syntax |ont-tr069profile-name PROFILE-NAME)
no ont tr069-profile PORTID <1-128>

Applicable Views GPON view

Description Ont bind tr069 profile

PON port number to be configured (1-4, 1-8, 1-16,....) The value


PORTID
range varies with device type. .

<1-128> id of the ONU to be configured.

<1-256> tr069 profile number, value range 1-256 >

tr069 profile name, which can be 1-32 characters in length. The


PROFILE-NAME default profile name is tr069-profile_x, where the "x" is replaced by
the actual profile number.

all All PON mouth

[Configuration case]

Case1: pon1 The first onu to bind tr069 profile 10


OLT(config-gpon-0/0)# ont tr069-profile 1 1 ont-tr069profile-id 10
OLT(config-gpon-0/0)#

14.2.9 show ont capability


Command Syntax show ont capability port-id ONT-id

Applicable Views config view or gpon interface view

This command is used to query the capability set parameters of


Description
online ONT ports, including the type and number of ONT ports.

Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16.

ONT-id ID of the ONT to be queried. The value ranges from 1 to 128

[Configuration case]

Case1: Show the capability set of ONT 2 in port PON2


OLT(config-interface-gpon-0/0)# show ont capability 2 2
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :5

279
GPON OLT User Manual

ONT-ID :5
ONT TYPE : HGU
OMCC version : 0x80
Number of uplink PON ports :1
Number of POTS ports :1
Number of IPHOST :2
Number of ETH ports :0
10GE number :0
GE number :0
FE number :0
Number of VEIP :1
Number of CATV UNI ports :0
Number of GEM ports : 64
Number of T-CONTs : 16
The type of flow control : PQ + Car
-----------------------------------------------------------------------------
OLT(config-gpon-0/0)#

14.2.10 show ont catv-info


Command Syntax show ont catv-info port-ID (ONT-id | all)

Applicable Views GPON view

Description Show ont catv information

port-ID The port number to be queried ranges from 1 to 16.

ONT-id The ONT to be queried ranges from 1 to 128.

[Configuration case]

Case1: Show CATV information for all ONUs of PON8

OLT(config-interface-gpon-0/0)# show ont catv-info 8 all


-----------------------------------------------------------------------------
F/S P ONT Voltage Tx Rx optical Temperature
ID (V) Voltage(dBuV) power(dBm) (C)
----------------------------------------------------------------------------
0/0 8 1 -- -- -- --
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.11 show ont config-capability

280
GPON OLT User Manual

Command Syntax show ont config-capability port-id ONT-id

Applicable Views config view or gpon interface view

This command is used to query the capability set of the ONT


configured by the user. You can compare the queried ONT capability
Description set with the actual ONT capability set to check whether the
capability match. The information is about the ONT capability set
configured on the service profile.

Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16

ONT-id ID of the ONT to be queried. The value ranges from 1 to 128

[Configuration case]

Case1: Query the configuration capability set of the ONT user 3 in port PON3.
OLT(config-interface-gpon-0/0)# show ont config-capability 3 3
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :3
Number of ETH ports :0
Number of POTS ports :0
Number of CATV ports :1
Number of GEM ports :1
Number of T-CONTs :2
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.12 show ont failed-config


Command Syntax show ont failed-config port-id ONT-id

Applicable Views gpon interface view

This command is used to check the cause of the failure to Show the
Description
ONT configuration status.

Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16

ONT-id ID of the ONT to be queried. The value ranges from 1 to 128

281
GPON OLT User Manual

[Configuration case]

Case1: Query the cause of the failure of the configuration status of ONT 1 in port PON3.
OLT(config-interface-gpon-0/0)# show ont failed-config 3 1
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :1
----------------------------------------------------------------------------
CATV port 1 : shutdown
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.13 show ont ipconfig


Command Syntax show ont ipconfig port-id ONT-id [ ip-index IP-host-index ]

Applicable Views gpon interface view

This command is used to show the iphost configuration of the ONT


Description
as well as the status of the iphost

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

Ont-id: indicates the ONT id of the ONT whose management ip


ONT-id
address is to be queried. The value ranges from 1 to 128

[Configuration case]

Case1: Deletes the management IP address of ONT1 of port PON3


OLT(config-interface-gpon-0/0)# show ont ipconfig 3 1
-----------------------------------------------------------------------------
ONT IP host index :0
ONT config type : DHCP
ONT IP :-
ONT subnet mask :-
ONT gateway :-
ONT primary DNS :-
ONT slave DNS :-
ONT manage VLAN : 100
ONT manage priority :1
-----------------------------------------------------------------------------

282
GPON OLT User Manual

OLT(config-interface-gpon-0/0)#

14.2.14 show ont optical-info


Command Syntax show ont optical-info port-id (ONT-id | all)

Applicable Views gpon interface view

This command is used to query information about the ONT optical


power on a PON port. During routine maintenance or
Description troubleshooting of the ONT, you can run this command to query the
optical power of the ONT to check whether the optical power of the
ONT is normal.

Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16.

ONT-id ID of the ONT to be queried. The value ranges from 1 to 128

Show the optical power information of all ONTs under the specified
all
PON port

[Configuration case]

Case1: Show the optical power information of the ONT 3 connected to port PON3.
OLT(config-interface-gpon-0/0)# show ont optical-info 3 1
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :1
Voltage(V) : 3.28
Tx optical power(dBm) : 2.73
Rx optical power(dBm) : -17.12
Laser bias current(mA) : 9.95
Temperature(C) : 35.24
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.15 show ont port state


Command Syntax show ont port state port-ID ONT-id eth all

Applicable Views GPON view

Description Show ONT port status

283
GPON OLT User Manual

port-ID The port number to be queried ranges from 1 to 16.

ONT-id The ONT to be queried ranges from 1 to 128.

[Configuration case]

Case1: Check the status of all ports on the first ONU of PON8
OLT(config-interface-gpon-0/0)# show ont port state 8 1 eth all
-----------------------------------------------------------------------------
F/S P ONT Port Type Speed(Mbps) Duplex Link-State
----------------------------------------------------------------------------
0/0 8 1 1 GE - - down
0/0 8 1 2 - - - -
0/0 8 1 3 - - - -
0/0 8 1 4 - - - -
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.16 show ont register-statistics


Command Syntax show ont register-statistics (port-id | all)

Applicable Views config view or gpon interface view

This command is used to query the number of ONTs registered and


Description
live on the PON port.

port-id Specify which PON port you want to view

Show the number of ONT registrations and online under all PON
all
ports

[Configuration case]

Case1: Show the number of ONT registrations and online connections on port PON3.
OLT(config-interface-gpon-0/0)# show ont register-statistics 3
-----------------------------------------------------------------------------
F/S P Autofind Authenticated Online
----------------------------------------------------------------------------
0/0 3 0 3 1
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.17 show ont run-info

284
GPON OLT User Manual

show ont run-info port-ID (ONT-ID | all)


Command Syntax
show ont run-info all

Applicable Views GPON view

Description Show ont run information

port-ID The port number to be queried ranges from 1 to 16.

ONT-ID The ONT to be queried ranges from 1 to 128.

Show all ONT operation information under all PON ports or selected
all
PON ports

[Configuration case]

Case1: Show the health of all ONUs under PON8


OLT(config-interface-gpon-0/0)# show ont run-info 8 all
-----------------------------------------------------------------------------
F/S Port ONT-ID Run state Last down time On line time
----------------------------------------------------------------------------
0/0 8 1 online -- 1days 1h:58m:54s
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.2.18 show ont status-count


Command Syntax show ont status-count [brief]

Applicable Views GPON view

Description Show ONU current state number

brief Briefly Show the current status and quantity information of ONU

[Configuration case]

Case1: Show ONU current state count


OLT(config-gpon-0/0)# show ont status-count
-------------------------------------------------------------------------------------------
Total Info
-------------------------------------------------------------------------------------------
Offline :0
Deactive :0
Active :1
ConfigSuccess : 1

285
GPON OLT User Manual

ConfigFailed :0
Configing :0
ConfigInit :0
MibReady :1
Unknown :0
-------------------------------------------------------------------------------------------
OLT(config-gpon-0/0)#

14.2.19 show ont version


Command Syntax show ont version port-id (ONT-id | all)

Applicable Views config view or gpon interface view

This command is used to query the ONT version. You can Show the
Description
software and hardware versions and manufacturer of the ONT.

Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16.

ONT ID to be queried. If the ONT ID is specified after the command,


ONT-id
the detailed ONT version is queried. The value ranges from 1 to 128

This command shows the version information of all ONT files in the
all specified PON port. This command shows the brief version
information of the ONT file

[Configuration case]

Case1: Show the version of ONT 2 in port PON2.


OLT(config-interface-gpon-0/0)# show ont version 2 2
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :2
ONT-ID :2
Vendor-ID : xPON
ONT Version: HZ660.1A
Product-ID : 0000
Equipment-ID : ONT1
Main Software Version: V2.1.2
Main Software is commit : yes
Main Software is active : yes
Standby Software Version: V2.1.0
Standby Software is commit : no
Standby Software is active : no
-----------------------------------------------------------------------------

286
GPON OLT User Manual

OLT(config-interface-gpon-0/0)#

14.3 ONT Port Management


14.3.1 encryption
Command Syntax encryption (enable|disable)

Applicable Views GPON view

Description This command is used to enable or disable the security key function

Enable indicates that the function is enabled and diable indicates


(enable|disable)
that the function is disabled. The default value is disable

[Configuration case]

Case1: Enables the security key function


OLT(config-interface-gpon-0/0)# encryption enable

14.3.2 key-exchange-interval
key-exchange-interval <1000-3600>
Command Syntax
no key-exchange-interval

Applicable Views Gpon view

Using the "key-exchange-interval" command, you can configure the


renegotiation interval for the security key. The initial value is 10000.
Description Using the "no key-exchange-interval" command, you can delete the
renegotiation interval for security keys and restore the default value
to 3600

< > 1000-3600 The value is 1000-3600, in ms

[Configuration case]

Case1: Configure the renegotiation interval of the security key to 1000ms


OLT(config-interface-gpon-0/0)# key-exchange-interval 1000

14.3.3 ont (enable|disable)


Command Syntax ont (enable|disable) port-ID ( <1-128> | all |sn SN-VALUE)

Applicable Views gpon interface view

287
GPON OLT User Manual

This command is used to enable or disable the ont to send optical


Description
power.

enable: enables the ont to send optical power.


(enable | disable)
disable: disables the ont to send optical power.

port-ID A specified port number, ranging from 1 to 16.

<1-128> The specified ont id, which ranges from 1 to 128 >.

all All OnTs under the specified port.

SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.

[Configuration case]

Case1: Disables the ont transmit optical power on port 1.


OLT(config-gpon-0/0)# ont disable 1 1
OLT(config-gpon-0/0)# 2022-06-23 13:42:10 PON 0/0/1 ONU 1: The ONT offline

OLT(config-gpon-0/0)#
Case2: Enables the ont of port 1 with sn DD15B353EE6A to transmit optical power.
OLT(config-gpon-0/0)# ont enable 1 sn DD15B353EE6A
OLT(config-gpon-0/0)# 2022-06-23 13:48:04 PON 0/0/1 ONU 1: The ONT online

OLT(config-gpon-0/0)#

14.3.4 ont auto-aging


Command Syntax ont auto-aging port-ID (disable|enable)

Applicable Views GPON view

This command is used to configure the auto aging switch for ONT
Description registration on a single port. By default, Auto aging switch (disable) is
disabled.

port-ID The port number to be changed ranges from 1 to 16.

diaable|enable disable: off enable: on

[Configuration case]

Case1: Enables the automatic aging switch on the ONT under port PON1
OLT(config-gpon-0/0)# ont auto-aging 1 enable
OLT(config-gpon-0/0)#

288
GPON OLT User Manual

14.3.5 ont auto-aging all


Command Syntax ont auto-aging all (disable|enable)

Applicable Views config view

This command is used to configure the auto aging switch for all ONT
Description
registrations. By default, the auto aging switch is disabled.

port-ID The port number to be changed ranges from 1 to 16.

diaable|enable disable: off enable: on

[Configuration case]

Case1: Turn on the automatic aging switch of all ONT under the PON port
OLT(config)# ont auto-aging all enable
Number of Ports that can be set: 4, success: 4
OLT(config)#

14.3.6 ont moving-check


Command Syntax ont moving-check (enable | disable)

Applicable Views gpon interface view

This command is used to delete ONU records on port a when the


Description ONU is migrated from port a to port B. By default, the ONT
moving-check function is disabled.

enable: enables the ONT moving-check function


(enable | disable)
disable: disables the ONT moving-check function

[Configuration case]

Case1: Enables the moving-check function of a port


OLT(config-gpon-0/0)# ont moving-check enable
OLT(config-gpon-0/0)#

14.3.7 ont optical-alarm-profile


ont optical-alarm-profile PORTID <1-128> (profile-id
Command Syntax <0-256>|profile-name PROFILE-NAME)
no ont optical-alarm-profile (PORTID <1-128>|all)

Applicable Views GPON view

Description The "ont optical-alarm-profile" command is used to bind an optical

289
GPON OLT User Manual

module alarm profile.


The "no ont optical-alarm-profile" command is used to unbind an
optical module alarm profile.

<1-128> ONT ID number.

Optical module alarm profile ID, which identifies an optical module


alarm profile. The value ranges from 0 to 256. The ONT and PON
< 0-256>. ports that go online automatically match the optical module alarm
profile 0. The optical module alarm profile 0 cannot be modified or
deleted.

The optical module alarm profile name contains 1 to 32 characters.


PROFILE-NAME The default profile name is optical_alarm_profile_x, where x is the
actual profile number.

PON port number to be configured (1-4, 1-8, 1-16,....) The value


PORTID
range varies with device type. .

all All PON mouth

[Configuration case]

Case1: pon1 The first onu binding optical module profile 10


OLT(config-gpon-0/0)# ont optical-alarm-profile 1 1 profile-id 10
OLT(config-gpon-0/0)#

14.3.8 ont policy-auth


ont policy-auth PORTID match any
(sn-auth | sn-password-auth | password-auth | loid-auth | loid-pas
sword-auth ) to mult-srv-profile ( profile-id profile-id
|profile-name NAME ) priority <0-63>

ont policy-auth PORTID match {snSN-VALUE | vendor-id VENDOR-VA


LUE | equip-id EQUIP-VALUE | soft-ver SOFTVER-VALUE}
(sn-auth | sn-password-auth | password-auth | loid-auth | loid-pas
Command Syntax
sword-auth ) to mult-srv-profile ( profile-id profile-id
|profile-name NAME ) priority <0-63>

no ont policy-auth PORTID mult-srv-profile (profile-id profile-id


|profile-name NAME)
no ont policy-auth PORTID priority <0-63>
no ont policy-auth PORTID (sn-auth | sn-password-auth |
password-auth | loid-auth|loid-password-auth )

290
GPON OLT User Manual

Applicable Views GPON view

The "ont policy-auth" command is used to bind a multi-service


profile to a port. Each bond profile is not associated with the port
policy authentication switch. A maximum of 32 profiles can be bound
to a port. When binding a multi-service profile, you need to specify
not only the profile to be bound, but also the rules, authentication
mode, and matching priority for the ONU on the port to match the
policy. The value of the priority ranges from 0 to 63. 0 is the lowest
priority.
sn, vendor id, equip-id, and soft-ver can be multiple choices, at least
one of which needs to be selected in order. If the latter option is
selected first for configuration parameters, the previous option is no
Description
longer selectable.
"no ont policy-auth PORTID mult-srv-profile {profile-id <profile-id >
|profile-name NAME}" You can unbind the relationship between the
specified port and the specified multi-service profile.
"no ont policy-auth PORTID priority <0-63>" Indicates that the policy
is unbound from the port based on the priority of the multi-service
profile.
"no ont policy-auth PORTID (sn-auth | sn-password-auth |
password-auth | loid-auth | loid-password-auth)" Used to match the
priority of the multi-service profile on the port on the ont to unbind
the port.

PORTID Specify the PON port number. The value ranges from 1 to 16

The value is a string of 1 to 20 characters that match the sn of the


sn SN-VALUE
ont on the current port of the multi-service profile.

Specifies the matching character string of the vendor-id of the ont on


vendor-id
the current port of the multi-service profile. The value can contain 1
VENDOR-VALUE
to 20 characters.

equip-id EQUIP-VALU The value is a string of 1 to 20 characters matching the equip-id


E number of the ont on the current port of the multi-service profile.

soft-ver SOFTVER-VAL The value is a string of 1 to 20 characters matching the soft-ver


UE number of the ont on the current port of the multi-service profile.

(sn-auth | sn-passwor
d-auth | password-au Specifies the registration mode of the ont of the multi-service profile
th | loid-auth | loid-p matched by the current port.
assword-auth)

profile-id ONT Multi-service profile ID. The value ranges from 0 to 255

291
GPON OLT User Manual

Name of the ONT multi-service profile. It can contain 1 to 64


NAME
characters

Specifies the matching rule of the multi-service profile on the current


any
port as any ont

Specifies the matching priority of the multi-service profile on the


priority <0-63>
current port. The value ranges from 0 to 63

[Configuration case]

Case1: Bind multi-service profile 1 on pon 1 with matching rule sn RTKG, authentication mode

password-auth, and priority 2.


OLT(config-gpon-0/0)# ont policy-auth 1 match sn RTKG password-auth to mult-srv
-profile profile-id 1 priority 2
Port gpon-0/0 1 bind mult-srv-profile success!
OLT(config-gpon-0/0)#

14.3.9 ont port attribute catv


Command Syntax ont port attribute port-id ONT-id catv catv-port-id (disable | enable)

Applicable Views gpon interface view

Description This command is used to open or close the ONT CATV port.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 128

catv-port-id catv port id of the ONT. The value ranges from 1 to 8

enable: enables the catv port


disable | enable
disable: The catv port is disabled

[Configuration case]

Case1: Enables the CATV port of ONT1 on port PON1.


OLT(config-interface-gpon-0/0)# ont port attribute 1 1 catv 1 operational-state enable

OLT(config-interface-gpon-0/0)#

14.3.10 ont port attribute eth


ont port attribute port-id ONT-id eth eth-port-id ( flow-control
Command Syntax
(disable | enable) | auto-neg | operational-state (disable | enable)

292
GPON OLT User Manual

| speed speed dulepx (full | half) )

Applicable Views config view

This command is used to configure functions related to the ONT


Ethernet port.
The "flow-control" command is used to enable or disable the flow
control function on an ONT Ethernet port.
The "auto-neg" command enables the auto-negotiation function of
Description
the ONT port.
The "operational-state" command is used to enable or disable the
ONT port.
The "speed" command is used to configure the ONT Ethernet port
rate and duplex mode.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 64

eth-port-id id of the Ethernet port at ONT. The value ranges from 1 to 8

enable: enables flow control on the Ethernet port


flow-control
disable: flow control is disabled on the Ethernet port

auto-neg Enable the auto-negotiation function of the ONT port

enable: Opens the eth port on the ONT


operational-state
disable: disables eth ports on the ONT

10:10 Mb/s
speed speed 100:100 MB /s
1000:1000Mb/s

full: Full duplex mode


full/half
half: Half duplex mode

[Configuration case]

Case1: Enables flow control on the first Ethernet port on ONT1 of port PON1.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 flow-control enable

OLT(config-interface-gpon-0/0)#
Case2: Enables the auto-negotiation function of the first Ethernet port on PON1 ONT1.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 auto-neg

293
GPON OLT User Manual

OLT(config-interface-gpon-0/0)#
Case3: Open the first port of PON1 ONT1
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 operational-state enable

OLT(config-interface-gpon-0/0)#
Case4: Configure the rate of the first Ethernet port of PON1 ONT1 to 1000Mb/s and in full

duplex mode.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 speed 1000 dulepx full

OLT(config-interface-gpon-0/0)#

14.3.11 ont port attribute pots


ont port attribute port-id ONT-id pots pots-port-id
Command Syntax
operational-status (disable | enable)

Applicable Views gpon interface view

Description This command is used to enable or disable ONT pots ports.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id at ONT. The value ranges from 1 to 8

enable: enables pots ports


disable | enable
disable: pots ports are disabled

[Configuration case]

Case1: Enables the pots port on ONT1 of port PON1.


OLT(config-interface-gpon-0/0)# ont port attribute 1 1 pots 1 operational-state enable

OLT(config-interface-gpon-0/0)#

14.3.12 ont port car


ont port car port-id ONT-id eth eth-port-id (inbound traffic-profile-ID
outbound traffic-profile-ID | outbound traffic-profile-ID)
Command Syntax
no ont port car port-id ONT-id eth eth-port-id (inbound | outbound
| all)

Applicable Views gpon interface view

294
GPON OLT User Manual

This command is used to configure the upstream and downstream


Description
bandwidth rate limiting function on an ONT port.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 128

eth-port-id id of the Ethernet port at ONT. The value ranges from 1 to 8

Configure the uplink (inbound) rate limiting function for the ONT
inbound
port

Configure the downlink (egress) rate limiting function for the ONT
outbound
port

id of the traffic profile to be bound to the ONT port rate limiting. The
bandwidth configured for the ONT port rate limiting is bound to the
traffic-profile-ID
traffic profile. You can run the OLT(config)# show traffic-profile all
command to check which traffic profiles are available on the OLT.

[Configuration case]

Case1: Configure the rate of the upstream and downstream ports of the first Ethernet port on

ONT1 port PON1 to 500M (6 for the traffic profile id).


OLT(config)# show traffic-profile all
-----------------------------------------------------------------------------
ID Profile-name CIR(kbps) PIR(kbps) CBS(bytes) PBS(bytes) Bind
----------------------------------------------------------------------------
6 XR500V 512000 512000 512000 512000 0
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)# ont port car 1 1 eth 1 inbound 6 outbound 6
OLT(config-interface-gpon-0/0)#

14.3.13 ont re-enable


Command Syntax ont re-enable port-ID sn SN-VALUE

Applicable Views gpon interface view

This command is used to move the ONU out of the Rogue onu
Description
Automatic quarantine table.

port-ID A specified port number, ranging from 1 to 16.

SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.

295
GPON OLT User Manual

[Configuration case]

Case1: Move the ONU of port 1 with sn RTKG11111111 out of the isolation table.
OLT(config-gpon-0/0)# ont re-enable 1 sn RTKG11111111
The onu no exit.
OLT(config-gpon-0/0)#

14.3.14 show encryption


Command Syntax show encryption

Applicable Views Check out the GPON view

Description Show ONT encryption status

[Configuration case]

Case1: Check the ont encryption


OLT(config-interface-gpon-0/0)# show encryption

GPON ONT encryption switch: Enable

OLT(config-interface-gpon-0/0)#

14.3.15 show key-exchange


Command Syntax show key-exchange

Applicable Views Gpon view

This command is used to show the renegotiation interval


Description
configuration for a security key

[Configuration case]

Case1: Show the renegotiation interval configuration of the security key


OLT(config-interface-gpon-0/0)# show key-exchange
-----------------------------------------------------------------------------
Contrl Status Interval(ms)
-----------------------------------------------------------------------------
Enable 1000
-----------------------------------------------------------------------------

14.3.16 show ont auto-aging info


Command Syntax show ont auto-aging info

296
GPON OLT User Manual

Applicable Views config view

This command is used to show the aging time configuration of an


Description
ONU.

[Configuration case]

Case1: Show the aging time configuration of the ONU.


OLT(config-gpon-0/0)# show ont auto-aging info
------------------------------------------------------------------
F/S Port Switch Interval(Day)
------------------------------------------------------------------
0/0 1 on 100
0/0 2 on 100
0/0 3 on 100
0/0 4 on 100
------------------------------------------------------------------
OLT(config-gpon-0/0)#

14.3.17 show ont disable-info


Command Syntax show ont disable-info

Applicable Views gpon interface view

This command is used to show the ont that is currently turned off for
Description
sending optical power.

[Configuration case]

Case1: Show the ONT off transmit optical power table entry.
OLT(config-gpon-0/0)# show ont disable-info
------------------------------------------------------
F/S Index Port ONT-ID SN
------------------------------------------------------
0/0 1 1 1 DD15B353EE6A
------------------------------------------------------
OLT(config-gpon-0/0)#

14.3.18 show ont moving-check


Command Syntax show ont moving-check

Applicable Views gpon interface view

Description This command is used to check whether the current ONU

297
GPON OLT User Manual

moving-check collision detection is enabled.

[Configuration case]

Case1: Check to see if ONU moving-check collision detection is turned on.


OLT(config-gpon-0/0)# ont moving-check enable
OLT(config-gpon-0/0)# show ont moving-check
ONT moving check : enable
OLT(config-gpon-0/0)#

14.3.19 show ont port attribute


OLT(config-interface-gpon-0/0)# show ont port attribute port-id
Command Syntax
ONT-id (catv | eth) all

Applicable Views gpon interface view

This command is used to show the ONT CATV and ETH port
Description
configurations.

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128

all The view is for all CATV port configurations for ONT

[Configuration case]

Case1: Show the CATV port configuration information for PON2 ONT2
OLT(config-interface-gpon-0/0)# show ont port attribute 2 2 catv all
-----------------------------------------------------------------------------
F/S P ONT ONT-Port Port-Switch
----------------------------------------------------------------------------
0/0 2 2 1 off
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.3.20 show ont port car


Command Syntax show ont port car port-id ONT-id eth all

Applicable Views config view or gpon interface view

This command is used to show the upstream and downstream


Description
bandwidth rate configurations on an ONT port

298
GPON OLT User Manual

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128

The upstream and downstream bandwidth rates of all ports on the


all
ONT are showed

[Configuration case]

Case1: Show the uplink and downlink bandwidth rate configurations for all ports of PON2 port

ONT2
OLT(config-interface-gpon-0/0)# show ont port car 2 2 eth all
-----------------------------------------------------------------------------
F/S P ONT Port Inbound Outbound
----------------------------------------------------------------------------
0/0 2 2 1 6 6
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.3.21 show ont port learned-mac


Command Syntax show ont port learned-mac port-id ONT-id eth eth-port-id

Applicable Views config view or gpon interface view

This command is used to show the MAC address table learned by an


Description
ONT port

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128

Specifies the port id of the learned MAC address table on the ONT.
eth-port-id
The value ranges from 1 to 8

[Configuration case]

Case1: Show the MAC address table learned by port 1 of PON2 ONT2
OLT(config-interface-gpon-0/0)# show ont port learned-mac 2 2 eth 1
No mac address learned

OLT(config-interface-gpon-0/0)#

14.3.22 show ont status-count


299
GPON OLT User Manual

Command Syntax show ont status-count [brief]

Applicable Views GPON view

Description Show ONU current state number

brief Briefly show the current number of ONU states

[Configuration case]

Case1: Show ONU current state count


OLT(config-interface-gpon-0/0)# show ont status-count
-----------------------------------------------------------------------------
Total Info
-----------------------------------------------------------------------------
Offline :0
Inactive :0
Disable :0
Active :1
ConfigSuccess : 1
MibReady :1
Unknown :0
-----------------------------------------------------------------------------

OLT(config-interface-gpon-0/0)#

14.3.23 transceiver-compat
transceiver-compat port-ID type (sps_43_48_h_hp_cde_sd_2013 |
sog_4321_psgb | lte_3680_m | source_photonics |
lte_3680_p_type_c_plus | any | any_reset_guard |
any_reset_preamble | wtd_rtxm_167_526_cplus |
wtd_rtxm_167_522_bplus | lte_3680_p_bc |
sogq_4321_psgb_c_plus | wtd_rtxm167_521 | lte3678 |
Command Syntax
sogp_4321_psga | lth_5308 | ltf_5308 | ltf_5308_e | ltf_5306 |
ltf_5308_b | sdds_st_xs_cp_cdfa | zj | pt | ansaoen_dp | hisilicon |
z_quick | tsuhan_ltd | dp | gpon_general_1 | gpon_general_2 |
gpon_general_3 | gpon_general_4 | gpon_general_5 |
gpon_general_6 | gpon_general_7 | gpon_general_8 |
gpon_general_9 | gpon_general_10 | gpon_general_11)

Applicable Views GPON view

Description Configure optical modules using profiles

port-ID The port number to be queried ranges from 1 to 16.

300
GPON OLT User Manual

sps_43_48_h_hp_cde
_sd_2013 |
sog_4321_psgb |
lte_3680_m |
source_photonics |
lte_3680_p_type_c_p
lus | any |
any_reset_guard |
any_reset_preamble
|
wtd_rtxm_167_526_c
plus |
wtd_rtxm_167_522_
bplus |
lte_3680_p_bc |
sogq_4321_psgb_c_pl
us |
wtd_rtxm167_521 |
lte3678 |
All adaptation profiles of the optical module
sogp_4321_psga |
lth_5308 | ltf_5308 |
ltf_5308_e | ltf_5306
| ltf_5308_b |
sdds_st_xs_cp_cdfa |
zj | pt | ansaoen_dp
| hisilicon | z_quick |
tsuhan_ltd | dp |
gpon_general_1 |
gpon_general_2 |
gpon_general_3 |
gpon_general_4 |
gpon_general_5 |
gpon_general_6 |
gpon_general_7 |
gpon_general_8 |
gpon_general_9 |
gpon_general_10 |
gpon_general_11

[Configuration case]

Case1: Configure the optical module profile of PON1 to ltf_5308_e


OLT(config-interface-gpon-0/0)# transceiver-compat 1 type ltf_5308_e

301
GPON OLT User Manual

OLT(config-interface-gpon-0/0)#

302
GPON OLT User Manual

15 ONT upgrade configuration


This chapter includes the following topics:

 ONT Automatic upgrade

15.1 ONT Automatic upgrade


15.1.1 description
Command Syntax description DESCRIPTION

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade" file command is used to configure the upgrade


file name for the ONT automatic upgrade task. The default file path is
Description
"/mnt/user_space/". When the upgrade file name does not exist, the
ONT automatic upgrade task cannot be started.

ONT Task description of the automatic upgrade task. The value


DESCRIPTION
contains 1 to 127 characters.

[Configuration case]

Case1: indicates the upgrade file name of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade file FD511G_F_So8S_V1.2.5_2110
14_11836_X000.img
OLT(config-ont-auto-upgrade-task-1)#

15.1.2 load file


load file [to flash] (ftp ftp-server-ip-address user-name
Command Syntax
user-password file-name | tftp tftp-server-ip-address file-name)

Applicable Views config view

Description This command is used to transfer ONT's upgrade file to OLT.

Write the transferred ONT upgrade file to flash for saving. If the ONT
to flash upgrade file is not written into the flash, the ONT upgrade file
disappears after the OLT is rebooted.

ftp-server-ip-address ip address of the ftp server.

303
GPON OLT User Manual

user-name ftp login user name.

user-password ftp login password.

file-name ONT's upgrade file name

tftp-server-ip-address The ip address of the tftp server.

[Configuration case]

Case1: Transfer the ONT upgrade file 111.tar to the OLT using ftp.
OLT(config)# load file ftp 192.168.5.111 test **** 111.tar
OLT(config)#

15.1.3 ont-auto-upgrade-task
ont-auto-upgrade-task task-id
Command Syntax
no ont-auto-upgrade-task (task-id | all)

Applicable Views config view

The "ont-auto-upgrade-task" command is used to create an ONT


automatic upgrade task and enter the ONT automatic upgrade task
view. After entering the ONT automatic upgrade task view, you can
configure the parameters and manage the actions of the automatic
Description
upgrade task.
The "no ont-auto-upgrade-task" command is used to delete an ONT
automatic upgrade task that is not needed. The ONT automatic
upgrade task cannot be deleted when it is in the running state.

The value ranges from 1 to 10. You can use the task number to
task-id
create, configure, and delete an ONT automatic upgrade task.

All ONT automatic upgrade task: deletes all existing ONT automatic
all
upgrade tasks.

[Configuration case]

Case1: Create an ONT automatic upgrade task and enter the ONT automatic upgrade task

Configuration view.
OLT(config)# ont-auto-upgrade-task 1
OLT(config-ont-auto-upgrade-task-1)#
Case2: Deletes an ONT automatic upgrade task based on task-ID.
OLT(config)# no ont-auto-upgrade-task 1
OLT(config)#

304
GPON OLT User Manual

15.1.4 ont-match
ont-match {vendor-id VENDOR | equipment-id EQUIPMENT |
Command Syntax
version VERSION}

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade" command is used to configure the ONT selection


conditions for an ONT automatic upgrade task. The vendor-id,
equipment-id, and version conditions limit the ONT selected for an
Description
ONT automatic upgrade task. Only the ONT that meets the three
conditions can be upgraded. The ONT selection condition does not
take effect until the task is started.

VENDOR ont vendor name. The value is a string of 1 to 4 characters.

EQUIPMENT ont Device ID. The value is a string of 1 to 20 characters.

VERSION ont software version. The value is a string of 1 to 14 characters.

[Configuration case]

Case1: Configure the ONT selection condition of the ONT automatic upgrade task. The vvendor

id is HWTC, equipme-ID is FD511G-G, and version is F690.1B.


OLT(config-ont-auto-upgrade-task-1)# ont-match vendor-id HWTC equipment-id FD511G-G
version F690.1B
OLT(config-ont-auto-upgrade-task-1)#

15.1.5 ont-upgrade
Command Syntax ont-upgrade (start | stop | pause | continue)

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade" command is used to control the action of the


automatic upgrade task on an ont device. The action of the ONT
automatic upgrade task is controlled by the state machine:
Description
The task can only start when it is not started;
Stop or pause only when the task is in the starting state;
You can continue only when the task is paused.

start Used to start the ONT device automatic upgrade task.

Stop an ONT automatic upgrade task. A stopped task cannot be


stop
rebooted but can only be deleted.

pause Used to pause the ONT device automatic upgrade task.

305
GPON OLT User Manual

continue Used to reboot suspended ONT device automatic upgrade tasks

[Configuration case]

Case1: Starts the ONT device automatic upgrade task.


OLT(config-ont-auto-upgrade-task-1)# ont-upgrade start
OLT(config-ont-auto-upgrade-task-1)#

15.1.6 ont-upgrade delete


Command Syntax ont-upgrade delete F/S (all | port-list all | port-id ont-list)

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade" command is used to delete the ont devices


selected in the ONT automatic upgrade task. If the ONT to be deleted
Description
is not the ONT selected in the ONT automatic upgrade task, no
operation will be performed on the ONT.

F/S F/s Specifies the number of the slot where the ONT is to be deleted.

Specifies the list of ports on which the ONT is to be deleted. The


format is 1, 2-3, 4. The ONT device is connected to the PON port of
port-list
the OLT device. If the entered port is not PON port, the entered port
is invalid. This command does not perform any operation.

port-id Specifies the port number of the ONT to be deleted.

This parameter specifies the ONT list to be deleted. The format is 1,


ont-list
55-66, 77-88. The number of the ONT device ranges from 1 to 128.

all Used to select all ONT under the selected slot/port.

[Configuration case]

Case1: Delete the ONT device whose ONU numbers are 55-65 under PON port 1 in slot 0 of the

ONT automatic upgrade task.


OLT(config-ont-auto-upgrade-task-1)# ont-upgrade delete 0/0 1 55-65
OLT(config-ont-auto-upgrade-task-1)#

15.1.7 ont-upgrade file


Command Syntax ont-upgrade file FILENAME

Applicable Views ont-auto-upgrade-task view

Description The "ont-upgrade file" command is used to configure the upgrade

306
GPON OLT User Manual

file name for the ONT automatic upgrade task. The default file path is
"/mnt/user_space/". When the upgrade file name does not exist, the
ONT automatic upgrade task cannot be started.

ONT Automatic upgrade task Upgrade file name, which specifies the
FILENAME upgrade file to be used in the automatic upgrade task. The file name
string ranges from 1 to 80 characters.

[Configuration case]

Case1: indicates the upgrade file name of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade file FD511G_F_So8S_V1.2.5_2110
14_11836_X000.img
OLT(config-ont-auto-upgrade-task-1)#

15.1.8 ont-upgrade select


Command Syntax ont-upgrade select F/S (all | port-list (ont-list | all ))

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade select" command is used to configure the ONT


Description selection range for the ONT automatic upgrade task. The ONT device
selected by this command is the ONT to be upgraded.

Used to specify the number of the slot where the ONT is to be


F/S
upgraded.

Specifies the list of ports where the ONT is to be upgraded. The


format is 1, 2-3, 4. The ONT device is connected to the PON port of
port-list
the OLT device. If the entered port is not PON port, the entered port
is invalid. This command does not perform any operation.

This parameter specifies the ONT list to be upgraded. The format is


ont-list
1, 55-66, 77-88. The number of the ONT device ranges from 1 to 128.

all Used to select all ONT under the selected slot/port.

[Configuration case]

Case1: Select the ONT device whose ONU numbers are 12, 55-66, 77-88 under PON ports 1-2 in

slot 0 for an automatic ONT upgrade task.


OLT(config-ont-auto-upgrade-task-1)# ont-upgrade 0/0 1-2 12,55-66,77-88
OLT(config-ont-auto-upgrade-task-1)#

15.1.9 ont-upgrade start-time

307
GPON OLT User Manual

ont-upgrade start-time (YYYY/MM/DD-HH:MM:SS | current)


Command Syntax
{end-time YYYY/MM/DD-HH:MM:SS}

Applicable Views ont-auto-upgrade-task view

The "ont-upgrade start-time" command is used to configure the start


time and stop time of the ONT automatic upgrade task. The stop
Description time is optional. If the task stop time is not configured, the default
start time is 3 hours after the start time. The startup time is also
optional. The default startup time is the current time.

Format of the task start time or task stop time. If the time value
YYYY/MM/DD-HH:M
entered by the command does not conform to the format, the
M:SS
command cannot be executed.

current Configure the task start time to the current time.

[Configuration case]

Case1: Configure the start time and stop time of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade start-time 2023/3/21-1:00:00 end-time
2023/3/21-22:00:00
OLT(config-ont-auto-upgrade-task-1)#

15.1.10 show ont-auto-upgrade-task


Command Syntax show ont-auto-upgrade-task brief

Applicable Views config view

This command is used to show the brief information about all


Description
existing ONT automatic upgrade tasks.

[Configuration case]

Case1: Show the brief information about all ONT automatic upgrade tasks.
OLT(config)# show ont-auto-upgrade-task brief
----------------------------------------------------------------------------------------
task-ID status start-time end-time ont-select-total
----------------------------------------------------------------------------------------
1 none 2023-03-21 01:00:00 2023-03-21 22:00:00 0
2 none 2024-06-23 22:58:00 2024-06-24 01:58:00 0
3 none - - 0
----------------------------------------------------------------------------------------

15.1.11 show ont-auto-upgrade-task info

308
GPON OLT User Manual

Command Syntax show ont-auto-upgrade-task info (task-id | all)

Applicable Views config view

This command is used to show the details of the ONT automatic


Description
upgrade task.

ONT Automatic upgrade task ID. The value ranges from 1 to 10. It is
task-id used to show details about the ONT automatic upgrade task
corresponding to the task ID.

All ONT Automatic upgrade tasks, used to show the details of all
all
existing ONT automatic upgrade tasks.

[Configuration case]

Case1: Show the details of all ONT automatic upgrade tasks.


OLT(config)# show ont-auto-upgrade-task info all
--------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Task ID :1
Task Describe :
Creat Time : 2024-06-23 22:57:27
start Time : 2023-03-21 01:00:00
end Time : 2023-03-21 22:00:00
Task Status : none
Upgrade File Name : FD511G_F_So8S_V1.2.5_211014_11836_X000.img
ont-match vensor-id : HWTC
ont-macth equipment-id : FD511G-G
ont-math Version : F690.1B
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-list
0 1 12,66,77-88
0 2 12,55-66,77-88
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Task ID :2
Task Describe :
Creat Time : 2024-06-23 22:57:42
start Time : 2024-06-23 22:58:00
end Time : 2024-06-24 01:58:00

309
GPON OLT User Manual

Task Status : none


Upgrade File Name :
ont-match vensor-id :
ont-macth equipment-id :
ont-math Version :
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-list
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

15.1.12 show ont-auto-upgrade-task statisics


Command Syntax show ont-auto-upgrade-task statisics all

Applicable Views config view

This command is used to show the statistics of the ONT devices that
Description
are upgraded in all ONT automatic upgrade tasks.

[Configuration case]

Case1: Show the statistics of the upgraded ONT devices in all the ONT automatic upgrade tasks.
OLT(config)# show ont-auto-upgrade-task statisics all
----------------------------------------------------------------------------------------
task-ID total waiting loading fail success cancel
----------------------------------------------------------------------------------------
1 0 0 0 0 0 0
2 0 0 0 0 0 0
----------------------------------------------------------------------------------------

15.1.13 show ont-auto-upgrade-task upgrade info


Command Syntax show ont-auto-upgrade-task upgrade info (task-id | all)

Applicable Views config view

This command is used to show the upgrade status of the ONT device
to be upgraded in the ONT automatic upgrade task. This command
shows only the information about the ONT devices in the task to be
Description
upgraded. If the task is not started or no qualified ONT devices need
to be upgraded after the task is started, this command does not
show any information.

ONT Automatic upgrade task ID. The value ranges from 1 to 10. It is
task-id
used to show the upgrade status of the ONT device corresponding to

310
GPON OLT User Manual

the ONT automatic upgrade task.

All ONT Automatic upgrade tasks: Show the upgrade status of all
all
ONT automatic upgrade tasks.

[Configuration case]

Case1: Show the upgrade status of all ONT devices to be upgraded in the ONT automatic

upgrade task.
OLT(config)# show ont-auto-upgrade-task upgrade info all
--------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Task-ID : 1
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent UpgradeTime
----------------------------------------------------------------------------------------
No ont is selected
----------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------
Task-ID : 2
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent UpgradeTime
----------------------------------------------------------------------------------------
No ont is selected
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

311
GPON OLT User Manual

16 ONT voice service configuration


This chapter includes the following topics:

 ONT voice service discrete configuration

 Configure the ONT voice service profile

 ONT digitmap profile Configuration

 ONT SIP proxy profile configuration

 Configure the ONT SIP service data profile

16.1 Configure discrete ONT voice services


16.1.1 ont port attribute pots
ont port attribute port-id ont-id pots pots-port-id operational-state
Command Syntax
(on | off)

Applicable Views gpon interface view

Description This command is used to turn on or off the pots port of the ONT

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

on Open the ONT pots port

off Turn off the ONT pots port

[Configuration case]

Case1: Enables the first pots port of PON1 ONT1


OLT(config-interface-gpon-0/0)# ont port attribute 1 1 pots 1 operational-state on

OLT(config-interface-gpon-0/0)#

16.1.2 pstnport electric

312
GPON OLT User Manual

pstnport electric port-id ont-id pots-port-id pots-profile (profile-id


Command Syntax
profile-id | profile-name profile-name)

Applicable Views view of the gpon interface

Description The ONU pots port service is bound to the pots profile

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

profile-id pots profile id, which ranges from 0 to 16

profile-name pots profile name with a maximum length of 16

[Configuration case]

Case1: Bind the first voice ONU1 port from port PON1 to pots-profile profile 1.
OLT(config-gpon-0/0)# pstnport electric 5 1 1 pots-profile profile-id 1
Error: sippstnuser pots profile modify fail
OLT(config-gpon-0/0)#

16.1.3 show sippstnuser attribute


Command Syntax show sippstnuser attribute port-id ont-id pots ( pots-port-id | all)

Applicable Views gpon interface view

Description Show ONU voice configuration information and status situation

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

all All pots ports

[Configuration case]

Case1: Show the configuration and status of the first voice interface ONU1 in port PON1.
OLT(config-interface-gpon-0/0)# show sippstnuser attribute 1 1 pots 1
Error: The Information get failed
OLT(config-interface-gpon-0/0)#

313
GPON OLT User Manual

16.1.4 sippstnuser add


sippstnuser add port-id ont-id pots-port-id {password password |
Command Syntax
telno telno | username username}

Applicable Views gpon interface view

Description Add onu pots port discrete configuration

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

password Password, with a maximum length of 24

telno Phone number, with a maximum length of 31

username Username with a maximum length of 24

[Configuration case]

Case1: Adds the first ONU1 pots port under the PON1 port.
OLT(config-interface-gpon-0/0)# sippstnuser add 1 1 1
The ONU does not exist in the authentication table

OLT(config-interface-gpon-0/0)#

16.1.5 sippstnuser del


Command Syntax sippstnuser del port-id ont-id pots-port-id

Applicable Views gpon interface view

Description Delete the ONU pots port configuration

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

[Configuration case]

Case1: Deletes the first ONU1 pots port from port PON1.

314
GPON OLT User Manual

OLT(config-interface-gpon-0/0)# sippstnuser del 1 1 1


The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#

16.1.6 sippstnuser digitmap


sippstnuser digitmap port-id ont-id pots-port-id digitmap-profile
Command Syntax (profile-id profile-id | profile-name profile-name)
no sippstnuser digitmap port-id ont-id pots-port-id

Applicable Views gpon interface view

The "sippstnuser digitmap" command is used to bind digitmap


profile to the ONT pots port service
Description The "no sippstnuser digitmap" command is used to roll back the
digitmap profile bound to the ONT pots port service to the default
profile 0

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id ONT pots port id. The value ranges from 1 to 8

profile-id digitmap profile id. The value ranges from 0 to 16

profile-name Digitmap profile name with a maximum length of 16

[Configuration case]

Case1: The first voice interface of ONU1 under port PON1 is bound to digitmap profile 1.
OLT(config-interface-gpon-0/0)# sippstnuser digitmap 1 1 1 digitmap-profile profile-id 1
The digital map profile does not exist

OLT(config-interface-gpon-0/0)#

16.1.7 sippstnuser ipconfig


sippstnuser ipconfig port-id ont-id pots-port-id [ip-index ip-index]
ont-sipagent-profile (profile-id profile-id | profile-name
Command Syntax profile-name)

no sippstnuser ipconfig port-id ont-id pots-port-id [ip-index ip-index]

Applicable Views gpon interface view

Description The "sippstnuser ipconfig" command is used to bind the ont-sipagent

315
GPON OLT User Manual

profile to the ont pots port service


The "no sippstnuser ipconfig" command is used to roll back the
ont-sipagent profile bound to the ont pots port service to profile 0

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

ip-index ip serial number, can be 0 or 1, default is 0.

profile-id ont-sipagent profile id. The value ranges from 0 to 16

profile-name ont-sipagent profile name with a maximum length of 64

[Configuration case]

Case1: Bind ONU1 pots port PON1 to ont-sipagent profile 1.


LT(config-interface-gpon-0/0)# sippstnuser ipconfig 1 1 1 ont-sipagent-profile profile-id 1
The sip agent profile does not exist
OLT(config-interface-gpon-0/0)#

16.1.8 sippstnuser modify


sippstnuser modify port-id ont-id pots-port-id {password password |
Command Syntax
telno telno | username username}

Applicable Views gpon interface view

Description This command is used to turn on or off the pots port of the ONT

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id ONT pots port id. The value ranges from 1 to 8

password Password, with a maximum length of 24

telno Phone number, with a maximum length of 31

username Username with a maximum length of 24

[Configuration case]

Case1: Change the user name and password of the first voice interface ONU1 in port PON1 to

316
GPON OLT User Manual

12, 123, and telno1234.


OLT(config-interface-gpon-0/0)# sippstnuser modify 1 1 1 username 12 password 123 telno
1234
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#

16.1.9 sippstnuser rightflag


sippstnuser rightflag port-id ont-id pots-port-id siprightflag-profile
Command Syntax
(profile-id profile-id | profile-name profile-name)

Applicable Views view of the gpon interface

Description ONU pots port service binding siprightflag profile

Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16

ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128

pots-port-id pots port id of the ONT. The value ranges from 1 to 8

profile-id siprightflag profile id. The value ranges from 0 to 16

profile-name siprightflag profile name with a maximum length of 64

[Configuration case]

Case1: Bind siprightflag profile 1 to the first pots port ONU1 under port PON1.
OLT(config-interface-gpon-0/0)# sippstnuser rightflag 1 1 1 siprightflag-profile profile-id 1
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#

16.2 ONT Voice service profile configuration


16.2.1 commit
Command Syntax commit

Applicable Views POTS port profile view

This command is used to submit the current configuration of the


POTS port profile. All parameter configurations on the POTS port
Description
profile take effect only after the configuration is successfully
submitted

[Configuration case]

317
GPON OLT User Manual

Case1: Submit the current POTS port profile configuration.


OLT(config-pots-profile-1)# commit

16.2.2 impedance
Command Syntax impedance impedance-value

Applicable Views POTS port profile view

This command is used to configure the impedance of POTS ports in


Description
the ONTPOTS port profile.

Value range:
0:6:00 Ohms
1:900 Ohms
impedance-value 2: C1=150 nF, R1=750 Ohm, R2=270 Ohm
3: C1=115 nF, R1=820 Ohm, R2=220 Ohm
4: C1=230 nF, R1=1050 Ohm, R2=320 Ohm
Default value: 2.

[Configuration case]

Case1: Configure the impedance of the POTS port in ONTPOTS port profile 1 to Type 2.
OLT(config-pots-profile-1)# impedance 2

16.2.3 ont-pots-profile
ont-pots-profile gpon {profile-id profile-id |profile-name
Command Syntax profile-name}
no ont-pots-profile (profile-id profile-id |profile-name profile-name)

Applicable Views config view

The "ont-pots-profile" command is used to add a POTS port profile


for an ONT. A POTS port profile holds the physical attributes of the
ONT POTS port, such as port impedance, transmit/receive gain, and
Description
port signaling type.
The "no ont-pots-profile" command is used to delete the existing
ONT POTS port profile from the system.

ONT POTS port profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. When the profile ID is not specified, the
system automatically assigns the minimum free profile number. POTS
profile-id
port profile 0 is the default profile. If the ONT does not specify a
bound POTS port profile, the profile automatically matches the
default profile

318
GPON OLT User Manual

The ONT POTS port profile name can contain 1 to 32 characters. The
profile-name default profile name is pots_profile_x, where the "x" is the actual
profile number.

[Configuration case]

Case1: Create and enter the ONT POTS port profile with ID 1.
OLT(config)# ont-pots-profile gpon profile-id 1
OLT(config-pots-profile-1)#
Case2: Delete ONTPOTS port profile 1 from the OLT.
OLT(config)# no ont-pots-profile profile-id 1
OLT(config-pots-profile-1)#

16.2.4 pots-side-signaling
Command Syntax pots-side-signaling pots-side-signaling-value

Applicable Views POTS port profile view

This command is used to configure the signaling type for POTS ports
Description
in the ONTPOTS port profile.

Value: 1, 2, 3, 4, 5, or 6.
1: Loop start indicates the loop start signal (when the AB line loops
back, it indicates the off-hook, when the AB line is disconnected, it
indicates the hang up, generally used for home phones).
2: Ground start indicates a ground start signal (monitors whether the
Ring line's potential is close to the ground potential (ground indicates
off-hook), generally used for PBXS or trunks).
3: Loop reverse battery indicates loop reverse battery signaling (POTS
pots-side-signaling-val
port with polarity reversal function, generally used for phones with
ue
billing function).
4: Coin first refers to the port that receives a coin phone, and a coin
must be inserted before making a call.
5: Dial tone first refers to the port that receives the pay phone. You
can play the dial tone before the pay phone is placed.
6: Multi-party refers to the port that connects multiple phones on
one line.
Default value: 1.

[Configuration case]

Case1: Configure the signaling type of POTS ports in ONT POTS port profile 1 to 1.
OLT(config-pots-profile-1)# pots-side-signaling 1

319
GPON OLT User Manual

16.2.5 rxgain
Command Syntax rxgain rxgain-value

Applicable Views POTS port profile view

This command is used to configure the receive gain of POTS ports in


Description
the ONT POTS port profile.

Value range: 0,1,2... 36 (integers from 0 to 36). Where: 0 means


-12dB, 1
rxgain-value
It means -11.5dB, and 36 means +6dB, in increments of 0.5dB.
Default value: 24 (0dB)

[Configuration case]

Case1: Configure the receiving gain of POTS ports in ONT POTS port profile 1 to 0dB.
OLT(config-pots-profile-1)# rxgain 24

16.2.6 show ont-pots-profile


show ont-pots-profile (all | profile-id profile-id |profile-name
Command Syntax
profile-name)

Applicable Views config view

This command is used to query information about the created


Description
ONTPOTS port profile in the system.

all Show all POTS port profile information on the OLT.

profile-id Show information about the POTS port profile with the specified id.

profile-name Show the POTS port profile information with the specified name.

[Configuration case]

Case1: Show information about all ONT POTS port profiles on the OLT.
OLT(config)# show ont-pots-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 pots-profile_0 0
1 pots-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------

320
GPON OLT User Manual

OLT(config)#

16.2.7 show ont-pots-profile current


Command Syntax show ont-pots-profile current

Applicable Views POTS port profile view

This command is used to show the configuration of the current POTS


Description
port profile

[Configuration case]

Case1: Show the current configuration of the POTS port profile.


OLT(config-pots-profile_1)# show ont-pots-profile current
----------------------------------------------------------------------------
Profile-ID :1
Profile-name : pots-profile_1
Binding times :0
----------------------------------------------------------------------------
----------------------------------------------------------------------------

Impedance : C1=150 nf,R1=750 Ohm,R2=270 Ohm

Tx gain : 0(dB)

Rx gaim : 0(dB)

Pots side signalling : Loop start


----------------------------------------------------------------------------
OLT(config-pots-profile_1)#

16.2.8 txgain
Command Syntax txgain txgain-value

Applicable Views POTS port profile view

This command is used to configure the transmit gain of POTS ports in


Description
the ONT POTS port profile

Value range: 0,1,2... 36 (integers from 0 to 36). Where: 0 means


-12dB, 1
txgain-value
It means -11.5dB, and 36 means +6dB, in increments of 0.5dB.
Default value: 24 (0dB)

[Configuration case]

321
GPON OLT User Manual

Case1: Configure the send gain of POTS ports in ONT POTS port profile 1 to 0dB.
OLT(config-pots-profile-1)# txgain 24

16.3 ONT digitmap profile configuration


16.3.1 commit
Command Syntax commit

Applicable Views Digitmap profile configuration view

This command is used to submit the current digitmap profile


configuration, only after a successful submission using this
Description
command,
All parameter configurations for the loggraph profile will take effect

[Configuration case]

Case1: Submit the current digitmap profile configuration.


OLT(config-digitmap-profile-1)# commit

16.3.2 ont-digitmap-profile
ont-digitmap-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-digitmap-profile (profile-id profile-id |profile-name
profile-name)

Applicable Views Digitmap profile configuration view

The "ont-digitmap-profile" command is used to create an ONT


digitmap profile. The ONT digitmap profile stores the digitmap
information of the ONT, including digitmap format and digitmap
Description timer timeout period. A new profile takes effect after being bound to
a user.
The "no ont-digitmap-profile" command is used to delete an existing
ONT digitmap profile from the system.

ONT digital map profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. Ont If no profile ID is specified, the system
profile-id automatically assigns the minimum idle profile number. Digitmap
profile 0 is the default profile. ONT automatically matches digitmap
profile 0 if no binding digitmap profile is specified.

ONT digital map profile name, which can be 1 to 64 characters in


profile-name
length. The default profile name is digitmap_x, where the "x" is

322
GPON OLT User Manual

replaced by the actual profile number.

[Configuration case]

Case1: Create and enter the ONT digital map profile with ID 1.
OLT(config)# ont-digitmap-profile gpon profile-id 1
OLT(config-digitmap-profile-1)#

16.3.3 critical-dial-time
Command Syntax critical-dial-time critical-dial-time-value

Applicable Views Digitmap profile configuration view

This command is used to configure the timeout duration of the


Description digital timer for ONT during precise matching (the number pressed
by the user is completely consistent with the format in the digitmap)

critical-dial-time-value Value range: 1 to 65535. Unit: ms. Default value: 4000.

[Configuration case]

Case1: When setting an exact match in ONT Digitmap profile 1, the digitmap timer has a

timeout duration of 4000.


OLT(config-digitmap-profile-1)# critical-dial-time 4000

16.3.4 partial-dial-time
Command Syntax partial-dial-time partial-dial-time-value

Applicable Views Digitmap profile configuration view

This command is used to set the timeout duration of the digital timer
Description for ONT during partial matching (the number pressed by the user is
only partially consistent with the format in the digitmap).

partial-dial-time-value Value range: 1 to 65535. Unit: ms. Default value: 16000.

[Configuration case]

Case 1: When setting partial matching in ONT Digitmap profile 1, the digitmap timer has a

timeout duration of 16000.


OLT(config-digitmap-profile-1)# partial-dial-time 16000

16.3.5 digitmap-format

323
GPON OLT User Manual

Command Syntax digitmap-format digitmap-format-value

Applicable Views Digitmap profile configuration view

This command is used to format the digitmap in the ONT digitmap


Description
profile.

Value range:
h.248: indicates the digitmap in H248 format
ncs: indicates the digitmap in ncs format
digitmap-format-valu
not_defined: indicates the digitmap inside the ONT
e
vendor_specific: indicates the digitmap in the manufacturer-defined
format
Default value: h.248.

[Configuration case]

Case 1: Configure the format of the ONT digital map in profile 1 to h.248.
OLT(config-digitmap-profile-1)# digitmap-format h248

16.3.6 token
token token-index token-value
Command Syntax
no token token-index

Applicable Views Digitmap profile configuration view

"token" is used to add a subdigitmap scheme to a specified ONT


digitmap profile. Subdigitgraph scheme
Description The content is the number matching rule.
The "no token" is used to remove subdigital schemes from the
specified ONT digital map profile.

token-index Subdigital graph scheme ID. Value range: 1 to 10

The content of the subdigital graph scheme, that is, the number
token-value
matching rule. The length of the string that can be entered is 1-27

[Configuration case]

Case 1: Configure the subdigitmap scheme in ONT digitmap profile 1 to 8888XXXX.


OLT(config-digitmap-profile-1)# token 1 8888XXXX
Case 2: Delete subdigitmap scheme 1 from ONT digitmap profile 1.
OLT(config-digitmap-profile-1)# no token 1
OLT(config-digitmap-profile-1)#

16.3.7 show ont-digitmap-profile


324
GPON OLT User Manual

show ont-digitmap-profile (all | profile-id profile-id |profile-name


Command Syntax
profile-name)

Applicable Views config view

This command is used to query information about a created ONT


Description
digitmap profile.

all Show all of the digitmap profile information on the OLT.

profile-id Show the digitmap profile information for the specified id.

profile-name Show the digitmap profile information for the specified name.

[Configuration case]

Case1: Show all ONT digital map profile information on OLT.


OLT(config)# show ont-digitmap-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 digitmap-profile_0 0
1 digitmap-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------
OLT(config)#

16.3.8 show ont-digitmap-profile current


Command Syntax show ont-digitmap-profile current

Applicable Views Digitmap profile configuration view

This command is used to show the configuration of the current


Description
digitmap profile

[Configuration case]

Case1: Show the current digitmap profile configuration.


OLT(config-digitmap-profile_1)# show ont-digitmap-profile current
----------------------------------------------------------------------------
Profile-ID :1
Profile-name : digitmap-profile_1
Binding times :0
----------------------------------------------------------------------------

325
GPON OLT User Manual

Critical dial time : 4000(ms)

Partial dial time : 16000(ms)

Digital map format : H.248


----------------------------------------------------------------------------

dial-plan-id dial-plan-token
---------------------------------------------------------------------------
1 X.L
OLT(config-pots-profile_1)#

16.4 ONT SIP proxy profile configuration


16.4.1 auth-realm
auth-realm realm
Command Syntax
no auth-realm

Applicable Views ONT SIP proxy profile Configures the view

"auth-realm" command is used to configure authentication domains


for proxy servers.
Description
The "no auth-realm" command cancels the user configuration and
configure the authentication domain value of the proxy server to "0".

The authentication domain value of the proxy server. The default


realm
value is null and contains 1-24 characters in length.

[Configuration case]

Case1: Configure the authentication domain of the proxy server to abcd.


OLT(config-sipagent-profile-1)# auth-realm abcd
OLT(config-sipagent-profile-1)#

16.4.2 bridged-line-agent
bridged-line-agent bridged-line-agent-uri
Command Syntax
no bridged-line-agent

Applicable Views ONT SIP proxy profile configuration view

The "bridged line-agent" command is used to configure the address


Description of the briline service. When the Bridged service is configured on the
ONT, you need to send subscription messages to the server. The

326
GPON OLT User Manual

proxy server address can be an IP address or a domain name.


By running the "no-bridged line-agent" command, you can cancel the
user configuration and place the briline service agent address value
to 0.

Bridged line Indicates the address of the agent server for the service.
bridged-line-agent-uri
The default value is null and contains 1-63 characters.

[Configuration case]

Case1: Configure the IP address of the Bridged server in the ONT SIP proxy profile 1 to

192.168.2.202.
OLT(config-sipagent-profile-1)# bridged-line-agent 192.168.2.202
OLT(config-sipagent-profile-1)#

16.4.3 commit
Command Syntax commit

Applicable Views ONT SIP proxy profile configuration view

This command is used to submit the configuration of the ONT SIP


Description proxy profile. All the configuration of the ONT SIP proxy profile takes
effect only after the configuration is successfully submitted

[Configuration case]

Case1: Submits the configuration of the ONT SIP proxy profile.


OLT(config-sipagent-profile-1)# commit
OLT(config-sipagent-profile-1)#

16.4.4 conf-factory
conf-factory conf-factory-uri
Command Syntax
no conf-factory

Applicable Views ONT SIP proxy profile configuration view

The "conf-factory" command is used to configure the address of the


conference factory (conference server), which can be an IP address
Description or a domain name.
The "no conf-factory" command cancels the user configuration and
sets the address of the conference factory (conference server) to 0.

The address of the conference factory (conference server). The


conf-factory-uri
default value is null, and the character length is 1-63.

327
GPON OLT User Manual

[Configuration case]

Case1: Configure the address of the conference factory (conference server) to 192.168.6.201.
OLT(config-sipagent-profile-1)# conf-factory 192.168.6.201
OLT(config-sipagent-profile-1)#

16.4.5 ont-sipagent-profile
ont-sipagent-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-sipagent-profile (profile-id profile-id |profile-name
profile-name)

Applicable Views config view

The "ont-sipagent-profile" command is used to add a SIP proxy


profile for ONT. ONT SIP
The proxy profile holds the basic property configuration data of the
Description ONT SIP interface, such as the IP address of the primary or secondary
SIP proxy server.
The "no ont-sipagent-profile" command is used to delete an existing
ONT SIP proxy profile from the system.

ONT SIP proxy profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. When the profile ID is not specified, the
system automatically assigns the minimum idle profile number. The
profile-id
ONT SIP proxy profile 0 is the default profile. If the ONT does not
specify a binding proxy profile, the profile 0 is automatically
matched.

ONT SIP proxy profile name, which can contain 1 to 64 characters.


profile-name The default profile name is sipagent_x, where the "x" is the actual
profile number.

[Configuration case]

Case1: Creates and accesses the ONT SIP proxy profile whose ID is 1.
OLT(config)# ont-sipagent-profile gpon profile-id 1
OLT(config-sipagent-profile-1)#

16.4.6 outbound-server
outbound-server outbound-server-uri
Command Syntax
no outbound-server

Applicable Views ONT SIP proxy profile configuration view

328
GPON OLT User Manual

The "outbound-server outbound-server-uri" command is used to


configure the address of the SIP outgoing proxy server in the ONT SIP
Description proxy profile, which can be an IP address or a domain name.
The "no outbound-server" command cancels the user configuration
and sets the sip outgoing proxy server address value to "0".

SIP outbound proxy server address. It is a string of 1 to 63 characters.


outbound-server-uri
The default value is null.

[Configuration case]

Case1: Configure the IP address of the SIP outgoing proxy server in ONT SIP Proxy profile 1 to

192.168.2.205.
OLT(config-sipagent-profile-1)# outbound-server 192.168.2.205
OLT(config-sipagent-profile-1)#

16.4.7 outbound-server-port
Command Syntax outbound-server-port outbound-server-port-value

Applicable Views ONT SIP proxy profile configuration view

The "outbound server-port" command is used to configure the port


Description number of the SIP outbound proxy server in the ONT SIP proxy
profile.

outbound-server-port- Port number of the SIP outbound proxy server. The default value is 0
value and the value ranges from 0 to 65535.

[Configuration case]

Case1: Configure the port number of the SIP outgoing proxy server in ONT SIP Proxy profile 1 to

3090.
OLT(config-sipagent-profile-1)# outbound-server-port 3090
OLT(config-sipagent-profile-1)#

16.4.8 proxy-server
proxy-server proxy-server-uri
Command Syntax
no proxy-server

Applicable Views ONT SIP proxy profile configuration view

The "proxy-server" command is used to configure the IP address or


Description domain name of the SIP proxy server in the ONT SIP proxy profile.
The "no proxy-server" command cancels the user configuration and

329
GPON OLT User Manual

sets the SIP proxy server address to 0.

SIP proxy server address. The value is a string. The default value is
proxy-server-uri
empty. The value can be 1 to 63 characters in length.

[Configuration case]

Case1: Configure the IP address of the SIP proxy server in ONT SIP Proxy profile 1 to

192.168.2.201.
OLT(config-sipagent-profile-1)# proxy-server 192.168.2.201
OLT(config-sipagent-profile-1)#

16.4.9 proxy-server-port
Command Syntax proxy-server-port proxy-server-port-value

Applicable Views ONT SIP proxy profile configuration view

The "proxy-server-port" command is used to configure the proxy


Description
server port number in the ONT SIP proxy profile.

proxy-server-port-valu Proxy server port number. The default value is 0 and the value ranges
e from 0 to 65535.

[Configuration case]

Case1: Configure the SIP proxy server port number to 3070 in ONT SIP Proxy profile 1.
OLT(config-sipagent-profile-1)# proxy-server-port 3070
OLT(config-sipagent-profile-1)#

16.4.10 rtp dscp


Command Syntax rtp dscp rtp-dscp-value

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the DSCP priority for media RTP
Description packets. DSCP is an IP QoS policy, which ensures that packets with
higher priorities are preferentially forwarded.

DSCP priority of media RTP packets. The default value is 46 and the
rtp-dscp-value
value ranges from 0 to 63.

[Configuration case]

Case1: Configure the DSCP priority of media RTP packets in ONT SIP proxy profile 1 to 46.
OLT(config-sipagent-profile-1)# rtp dscp 46

330
GPON OLT User Manual

OLT(config-sipagent-profile-1)#

16.4.11 rtp port


Command Syntax rtp port min-rtp-port max-rtp-port

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the range of port numbers


Description
available for RTP sessions.

The minimum port number of a media RTP packet. The default value
min-rtp-port
is 50000. The value ranges from 1 to 65535.

The maximum port number of a media RTP packet. The default value
max-rtp-port
is 60000 and the value ranges from 1 to 65535.

[Configuration case]

Case1: Configure the range of port numbers available for RTP sessions in ONT SIP Proxy profile

1 to 55000-65000.
OLT(config-sipagent-profile-1)# rtp port 55000 65000
OLT(config-sipagent-profile-1)#

16.4.12 registration expiration


Command Syntax registration expiration expiration-value

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the validity period of the SIP


registration server. The registration validity period is the registration
Description
period. If the validity period exceeds this period, a SIP user needs to
register again.

The value ranges from 1 to 4,294,967,295 (in seconds). The default


expiration-value
value is 0.

[Configuration case]

Case1: Configure the registration validity of the SIP registration server in ONT SIP Proxy profile

1 to 600 seconds.
OLT(config-sipagent-profile-1)# registration expiration 600
OLT(config-sipagent-profile-1)#

16.4.13 registration rereg-head-start-time

331
GPON OLT User Manual

Command Syntax registration rereg-head-start-time <1-4294967295>

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the refresh registration start time


of the SIP registration server. Indicates how much time before the
Description
refresh registration message is sent before the registration validity
period expires.

The value ranges from 1 to 4294967295, in seconds. The default


expiration-value
value is 0.

[Configuration case]

Case1: Configure the refresh registration start time for the SIP registration server in ONT SIP

Proxy profile 1 to 300 seconds.


OLT(config-sipagent-profile-1)# registration rereg-head-start-time 300
OLT(config-sipagent-profile-1)#

16.4.14 registration server-port


Command Syntax registration server-port registration-server-port-value

Applicable Views ONT SIP proxy profile Configures the view

The "registration server-port" command is used to configure the port


Description
number of the SIP registration server in the ONT SIP proxy profile.

registration-server-po SIP proxy server port number, the default value is 0 and the value
rt-value ranges from 0 to 65535.

[Configuration case]

Case1: Configure the SIP proxy server port number to 3080 in ONT SIP Proxy profile 1.
OLT(config-sipagent-profile-1)# registration server-port 3080
OLT(config-sipagent-profile-1)#

16.4.15 registration server-uri


registration server-uri registration-server-uri
Command Syntax
no registration server-uri

Applicable Views ONT SIP proxy profile configuration view

The "registration server-uri" command is used to configure the IP


Description address or domain name of the SIP registration server in the ONT SIP
proxy profile.

332
GPON OLT User Manual

The "no registration server-uri" command cancels the user


configuration and sets the SIP registration server address value to
"0".

SIP registration server address. The value is a string. The default


registration-server-uri
value is empty.

[Configuration case]

Case1: Configure the IP address of the SIP registration server in ONT SIP Proxy profile 1 to

192.168.2.203.
OLT(config-sipagent-profile-1)# registration server-uri 192.168.2.203
OLT(config-sipagent-profile-1)#

16.4.16 show ont-sipagent-profile


show ont-sipagent-profile (all | profile-id profile-id |profile-name
Command Syntax
profile-name)

Applicable Views config view

This command is used to query information about the created ONT


Description
SIP proxy profile in the system.

all Show all the ONT SIP proxy profile information on the OLT

profile-id Show the ONT SIP proxy profile information for the specified id.

profile-name Show the ONT SIP proxy profile information for the specified name.

[Configuration case]

Case1: Show all ONT SIP proxy profile information on OLT.


OLT(config)# show ont-sipagent-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 sipagent-profile_0 0
1 sipagent-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------
OLT(config)#

16.4.17 show ont-sipagent-profile current

333
GPON OLT User Manual

Command Syntax show ont-sipagent-profile current

Applicable Views ONT SIP proxy profile configuration view

This command is used to show the configuration of the current ONT


Description
SIP proxy profile

[Configuration case]

Case1: Show the current ONT SIP proxy profile configuration.


OLT(config-sipagent-profile-1)# show ont-sipagent-profile current
----------------------------------------------------------------------------

Proxy server :

Proxy server port :0

Rtp

Min port : 50000

Max port : 60000

Dscp : 46

Signal

Transfer mode : UDP

Port : 5070

Dscp : 24

Registration

Server :

Port :0

334
GPON OLT User Manual

Expiration : 0(s)

Rereg head start time : 0(s)

Voice mail

Server :

Subscription expiration : 0(s)

Conf fatcory :

Bridged line agent :

Auth realm :

Outbound server :

Outbound server port :0


OLT(config-sipagent-profile-1)#

16.4.18 signal dscp


Command Syntax signal dscp signal-dscp-value

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the DSCP priority of signaling


Description packets. DSCP is an IP QoS policy, which ensures that packets with
higher priorities are preferentially forwarded.

DSCP priority of signaling packets. The default value is 24 and the


signal-dscp-value
value ranges from 0 to 63.

[Configuration case]

Case1: Configure the DSCP priority of the ONT SIP proxy profile 1 to 24.
OLT(config-sipagent-profile-1)# signal dscp 24

335
GPON OLT User Manual

OLT(config-sipagent-profile-1)#

16.4.19 signal port


Command Syntax signal port signal-port-value

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the UDP/TCP port number for SIP
Description
signaling.

The UDP/TCP port number of the SIP signaling. The default value is
signal-port-value
5070 and the value ranges from 1 to 65535.

[Configuration case]

Case1: Configure the UDP/TCP port number for SIP signaling in ONT SIP Proxy profile 1 to 5071.
OLT(config-sipagent-profile-1)# signal port 5071
OLT(config-sipagent-profile-1)#

16.4.20 signal transfer-mode


Command Syntax signal transfer-mode (tcp|udp)

Applicable Views ONT SIP proxy profile configuration view

This command is used to configure the transport protocol type of the


Description
signaling. The default value is udp.

[Configuration case]

Case1: Configure the transmission protocol type of the ONT SIP proxy profile 1 to tcp.
OLT(config-sipagent-profile-1)# signal transfer-mode tcp
OLT(config-sipagent-profile-1)#

16.4.21 voicemail server-uri


voicemail server-uri voicemail-server-uri
Command Syntax
no voicemail server-uri

Applicable Views ONT SIP proxy profile configuration view

The "voicemail server-uri" command is used to configure the address


of the voicemail server in the ONT SIP proxy profile. The address can
Description be an IP address or a domain name.
The "no voicemail server-uri" command cancels the user
configuration and sets the voicemail server address to 0.

336
GPON OLT User Manual

The Voicemail server address is a string of 1 to 63 characters. The


voicemail-server-uri
value is null by default.

[Configuration case]

Case1: Configure the IP address of the Voicemail server in ONT SIP Proxy profile 1 to

192.168.2.204.
OLT(config-sipagent-profile-1)# voicemail server-uri 192.168.2.204
OLT(config-sipagent-profile-1)#

16.4.22 voicemail subscription-expiration


Command Syntax voicemail subscription-expiration subscription-expiration-value

Applicable Views ONT SIP proxy profile configuration view

Using the "proxy-server-port" command, you can configure the


Description
validity period of a voicemail subscription.

subscription-expiratio The default value is 0. The value ranges from 1 to 4,294,967,295, in


n-value seconds.

[Configuration case]

Case1: Configure the validity period of the voicemail subscription in ONT SIP Proxy profile 1 to

3600.
OLT(config-sipagent-profile-1)# voicemail subscription-expiration 3600
OLT(config-sipagent-profile-1)#

16.5 ONT SIP service data profile configuration


16.5.1 commit
Command Syntax commit

Applicable Views SIP service data profile configures the view

This command is used to submit the SIP service data profile


configuration. All parameter configurations of the SIP service data
Description
profile take effect only after the configuration is successfully
submitted using this command

[Configuration case]

Case1: Submit the current SIP service data profile configuration.


OLT(config-sipright-profile_1)# commit

337
GPON OLT User Manual

OLT(config-sipright-profile_1)#

16.5.2 call-hold
Command Syntax call-hold (enable|disable)

Applicable Views SIP business data profile view

This command is used to set call hold permission in the ONT SIP
Description service data profile. By default, call Hold permission is enabled
(enable).

enable Enable call hold permission.

disable Disable call hold permission.

[Configuration case]

Case1: Enables the call hold right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-hold enable
OLT(config-sipright-profile_1)#

16.5.3 call-park
Command Syntax call-park (enable|disable)

Applicable Views SIP business data profile view

This command is used to configure the call residency permission in


Description the ONT SIP service data profile. By default, the call residency
permission is disabled.

enable Enable call park permission.

disable Disable the call park right.

[Configuration case]

Case1: disables the call park right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-park disable
OLT(config-sipright-profile_1)#

16.5.4 call-transfer
Command Syntax call-transfer (enable|disable)

Applicable Views SIP business data profile view

Description This command is used to set call transfer permission in the ONT SIP

338
GPON OLT User Manual

service data profile. By default, call transfer permission is disabled.

enable Enable call forwarding rights.

disable Disable call transfer rights.

[Configuration case]

Case1: Disables the call transfer right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-transfer disable
OLT(config-sipright-profile_1)#

16.5.5 call-waiting
Command Syntax call-waiting (enable|disable)

Applicable Views SIP business data profile view

This command is used to configure the call waiting permission in the


Description ONT SIP service data profile. By default, the call transfer waiting
permission is enabled (enable).

enable Enable call forwarding waiting permission.

disable Disable call transfer waiting rights.

[Configuration case]

Case1: Enables the call waiting right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-waiting enable
OLT(config-sipright-profile_1)#

16.5.6 conference
Command Syntax conference (enable|disable)

Applicable Views SIP business data profile view

This command is used to configure the conference call permission in


Description
the ONT SIP service data profile, which is disabled by default.

enable Enable conference call permissions.

disable Disable conference call permissions.

[Configuration case]

Case1: Disables the conference call permission in ONT SIP service data profile 1.

339
GPON OLT User Manual

OLT(config-sipright-profile_1)# conference disable


OLT(config-sipright-profile_1)#

16.5.7 do-not-disturb
Command Syntax do-not-disturb (enable|disable)

Applicable Views SIP business data profile view

This command is used to configure the call DND right in the ONT SIP
Description
service data profile. By default, the call DND right is disabled.

enable Enable call do not disturb rights.

disable Disable call do Not disturb.

[Configuration case]

Case1: disables the Do Not disturb (DND) right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# do-not-disturb disable
OLT(config-sipright-profile_1)#

16.5.8 hotline
Command Syntax hotline (enable|disable)

Applicable Views SIP business data profile view

This command is used to configure the hotline service right in the


Description ONT SIP service data profile. By default, the hotline service right is
disabled.

enable Enable the hotline service.

disable Disable the hotline service.

[Configuration case]

Case1: Disables the hotline service in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# hotline disable
OLT(config-sipright-profile_1)#

16.5.9 mwi
Command Syntax mwi (enable|disable)

Applicable Views SIP business data profile view

Description This command is used to configure the Message wait indication

340
GPON OLT User Manual

permission in the ONT SIP service data profile. By default, the


Message Wait indication permission is disabled.

enable Enable message wait indication permission.

disable Disable Message wait indication permission.

[Configuration case]

Case1: Disables the message waiting indicator permission in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# mwi disable
OLT(config-sipright-profile_1)#

16.5.10 ont-siprightflag-profile
ont-siprightflag-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-siprightflag-profile (profile-id profile-id |profile-name
profile-name)

Applicable Views config view

The "ont-siprightflag-profile" command is used to add the SIP service


data profile of the ONT.
Description
The "no ont-siprightflag-profile" command is used to delete the SIP
service data profile of an existing ONT from the system.

ONT SIP service data profile ID, which uniquely identifies a profile.
The value ranges from 0 to 16. When the profile ID is not specified,
the system automatically assigns the minimum idle profile number.
profile-id
ONT SIP service data profile 0 is the default profile. If no binding data
profile is specified at the ONT, the profile 0 is automatically matched
with the profile.

ONT SIP service data profile name. The value can contain 1 to 64
profile-name characters. The default profile name is sipright_x, where the actual
profile number is used as the "x".

[Configuration case]

Case1: Create and enter the ONT SIP service data profile with ID 1.
OLT(config)# ont-siprightflag-profile gpon profile-id 1
OLT(config-sipright-profile_1)#

16.5.11 show ont-siprightflag-profile


Command Syntax show ont-siprightflag-profile (all | profile-id profile-id

341
GPON OLT User Manual

|profile-name profile-name)

Applicable Views config view

This command is used to query information about a created ONT SIP


Description
service data profile.

all Show all SIP service data profiles on the OLT

profile-id Show SIP business data profile information for the specified id.

profile-name Show SIP business data profile information for the specified name.

[Configuration case]

Case1: Show all ONT SIP service data profile information on the OLT.
OLT(config)# show ont-siprightflag-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 sipright-profile_0 0
1 sipright-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------
OLT(config)#

16.5.12 show ont-siprightflag-profile current


Command Syntax show ont-siprightflag-profile current

Applicable Views SIP business data profile configuration view

This command is used to show the configuration of the current SIP


Description
service data profile

[Configuration case]

Case1: Show the current SIP service data profile configuration.


OLT(config-sipright-profile_1)# show ont-siprightflag-profile current
----------------------------------------------------------------------------
Profile-ID :1
Profile-name : sipright-profile_1
Binding times :0
----------------------------------------------------------------------------

342
GPON OLT User Manual

Call waiting : enable

Call transfer : disable

Call hold : enable

Call park : disable

Three party : enable

Do not disturb : disable

Conference : disable

Mwi : disable

Hotline : disable

Hotline numbers :

Hotline delay : disable


----------------------------------------------------------------------------
OLT(config-sipright-profile_1)#

16.5.13 three-party
Command Syntax three-party (enable|disable)

Applicable Views SIP business data profile view

This command is used to set three-party call permission in the ONT


Description SIP service data profile. By default, three-party call permission
(enable) is enabled.

enable Enable three-way call rights.

disable Disable three-way call rights.

[Configuration case]

Case1: Enables three-party calls in ONT SIP service data profile 1.


OLT(config-sipright-profile_1)# three-party enable
OLT(config-sipright-profile_1)#

343
GPON OLT User Manual

17 WAN configuration
This chapter includes the following topics:

 WAN discrete configuration

17.1 WAN discrete configuration


17.1.1 ont wan ipv4
ont wan port-id onu-id wan-index vlan (vlan-id [priority priority] |
untag) ipv4 (dhcp | pppoe username username password password
Command Syntax | static ip ip-addr mask mask-addr gateway gateway-addr pri-dns
pri-dns slave-dns slave-dns )
no ont wan port-id onu-id wan-index

Applicable Views GPON view

This command is used to add or modify an iPV4 route wan, configure


the basic properties of the route wan, when adding an IPV4 route
Description wan, its optional properties are the default option, when modifying
an IPV4 route wan, its optional properties remain unchanged.
The no ont wan command is used to delete a wan configuration.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

wan-index wan index, which ranges from 1 to 8.

Configure the ONT management VLAN. After the configuration, only


vlan-id the configured vlan packets can pass through the WAN connection.
The value ranges from 1 to 4094.

Configure the priority of the ONT management VLAN to take effect


priority on the ONT. The higher the priority, the higher the priority. The value
ranges from 0 to 7. The default value is 0.

untag mode, WAN connections can only go through packets without


untag
vlan after configuration.

dhcp Configure the IPv4 address to be dynamically obtained by DHCP.

pppoe Configure WAN connections in pppoe mode.

344
GPON OLT User Manual

username: indicates the username. The value is a string of 1 to 24


characters
password: indicates the user password. The value contains 1 to 24
characters

Configure IPv4 addresses in static mode.


Ip-addr: indicates the configured static IP address in dotted decimal
notation.
Mask-addr: Specifies the subnet mask of the interface on a network
segment. The value is in dotted decimal notation.
Gateway-addr: indicates the gateway IP address in dotted decimal
static notation.
pri-dns: indicates the IP address of the active DNS server. The DNS
server resolves an IP address by domain name, or obtains domain
name information from an IP address. The format is in dotted
decimal notation.
slave-dns: Specifies the IP address of the secondary DNS server in
dotted decimal notation.

[Configuration case]

Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv4, and mode DHCP.
OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 ipv4 dhcp
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, vlan id 11, vlan priority 3, protocol ipv4, mode

pppoe, username of PPPoE account username, password.


OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 priority 3 ipv4 pppoe username username
password password
OLT(config-gpon-0/0)#
Case3: Deletes the WAN1 configuration of ONT 5 on port 0/0/1.
OLT(config-gpon-0/0)# no ont wan 1 5 1
OLT(config-gpon-0/0)#

17.1.2 ont wan ipv4-ipv6


ont wan port-id onu-id wan-index vlan (vlan-id [priority priority] |
untag) ipv4-ipv6 (dhcp | pppoe
Command Syntax username username password password | static ip ip-addr mask
mask-addr gateway gateway-addr pri-dns pri-dns slave-dns
slave-dns )v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]

Applicable Views GPON view

345
GPON OLT User Manual

This command is used to add or modify a dual-stack routed wan,


configure the basic properties of the routed wan, when adding a
Description dual-stack routed wan, its optional properties are the default option,
when modifying a dual-stack routed wan, its optional properties
remain unchanged.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

wan-index wan index, which ranges from 1 to 8.

Configure the ONT management VLAN. After the configuration, only


vlan-id the configured vlan packets can pass through the WAN connection.
The value ranges from 1 to 4094.

Configure the priority of the ONT management VLAN to take effect


priority on the ONT. The higher the priority, the higher the priority. The value
ranges from 0 to 7. The default value is 0.

untag mode, WAN connections can only go through packets without


untag
vlan after configuration.

Configure the IPv4 address to be dynamically obtained by DHCP. The


dhcp
default mode of obtaining an ipv4 address is dhcp.

Configure WAN connections in pppoe mode.


username: indicates the username. The value is a string of 1 to 24
pppoe
characters
password: User password. It is a string of 1 to 24 characters

Configure IPv4 addresses in static mode.


Ip-addr: indicates the configured static IP address in dotted decimal
notation.
Mask-addr: Specifies the subnet mask of the interface on a network
segment. The value is in dotted decimal notation.
Gateway-addr: indicates the gateway IP address in dotted decimal
static notation.
pri-dns: indicates the IP address of the active DNS server. The DNS
server resolves an IP address by domain name, or obtains domain
name information from an IP address. The format is in dotted
decimal notation.
slave-dns: Specifies the IP address of the secondary DNS server in
dotted decimal notation.

Configure how to get IPv6 addresses, the default is auto.


v6
auto: Automatically selects the mode of obtaining an IPv6 address.

346
GPON OLT User Manual

slaac: Stateless address automatic configuration. Slaac can obtain


IPv6 global unicast addresses without the DHCPv6 server service.
dhcpv6: uses the dhcpv6 Protocol to obtain IPv6 addresses. Dynamic
Host Configuration Protocol for IPv6 is a network protocol used to
assign IPv6 addresses, prefixes, and DNS configurations.

Configure how to get dns addresses, the default is auto.


auto: Automatically selects the method of obtaining a dns address.
dns
slaac: stateless address automatic configuration.
dhcpv6: Obtains dns addresses using the dhcpv6 protocol.

[Configuration case]

Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv4-ipv6, ipv4 protocol

DHCP mode, ipoev6 mode default (address mode default atuo).


OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 ipv4-ipv6 dhcp v6
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, vlan id 11, vlan priority 3, protocol ipv4-ipv6,

mode pppoe, username of PPPoE account username, password, v6 mode, address mode

default atuo.
OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 priority 3 ipv4-ipv6 pppoe username username
password password v6
OLT(config-gpon-0/0)#

17.1.3 ont wan ipv6


ont wan port-id onu-id wan-index vlan (vlan-id [priority priority] |
Command Syntax untag) ipv6 [pppoe username username password password] v6
[auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]

Applicable Views GPON view

This command is used to add or modify an IPv6 wan and configure


the basic properties of the wan. When an IPv6 wan is added, its
Description
optional properties are the default options. When an IPv6 wan is
modified, its optional properties remain unchanged.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

wan-index wan index. The value ranges from 1 to 8.

vlan-id Configure the ONT management VLAN. After the configuration, only

347
GPON OLT User Manual

the configured vlan packets can pass through the WAN connection.
The value ranges from 1 to 4094.

Configure the priority of the ONT management VLAN to take effect


priority on the ONT. The higher the priority, the higher the priority. The value
ranges from 0 to 7. The default value is 0.

untag mode, WAN connections can only go through packets without


untag
vlan after configuration.

Configure WAN connections in pppoe mode.


username: indicates the username. The value is a string of 1 to 24
pppoe
characters
password: User password. It is a string of 1 to 24 characters

Configure how to get IPv6 addresses, the default is auto.


auto: Automatically selects the mode of obtaining an IPv6 address.
slaac: Stateless address automatic configuration. Slaac can obtain
v6 IPv6 global unicast addresses without the DHCPv6 server service.
dhcpv6: uses the dhcpv6 Protocol to obtain IPv6 addresses. Dynamic
Host Configuration Protocol for IPv6 is a network protocol used to
assign IPv6 addresses, prefixes, and DNS configurations.

Configure how to get dns addresses, the default is auto.


auto: Automatically selects the method of obtaining a dns address.
dns
slaac: stateless address automatic configuration.
dhcpv6: Obtains dns addresses using the dhcpv6 protocol.

[Configuration case]

Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv6, v6 mode default

(address mode default auto).


OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 ipv6 v6
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, vlan id is 11, vlan priority is 3, protocol is ipv6,

mode is pppoe, username of PPPoE account is username, password is password, v6 mode,

address mode defaults to auto.


OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 priority 3 ipv6 pppoe username username
password password v6
OLT(config-gpon-0/0)#

17.1.4 ont wan option


Command Syntax ont wan port-id onu-id wan-index option{mtu mtu | service-type

348
GPON OLT User Manual

(internet | other | tr069-internet | tr069-voice-internet |


voice-internet) | igmp-proxy (igmp-vlan-id | disable) | binding {eth
eth-port-list | ssid ssid-port-list | 5g-ssid 5G-ssid-port-list} }

ont wan port-id onu-id wan-index option{mtu mtu | service-type


( tr069 | tr069-voice | voice ) }

Applicable Views GPON view

This command is used to modify a wan and configure the optional


properties of a wan. If the configured wan does not exist, this
command fails to be executed.
Select at least one option in this command and enter it in sequence.
If you select the option in the rear first but not the option in the
Description front, the option in the front is no longer available.
If binding is selected, at least one class of ports is bound. Otherwise,
the command fails to be executed.
When the service type is tr069, voice, or TR069-VOICE, multicast
proxy and binding port cannot be configured, and the options
igmp-proxy and binging are no longer optional.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

wan-index wan index, which ranges from 1 to 8.

Maximum Transmission Unit (MTU). The MTU determines the


maximum number of bytes that the sender can send at a time. If the
MTU exceeds the maximum value that the receiver can bear or that a
device along the sending path can bear, packets will be fragmented
mtu
or even discarded, which increases the burden of network
transmission. In pppoe mode, the value ranges from 128-1492, and
the default value is 1492. In static and dhcp mode, the value ranges
from 576-1500, and the default value is 1500.

Service type. The default value is tr069-voice-internet. If the service


type type is tr069 or voice and TR069-voice, port binding and igmp-proxy
cannot be configured.

Multicast proxy, which is off by default.


igmp-vlan-id: Enables the multicast proxy and sets the multicast vlan.
igmp-proxy The value of the multicast vlan ranges from 1 to 4094. 4077-4094 is
occupied by the system and unavailable.
disable: Disables the multicast proxy.

349
GPON OLT User Manual

Port to be bound to the WAN, optional.


Eth-port-list: indicates the list of eth ports to be bound. The value
ranges from 1 to 8. The format is 1-2,4.
binding Ssid-port-list: indicates the list of ssid ports to be bound. The port
values range from 1 to 8. The input format is 1-2,4.
5g-SId-port-list: indicates the list of bound 5g ssid ports. The port
values range from 1 to 8. The input format is 1-2,4.

[Configuration case]

Case1: On port 0/0/1, configure wan1 on ONT 5 with the service type tr069.
OLT(config-gpon-0/0)# ont wan 1 5 1 option service-type tr069
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, configure the service type to internet+tr069,

enable multicast and configure the multicast vlan to 20, bind lan1 and lan3.
OLT(config-Gspoon-0/0)# ont wan 1 5 1 option service-type tr069-internet igmp-proxy 20
binding eth 1,3
OLT(config-gpon-0/0)#

17.1.5 show ont wan config


Command Syntax show ont wan config port-id onu-id

Applicable Views GPON view

This command is used to show the WAN configuration of the


Description
specified ONT device saved on the OLT.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

[Configuration case]

Case1: Show the WAN configuration of ONT 1 on port 0/0/1 saved on OLT.
OLT(config-gpon-0/0)# show ont wan config 1 1
-----------------------------------------------------------------------------
WAN ID :1
WAN Name : --
Version : IPv4
Connect mode : route
Connect type : Internet
VLAN mode : tag
VLAN id :1

350
GPON OLT User Manual

VLAN priority :3
IGMP proxy : enable
MVLAN id :1
MTU : 1500
DSP mode : DHCP
Bridge port binding : eth-1,
IPv4 address : 192.168.0.1
IPv4 mask : 255.255.255.0
IPv4 gateway : 192.168.0.1
IPv4 primary DNS : 8.8.8.8
IPv4 secondary DNS : 114.114.114.114
-----------------------------------------------------------------------------

17.1.6 show ont wan status


Command Syntax show ont wan status port-id onu-id

Applicable Views GPON view

This command is used to show the WAN configuration of a specified


Description
ONU device.

port-id Port number of the ONU to be configured.

onu-id ONT ID to be configured. The value ranges from 1 to 128.

[Configuration case]

Case1: Show the WAN configuration on ONT 1 on port 0/0/1.


OLT(config-gpon-0/0)# show ont wan status 1 1
-----------------------------------------------------------------------------
WAN ID :1
WAN Name : 1_INTERNET_R_VID_
Version : IPv6
Connection status : enable
Connect mode : route
Connect type : Internet
VLAN mode : untag
VLAN id : --
VLAN priority : --
IGMP proxy : enable
MVLAN id : --
MTU : 1500
DSP mode : DHCP
Bridge mode : --

351
GPON OLT User Manual

Bridge port binding : eth-1,


Automatically get IPv6 address : dhcpv6
DHCPv6 prefix delegation : disable
IPv6 address : --
IPv6 mask : --
IPv6 gateways : --
Automatically get DNS address : slaac
IPv6 primary DNS :-
IPv6 primary DNS :-
-----------------------------------------------------------------------------

352
GPON OLT User Manual

18 Log management
This chapter includes the following topics:

 Log configuration and query

18.1 Log configuration and query


18.1.1 logging buffer
logging buffer (alert | critical | emergency | error | informational |
notice | warning | flush)
Command Syntax

no logging buffer

Applicable Views config view

The "logging buffer" command is used to configure the logging level


of the log file (buffer) and write the buffer file to the destination file.
Description The "no logging buffer" command is used to cancel the user-set
logging level for the buffer and configure the logging level back to
the default value.

alert Immediate action required (severity =1)

critical Critical condition (severity =2)

emergency System unavailable (severity =0)

error Error condition (severity =3)

informational Informational message (severity =6)

notice Normal but important situation (severity =5)

warning Warning condition (severity =4)

flush Save the buffer log file to the destination file

[Configuration case]

Case1: Configure buffer log file The logging level is level 1 and requires immediate action
OLT(config)# logging buffer alert
OLT(config)#

353
GPON OLT User Manual

18.1.2 backup log-file


backup log-file (ftp ftp-server-ip-address user-name user-password
Command Syntax
file-name | tftp tftp-server-ip-address file-name)

Applicable Views enable view, config view

This command is used to manually save logs to an ftp server or tftp


Description
server.

ftp-server-ip-address ip address of the ftp server.

user-name ftp login user name.

user-password ftp login password.

file-name The name of the file the log is used to save

tftp-server-ip-address The ip address of the tftp server.

[Configuration case]

Case1: Save logs to the ftp server. The IP address of the ftp server is 192.168.1.223, the user

name is admin, the password is admin, and the file name is logback.
OLT(config)# backup log-file tftp 192.168.1.223 logback
Start backup log files
The backup is successful
OLT(config)#

18.1.3 erase log


Command Syntax erase log

Applicable Views config view

Description This command is used to clear all cached system logs.

[Configuration case]

Case1: Clear all cached system logs.


OLT(config)# erase log
Erase log successfully!
OLT(config)#

18.1.4 erase log file


Command Syntax erase log file

354
GPON OLT User Manual

Applicable Views enable view, config view

Description This command is used to clear all saved system log files.

[Configuration case]

Case1: Clear all saved system log files.


OLT(config)# erase log file
Erase log successed!
OLT(config)#

18.1.5 logging console


logging console (alert | critical | emergency | error | informational
| notice | warning)
Command Syntax

no logging console

Applicable Views config view

The "logging console" command is used to configure the logging


level of the log file (console).
Description The "no logging console" command is used to cancel the logging
level of the console set by the user and configure the logging level
back to the default value.

alert Immediate action required (severity =1)

critical Critical condition (severity =2)

emergency System unavailable (severity =0)

error Error condition (severity =3)

informational Informational message (severity =6)

notice Normal but important situation (severity =5)

warning Warning condition (severity =4)

[Configuration case]

Case1: The configuration Standard Output (console) logging level is 1 and requires immediate

action
OLT(config)# logging console alert
OLT(config)#

355
GPON OLT User Manual

18.1.6 logging monitor


logging monitor (alert | critical | emergency | error | informational
Command Syntax | notice | warning)
no logging monitor

Applicable Views config view

The "logging monitor" command is used to configure the logging


level of the terminal (monitor).
Description The "no logging monitor" command is used to cancel the logging
level of the terminal (monitor) set by the user and configure the
logging level back to the default value.

alert Immediate action required (severity =1)

critical Critical condition (severity =2)

emergency System unavailable (severity =0)

error Error condition (severity =3)

informational Informational message (severity =6)

notice Normal but important situation (severity =5)

warning Warning condition (severity =4)

[Configuration case]

Case1: Configuration Terminal (monitor) logging is at level 1 and requires immediate action
OLT(config)# logging monitor alert
OLT(config)#

18.1.7 show log


Command Syntax show log (all | operate | logon)

Applicable Views config view

Description This command is used to show logs.

all Show all logs.

operate Show the operation log.

logon Show login logs.

[Configuration case]

356
GPON OLT User Manual

Case1: Show operation logs.


OLT(config)# show log operate
%2024/06/28 01:04:42 OLT/5/CMD: [Console][unknown@unknown] cmd: show log all
%2024/06/28 01:04:14 OLT/5/CMD: [Console][unknown@unknown] cmd: no logging buffer
%2024/06/28 00:54:14 OLT/5/CMD: [Console][unknown@unknown] cmd: config
%2024/06/28 00:54:13 OLT/5/CMD: [Console][unknown@unknown] cmd: enable
%2024/06/28 00:18:21 OLT/5/CMD: [Console][unknown@unknown] failure cmd: syslog
OLT(config)#

18.1.8 show logging configure


Command Syntax show logging configure

Applicable Views enable view

Description This command is used to configure the log configuration

[Configuration case]

Case1: Show the configuration for logging.


OLT# show logging configure
Protocol name: ZEBRA
Syslog logging: level alert
Logfile logging: level alert
Console logging: level alert
Monitor logging: level alert
OLT#

18.1.9 show logging buffer


Command Syntax show logging buffer [level | modid | size]

Applicable Views enable view

This command is used to show buffer logs. You can filter buffer logs
Description based on different conditions. By default, the log level is info, the log
module category is all, and the log length is 1024.

Configure the logging level to view buffer logs. After setting, view
level logs whose level does not exceed the set level. The value ranges from
0 to 6, and the default is 6.

Configure the module category for viewing buffer logs. After setting,
modid view logs of the corresponding module category. The value ranges
from 0 to 31. By default, view logs of all module categories.

357
GPON OLT User Manual

Configure the buffer length to Show the buffer log, the value range is
size
1-1024, the default is 1024.

[Configuration case]

Case1: Show the buffer log.


OLT# show logging buffer
OLT#

18.1.10 syslog
Command Syntax syslog (enable | disable)

Applicable Views config view

This command is used to enable or disable whether OLT logs are sent
Description
to the server.

enable OLT's logs log to the server.

disable OLT's logs do not log to the server.

[Configuration case]

Case1: Configure the OLT log not to send logs to the server.
OLT(config)# syslog disable
OLT(config)#

18.1.11 syslog host


Command Syntax syslog host ip-address [port port-id]

Applicable Views config view

This command is used to configure the syslog server ip address. A


large amount of log information is generated when the device is
running, but the storage space of the device is relatively limited. This
command is used when you need to configure the log server to
Description
collect and store device logs. After a syslog server is added
successfully, some important device information can be recorded on
the host (also known as the log server) through the Syslog
mechanism.

ip-address IP address of the syslog server.

port-id syslog server port number.

[Configuration case]

358
GPON OLT User Manual

Case1: Configure the IP address of the log server to 192.168.90.99.


config)# syslog host 192.168.90.99
OLT(config)#

18.1.12 syslog severity


syslog severity (alert | critical | emergency | error | informational |
notice | warning)
Command Syntax

no syslog severity

Applicable Views config view

The "syslog severity" command is used to configure the severity of


system logs.
Description The "no syslog severity" command is used to cancel the level of the
system log set by the user and configure the level back to the default
value.

alert Immediate action required (severity =1)

critical Critical condition (severity =2)

emergency System unavailable (severity =0)

error Error condition (severity =3)

informational Informational message (severity =6)

notice Normal but important situation (severity =5)

warning Warning condition (severity =4)

[Configuration case]

Case1: Configuring a system log with a logging level of 1 requires immediate action
OLT(config)# syslog severity alert
OLT(config)#

359
GPON OLT User Manual

19 Alarm management and event management


This chapter includes the following topics:

 Alarm management and query

 Event management and query

19.1 Alarm management and query


19.1.1 alarm history clear all
Command Syntax alarm history clear all

Applicable Views config view

Description This command is used to clear the history of all alarm entries

[Configuration case]

Case1: Clear the history of all alarm entries.


OLT(config)# alarm history clear all
OLT(config)#

19.1.2 alarm jitter-interval


Command Syntax alarm jitter-interval < 0-60 >

Applicable Views config view

This command is used to configure the alarm anti-jitter period. After


this command is executed, the alarm jitter function is enabled and
Description the configuration takes effect. The system alarm is reported to the
NMS after one anti-jitter period. If the alarm status is recovered
within one anti-jitter period, the alarm is not reported to the NMS.

< 0-60 > The value ranges from 1 to 60, in seconds. 0 indicates disable

[Configuration case]

Case1: Configure the alarm jitter prevention period to 3 seconds.


OLT(config)# alarm jitter-interval 3

360
GPON OLT User Manual

OLT(config)#

19.1.3 alarm output all


Command Syntax alarm output all ( enable | disable )

Applicable Views config view

This command is used to enable or disable the output of all alarms. If


this command is enabled, all alarms are allowed to be reported to
Description
the NMS. If the alarm is disabled, all alarms are not allowed to be
reported to the NMS. The default value is disable.

enable: enables the function


enable | disable
disable: disables the function

[Configuration case]

Case1: Disables the output of all alarms.


OLT(config)# alarm output all disable

OLT(config)#

19.1.4 alarm output detail


Command Syntax alarm output detail ( enable | disable )

Applicable Views config view

This command is used to enable or disable the output function of


alarm details. When enabled, the detailed alarm information is
Description
output. When it is disabled, simple alarm information is showed. The
default value is off.

enable: enables the output function of alarm details


enable | disable
disable: disables the output of alarm details

[Configuration case]

Case1: Disables the alarm output details function.


OLT(config)# alarm output detail disable
OLT(config)#

19.1.5 alarm report


Command Syntax alarm report port-list switch

Applicable Views GPON view

361
GPON OLT User Manual

This command is used to enable or disable the alarm reporting


Description
function.

Ports to be configured. The value ranges from 1 to 16. The format is


port-list
1, 6-7, 8.

enable: enables the switch


switch
disable: disables the function

[Configuration case]

Case1: Disables the gpon 1 port alarm reporting function.


OLT(config-gpon-0/0)# alarm report 1 disable
OLT(config-gpon-0/0)#

19.1.6 show alarm active all


Command Syntax OLT(config)# show alarm active all [detail]

Applicable Views config view

Description This command is used to show alarm entries

detail Alarm entry details edition

[Configuration case]

Case1: Show active alarm entries.


OLT(config)# show alarm active all
----------------------------------------------------------------------------
AlarmId Time Instance Name
----------------------------------------------------------------------------
1000203 2018-06-23 20:26:33 PON 0/0/5 This tranceiver is not adapted,The default
type will be used
1000211 2018-06-23 20:27:33 PON 0/0/5 The bias current of the optical port is higher
than the warning upper threshold or lower than the warning lower threshold
1000524 2018-06-23 20:26:53 PON 0/0/5 ONU: 5 The ONT CATV Rx power exceeds the
alarm threshold
1000526 2018-06-23 20:26:53 PON 0/0/5 ONU: 5 The ONT CATV Tx power exceeds the
alarm threshold
1000528 2018-06-23 20:26:53 PON 0/0/5 ONU: 5 The ONT CATV voltage exceeds the
alarm threshold
1000530 2018-06-23 20:26:53 PON 0/0/5 ONU: 5 The ONT CATV temperature exceeds
the alarm threshold
total number : 6
OLT(config)#

362
GPON OLT User Manual

19.1.7 show alarm history all


Command Syntax show alarm history all [detail]

Applicable Views config view

Description This command is used to show the history of alarm entries

detail Alarm entry detailed edition

[Configuration case]

Case1: Show all historical alarms.


OLT(config)# show alarm history all
----------------------------------------------------------------------------
AlarmId Time Instance Name
----------------------------------------------------------------------------
1000201 2018-06-24 18:05:15 PON 0/0/5 Loss of signal(LOS)
total number : 1
OLT(config)#

19.1.8 show alarm list


Command Syntax show alarm list

Applicable Views config view

Description This command is used to query the basic alarm information.

[Configuration case]

Case1: Show basic alarm information about the OLT.


OLT(config)# show alarm list
----------------------------------------------------------------------------
AlarmId Output Level Def Level Name
100102 Yes Major Major The board reset
100104 Yes Warning Warning The temperature is abnormal
100105 Yes Major Major The fan is abnormal
100107 Yes Major Major The device power fault
100203 Yes Critical Critical sni port link down
100204 Yes Major Major Port state change disable
100306 Yes Warning Warning Dying gasp(DGi)
100315 Yes Major Major The performance statistics upper crossed
100316 Yes Major Major The performance statistics lower crossed
1000001 Yes Major Major Loss of signal(LOS)
1000003 Yes Major Major Rogue ONT detected

363
GPON OLT User Manual

1000004 Yes Major Major Do not support this tranceiver


1000005 Yes Major Major Loss of signal for ONT(LOSi)
1000006 Yes Major Major Loss of frame for ONT(LOFi)
1000007 Yes Major Major Loss of acknowledge from ONT(LOAi)
1000008 Yes Major Major Signal fail of ONT(SFi)
1000009 Yes Major Major Signal degrade ONT(SDi)
1000010 Yes Major Major Loss of GEM channel delineation of
ONT(LCDGi)
1000012 Yes Major Major ONT does not react correctly after deactive
or disable(DFi)
1000013 Yes Major Major PLOAM loss for ONT(LOAMi)
----------------------------------------------------------------------------
OLT(config)#

19.2 Event management and queries


19.2.1 event history clear all
Command Syntax event history clear all

Applicable Views config view

Description This command is used to clear basic information about all events

[Configuration case]

Case1: Clear the basic information for all events.


OLT(config)# event history clear all
OLT(config)#

19.2.2 event output all


Command Syntax event output all ( enable | disable )

Applicable Views config view

This command is used to set how all events are output in the
command line terminal. When the status is enable, all events can be
Description
output in the command line. Otherwise the reverse is true. The
default value is disable.

enable: enables the function


enable | disable
disable: disables.

[Configuration case]

Case1: Turn off all event output functions.

364
GPON OLT User Manual

OLT(config)# event output all disable

OLT(config)#

19.2.3 event output detail


Command Syntax event output detail ( enable | disable )

Applicable Views config view

This command is used to configure the event output details function


on or off. When the status is on, the event details can be output in
Description
the command line. When the status is off, only simple event
information can be output. The default value is off.

enable: enables or disables the function for outputting event details


enable | disable
disable: disables the event detail output function

[Configuration case]

Case1: Enable event output details.


OLT(config)# event output detail enable

OLT(config)#

19.2.4 event report


Command Syntax event report port-list ( enable | disable )

Applicable Views GPON view/ge view/xge view

Description This command is used to configure the event report switch.

port-list Specify the port on which to switch event reports

enable: On
enable | disable
disable: off

[Configuration case]

Case1: Enable gpon 1 port event reporting.


OLT(config-gpon-0/0)# event report 1 disable
OLT(config-gpon-0/0)#

19.2.5 show event history all


Command Syntax show event history all [detail]

365
GPON OLT User Manual

Applicable Views config view

Description This command is used to show historical information about the event

detail Event entry detail edition

[Configuration case]

Case1: Show historical information about the event.


OLT(config)# show event history all
----------------------------------------------------------------------------
AlarmId Time Instance Name
----------------------------------------------------------------------------
total number : 0
OLT(config)#

19.2.6 show event list


Command Syntax show event list

Applicable Views config view

Description This command is used to show the basic information about the event

[Configuration case]

Case1: Show basic information about the event.


OLT(config)# show event list
----------------------------------------------------------------------------
EventId Output Level Def Level Name
113001 Yes Warning Warning ONT online
113002 Yes Warning Warning ONT offline
1100001 Yes Warning Warning SN collision
1100002 Yes Warning Warning Ranging failed
1100003 Yes Warning Warning Active failed
1100004 Yes Warning Warning ONT pwd auth failed
1100005 Yes Warning Warning Assign omci port for the ONT failed
1100008 Yes Warning Warning Pon Drv connection Device fail
----------------------------------------------------------------------------
OLT(config)#

366
GPON OLT User Manual

367
GPON OLT User Manual

20 Iptable Access Control


This chapter includes the following topics:

 iptable default rules

 iptable Access rules Configuration

 Login Method Control

20.1 iptable default rules


20.1.1 service default policy
Command Syntax service default policy (deny|permit)

Applicable Views enable view、config view

This command is used to configure the default access rule for iptable.
The default access rule is the rule with the lowest priority for iptable
access rules. If other access rules cannot match IP connection
Description
requests, the default access rule will match them. The default access
rules can be modified but not deleted, and other iptable rules can be
created, modified, and deleted.

When the default access rule of an iptable is deny, it indicates that


the firewall denies all IP connections by default. Configuring other
deny
iptable permission access rules together can achieve whitelist
functionality.

When the default access rule for iptables is' allow ', it indicates that
the firewall defaults to all IP connections. By configuring the deny
permit
access rules of other iptables together, it can achieve blacklist
functionality.

[Configuration case]

Case1:Configure the default access rule for iptable to allow all IP connections.
OLT(config)# service default policy permit
OLT(config)#

20.1.2 show service default policy


Command Syntax show service default policy

368
GPON OLT User Manual

Applicable Views enable view、config view

Description This command is used to show the default access rules for iptables.

[Configuration case]

Case1:Show the default access rules for the current iptable.


OLT(config)# show service default policy
----------------------------------------------------------------------------
Service Default Policy : PERMIT
----------------------------------------------------------------------------

20.2 iptable access rules configuration


20.2.1 service
service (telnet|ssh|http|https|snmp) (
add rule range A.B.C.D to A.B.C.D (permit|deny) |
insert rule rule-id range A.B.C.D to A.B.C.D (permit|deny) |
Command Syntax delete rule rule-id |
modify rule rule-id (range A.B.C.D to A.B.C.D | (permit|deny)) |
rule clear
)

Applicable Views enable view、config view

This command is used to add, delete, modify, and check the access
rules of iptable. The access rules of iptable are used to configure
Description
whether to allow IP addresses within the IP range to pass through
the firewall.

Device login method, different login methods can configure their


telnet|ssh|http|https
own firewall rules, and each device login method has a separate
|snmp
table to store firewall rules in the device.

add|insert|delete|m Add, delete, modify, and check firewall rules for specific device login
odify methods.

clear Clear all firewall rules for specific device login methods.

The rule number used to specify the specific device login method for
rule-id firewall rules, with a range of 1-10. This number uniquely
corresponds to an iptable access rule number.

range The IP range used to configure access rules.

369
GPON OLT User Manual

Used to specify the starting IP address and ending IP address of the


A.B.C.D
IP range.

permit Allow IP addresses within the IP range to pass through the firewall

Deny IP addresses within the IP range from passing through the


deny
firewall

[Configuration case]

Case1:Add an access rule for telnet device login methods that allows IP addresses from

192.168.1.1 to 192.168.1.10 to pass through the firewall.


OLT(config)# service telnet add rule range 192.168.1.1 to 192.168.1.10 permit
OLT(config)#

20.2.2 show service


Command Syntax show service (telnet|ssh|http|https|snmp) rule

Applicable Views enable view、config view

This command is used to show the firewall access rules for specific
Description
login methods.

Device login method, different login methods can configure their


telnet|ssh|http|https
own firewall rules, and each device login method has a separate
|snmp
table to store firewall rules in the device.

[Configuration case]

Case1:Show firewall rules for telnet device login methods.


OLT(config)# show service telnet rule
----------------------------------------------------------------------------
index iptable-index start-ip end-ip action
----------------------------------------------------------------------------
1 5 192.168.1.1 192.168.1.10 PERMIT
----------------------------------------------------------------------------
service telnet total rules num : 1
----------------------------------------------------------------------------
OLT(config)#

20.3 Login Method Control


370
GPON OLT User Manual

20.3.1 service
Command Syntax service (telnet|ssh|http|https|snmp) (enable service-port|disable)

Applicable Views enable view、config view

Description This command is used to enable different device login methods.

telnet|ssh|http|https
Device login method.
|snmp

enable Enable specific device login methods.

service-port Configure the port number used for specific device login methods.

disable Prohibit specific device login methods.

[Configuration case]

Case1:Enable SSH device login method and configure the UDP port number used for SSH device

login method to be 27.


OLT(config)# service ssh enable 27
OLT(config)#

20.3.2 show service


Command Syntax show service status

Applicable Views enable view、config view

Description This command is used to enable different device login methods.

[Configuration case]

Case1:Check the device login status.


OLT(config)# show service status

----------------------------------------------------------------------------
SERVICE PORT DEFAULT PORT STATUS
telnet 23 23 enable
ssh 27 22 enable
http 80 80 enable
https 443 443 enable
snmp 161 161 disable

371
GPON OLT User Manual

----------------------------------------------------------------------------

20.3.3 telnet
Command Syntax telnet A.B.C.D {service-port}

Applicable Views enable view、config view

Description This command is used to remotely log in to the device using telnet.

A.B.C.D Remote device IP address.

service-port Configure the port number used for specific device login methods.

[Configuration case]

Case1:Use telnet to remotely log in to 192.168.90.113.


OLT(config)# telnet 192.168.90.113

User Access Verification

372

You might also like