0% found this document useful (0 votes)
1 views

C Data FD16XX User Manual Command Reference 0618

The C-DATA GPON OLT User Manual (Version 2.0) provides comprehensive guidance on the operation and management of the GPON OLT device, including command references, port management, and configuration settings. It includes detailed sections on Layer 2 and Layer 3 commands, ACL management, service configuration, and diagnostic management. The document emphasizes copyright restrictions and the potential for content updates without prior notice.

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)
1 views

C Data FD16XX User Manual Command Reference 0618

The C-DATA GPON OLT User Manual (Version 2.0) provides comprehensive guidance on the operation and management of the GPON OLT device, including command references, port management, and configuration settings. It includes detailed sections on Layer 2 and Layer 3 commands, ACL management, service configuration, and diagnostic management. The document emphasizes copyright restrictions and the potential for content updates without prior notice.

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/ 511

C-DATA GPON OLT

User Manual
FD16XX

--Command Reference

Version: V2.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
2.0 2024-6-18
GPON OLT User Manual

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

1
GPON OLT User Manual

3.2.3 mac-address limit .......................................................................................................................... 43


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

2
GPON OLT User Manual

6.1.1 commit ...........................................................................................................................................74


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

3
GPON OLT User Manual

6.4.14 port multicast-vlan ....................................................................................................................114


6.4.15 port native-vlan .........................................................................................................................115
6.4.16 port vlan .................................................................................................................................... 117
6.4.17 show ont-srv-profile ..................................................................................................................124
6.4.18 show ont-srv-profile current .....................................................................................................125
6.4.19 veip ............................................................................................................................................ 127
6.4.20 ipconfig ......................................................................................................................................127
6.5 Service profiles discrete configuration .................................................................................................. 129
6.5.1 ont loopdetect .............................................................................................................................129
6.5.2 ont mac-aging ..............................................................................................................................130
6.5.3 ont mac-learning ......................................................................................................................... 130
6.5.4 ont multicast fast-leave .............................................................................................................. 131
6.5.5 ont multicast mode ..................................................................................................................... 132
6.5.6 ont native-vlan ............................................................................................................................ 133
6.5.7 ont ont-port .................................................................................................................................133
6.5.8 ont port attribute max-frame-size ..............................................................................................134
6.5.9 ont port attribute max-mac-count ............................................................................................. 135
6.5.10 ont port igmp-forward .............................................................................................................. 136
6.5.11 ont port multicast-forward ....................................................................................................... 136
6.5.12 ont port multicast-vlan ............................................................................................................. 137
6.5.13 ont port native-vlan .................................................................................................................. 138
6.5.14 ont port vlan ..............................................................................................................................139
6.5.15 ont veip ......................................................................................................................................142
6.5.16ont ipconfig ................................................................................................................................ 143
6.5.17ont ipconfig(extend) ...................................................................................................................145
6.5.18ont port car ................................................................................................................................ 146
6.6 Virtual port configuration ...................................................................................................................... 147
6.6.1 service-port ................................................................................................................................. 147
6.6.2 service-port desc ......................................................................................................................... 151
6.6.3 service-port srvport-list adminstatus ......................................................................................... 152
6.6.4 service-port srvport-list tag-action ............................................................................................. 152
6.6.5 service-port srvport-list traffic-profile ........................................................................................154
6.6.6 service-port statistics .................................................................................................................. 155
6.6.7 show service-port ........................................................................................................................156
6.6.8 show service-port statistics .........................................................................................................158
6.6.9 show statistic service-port .......................................................................................................... 160
6.7 TR069 profile configuration ................................................................................................................... 160
6.7.1 acs ................................................................................................................................................160
6.7.2 commit ........................................................................................................................................ 161
6.7.3 cpe ............................................................................................................................................... 161
6.7.4 inform .......................................................................................................................................... 162
6.7.5 ip-index ........................................................................................................................................162
6.7.6 ont-tr069-profile ......................................................................................................................... 163
6.7.7 tr069-management ..................................................................................................................... 163

4
GPON OLT User Manual

6.7.8 show ont-tr069-profile current ...................................................................................................164


6.8 TR069 discrete configuration .................................................................................................................165
6.8.1 tr069 acs ...................................................................................................................................... 165
6.8.2 tr069 cpe ..................................................................................................................................... 166
6.8.3 tr069 inform ................................................................................................................................ 166
6.8.4 tr069 ip-index .............................................................................................................................. 167
6.8.5 tr069-management ..................................................................................................................... 167
6.9 traffic profile configuration ....................................................................................................................168
6.9.1 show traffic-profile ......................................................................................................................168
6.9.2 traffic-profile ............................................................................................................................... 168
6.10 Multi-service profile configuration ...................................................................................................... 169
6.10.1 commit ...................................................................................................................................... 169
6.10.2 ont mult-srv-profile ...................................................................................................................170
6.10.3 ont-line-profile .......................................................................................................................... 170
6.10.4 ont-srv-profile ........................................................................................................................... 171
6.10.5ont-tr069-profile ........................................................................................................................ 171
6.10.6ont-wan-profile .......................................................................................................................... 172
6.10.7show mult-srv-profile .................................................................................................................172
6.11 ipconfig Profile ............................................................................................................................. 173
6.11.1commit ....................................................................................................................................... 173
6.11.2 ipconfig-profile .......................................................................................................................... 173
6.11.3 connection-type ........................................................................................................................ 174
6.11.4 nat ..............................................................................................................................................174
6.11.5 Service internet ......................................................................................................................... 175
6.11.6 binding .......................................................................................................................................175
6.11.7 multicast-forward ......................................................................................................................175
6.11.8 show ipconfig-profile ................................................................................................................ 176
7 Diagnostic management ....................................................................................................................................177
7.1 Mirroring function ..................................................................................................................................177
7.1.1 mirror ...........................................................................................................................................177
7.1.2 show mirror .................................................................................................................................178
7.2 Rogue ONU detection ............................................................................................................................ 179
7.2.1 anti-rogueont auto-check ........................................................................................................... 179
7.2.2 anti-rogueont auto-isolate ..........................................................................................................179
7.2.3 anti-rogueont manual-check .......................................................................................................180
7.2.4 anti-rogueont manual-detect ..................................................................................................... 180
7.2.5 ont re-enable ...............................................................................................................................181
7.2.6 show anti-rogueont .....................................................................................................................181
7.2.7 show anti-rogueont config ..........................................................................................................182
7.3 Loop detection ....................................................................................................................................... 183
7.3.1 loopback-detection ..................................................................................................................... 183
7.3.2 loopback-detection action .......................................................................................................... 183
7.3.3 loopback-detection interval-time ............................................................................................... 184
7.3.4 loopback-detection packet vlan ..................................................................................................184

5
GPON OLT User Manual

7.3.5 loopback-detection recovery-time ............................................................................................. 185


7.3.6 show loopback-detection ............................................................................................................185
7.4 Optical module Alarms ...........................................................................................................................186
7.4.1 bias-current ................................................................................................................................. 186
7.4.2 show optical-alarm-profile ..........................................................................................................187
7.4.3 ont-catv ....................................................................................................................................... 189
7.4.4 optical-alarm-profile ................................................................................................................... 190
7.4.5 power-rx ...................................................................................................................................... 191
7.4.6 power-tx ...................................................................................................................................... 191
7.4.7 temperature ................................................................................................................................ 192
7.4.8 voltage ......................................................................................................................................... 192
7.5 Performance statistics ............................................................................................................................193
7.5.1 reset statistics ethernet .............................................................................................................. 193
7.5.2 reset statistics gem ..................................................................................................................... 193
7.5.3 reset statistics pon ...................................................................................................................... 194
7.5.4 reset statistics port ......................................................................................................................194
7.5.5 show statistics current | history ................................................................................................. 195
7.5.6 show statistics ethernet ..............................................................................................................196
7.5.7 show statistics gem ..................................................................................................................... 197
7.5.8 show statistics ont-eth-performance ......................................................................................... 198
7.5.9 show statistics port ..................................................................................................................... 199
7.5.10 statistics history ........................................................................................................................ 200
7.6 SNMP management ............................................................................................................................... 200
7.6.1 show snmp-agent sys-info .......................................................................................................... 200
7.6.2 snmp-agent community ..............................................................................................................201
7.6.3 snmp-agent sys-info ....................................................................................................................201
7.6.4 snmp-agent trap ..........................................................................................................................202
7.7 SNMPv3 manage .................................................................................................................................... 203
7.7.1snmp-agent group v3 authentcation ...........................................................................................203
7.7.2snmp-agent group v3 noauth ...................................................................................................... 203
7.7.3snmp-agent group v3 privacy ...................................................................................................... 204
7.7.4 snmp-agent usm-user v3 ............................................................................................................ 204
7.7.5show snmp-agent usm-user .........................................................................................................205
8 OLT protection management ............................................................................................................................ 207
8.1 Link aggregation function .......................................................................................................................207
8.1.1 lacp system priority .....................................................................................................................207
8.1.2 lacp timeout ................................................................................................................................ 207
8.1.3 link-aggregation group ................................................................................................................208
8.1.4 load-balance ................................................................................................................................ 208
8.1.5 member add | delete ..................................................................................................................209
8.1.6 port-priority .................................................................................................................................210
8.1.7 show link-aggregation all ............................................................................................................ 210
8.1.8 show link-aggregation group ...................................................................................................... 211
9 Device management ..........................................................................................................................................213

6
GPON OLT User Manual

9.1 Equipment configuration ....................................................................................................................... 213


9.1.1 end ...............................................................................................................................................213
9.1.2 exec-timeout ............................................................................................................................... 213
9.1.3 ip address .................................................................................................................................... 214
9.1.4 logout .......................................................................................................................................... 215
9.1.5 reboot .......................................................................................................................................... 215
9.1.6 show device .................................................................................................................................215
9.1.7 show exec-timeout ......................................................................................................................216
9.1.8 sysname .......................................................................................................................................216
9.1.9user login terminal-type ...............................................................................................................217
9.2 Status detection ..................................................................................................................................... 217
9.2.1 fan speed mode ...........................................................................................................................217
9.2.2 ntp-service ...................................................................................................................................218
9.2.3 ntp-service refclock-master ........................................................................................................ 218
9.2.4 ntp-service sync-interval .............................................................................................................219
9.2.5 show cpu ..................................................................................................................................... 219
9.2.6 show fan ...................................................................................................................................... 220
9.2.7 show flash ....................................................................................................................................220
9.2.8 show memory ..............................................................................................................................221
9.2.9 show ntp-service status .............................................................................................................. 221
9.2.10 show temperature threshold ....................................................................................................221
9.2.11 show time ..................................................................................................................................222
9.2.12 show timezone .......................................................................................................................... 222
9.2.13 show uptime ..............................................................................................................................222
9.2.14 temperature threshold-high ..................................................................................................... 223
9.2.15 time ........................................................................................................................................... 223
9.2.16 time dst ......................................................................................................................................224
9.2.17 timezone ....................................................................................................................................224
9.3 Config management ............................................................................................................................... 225
9.3.1auto-backup configuration interval-time .................................................................................... 225
9.3.2auto-backup configuration absolute-time ...................................................................................225
9.3.3auto-backup configuration ftp .....................................................................................................226
9.3.4auto-backup configuration tftp ................................................................................................... 226
9.3.5auto-save configuration absolute-time ....................................................................................... 227
9.3.6auto-save configuration interval-time .........................................................................................227
9.3.7 backup save-config format ftp ....................................................................................................228
9.3.8backup save-config format tftp ................................................................................................... 228
9.3.9erase saved-config ....................................................................................................................... 229
9.3.10load saved-config ftp ..................................................................................................................229
9.3.11load saved-config tftp ................................................................................................................ 230
9.3.12Save ............................................................................................................................................ 230
9.3.13Show auto-save configuration config ........................................................................................ 231
9.3.14show auto-backup configuration config ....................................................................................231
9.3.15show current-config ................................................................................................................... 232

7
GPON OLT User Manual

9.3.16show current-config section ...................................................................................................... 233


9.3.17show saved-config ......................................................................................................................234
9.4 OLT upgrade ........................................................................................................................................... 235
9.4.1 firmware switch ...........................................................................................................................235
9.4.2 flash file cp ...................................................................................................................................235
9.4.3 flash file delete ............................................................................................................................ 236
9.4.4 flash file mv ................................................................................................................................. 236
9.4.5 load file to flash ...........................................................................................................................236
9.4.6 load packetfile ftp ....................................................................................................................... 237
9.4.7 load packetfile tftp ...................................................................................................................... 238
9.4.8 show firmware info ..................................................................................................................... 238
9.4.9 show flash file ..............................................................................................................................239
9.5 USB function ........................................................................................................................................... 239
9.5.1show usb file .................................................................................................................................239
9.5.2usb file delete ...............................................................................................................................240
9.5.3load packetfile usb ....................................................................................................................... 241
9.5.4load saved-config usb .................................................................................................................. 241
9.5.5backup saved-config usb ..............................................................................................................242
9.5.6backup log usb ..............................................................................................................................242
9.5.7load file to flash usb ..................................................................................................................... 243
9.6 BBU function ...........................................................................................................................................243
9.6.1 Show bbu state ............................................................................................................................243
9.6.2 bbu temperature high-alarm-threshold ..................................................................................... 244
9.6.3 bbu temperature threshold ........................................................................................................ 245
9.6.4 BBU reboot .................................................................................................................................. 245
9.6.5 bbu restore-factory ..................................................................................................................... 246
9.6.6 load file to flash ...........................................................................................................................246
9.6.7 bbu upgrade ................................................................................................................................ 247
10 Multicast configuration management ............................................................................................................ 249
10.1 OLT multicast configuration management .......................................................................................... 249
10.1.1 igmp fast-leave ..........................................................................................................................249
10.1.2 igmp general-query-interval ..................................................................................................... 249
10.1.3 igmp general-query-response ...................................................................................................250
10.1.4 igmp mode ................................................................................................................................ 250
10.1.5 igmp multicast-unknown .......................................................................................................... 251
10.1.6 igmp policy ................................................................................................................................ 252
10.1.7 igmp program add .....................................................................................................................252
10.1.8 igmp program delete ................................................................................................................ 253
10.1.9 igmp querier .............................................................................................................................. 253
10.1.10 igmp robustness ......................................................................................................................254
10.1.11 igmp router-port ..................................................................................................................... 254
10.1.12 igmp source-ip .........................................................................................................................255
10.1.13 igmp special-query-count ....................................................................................................... 255
10.1.14 igmp special-query-interval .................................................................................................... 255

8
GPON OLT User Manual

10.1.15 igmp special-query-response ..................................................................................................256


10.1.16 igmp static-group .................................................................................................................... 256
10.1.17 multicast-vlan ..........................................................................................................................257
10.1.18 reset igmp ................................................................................................................................257
10.1.19 show igmp group .....................................................................................................................258
10.1.20 show multicast-vlan ................................................................................................................ 258
11 QOS Configuration management .................................................................................................................... 260
11.1 Traffic management based on ACL rules ............................................................................................. 260
11.1.1 packet-filter ............................................................................................................................... 260
11.1.2 show traffic ................................................................................................................................261
11.1.3 show packet-filter ..................................................................................................................... 262
11.1.4 traffic-limit .................................................................................................................................262
11.1.5 traffic-mirror ............................................................................................................................. 264
11.1.6 traffic-redirect ........................................................................................................................... 265
11.1.7 traffic-statistic ........................................................................................................................... 266
12 DHCP function configuration .......................................................................................................................... 267
12.1 DHCP Client function configuration ..................................................................................................... 267
12.1.1 dhcp-client .................................................................................................................................267
12.1.2 dhcp-client option60 .................................................................................................................267
12.1.3 dhcp-client release ....................................................................................................................268
12.1.4 dhcp-client renew ..................................................................................................................... 268
12.2 DHCP option82 ..................................................................................................................................... 269
12.2.1 dhcp option82 ........................................................................................................................... 269
12.2.2 dhcp option82 format ............................................................................................................... 269
12.2.3 dhcp option82 format user-define ........................................................................................... 270
12.2.4 dhcp option82 policy .................................................................................................................270
12.2.5 dhcp option82 vlan-policy .........................................................................................................271
12.2.6 show dhcp option82 config .......................................................................................................272
12.3 DHCP relay ............................................................................................................................................272
12.3.1 dhcp-relay ..................................................................................................................................272
12.3.2 dhcp-relay server ...................................................................................................................... 273
12.3.3 show dhcp-relay config ............................................................................................................. 273
12.4 DHCP snooping ..................................................................................................................................... 273
12.4.1 dhcp-snooping ...........................................................................................................................273
12.4.2 dhcp-snooping chaddr-check ....................................................................................................274
12.4.3 dhcp-snooping limit-rate .......................................................................................................... 274
12.4.4 dhcp-snooping trust .................................................................................................................. 275
12.4.5 show dhcp-snooping config ...................................................................................................... 275
12.5 DHCP security-table ............................................................................................................................. 276
12.5.1 dhcp security-table clear ...........................................................................................................276
12.5.2 dhcp security-table delete-time ............................................................................................... 277
12.5.3 dhcp security-table static ..........................................................................................................277
12.5.4 dhcp security-table vlan ............................................................................................................278
12.5.5 show dhcp security-table ..........................................................................................................278

9
GPON OLT User Manual

12.6 DHCP Server ......................................................................................................................................... 279


12.6.1dhcp-server ................................................................................................................................ 279
12.6.2dhcp-server vlanif ...................................................................................................................... 280
12.6.3dhcp-server ip-range ..................................................................................................................280
12.6.4dhcp-server mask .......................................................................................................................280
12.6.5dhcp-server gateway ..................................................................................................................281
12.6.6dhcp-server dns ..........................................................................................................................281
12.6.7dhcp-server nbns ........................................................................................................................281
12.6.8dhcp-server lease-time .............................................................................................................. 282
12.6.9dhcp-server static-bind .............................................................................................................. 282
12.6.10dhcp-server server-name .........................................................................................................283
12.6.11dhcp-server (enable|disable) .................................................................................................. 283
12.6.12show dhcp-server .....................................................................................................................284
12.7 IPSG .......................................................................................................................................................285
12.7.1ip-source check binding ............................................................................................................. 285
12.7.2ip-source check dhcp ................................................................................................................. 285
12.7.3ip-source check port .................................................................................................................. 286
12.7.4 ip-source check static ................................................................................................................286
12.7.5show ip-source check brief ........................................................................................................ 287
12.7.6show ip-source check config ......................................................................................................287
12.7.7show ip-source check .................................................................................................................288
13 AAA function configuration .............................................................................................................................290
13.1 Radius Server Configuration ................................................................................................................ 290
13.1.1 authentication ...........................................................................................................................290
13.1.2 radius .........................................................................................................................................290
13.1.3 show radius configuration ........................................................................................................ 291
13.2 Tacacs+ server configuration ............................................................................................................... 291
13.2.1 authentication ...........................................................................................................................291
13.2.2 authorization ............................................................................................................................. 292
13.2.3 show tacacs+ configuration ...................................................................................................... 293
13.2.4 tacacs+ .......................................................................................................................................293
13.3 AAA mode configuration ......................................................................................................................294
13.3.1 aaa ............................................................................................................................................. 294
13.3.2 aaa-protocol .............................................................................................................................. 294
13.3.3 domain .......................................................................................................................................294
13.3.4 radius .........................................................................................................................................295
13.3.5 show domain .............................................................................................................................295
13.3.6 tacacs+ .......................................................................................................................................296
13.3.7 username ...................................................................................................................................297
14 ONT Management ........................................................................................................................................... 298
14.1 ONT Authentication Configuration ...................................................................................................... 298
14.1.1 ont add by loid-auth ..................................................................................................................298
14.1.2 ont add by loid-auth password ................................................................................................. 300
14.1.3 ont add by password .................................................................................................................301

10
GPON OLT User Manual

14.1.4 ont add by sn-auth .................................................................................................................... 303


14.1.5 ont add by sn-auth password ................................................................................................... 304
14.1.6 ont authmode ........................................................................................................................... 306
14.1.7 ont autofind ...............................................................................................................................307
14.1.8 ont autofind all ..........................................................................................................................307
14.1.9 ont blacklist ............................................................................................................................... 308
14.1.10 ont blacklist add ...................................................................................................................... 308
14.1.11 ont blacklist delete ..................................................................................................................308
14.1.12 ont confirm ..............................................................................................................................309
14.1.13 ont modify ............................................................................................................................... 311
14.1.15 ont quiet-period ...................................................................................................................... 313
14.1.16 ont re-register ......................................................................................................................... 313
14.1.17 show ont autofind ...................................................................................................................314
14.1.18 show ont blacklist ....................................................................................................................315
14.1.19 show ont info .......................................................................................................................... 315
14.2 Basic ONT Management .......................................................................................................................319
14.2.1 ont activate ............................................................................................................................... 319
14.2.2 ont deactivate ........................................................................................................................... 319
14.2.3 ont delete .................................................................................................................................. 320
14.2.4 ont description .......................................................................................................................... 321
14.2.5ont reboot .................................................................................................................................. 321
14.2.6ont restore-factory .....................................................................................................................322
14.2.7ont tr069-profile .........................................................................................................................322
14.2.8show ont catv-info ..................................................................................................................... 323
14.2.9show ont config-capability .........................................................................................................324
14.2.10show ont failed-config ............................................................................................................. 324
14.2.11show ont ipconfig .....................................................................................................................325
14.2.12show ont optical-info ............................................................................................................... 326
14.2.13show ont port state ..................................................................................................................327
14.2.14show ont register-statistics ......................................................................................................327
14.2.15show ont run-info .................................................................................................................... 328
14.2.16show ont status-count ............................................................................................................. 328
14.2.17show ont version ......................................................................................................................329
14.3 ONT Port Management ........................................................................................................................ 330
14.3.1 encryption ................................................................................................................................. 330
14.3.2 key-exchange-interval ...............................................................................................................330
14.3.3 ont (enable|disable) ................................................................................................................. 331
14.3.4 ont auto-aging ........................................................................................................................... 331
14.3.5 ont auto-aging all ...................................................................................................................... 332
14.3.6 ont moving-check ......................................................................................................................332
14.3.7 ont optical-alarm-profile ...........................................................................................................333
14.3.8 ont policy-auth .......................................................................................................................... 333
14.3.9 ont port attribute catv .............................................................................................................. 335
14.3.10 ont port attribute eth ..............................................................................................................336

11
GPON OLT User Manual

14.3.11 ont port attribute pots ............................................................................................................337


14.3.12 ont re-enable ...........................................................................................................................338
14.3.13 show encryption ......................................................................................................................338
14.3.14 show key-exchange .................................................................................................................339
14.3.15 show ont auto-aging info ........................................................................................................ 339
14.3.16 show ont disable-info ..............................................................................................................339
14.3.17 show ont moving-check .......................................................................................................... 340
14.3.18 show ont port attribute .......................................................................................................... 340
14.3.19 show ont port car ....................................................................................................................341
14.3.20 show ont port learned-mac .................................................................................................... 342
14.3.21 show ont status-count ............................................................................................................ 342
14.3.22 transceiver-compat ................................................................................................................. 343
15 ONT upgrade configuration .............................................................................................................................345
15.1 ONT Automatic upgrade ...................................................................................................................... 345
15.1.1 description .................................................................................................................................345
15.1.2 load file ......................................................................................................................................345
15.1.3 ont-auto-upgrade-task ..............................................................................................................346
15.1.4 ont-match ..................................................................................................................................347
15.1.5 ont-upgrade ...............................................................................................................................347
15.1.6 ont-upgrade delete ................................................................................................................... 348
15.1.7 ont-upgrade file .........................................................................................................................348
15.1.8ont-upgrade mode ..................................................................................................................... 349
15.1.9ont-upgrade select ..................................................................................................................... 350
15.1.10ont-upgrade start-time ............................................................................................................ 350
15.1.11show ont-auto-upgrade-task ................................................................................................... 351
15.1.12show ont-auto-upgrade-task info ............................................................................................351
15.1.13show ont-auto-upgrade-task statisics ..................................................................................... 353
15.1.14show ont-auto-upgrade-task upgrade info ............................................................................. 353
15.2 ONU single upgrade ............................................................................................................................. 354
15.2.1ont-upgrade ............................................................................................................................... 354
15.2.2show ont-upgrade manual .........................................................................................................355
16 ONT voice service configuration ..................................................................................................................... 357
16.1 Configure discrete ONT voice services ................................................................................................ 357
16.1.1 ont port attribute pots ..............................................................................................................357
16.1.2 pstnport electric ........................................................................................................................358
16.1.3 show sippstnuser attribute ....................................................................................................... 358
16.1.4 sippstnuser add ......................................................................................................................... 359
16.1.5 sippstnuser del .......................................................................................................................... 359
16.1.6 sippstnuser digitmap .................................................................................................................360
16.1.7 sippstnuser ipconfig .................................................................................................................. 360
16.1.8 sippstnuser modify ....................................................................................................................361
16.1.9 sippstnuser rightflag ................................................................................................................. 362
16.2 ONT Voice service profile configuration .............................................................................................. 362
16.2.1 commit ...................................................................................................................................... 362

12
GPON OLT User Manual

16.2.2 impedance .................................................................................................................................363


16.2.3 ont-pots-profile ......................................................................................................................... 363
16.2.4 pots-side-signaling .................................................................................................................... 364
16.2.5 rxgain ......................................................................................................................................... 365
16.2.6 show ont-pots-profile ............................................................................................................... 365
16.2.7 show ont-pots-profile current .................................................................................................. 366
16.2.8 txgain ......................................................................................................................................... 366
16.3 ONT digitmap profile configuration .....................................................................................................367
16.3.1 commit ...................................................................................................................................... 367
16.3.2 ont-digitmap-profile ..................................................................................................................367
16.3.3 critical-dial-time ........................................................................................................................ 368
16.3.4 partial-dial-time .........................................................................................................................368
16.3.5 digitmap-format ........................................................................................................................ 369
16.3.6 token ..........................................................................................................................................369
16.3.7 show ont-digitmap-profile ........................................................................................................ 370
16.3.8 show ont-digitmap-profile current ........................................................................................... 370
16.4 ONT SIP proxy profile configuration .................................................................................................... 371
16.4.1 auth-realm .................................................................................................................................371
16.4.2 bridged-line-agent .....................................................................................................................371
16.4.3 commit ...................................................................................................................................... 372
16.4.4 conf-factory ............................................................................................................................... 372
16.4.5 ont-sipagent-profile .................................................................................................................. 373
16.4.6 outbound-server ....................................................................................................................... 373
16.4.7 outbound-server-port ............................................................................................................... 374
16.4.8 proxy-server .............................................................................................................................. 374
16.4.9 proxy-server-port ...................................................................................................................... 375
16.4.10 rtp dscp ....................................................................................................................................375
16.4.11 rtp port .................................................................................................................................... 376
16.4.12 registration expiration ............................................................................................................ 376
16.4.13 registration rereg-head-start-time ......................................................................................... 377
16.4.14 registration server-port ...........................................................................................................377
16.4.15 registration server-uri ............................................................................................................. 377
16.4.16 show ont-sipagent-profile .......................................................................................................378
16.4.17 show ont-sipagent-profile current ..........................................................................................379
16.4.18 signal dscp ............................................................................................................................... 380
16.4.19 signal port ................................................................................................................................381
16.4.20 signal transfer-mode ...............................................................................................................381
16.4.21 voicemail server-uri .................................................................................................................381
16.4.22 voicemail subscription-expiration .......................................................................................... 382
16.5 ONT SIP service data profile configuration ..........................................................................................382
16.5.1 commit ...................................................................................................................................... 382
16.5.2 call-hold ..................................................................................................................................... 383
16.5.3 call-park ..................................................................................................................................... 383
16.5.4 call-transfer ............................................................................................................................... 383

13
GPON OLT User Manual

16.5.5 call-waiting ................................................................................................................................ 384


16.5.6 conference .................................................................................................................................384
16.5.7 do-not-disturb ........................................................................................................................... 385
16.5.8 hotline ....................................................................................................................................... 385
16.5.9 mwi ............................................................................................................................................ 385
16.5.10 ont-siprightflag-profile ............................................................................................................386
16.5.11 show ont-siprightflag-profile .................................................................................................. 386
16.5.12 show ont-siprightflag-profile current ..................................................................................... 387
16.5.13 three-party .............................................................................................................................. 388
16.6 ONT dscrete configuration of numerical graphs ................................................................................. 389
16.6.1sippstnuser digitmap critical-dial-time ......................................................................................389
16.6.2sippstnuser digitmap partial-dial-time ...................................................................................... 389
16.6.3sippstnuser digitmap digitmap-format ......................................................................................390
16.6.4sippstnuser digitmap token ....................................................................................................... 391
16.6.5show sippstnuser digitmap ........................................................................................................ 391
16.7 ONT SIP Proxy discrete configuration ..................................................................................................392
16.7.1sippstnuser ipconfig auth-realm ................................................................................................392
16.7.2sippstnuser ipconfig bridged-line-agent ....................................................................................393
16.7.3sippstnuser ipconfig conf-factory .............................................................................................. 393
16.7.4sippstnuser ipconfig outbound-server ...................................................................................... 394
16.7.5sippstnuser ipconfig outbound-server-port .............................................................................. 394
16.7.6sippstnuser ipconfig proxy-server ............................................................................................. 395
16.7.7sippstnuser ipconfig proxy-server-port ..................................................................................... 395
16.7.8sippstnuser ipconfig rtp dscp .....................................................................................................396
16.7.9sippstnuser ipconfig rtp port ..................................................................................................... 396
16.7.10sippstnuser ipconfig registration expiration ........................................................................... 397
16.7.11sippstnuser ipconfig registration rereg-head-start-time ........................................................ 398
16.7.12sippstnuser ipconfig registration server-port ..........................................................................398
16.7.13sippstnuser ipconfig registration server-uri ............................................................................ 399
16.7.14show sippstnuser ipconfig ....................................................................................................... 399
16.7.15sippstnuser ipconfig signal dscp .............................................................................................. 400
16.7.16sippstnuser ipconfig signal port ...............................................................................................401
16.7.17sippstnuser ipconfig signal transfer-mode .............................................................................. 401
16.7.18sippstnuser ipconfig voicemail server-uri ................................................................................402
16.7.19sippstnuser ipconfig voicemail subscription-expiration ..........................................................402
16.8 ONT SIP discrete Configuration of service Data .................................................................................. 403
16.8.1sippstnuser rightflag call-hold ................................................................................................... 403
16.8.2sippstnuser rightflag call-park ................................................................................................... 403
16.8.3sippstnuser rightflag call-transfer ..............................................................................................404
16.8.4sippstnuser rightflag call-waiting ...............................................................................................404
16.8.5sippstnuser rightflag conference ............................................................................................... 405
16.8.6sippstnuser rightflag do-not-disturb ..........................................................................................405
16.8.7sippstnuser rightflag hotline ......................................................................................................406
16.8.8sippstnuser rightflag mwi .......................................................................................................... 407

14
GPON OLT User Manual

16.8.9show sippstnuser rightflag .........................................................................................................407


16.8.10sippstnuser rightflag three-party .............................................................................................408
17 WAN configuration ..........................................................................................................................................410
17.1 WAN discrete configuration .................................................................................................................410
17.1.1 ont wan ipv4 ..............................................................................................................................410
17.1.2 ont wan ipv4-ipv6 ......................................................................................................................411
17.1.3 ont wan ipv6 ..............................................................................................................................413
17.1.4 ont wan bridge .......................................................................................................................... 415
17.1.5 ont wan option ..........................................................................................................................416
17.1.6 show ont wan config ................................................................................................................. 417
17.1.7 show ont wan status ................................................................................................................. 418
17.2 WAN profile config ............................................................................................................................... 419
17.2.1ont wan-profile .......................................................................................................................... 419
17.2.2ont-wan-profile .......................................................................................................................... 420
17.2.3wan ipv4 ..................................................................................................................................... 420
17.2.4wan ipv4-ipv6 ............................................................................................................................. 422
17.2.5wan ipv6 ..................................................................................................................................... 423
17.2.6wan bridge ..................................................................................................................................425
17.2.7wan option ................................................................................................................................. 425
17.2.8show ont-wan-profile current ................................................................................................... 427
17.2.9show ont-wan-profile gpon all ...................................................................................................428
17.2.10show ont-wan-profile gpon profile-id ..................................................................................... 429
18 WIFI Config ...................................................................................................................................................... 430
18.1 .1ont wifi .......................................................................................................................................430
18.1.2ont wifi advanced .......................................................................................................................431
18.1.3show ont wifi ..............................................................................................................................434
18.1.4ont wifi recovery ........................................................................................................................ 435
19 Log management .............................................................................................................................................436
19.1 Log configuration and query ................................................................................................................ 436
19.1.1 logging buffer ............................................................................................................................ 436
19.1.2 backup log-file ........................................................................................................................... 437
19.1.3 erase log .................................................................................................................................... 437
19.1.4 erase log file .............................................................................................................................. 438
19.1.5 logging console ..........................................................................................................................438
19.1.6 logging monitor ......................................................................................................................... 439
19.1.7 show log .................................................................................................................................... 439
19.1.8 show logging configure ............................................................................................................. 440
19.1.9 show logging buffer ...................................................................................................................440
19.1.10 syslog ....................................................................................................................................... 441
19.1.11 syslog host ...............................................................................................................................441
19.1.12 syslog severity ......................................................................................................................... 442
19.2 Automatic backup of logs .....................................................................................................................443
19.2.1auto-backup log absolute-time ..................................................................................................443
19.2.2auto-backup log interval-time ................................................................................................... 443

15
GPON OLT User Manual

19.2.3auto-backup log ftp ....................................................................................................................444


19.2.4auto-backup log tftp .................................................................................................................. 444
19.2.5show auto-backup log config .....................................................................................................445
20 Alarm management and event management .................................................................................................446
20.1 Alarm management and query ............................................................................................................ 446
20.1.1alarm alarmlevel ........................................................................................................................ 446
20.1.2alarm history clear all .................................................................................................................446
20.1.3alarm jitter-interval ....................................................................................................................447
20.1.4alarm output all ..........................................................................................................................447
20.1.5alarm output detail .................................................................................................................... 447
20.1.6alarm report ............................................................................................................................... 448
20.1.7show alarm alarmlevel list ......................................................................................................... 448
20.1.8show alarm active alarmlevel .................................................................................................... 450
20.1.9show alarm active alarmparameter .......................................................................................... 450
20.1.10show alarm active all ............................................................................................................... 451
20.1.11show alarm history alarmlevel .................................................................................................452
20.1.12show alarm history alarmparameter .......................................................................................452
20.1.13show alarm history all ..............................................................................................................453
20.1.14show alarm list ......................................................................................................................... 453
20.2 Event management and queries ..........................................................................................................454
20.2.1event eventlevel .........................................................................................................................454
20.2.2event history clear all .................................................................................................................454
20.2.3event output all ..........................................................................................................................455
20.2.4event output detail .................................................................................................................... 455
20.2.5event report ............................................................................................................................... 456
20.2.6show event eventlevel list ......................................................................................................... 456
20.2.7show event history eventlevel ...................................................................................................457
20.2.8show event history eventparameter ......................................................................................... 457
20.2.9show event history all ................................................................................................................ 458
20.2.10show event list ......................................................................................................................... 458
21 Iptable Access Control .....................................................................................................................................460
21.1 iptable default rules ............................................................................................................................. 460
21.1.1service default policy ................................................................................................................. 460
21.1.2show service default policy ........................................................................................................461
21.2 iptable access rules configuration ....................................................................................................... 461
21.2.1 service ........................................................................................................................................461
21.2.2 show service .............................................................................................................................. 462
21.3 Login Method Control .......................................................................................................................... 463
21.3.1 service ........................................................................................................................................463
21.3.2 show service .............................................................................................................................. 463
21.3.3 telnet ......................................................................................................................................... 464
22 Lldp protocol ....................................................................................................................................................465
22.1.1lldp enable ..................................................................................................................................465
22.1.2lldp timer reinit-delay ................................................................................................................ 465

16
GPON OLT User Manual

22.1.3lldp timer tx-interval .................................................................................................................. 466


22.1.4lldp timer tx-delay ...................................................................................................................... 466
22.1.5lldp notification-interval ............................................................................................................ 466
22.1.6lldp hold-multipliter ................................................................................................................... 467
22.1.7lldp fast-count ............................................................................................................................ 467
22.1.8lldp port admin-status ............................................................................................................... 468
22.1.9lldp port notification .................................................................................................................. 468
22.1.10lldp port tlv-enable basic-tlv .................................................................................................... 469
22.1.11lldp port tlv-enable dot1-tlv .....................................................................................................470
22.1.12lldp port tlv-enable dot3-tlv .....................................................................................................470
22.1.13show lldp configuration ........................................................................................................... 471
22.1.14show lldp tlv-config ..................................................................................................................472
22.1.15show lldp local-info .................................................................................................................. 473
22.1.16show lldp neighbor-info ...........................................................................................................474
22.1.17show lldp statistics ...................................................................................................................476
22.1.18rest lldp neighbor-info ............................................................................................................. 477
22.1.19rest lldp statistics ..................................................................................................................... 477
23 Qos ...................................................................................................................................................................478
23.1 Dot1p Mapping profile .........................................................................................................................478
23.1.1dot1p-mapping-table ................................................................................................................. 478
23.1.2dot1p cos-queue ........................................................................................................................ 478
23.1.3show dot1p-mapping-table ....................................................................................................... 479
23.2 Dscp mapping profile ........................................................................................................................... 480
23.2.1dscp-mapping-table ................................................................................................................... 480
23.2.2dscp cos-queue .......................................................................................................................... 480
23.2.3show dscp-mapping-table ..........................................................................................................481
23.3 Queue Scheduling Profile .....................................................................................................................483
23.3.1qos-scheduler-profile .................................................................................................................483
23.3.2queue-scheduler ........................................................................................................................ 484
23.3.3show qos-scheduler-profile ....................................................................................................... 485
23.4 Port Configuration ................................................................................................................................ 486
23.4.1qos-mapping port to dscp-mapping-table .................................................................................486
23.4.2qos-mapping port to dot1p-mapping-table .............................................................................. 486
23.4.3qos-remark dscp .........................................................................................................................487
23.4.4qos-remark dot1p ...................................................................................................................... 487
23.4.5port trust-mode ......................................................................................................................... 488
23.4.6show port PORTID qos ............................................................................................................... 488
23.4.7port qos-scheduler-profile ......................................................................................................... 489
24 PPPoe ...............................................................................................................................................................490
24.1.1show pppoe agent config ...........................................................................................................490
24.1.2pppoe agent (enable | disable) ................................................................................................. 491
24.1.3pppoe agent policy .....................................................................................................................492
24.1.4show pppoe agent format all .....................................................................................................492
24.1.5pppoe agent format user-define ............................................................................................... 493

17
GPON OLT User Manual

24.1.6pppoe agent format FORMATNAME ......................................................................................... 494


24.1.7pppoe agent (trust | untrust) port ............................................................................................ 494
25 MSTP ................................................................................................................................................................ 495
25.1.1stp (enable|disable) ...................................................................................................................495
25.1.2stp mode .................................................................................................................................... 495
25.1.3stp priority ..................................................................................................................................496
25.1.4stp timer forward-delay .............................................................................................................496
25.1.5stp timer hello ............................................................................................................................ 497
25.1.6stp timer max-age ...................................................................................................................... 497
25.1.7stp max-hops ..............................................................................................................................497
25.1.8stp transmit-limit ....................................................................................................................... 498
25.1.9stp bpdu-protection (enable|disable) ....................................................................................... 498
25.1.10stp bpdu-filter (enable|disable) .............................................................................................. 499
25.1.11stp recovery interval ................................................................................................................ 500
25.1.12stp region-configuration .......................................................................................................... 500
25.1.13stp pathcost-standard ..............................................................................................................500
25.1.14region-name .............................................................................................................................501
25.1.15revision-level ............................................................................................................................ 501
25.1.16instance vlan ............................................................................................................................ 502
25.1.17stp port cost ............................................................................................................................. 502
25.1.18stp port port-priority ................................................................................................................503
25.1.19stp port edged-port ..................................................................................................................504
25.1.20stp port point-to-point .............................................................................................................504
25.1.21stp port bpdu-protection ......................................................................................................... 505
25.1.22stp port mCheck ....................................................................................................................... 506
25.1.23stp port restricted-role ............................................................................................................ 506
25.1.24stp port restricted-tcn ..............................................................................................................507
25.1.25show stp ................................................................................................................................... 508

18
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)#

19
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

20
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

21
GPON OLT User Manual

2.1.2 combo
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.

22
GPON OLT User Manual

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

enable:Enable the flow control function of the port


enable|disable
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|disable enable:Enable the isolation function of this port from other ports

23
GPON OLT User Manual

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

[Configuration case]

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)#

24
GPON OLT User Manual

2.1.8 show port ddm-info


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

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.

25
GPON OLT User Manual

gpon 0/0/4 Transceiver information:


Info: Transceiver is absent.

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
-----------------------------------------------------------------------------

26
GPON OLT User Manual

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

This command is used to show the alarm optical power information


Description
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

27
GPON OLT User Manual

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)#

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.

28
GPON OLT User Manual

OLT(config-gpon-0/0)# show port state 1


-----------------------------------------------------------------------------
Frame/ Slot : 0/0
Port :1
Optical Module status : normal
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)

29
GPON OLT User Manual

Unknow multicast storm control : disable(default:disable)


Unknown unicast storm control : 150 pps(default:150 pps)
Rx bandwidth alarm threshold : --
Tx bandwidth alarm threshold : --
-----------------------------------------------------------------------------
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
speed portlist (10|100|1000)
Command Syntax
speed portlist (1000|10000)

Applicable Views GE view

30
GPON OLT User Manual

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.

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

31
GPON OLT User Manual

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.


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

32
GPON OLT User Manual

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.


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.

33
GPON OLT User Manual

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.
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)#

34
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.

35
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

36
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

37
GPON OLT User Manual

3.1.4 vlan access


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.

38
GPON OLT User Manual

OLT(config)# vlan description 1 test


OLT(config)#
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

39
GPON OLT User Manual

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

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

40
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

41
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.

42
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

43
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

44
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

45
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
----------------------------------------------------------------------------------------------------------------

46
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

47
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.

48
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)#

49
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

Description

limit-vlaue

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
vlan-id
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


from 1 to 2048

[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)#

50
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 deleted
Description 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

51
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,

52
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.

53
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

54
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

55
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

56
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

57
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

58
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

59
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

60
GPON OLT User Manual

4.3Route configuration
4.3.1 ip route
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.

61
GPON OLT User Manual

[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

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

62
GPON OLT User Manual

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
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

63
GPON OLT User Manual

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
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

64
GPON OLT User Manual

Age: 03h57m09s RefCnt: 0


State: Active, best, fib

Destination: 127.0.0.1/32
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: 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

65
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

66
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

67
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.

68
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

69
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

70
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

71
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]

72
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)#

73
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)

74
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.

75
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

76
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.

77
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)#

78
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 {
Command Syntax
priority-queue-downstream priority-queue-downstream |

79
GPON OLT User Manual

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

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.

The downlink scheduling priority queue number, with a value range


priority-queue-downst
of 1-8, is used to specify the downlink queue priority of GEM Index
ream
configuration in T-CONT.

The upstream scheduling priority queue number, with a value range


priority-queue-upstrea
of 1-8, is used to specify the upstream queue priority of GEM Index
m
configuration in T-CONT.

Turn off the data encryption switch to disable data encryption when
disable
creating a GEM port.

Turn on the data encryption switch to enable data encryption when


enable
creating a GEM port.

The route traffic profile number, with a value range of 1-256, needs
traffic-profile-id to be created in advance to configure the traffic table id for the ONT
GEM Port.

[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

80
GPON OLT User Manual

--------------------------------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------------------------
<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

81
GPON OLT User Manual

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
--------------------------------------------------------------------------------------------------
<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
Description
mapping-mode command. When the mapping-mode command is
used to configure the global mapping to vlan mapping, you can use
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

82
GPON OLT User Manual

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
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

83
GPON OLT User Manual

----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ
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>

84
GPON OLT User Manual

US-GEM-CAR : - DS-ENCRYPT-MODE : off


US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
---------------------------------------------------------------------------
<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
-----------------------------------------------------------------------
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

85
GPON OLT User Manual

US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------------

6.2.6 gem modify


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

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.

GEM Port number, ranging from 1 to 30, used to specify the modified
gem-id
gem id. The gem modify command can only modify existing gem ids.

The TCONT number, with a value range of 0-7, is used to reassign the
tcont-id TCONT bound to the GEM port. The reassigned TCONT must have
already been created.

The downlink scheduling priority queue number, with a value range


priority-queue-downst
of 1-8, is used to reassign the downlink queue priority of GEM Index
ream
configuration in T-CONT.

The upstream scheduling priority queue number, with a value range


priority-queue-upstrea
of 1-8, is used to reassign the upstream queue priority of GEM Index
m
configuration in T-CONT.

Data encryption switch, used to modify the switch for gem port data
encryption.
encrypt
Disable: Turn off the data encryption switch
Enable: Turn on the data encryption switch

Line traffic profile number, ranging from 1 to 256, used to reassign


traffic-profile-id
the traffic profile bound to the gem port.

[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

86
GPON OLT User Manual

priority-queue-downstream 2 gem-car-downstream 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
--------------------------------------------------------------------------------------------------
<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.
Description 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
are also updated.

87
GPON OLT User Manual

"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
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-vlan-id User-side VLAN ID. This parameter is used when users need to be

88
GPON OLT User Manual

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

[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

89
GPON OLT User Manual

Qos mode : PQ
Mapping mode : PORT

6.2.9 no gem gem-car


Command Syntax no gem gem-car gem-id

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

90
GPON OLT User Manual

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


Management and Control Channel) encryption switch. When the
Description
OMCC encryption switch is enabled, the ONT OMCC channel is
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

91
GPON OLT User Manual

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]

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


gem-car
implements traffic control based on the GEM Port. If a T-CONT

92
GPON OLT User Manual

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 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
---------------------------------------------------------------

93
GPON OLT User Manual

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
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

94
GPON OLT User Manual

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.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.

95
GPON OLT User Manual

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)

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]) [inbound
traffic-profile-id|outbound traffic-profile-id])

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


Description
automatically generating virtual ports for ONT devices connected to

96
GPON OLT User Manual

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.
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
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


transparent
C-VLAN carried by the user side directly acts as the S-VLAN

97
GPON OLT User Manual

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
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

Line traffic profile number, with a value range of 1-256, is required to


traffic-profile-id configure the traffic table id speed limit for virtual ports. Traffic
tables need to be created in advance.

[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 a VLAN mapping method of translate and add for the second ONT device at

PON1 port 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 gemport 1 2 1 vlan 30 user-vlan 10 tag-action translate-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

98
GPON OLT User Manual

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
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
Description 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
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.

99
GPON OLT User Manual

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

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
{priority-queue-downstream priority-queue-downstream |
priority-queue-upstream priority-queue-upstream|
encrypt (disable| enable) |
Command Syntax
gem-car-upstream traffic-profile-id |
gem-car-downstream | traffic-profile-id}

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

Applicable Views GPON view

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

100
GPON OLT User Manual

GEM Port for the ONT device connected to the specified PON Port,
and configure the binding relationship and related properties
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.

The line traffic profile number, ranging from 1 to 256, is used to bind
traffic-profile-id 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)#

101
GPON OLT User Manual

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.

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.

102
GPON OLT User Manual

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


specified ONT. This command is used when you need to provide
end-to-end quality assurance to users to control the traffic of the
upstream data flow on the ONT user interface mapped to the GEM
Port using the "gem mapping" command. By default, the QoS mode
Description 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


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

103
GPON OLT User Manual

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

This command is used to bind TCONT to the DBA profile for the ONT
Description 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)#

104
GPON OLT User Manual

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
loopdetect (disable | enable) {detect-frequency detect-frequency|
Command Syntax auto-shutdown (disable | enable) | resume-interval
resume-interval}

Applicable Views service 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
resume-interval activation interval of the port, ONT, and CNU in ring network
detection. When detecting the ring network, the system
automatically activates the port, ONT, and CNU at the sending end of

105
GPON OLT User Manual

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 service 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.

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)#

106
GPON OLT User Manual

6.4.5 multicast fast-leave


Command Syntax multicast fast-leave (disable|enable)

Applicable Views service 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.

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 service 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.

107
GPON OLT User Manual

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
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.

108
GPON OLT User Manual

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) |wifi
(wifi-port | adaptive) }

Applicable Views service 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.

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.

wifi-port The number of iphost ports on ONT, with a range of 0-8.

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

Description The service profile is used to configure the actual ONT capabilities

109
GPON OLT User Manual

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
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
ranges from 0 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 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

110
GPON OLT User Manual

ont-type force (hgu | sfu)


Command Syntax
no ont-type

Applicable Views service 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)#

6.4.11 port eth


port eth eth-list (max-frame-size max-frame-size | max-mac-count
Command Syntax (max-mac-count | unlimited){ inbound traffic-profile-id|outbound
traffic-profile-id})

Applicable Views service 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


max-mac-count 255. The default value is unlimited. When the number of MAC
addresses learned by the ONU Ethernet port reaches this value, the

111
GPON OLT User Manual

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.

Line traffic profile number, with a value range of 1-256, is required to


traffic-profile-id configure traffic table id speed limits for ONU ETH port entry and
exit. Traffic table needs to be created in advance.

[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
---------------------------------------------------------------
---------------------------------------------------------------
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

112
GPON OLT User Manual

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 service 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.

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.

113
GPON OLT User Manual

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 service 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

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 service 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.

114
GPON OLT User Manual

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.


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


port native-vlan eth eth-list vlan-id [priority priority]
Command Syntax port native-vlan wifi wifi-list vlan-id [priority priority]
no ont port native-vlan port-id ont-id wifi wifi-id

Applicable Views service 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.

Wifi-list List of wireless port index values (e.g. 1,3-5,8), with port values

115
GPON OLT User Manual

ranging from 1 to 8, can be used to batch set the default VLAN for
wireless ports.

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
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

116
GPON OLT User Manual

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|
wifi wifi-list user-vlan-id) [priority | priority user-cos]

port vlan (eth eth-list | iphost iphost-list|| wifi wifi-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 | wifi wifi-list )


user-vlan-list [priority]

Applicable Views service 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
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
from the ONT service profile. This command is used when the user
packets with this VLAN are no longer required to pass through the
Description
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

117
GPON OLT User Manual

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.

WiFi port list (e.g. 1,3-5,8), with port values ranging from 1 to 8, can
Wifi-list
be used to batch configure VLANs for WiFi ports

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
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.

118
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 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
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 - - -

119
GPON OLT User Manual

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
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

120
GPON OLT User Manual

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 -
---------------------------------------------------------------

MAC aging time(s): : 300


MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8

121
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 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
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable

122
GPON OLT User Manual

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
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -

123
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 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

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]

124
GPON OLT User Manual

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

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

6.4.18 show ont-srv-profile current


Command Syntax show ont-srv-profile current

Applicable Views service profile configuration view

125
GPON OLT User Manual

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 - - - - - - -
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 -

126
GPON OLT User Manual

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

6.4.19 veip
Command Syntax veip (transparent | trunk)

Applicable Views service 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.4.20 ipconfig
ipconfig ip-index IP-host-index dhcp vlan VLAN-ID priority
VLAN-priority

ipconfig ip-index IP-host-index static {ip-address 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}

Command Syntax
ipconfig ip-index IP-host-index pppoe ([service-name NAME]
username NAME password PWD|null) vlan vlan priority priority

ipconfig ip-index IP-host-index (ipconfig-profile-id prf-id|


ipconfig-profile-name prf-name)

no ipconfig [ ip-index IP-host-index]


no ipconfig ip-index IP-host-index ipconfig-profile

Applicable Views SRV profile Configuration View

The ont ipconfig command is used to configure the IPhost functions


Description
of ONT, including managing IP addresses, subnet masks, gateways,

127
GPON OLT User Manual

managing VLANs, priorities, etc.


The no ont ipconfig command is used to remove the IPhost function
of ONT.
No ont ipconfig ip index<0-1>The ipconfig profile command is used
to unbind ipconfig profiles

ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index

Configure the IP address of ONT to be dynamically obtained


dhcp
through DHCP.

Configure the management VLAN for ONT, with a value range of


vlan VLAN-ID
1-4094

Configure the priority of managing VLANs on ONT and take effect


priority
on ONT. The higher the priority value, the higher its priority, with a
VLAN-priority
value range of 0-7

static Configure IP address to static mode

ip-address ONT-IP Configure a static management IP address in the format X X.X.X

mask Configure the address mask for static IP addresses in the format X
ONT-subnet-mask X.X.X

The IP address of the gateway for configuring the ONT management


gateway ONT
network must be in the same network segment as the configured
gateway
static IP address, in the format X X.X.X

Configure the primary DNS server IP address. DNS servers are used
pri-dns
to resolve IP addresses through domain names or obtain domain
ONT-primary-DNS
name information through IP addresses, in the format X X.X.X

slave-dns
Configure the DNS server IP address in the format X X.X.X
ONT-slave-DNS

username
Enable Wan's PPPOE and set username and password
password

Setting the username and password of Wan's PPPOE to blank is not


null
to enable PPPOE.

Prf id: Bind the ipconfig profile to the iphost index specified by the
profile ID,
Prf-id/prf-name
The Id range is from 0 to 128.
Prf name: Bind the ipconfig profile to the iphost index specified by

128
GPON OLT User Manual

the profile name,


The length of Name is 1-64.

[Configuration case]
Case 1: Configure the static management IP of service profile 2 as 192.168.10.11.1. The subnet mask
is 255.255.255.0, the gateway IP is 192.168.10.1254, the management VLAN is 101, and the priority
is 0
OLT(config-srv-profile-2)# ipconfig 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-srv-profile-2)#

Case 2: Configure the management IP address of service profile 2 to DHCP mode


OLT(config-srv-profile-2)# ipconfig ip-index 0 dhcp vlan 101 priority 0

OLT(config-srv-profile-2)#

Case 3: Delete Management IP for service profile 2


OLT(config-srv-profile-2)# no ipconfig

OLT(config-srv-profile-2)#

Case 4: Configure ipconfig 0 for service profile 2 and bind it to ipconfig profile 0
OLT(config-srv-profile-2)# ipconfig ip-index 0 ipconfig-profile-id 0

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.

129
GPON OLT User Manual

(disable | enable) Enable or disable loop detection on ont.

Configure the sending frequency of loop detection messages. Value


detect-frequency
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.

130
GPON OLT User Manual

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 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]

131
GPON OLT User Manual

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)#

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

132
GPON OLT User Manual

OLT(config-gpon-0/0)#

6.5.6 ont native-vlan


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
eth-port value can be 0 to 24 or adaptive. After this value is set to adaptive,
the system automatically matches the number of eth ports reported

133
GPON OLT User Manual

by the ONT.

Configure the number of capability sets of catv interfaces on the


ONT. The value can be 0 to 8 or adaptive. When set to adaptive, the
catv-port
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.

eth-list List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1

134
GPON OLT User Manual

to 24, which can be used to configure vlans for Ethernet ports in


batches.

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)#

135
GPON OLT User Manual

6.5.10 ont port igmp-forward


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

136
GPON OLT User Manual

This command is used to configure the downstream 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 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.

137
GPON OLT User Manual

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: 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 |
priority priority}
no ont port native-vlan port-id ont-id eth eth-port-id
Command Syntax
ont port native-vlan port-id ont-id wifi wifi-id {vlan vlan-id |
priority priority}
no ont port native-vlan port-id ont-id wifi wifi-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
Description the default VLAN is an Untagged port. If neither vlan-id nor priority is
specified in the command, no operation is required.
The "no ont port native-vlan" command is used to cancel the default

138
GPON OLT User Manual

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.

Wifi-id WiFi port index value, WiFi port value range 1-8

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 | wifi wifi-list user-vlan-id) [priority | priority
user-cos]

ont port vlan port-id ont-id (eth eth-list | iphost iphost-list |wifi
wifi-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 ont port vlan port-id ont-id (eth eth-list | iphost iphost-list |wifi
wifi-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
Description
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

139
GPON OLT User Manual

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
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, 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.

WiFi port list (e.g. 1,3-5,8), with port values ranging from 1 to 8, can
Wifi-list
be used to batch configure VLANs for WiFi ports

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.
user-cos
When the OLT trusts the original priority of the user side or the

140
GPON OLT User Manual

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.

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

141
GPON OLT User Manual

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 - - -
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.

142
GPON OLT User Manual

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.5.16ont 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
ONT-IP mask ONT-subnet-mask | gateway ONT gateway | pri-dns
Command ONT-primary-DNS | slave-dns ONT-slave-DNS | vlan VLAN-ID priority
Syntax VLAN-tag-priority}
ont ipconfig port-id ONT-id ip-index IP-host-index pppoe
([service-name NAME] username NAME password PWD|null) vlan
vlan priority priority
no ont ipconfig port-id ONT-id [ ip-index IP-host-index]

Applicable
GPon Interface View
Views

The ont ipconfig command is used to configure the IPhost functions


of ONT, including managing IP addresses, subnet masks, gateways,
Description managing VLANs, priorities, etc.
The no ont ipconfig command is used to remove the IPhost function
of ONT.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

ONT-id: The ONT ID of the ONT to be configured, with values ranging


ONT-id
from 1 to 128

ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index

Configure the IP address of ONT to be dynamically obtained through


dhcp
DHCP.

143
GPON OLT User Manual

Configure the management VLAN for ONT, with a value range of


vlan VLAN-ID
1-4094

Configure the priority of managing VLANs on ONT and take effect on


priority
ONT. The higher the priority value, the higher its priority, with a value
VLAN-priority
range of 0-7

static Configure IP address to static mode

ip-address
Configure a static management IP address in the format X X.X.X
ONT-IP

mask
Configure the address mask for static IP addresses in the format X
ONT-subnet-ma
X.X.X
sk

The IP address of the gateway for configuring the ONT management


gateway ONT
network must be in the same network segment as the configured
gateway
static IP address, in the format X X.X.X

pri-dns Configure the primary DNS server IP address. DNS servers are used to
ONT-primary-D resolve IP addresses through domain names or obtain domain name
NS information through IP addresses, in the format X X.X.X

slave-dns
Configure the DNS server IP address in the format X X.X.X
ONT-slave-DNS

username
Enable Wan's PPPOE and set username and password
password

Setting the username and password of Wan's PPPOE to blank


null
is not to enable PPPOE.

[Configuration Case]
Case 1: Configure the static management IP of PON1 port ONT1 as 192.168.10.11.1, subnet mask as
255.255.255.0, gateway IP as 192.168.1012.54, management VLAN as 101, priority as 0
OLT(config-interface-gpon-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)#

Case 2: Configure the management IP address of PON1 port ONT2 to 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)#

144
GPON OLT User Manual

Case 3: Deleting the management IP of PON1 port ONT1


OLT(config-interface-gpon-0/0)# no ont ipconfig 1 1

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

Case 4: Configure the associated IP management IP address of PON1 port ONT2 to be in pppoe
mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 pppoe username test
password test vlan 101 priority 0

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

6.5.17ont ipconfig(extend)

ont ipconfig port-id ONT-id ip-index IP-host-index (connection-type


(bridge|route) | nat (enable|disable) | multicast-forward mvlan |
Command binding {eth ETH-LIST|wlan WLAN-LIST})
Syntax
no ont ipconfig port-id ONT-id ip-index IP-host-index
(multicast-forward | binding)

Applicable
GPon Interface View
Views

The ont ipconfig command is used to configure the IPhost extension


functions of ONT, including connection mode, NAT switch, multicast
VLAN, and port binding. This feature needs to be configured with a
Description
standard IPhost before it can be configured
The no ont ipconfig ip index command is used to remove the
extension function of the IPhost for ONT.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

ONT-id: The ONT ID of the ONT to be configured, with values ranging


ONT-id
from 1 to 128

ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index

Bridge: Modify the connection type of WAN to Bridge WAN


bridge|route
Route: Modify the connection type of WAN to Route WAN

Enable: Enable nat for the specified wan


enable|disable
Disable: Turn off the nat enable for the specified wan

145
GPON OLT User Manual

mvlan Configure Wan's multicast VLAN

ETH-LIST List of Ethernet ports. Specify the wan binding ETH port for ONU.

WLAN-LIST WLAN port list. Specify the wan binding wlan port for onu.
[Configuration Case]
Case 1: Configure the IPhost index 0 of PON1 port ONT1 in bridging connection mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 connection-type bridge
OLT(config-interface-gpon-0/0)#

Case 2: Enable the nat switch for configuring the IPhost index 0 of the PON1 port ONT1
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 nat enable
OLT(config-interface-gpon-0/0)#

Case 3: Configure the multicast VLAN of IPhost index 0 for PON1 port ONT1 to 101
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 multicast-forward 101
OLT(config-interface-gpon-0/0)#

Case 4: Configure ETH ports 1-4 and WLAN ports 1-4 of PON1 port ONT1 to bind to IPhost index 0
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 binding eth 1-4 wlan 1-4
OLT(config-interface-gpon-0/0)#

Case 5: Delete the port binding of IPhost index 0 for PON1 port ONT1
OLT(config-interface-gpon-0/0)# no ont ipconfig 1 1 ip-index 0 binding
OLT(config-interface-gpon-0/0)#

6.5.18ont port car

ont port car port-id ONT-id eth eth-port-id (inbound traffic-profile-ID


Command outbound traffic-profile-ID | outbound traffic-profile-ID)
Syntax no ont port car port-id ONT-id eth eth-port-id (inbound | outbound |
all)

Applicable
GPon Interface View
Views

This command is used to configure the uplink and downlink


Description
bandwidth rate limiting function of the ONT port.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

ONT-id The ONT ID of the ONT to be configured, with values ranging from 1

146
GPON OLT User Manual

to 128

eth-port-id The ID of the Ethernet port of ONT, with a value range of 1-8

inbound Configure the uplink (entrance) speed limit function of the ONT port

outbound Configure the downlink (exit) speed limit function of the ONT port

The traffic profile ID that needs to be bound to the speed limit of the
ONT port, and the bandwidth value configured for the speed limit of
traffic-profile-ID the ONT port is bound to the traffic profile. You can use the OLT
(config) # show traffic profile all command to view which traffic
profiles are available on the OLT.

[Configuration Case]
Case 1: Configure the uplink and downlink port speed of the first Ethernet port of PON1 port ONT1
to be 500M (using 6 as 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)#

6.6Virtual port configuration


6.6.1 service-port
service-port (service-port-index |autoindex) vlan vlan-id gpon F/S
port port-list ont ont-list gemport gemport-id
[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
Command Syntax
(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)]

147
GPON OLT User Manual

[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
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.

148
GPON OLT User Manual

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
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
(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.

149
GPON OLT User Manual

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 direction, a traffic profile that specifies the outbound


outbound
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.

150
GPON OLT User Manual

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


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.

151
GPON OLT User Manual

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.
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

152
GPON OLT User Manual

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.
Applicable to:
S-VLAN refers to the QinQ VLAN, Common VLAN, or Stacking VLAN,
add-double
which is a single service or a traffic flow classified by
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
translate-and-add S-VLAN to form the uplink vlans at Layer S+C. This mode is used
inner-vlan 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

153
GPON OLT User Manual

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.

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.

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

154
GPON OLT User Manual

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]

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)#

155
GPON OLT User Manual

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.

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.

156
GPON OLT User Manual

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 )

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

157
GPON OLT User Manual

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

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


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.

158
GPON OLT User Manual

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

159
GPON OLT User Manual

6.6.9 show statistic service-port

Command
show statistic service-port service-port-index
Syntax

Applicable
configview
Views

Description 此命令用于查看指定业务虚端口的性能统计。

service-port-ind 业务虚端口索引值,取值范围 1-8000,表示通过索引值查询对应


ex 虚端口的详细信息。
[Configuration case]
Case1:查看索引为 1 的业务虚端口的性能统计。
OLT(config)# show statistic service-port 1
Number of upstream packets :0
Number of upstream bytes :0
Number of downstream packets : 1209
Number of downstream bytes : 113646
OLT(config)#

6.7TR069 profile configuration


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.

160
GPON OLT User Manual

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
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]

161
GPON OLT User Manual

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
tr069-management ip-index index
Command Syntax
tr069-management ip-index unbind

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.

unbind Configure IPhost for unbinding TR069 profile. Default unbound

[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

162
GPON OLT User Manual

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

tr069 profile name, which can be 1 to 64 characters in length. The


profile-name 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)

163
GPON OLT User Manual

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
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

164
GPON OLT User Manual

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

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

165
GPON OLT User Manual

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
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

(disable | enable) Configure the tr069 service notification switch on the ONT. The

166
GPON OLT User Manual

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


ont tr069 portid ontid ip-index index
Command Syntax
ont tr069 portid ontid ip-index unbind

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.

unbind Configure tr069 to unbind iphost, default not to bind

[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
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

167
GPON OLT User Manual

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
-----------------------------------------------------------------------------
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}

168
GPON OLT User Manual

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

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)#

169
GPON OLT User Manual

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.

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.

170
GPON OLT User Manual

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.5ont-tr069-profile

Command
ont-tr069-profile (profile-id profile-id| profile-name profile-name)
Syntax

Applicable
mult-srv-profile view
Views

This command is used for the ONT multi-service profile to reference


Description
the tr069 profile.

ONT tr069 profile number, used to identify a tr069 profile, the value
profile-id
range is 1-32.

profile-name ONT tr069 profile name

[Configuration case]
Case1:Configure the multi-service profile with ID 1 to reference tr069 profile 2.

171
GPON OLT User Manual

OLT(config-mult-srv-profile_1)# ont-tr069-profile profile-id 2


OLT(config-mult-srv-profile_1)#

6.10.6ont-wan-profile

Command
ont-wan-profile (profile-id profile-id| profile-name profile-name)
Syntax

Applicable
mult-srv-profile view
Views

This command is used for the ONT multi-service profile to reference


Description
the wan profile.

ONT wan profile number, used to identify a wan profile, the value
profile-id
range is 1-256.

profile-name ONT wan profile name.

[Configuration case]
Case1:Configure the multi-service profile with ID 1 to reference wan profile 2.
OLT(config-mult-srv-profile_1)# ont-wan-profile profile-id 2
OLT(config-mult-srv-profile_1)#

6.10.7show 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

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

172
GPON OLT User Manual

Profile-Type : professional
Ont-line-profile :6
Ont-srv-profile :0
Binding-times :0
---------------------------------------------------------------
OLT(config-mult-srv-profile_1)#

6.11 ipconfig Profile

6.11.1commit

Command
commit
Syntax

Applicable
Ipconfig profile view
Views

This command is used to submit the current ipconfig profile


configuration. Only after the submission is successful using this
Description
command, all parameter configurations of the ipconfig profile will
take effect.
[Configuration case]
Case1:Submit the current ipconfig profile configuration.
OLT(config-ipconfig-profile-1)# commit
OLT(config-ipconfig-profile-1)#

6.11.2 ipconfig-profile

Command
ipconfig-profile gpon {profile-id <0-128> | profile-name PRFNAME}
Syntax

Applicable
Config view
Views

Description This command is used to configure the connection type for wan.

<0-128> profile range 0-128

PRFNAME profile name, length 1-64

[Configuration case]
Case1:Create ipconfig profile 10.
OLT(config)# ipconfig-profile gpon profile-id 10
OLT(config-ipconfig-profile-0)#

173
GPON OLT User Manual

6.11.3 connection-type

Command Syntax connection-type (bridge|route)

Applicable Views Ipconfig profile view

Description This command is used to configure the connection type for wan.

connection-type Modify the WAN connection type and not deliver it by default.

[Configuration case]
Case1:Modify the connection type bound to ipconfig profile 0 to bridge.
OLT(config-ipconfig-profile-0)# connection-type bridge
OLT(config-ipconfig-profile-0)#

6.11.4 nat

Command
nat (enable|disable)
Syntax

Applicable
Ipconfigprofile view
Views

Description This command is used to configure nat switch for wan.

nat Modify WAN's NAT switch and disable it by default.

[Configuration case]
Case1:Enable the nat switch that binds the ipconfig profile.
OLT(config-ipconfig-profile-0)# nat enable
OLT(config-ipconfig-profile-0)#

174
GPON OLT User Manual

6.11.5 Service internet

Command service internet


Syntax no service internet

Applicable
Ipconfigprofile view
Views

Description This command is used to configure the internet service type for wan.

[Configuration case]
Case1:Add internet type to binding ipconfig profile
OLT(config-ipconfig-profile-0)#service internet
OLT(config-ipconfig-profile-0)#

6.11.6 binding

Command binding {eth ETH-LIST|wlan WLAN-LIST}*


Syntax no binding

Applicable
Ipconfigprofile view
Views

Description This command is used to configure port binding for wan.

eth ETH-LIST Ethernet port list. Specify onu's wan binding eth port.

wlan
WLAN port list. Specify onu's wan binding wlan port.
WLAN-LIST
[Configuration case]
Case1:Bind eth2-3 and wlan1-3 to iphost 1 of the ONT bound to ipconfig.
OLT(config-ipconfig-profile-0)# binding eth 2-3 wlan 1-3
OLT(config-ipconfig-profile-0)#

6.11.7 multicast-forward

Command multicast-forward mvlan


Syntax no multicast-forward

Applicable
Ipconfigprofile view
Views

Description This command is used to configure multicast vlan for wan.

mvlan Configure multicast vlan for wan

175
GPON OLT User Manual

[Configuration case]
Case1:Set the multicast vlan of iphost1 of the ONT bound to ipconfig to 20
OLT(config-ipconfig-profile-0)# multicast-forward 20
OLT(config-ipconfig-profile-0)#

6.11.8 show ipconfig-profile

show ipconfig-profile gpon ( all | profile-id <0-127 > | profile-name


Command
profile-name )
Syntax
show ipconfig-profile current

Applicable
Config view、Ipconfigprofile view
Views

Description Used to view ipconfig profile configuration

all All current ipconfig profiles.

<1-127 > The ID number of the Ipconfig profile, the value range is 1-128.

profile-name The name of the ipconfig profile, supports 1-64 characters

[Configuration case]
Case1:View the current configuration of multi-service profile 1.
OLT(config-ipconfig-profile-0)# show ipconfig-profile current
---------------------------------------------------------------
Profile-ID :0
Profile-name : ipconfig-profile_0
Binding times : 0
---------------------------------------------------------------
Service : internet
Connetion-type : --
nat : enable
mvlan : --
eth : --
wlan : --
---------------------------------------------------------------

176
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.

177
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
--------------------------------------------

178
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

179
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]

180
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)#

181
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)#

182
GPON OLT User Manual

7.3Loop detection
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]

183
GPON OLT User Manual

Case1: Configure the loop detection controlled state of GE1 to block.


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]

184
GPON OLT User Manual

Case1: Monitors the loop control on vlan100 of port GE1.


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]

185
GPON OLT User Manual

Case1: Show the loop detection status of the OLT system.


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-lower | Alarm-upper: indicates the upper alarm value. The default value is
alarm-upper | 70.
warning-lower| Warning-lower: indicates the warning lower limit. The default value
warning-upper is 7.
Warning-upper: indicates the warning upper limit. The default value

186
GPON OLT User Manual

is 30.

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

187
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

188
GPON OLT User Manual

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) : 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

189
GPON OLT User Manual

alarm-upper Alarm-upper: indicates the upper alarm value

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)#

190
GPON OLT User Manual

7.4.5 power-rx
power-rx ( 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-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.

191
GPON OLT User Manual

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

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

192
GPON OLT User Manual

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: indicates the lower alarm threshold. The default value


is 2.97.
alarm-lower | Alarm-upper: indicates the upper alarm threshold. The default value
alarm-upper | is 3.63.
warning-lower| Warning-lower: indicates the warning lower threshold. The default
warning-upper 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

193
GPON OLT User Manual

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.

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

194
GPON OLT User Manual

7.5.5 show statistics current | history


show statistics (current | history) port portid [interval (15min |
Command Syntax
1hour | other)

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

195
GPON OLT User Manual

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
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 -

196
GPON OLT User Manual

unsupported opcode :0 -
unsupported da :0 -
alignment errors :0 -
length out of range :0 -
code errors :0 -
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

197
GPON OLT User Manual

portid Port number to be configured.

ont-id The ID of the ONT to be configured.

gem-id GEM ID to be configured

[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

198
GPON OLT User Manual

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
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

199
GPON OLT User Manual

MulticastPackets : 88027 40
OversizePackets :0 0
Discards : 178 0
Errors :0 0
frames 64 octets : 21295 2774
frames 65 to 127 octets : 35878 1741
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

200
GPON OLT User Manual

[Configuration case]

Case1: Show basic SNMP information


OLT(config)# show snmp-agent sys-info
contact : Shenzhen CData Tech. Co., Ltd.
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


contact| location| location: Location information
description| sysname description: indicates the description
sysname: indicates the name information

201
GPON OLT User Manual

info Information characters to configure

[Configuration case]

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)#

202
GPON OLT User Manual

7.7 SNMPv3 manage

7.7.1snmp-agent group v3 authentcation

snmp-agent group v3 <group-name> authentication


Command
{[notify-view <none|all>]|[ read-view <none|all> ]|[write-view
Syntax
<none|all>]}

Applicable
config view
Views

This command is used to configure a secure mode based group with


Description
authentication for SNMP proxy.

<group-name> Group name, supports 1-32 characters.。

notify-view Specify the notification view corresponding to the group name.

read-view Set the read-only view corresponding to the group name.

write-view Set the read/write view corresponding to the group name.

None: does not match view.


none|all
All: Match all views.

[Configuration case]
Case1 : Configure a secure mode based group with snmp proxy authentication, named test,
corresponding to all notification views.
OLT(config)# snmp-agent group v3 test authentication notify-view all

7.7.2snmp-agent group v3 noauth

snmp-agent group v3 <group-name> noauth


Command
{[notify-view <none|all>]|[ read-view <none|all>]|[ write-view
Syntax
<none|all>]}

Applicable
config view
Views

This command is used to configure a secure mode based group for


Description
snmp proxy without authentication.

<group-name> Group name, supports 1-32 characters.

notify-view Specify the notification view corresponding to the group name.

203
GPON OLT User Manual

read-view Set the read-only view corresponding to the group name.

write-view Set the read/write view corresponding to the group name.

None: does not match view.


none|all
All: Match all views.
[Configuration case]
Case1:Configure a secure mode based group for SNMP proxy without authentication, named test,
corresponding to all notification views.
OLT(config)# snmp-agent group v3 test noauthnotify-view all

7.7.3snmp-agent group v3 privacy

snmp-agent group v3 <group-name> privacy


Command
{[notify-view <none|all>]|[ read-view <none|all>]|[ write-view
Syntax
<none|all>]}

Applicable
config view
Views

This command is used to configure a secure mode based group for


Description
snmp proxy with hidden authentication.

<group-name> Group name, supports 1-32 characters.

notify-view Specify the notification view corresponding to the group name.

read-view Set the read-only view corresponding to the group name.

write-view Set the read/write view corresponding to the group name.

None: does not match view.


none|all
All: Match all views.
[Configuration case]
Case1:Configure a secure mode based group with hidden authentication for SNMP proxy, named
test, corresponding to all notification views.
OLT(config)# snmp-agent group v3 test privacy notify-view all

7.7.4 snmp-agent usm-user v3

snmp-agent usm-user v3 <user-name> <group-name>


Command Syntax authentication-mode md5 <md5-password> privacy-mode des56
<des56-password>

Applicable Views config view

204
GPON OLT User Manual

This command is used to configure the snmp proxy entity to


access user mapping to security groups and set permissions
Description Certificate mode and password. The authentication modes are all
optional parameters. Note: Prior to this, it is necessary to
First, create a secure group based on snmp agent.

<user-name> Entity access user name.

<group-name> Group name, supports 1-32 characters.

<md5-password> User authentication password, with a length of 8-64 characters

56 bit DES encrypted password, with a password length of 8-64


<des56-password>
characters

[Configuration case]
Case1:Configure the snmp agent entity access group as test1, map the security based group test,
and authentication mode
MD5 with password 12345678 and authentication mode des56 with password 111111111.
OLT(config)# snmp-agent usm-user v3 test1 test authentication-mode md5 12345678
privacy-mode des56 111111111

7.7.5show snmp-agent usm-user

Command
show snmp-agent usm-user <user>
Syntax

Applicable
config view
Views

This command is used to view user information accessed by the snmp


Description
proxy entity.

Entity access user name, supports 1-64 characters. This parameter is


optional and will not be added
<user> This parameter represents viewing all entity access user information.
Adding this parameter indicates viewing
The specified entity accesses user information.

notify-view Specify the notification view corresponding to the group name.。

read-view Set the read-only view corresponding to the group name.

write-view Set the read/write view corresponding to the group name.

none|all None: does not match view.

205
GPON OLT User Manual

All: Match all views.

[Configuration case]
Case1:View all entity access user information for OLT snmp proxy.
OLT(config)# show snmp-agent usm-user
User name
: test
Group name
: test
Authentication mode : md5
Authentication key
: 12345678
Privacy mode
: des56
Privacy key
: 12345678
User name
: test1
Group name
: test
Authentication mode : md5
Authentication key
: 12345678
Privacy mode
: des56
Privacy key
: 111111111
Total number : 2

206
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

207
GPON OLT User Manual

8.1.3 link-aggregation group


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

208
GPON OLT User Manual

This command is used to configure the sharing mode of informed


Description
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)#

209
GPON OLT User Manual

8.1.6 port-priority
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)#

210
GPON OLT User Manual

8.1.8 show link-aggregation group


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
-------------------------------------------------------------------------

211
GPON OLT User Manual

MaxSpeed(/Mbps): 1000 RealSpeed(/Mbps): 1000


-----------------------------------------------------------------------------
Vlan mode: Access Native-Vlan: 100
-----------------------------------------------------------------------------
Tagged-Vlan:
-----------------------------------------------------------------------------
Untagged-Vlan:
100
-----------------------------------------------------------------------------
OLT(config)#

212
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

213
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)#

214
GPON OLT User Manual

9.1.4 logout
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

215
GPON OLT User Manual

Device name : TENDA


Device MAC address : E0:67:B3:21:10:09
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)#

216
GPON OLT User Manual

9.1.9user login terminal-type

Command user login terminal-type (console|telnet|ssh) authentication-method


Syntax (local|aaa|local-aaa)

Applicable
Config view
Views

This command is used to configure terminal authentication method


Description control, with default authentication methods being local and aaa (local
aaa).

console Console: Serial connection authentication.


telnet Telnet: Telnet connection authentication.
ssh Ssh: SSH connection authentication

local Local: Only supports local user authentication


aaa AAA: Only supports AAA user authentication
local-aaa Local aaa: supports authentication for both local and aaa users

[Configuration case]
Case1:Telnet connection only supports AAA user authentication login.
OLT(config)#user login terminal-type telnet authentication-method aaa

Case2:SSH connection only supports local user authentication login.


OLT(config)#user login terminal-type ssh authentication-method local

9.2Status detection
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

217
GPON OLT User Manual

[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

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)#

218
GPON OLT User Manual

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%
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)#

219
GPON OLT User Manual

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

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)#

220
GPON OLT User Manual

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
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

221
GPON OLT User Manual

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.

[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

222
GPON OLT User Manual

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
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

223
GPON OLT User Manual

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
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]

224
GPON OLT User Manual

Case1: Configure the OLT system time zone


OLT(config)# timezone gmt+ 08:00

OLT(config)#

9.3Config management

9.3.1auto-backup configuration interval-time

auto-backup configuration interval-time (enable interval|


Command Syntax
disable)

Applicable Views configview

This command is used to automatically configure the


Description
upload server switch for periodic time intervals.

<1-14400>The interval time is from 1 minute to ten days.


interval
Unit in minutes

[Configuration case]
Case1:Turn on the time interval to automatically configure the upload server switch, and set the
time interval to 1 minute.
OLT(config)# auto-backup configuration interval-time enable 1
OLT(config)#

9.3.2auto-backup configuration absolute-time

Command
auto-backup configuration absolute-time (enable <HH:MM>| disable)
Syntax

Applicable
Config view
Views

This command is used to automatically configure the upload server


Description
switch in absolute time.

<HH:MM> Set the backup time in the format of<hours: minutes>

[Configuration case]
Case1:Turn on the absolute time automatic configuration upload server switch and set the time to
08:09.
OLT(config)# auto-backup configuration absolute-time enable 08:09
OLT(config)#

225
GPON OLT User Manual

9.3.3auto-backup configuration ftp

Command auto-backup configuration ftp ftp-server-ip-address user-name


Syntax user-password file-name

Applicable
configview
Views

This command is used to automatically configure the FTP mode settings


Description
for the upload server.

ftp-server-ip-ad The IP address of the FTP server.


dress

user-name FTP login username

user-password FTP login password.

file-name Configure file names for saving

[Configuration case]
Case1 : Automatically upload the configuration to the FTP server with IP address 192.168.1.223,
username admin, password admin, and file name logback.
OLT(config)# auto-backup configuration ftp 192.168.1.223 admin admin logback
OLT(config)#

9.3.4auto-backup configuration tftp

Command
auto-backup configuration tftp tftp-server-ip-address file-name
Syntax

Applicable
configview
Views

This command is used to automatically configure the FTP mode settings


Description
for the upload server.

tftp-server-ip-ad The IP address of the tftp server.


dress

file-name Configure file names for saving

[Configuration case]
Case1 : Automatically configure and upload to the tftp server, with an FTP server IP address of

226
GPON OLT User Manual

192.168.1.223 and a file name of logback.


OLT(config)# auto-backup configuration tftp 192.168.1.223 logback
OLT(config)#

9.3.5auto-save configuration absolute-time

Command
auto-save configuration absolute-time (enable <HH:MM>| disable)
Syntax

Applicable
configview
Views

This command is used to automatically save the switch for absolute


Description
time.

<HH:MM> Set the backup time in the format of<hours: minutes>

[Configuration case]
Case1:Turn on the absolute time auto save switch and set the time to 08:09.
OLT(config)# auto-save absolute-time enable 08:09
OLT(config)#

9.3.6auto-save configuration interval-time


Command
auto-save configuration interval-time (enable interval| disable)
Syntax

Applicable
configview
Views

This command is used to automatically save the switch between cycle


Description
time intervals.

<1-14400>The interval time is from 1 minute to ten days. Unit in


interval
minutes

[Configuration case]
Case1:Turn on the time interval auto save switch and set the time interval to 1 minute.
OLT(config)# auto-save interval-time enable 1
OLT(config)#

227
GPON OLT User Manual

9.3.7 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.


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.8backup 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

228
GPON OLT User Manual

[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.9erase 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
Please rememb
er to backup the system configuration data
Are you sure to continue? (y|n)[n]: y

Successfully restored factory configuration!

9.3.10load 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

229
GPON OLT User Manual

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.11load 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

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.12Save
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]

230
GPON OLT User Manual

Case1: Saves the OLT real-time configuration file


OLT(config)# save
Backup old configuration succeed.
Current configuration saved.
OLT(config)#

9.3.13Show auto-save configuration config


Command
show auto-save configuration config
Syntax

Applicable
config view
Views

Description 此命令用于查看自动保存配置

[Configuration case]
Case1:查看自动保存配置。
OLT(config)# show auto-save configuration config
System autosave interval switch: off
Autosave interval: 86400 minutes
System autosave time switch: off
Autosave time: 00:00
OLT(config)#

9.3.14show auto-backup configuration config

Command
show auto-backup configuration config
Syntax

Applicable
config view
Views

Description 此命令用于查看自动上传配置

[Configuration case]
Case1:查看自动上传配置设置。
OLT(config)# show auto-backup configuration config
auto-backup log ProtocolType: tftp
auto-backup log ip Server: 0:0:0:0
auto-backup log filename:
auto-backup log interval switch: off
auto-backup log interval: 86400 minutes
auto-backup log absolute time switch: off

231
GPON OLT User Manual

auto-backup log absolute time: 00:00


OLT(config)#

9.3.15show 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]

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

232
GPON OLT User Manual

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
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.16show 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)

233
GPON OLT User Manual

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.17show saved-config
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

234
GPON OLT User Manual

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

[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]

235
GPON OLT User Manual

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

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.

236
GPON OLT User Manual

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


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.

237
GPON OLT User Manual

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:
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

238
GPON OLT User Manual

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
----------------------------------------------------------------------------
Files Total: 1
----------------------------------------------------------------------------

9.5 USB function

9.5.1show usb file

Command
show usb file {file-name}
Syntax

Applicable
config view
Views

Description This command is used to view the contents of USB files.

file-name The USB file name to be viewed

[Configuration case]
Case1:This command line allows the user to view the contents of all USB files.
OLT(config)# show usb file
---------------------------------------------------------------------------------------------------
file list:

239
GPON OLT User Manual

File Name Size(B) Creation Time


Attribute
---------------------------------------------------------------------------------------------------
System Volume Information 16384 2023/09/20 18:08:37
drwx
log.tar.gz 62676 2000/01/01 03:07:43
-rwx
test.txt 152 2023/09/20 19:47:00
-rwx
config.txt 5504 2000/01/01 03:08:30
-rwx
FD1616S_B1_Image_V3.0.0_231023_3048_X000.img 40460972 2000/01/01
01:46:24 -rwx
config.tar.gz 1381 2000/01/01 03:11:06
-rwx
---------------------------------------------------------------------------------------------------
Files Total: 6
---------------------------------------------------------------------------------------------------
OLT(config)#

9.5.2usb file delete

Command
usb file delete {file-name}
Syntax

Applicable
config view
Views

Description This command is used to delete the contents of a USB file.

file-name The USB file name to be deleted

[Configuration case]
Case1:This command line allows the user to delete the USB config.txt file.
OLT(config)# usb file delete config.txt
----------------------------------------------------------------------------
Delete config.txt successfully!
----------------------------------------------------------------------------
OLT(config)#

240
GPON OLT User Manual

9.5.3load packetfile usb

Command
load packetfile usb {file-name}
Syntax

Applicable
config view
Views

Description This command uses the image upgrade from a USB file.

file-name Upgrade image file name

[Configuration case]
Case1:Upgrade the device using FD1616SB1Image V3.0.0_231023_2048_X000.img from the USB file.
OLT(config)# load packetfile usb FD1616S_B1_Image_V3.0.0_231023_3048_X000.img

Load packetfile begins, please wait and notice the rate of progress

Any operation such as reboot or switchover will cause failure and


unpredictable result

The loading starts


The upgrading starts
The percentage of file [FD1616S_B1_Image_V3.0.0_231023_3048_X000.img]
upgrade is: Update Failed!
Reason: Unknow
OLT(config)#

9.5.4load saved-config usb

Command
load saved-config (gz |txt) usb {file-name}
Syntax

Applicable
config view
Views

Description This command is used to load configuration files from a USB file.

Gz: Files compressed using gzip


gz |txt
Txt: Text file

file-name The name of the loaded configuration file

[Configuration case]
Case1:Load the device configuration file config.tar.gz from the USB file.

241
GPON OLT User Manual

OLT(config)# load saved-config gz usb config.tar.gz


The loading is failed!
OLT(config)#

9.5.5backup saved-config usb

Command
backup saved-config (gz |txt) usb {file-name}
Syntax

Applicable
config view
Views

Description This command is used to upload configuration files to USB.

Gz: Files compressed using gzip


gz |txt
Txt: Text file

file-name Configuration file name

[Configuration case]
Case1:Used to upload the configuration file name config to USB in txt format.
OLT(config)# backup saved-config format txt usb config
Start backup configuration files
The backup is successful
OLT(config)#

9.5.6backup log usb

Command
backup log usb {file-name}
Syntax

Applicable
config view
Views

Description This command is used to upload log files to USB.

file-name Log file name

[Configuration case]
Case1:Used to upload the log file name log to USB.
OLT(config)# backup log usb log
Start backup log files
The backup is successful
OLT(config)#

242
GPON OLT User Manual

9.5.7load file to flash usb

Command
load file to flash usb {file-name}
Syntax

Applicable
config view
Views

Description This command is used to transfer USB files to the device flash.

file-name The file name to be transferred

[Configuration case]
Case1:Transfer config.txt from USB to device flash.
OLT(config)# load file to flash usb config.txt
The load is successful
OLT(config)# show flash file
---------------------------------------------------------------------------------------------------
file list:
File Name Size(B) Creation Time
Attribute
---------------------------------------------------------------------------------------------------
config.txt 5416 2001/05/29 19:26:18
-rwx
img.tar 7884800 2001/04/01 18:42:37
-rw-
---------------------------------------------------------------------------------------------------
Files Total: 2
---------------------------------------------------------------------------------------------------
OLT(config)#

9.6 BBU function

9.6.1 Show bbu state

Command
show bbu state
Syntax

Applicable
config view
Views

Description View BBU information

[Configuration case]
Case1:View BBU information

243
GPON OLT User Manual

OLT(config)# show bbu state


-------------------------------------------------------------------------------------
Presence: normal
Version: V1
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged
Charge complete: yes
Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V
-------------------------------------------------------------------------------------
Current Supply voltage: 11.9V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -16.7(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 90.7(C)

9.6.2 bbu temperature high-alarm-threshold

Command bbu temperature high-alarm-threshold high-threshold


Syntax low-alarm-threshold low-threshold

Applicable
config view
Views

Description 配置 bbu 温度高低温阈值设置

high-threshold bbu 温度高温阈值

low-threshold bbu 温度低温阈值


[Configuration case]
Case1:Configure BBU temperature high temperature threshold and low temperature threshold
OLT(config)# show bbu state
-------------------------------------------------------------------------------------
Presence: normal
Version: V2
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged

244
GPON OLT User Manual

Charge complete: yes


Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V
-------------------------------------------------------------------------------------
Current Supply voltage: 12.0V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -23.4(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 60.8(C)

9.6.3 bbu temperature threshold

Command bbu temperature threshold low-alarm {disable/enable}


Syntax bbu temperature threshold high-alarm {disable/enable}

Applicable
config view
Views

Description BBU temperature alarm switch settings

high-alarm High temperature alarm

low-alarm Low temperature alarm

disable Turn off alarms

enable Enable alarm

[Configuration case]
Case1:BBU temperature high temperature alarm turned off
OLT(config)# bbu temperature threshold high-alarm disable

9.6.4 BBU reboot

Command Syntax bbu reboot

Applicable Views config view

Description BBU power restart

[Configuration case]
Case1: BBU power restart
OLT(config)# bbu reboot

245
GPON OLT User Manual

9.6.5 bbu restore-factory

Command
bbu restore-factory
Syntax

Applicable
config view
Views

Description BBU power reset, BBU module information restored to default

[Configuration case]
Case1:BBU power restoration default settings
OLT(config)# bbu restore-factory

9.6.6 load file to flash

Command load file [to flash] (ftp ip-address FTP-user-name FTP-user-password


Syntax FILE-NAME>} | tftp ip-address FILE-NAME)

Applicable
config view
Views

Description This command is used to transfer the upgrade file of OLT to OLT.

ftp Using FTP protocol to transfer ONT upgrade files to OLT

ip-address The IP address of an FTP or TFTP server, in format X X.X.X

The username for accessing the FTP server, with a range of 1-32
FTP-user-name
characters

FTP-user-passw The access password for the FTP server, with a range of 1-32
ord characters

The upgrade file name for OLT, with a range of 1-64 characters, needs
FILE-NAME
to include the extension of the OLT upgrade file

tftp Transfer OLT upgrade files to OLT using tftp protocol

[Configuration case]
Case1:Transferring OLT upgrade files to OLT using tftp method
OLT(config)# load file to flash tftp 192.168.5.155 V1.0.4_190307.img
OLT(config)#

246
GPON OLT User Manual

9.6.7 bbu upgrade

Command
bbu upgrade bbu-filename
Syntax

Applicable Views config view

Description BBU Upgrade

[Configuration case]
Case1:bbu upgrade
OLT(config)# show bbu state
-------------------------------------------------------------------------------------
Presence: normal
Version: V1
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged
Charge complete: yes
Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V
-------------------------------------------------------------------------------------
Current Supply voltage: 11.9V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -23.4(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 60.8(C)
OLT(config)# load file to flash tftp 192.168.5.155 PB0301.bin
OLT(config)# bbu upgrade PB0301.bin
OLT(config)# show bbu state
-------------------------------------------------------------------------------------
Presence: normal
Version: V2
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged
Charge complete: yes
Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V

247
GPON OLT User Manual

-------------------------------------------------------------------------------------
Current Supply voltage: 12.0V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -23.4(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 60.8(C)

248
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

249
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

250
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

251
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

252
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)#

253
GPON OLT User Manual

10.1.10 igmp robustness


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)#

254
GPON OLT User Manual

10.1.12 igmp source-ip


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]

255
GPON OLT User Manual

Case1: Configure the interval for sending IGMP query packets in the ONT multicast profile to 12
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
gpon|ge|xge ge: connects to the upper port. The value ranges from 0/0/1-4
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.

lag-id ID of the aggregation group to be configured. The value ranges from

256
GPON OLT User Manual

1 to 8

[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

lag-id ID of the aggregation group to be configured. The value ranges

257
GPON OLT User Manual

from 1 to 8

[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

258
GPON OLT User Manual

-----------------------------------------------------------------------------
multicast-vlan 100
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)#

259
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.

260
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.

261
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

262
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

263
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)#

264
GPON OLT User Manual

11.1.6 traffic-redirect
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

265
GPON OLT User Manual

OLT(config)#

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)#

266
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,

267
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

268
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

269
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)

270
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

271
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]

272
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)

273
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

274
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

275
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

276
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

277
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 dhcp security-table [ static | dynamic | ip-address |vlan
Command Syntax
vlan-id |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]

278
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)#

12.6 DHCP Server

12.6.1dhcp-server

Command
dhcp-server
Syntax

Applicable
config view
Views

Description Enter the dhcp server configuration view

[Configuration case]
Case1:Enter the dhcp server configuration view
OLT(config)# dhcp-server
OLT(config-dhcp-server)#

279
GPON OLT User Manual

12.6.2dhcp-server vlanif

Command
dhcp-server vlanif vlan-id
Syntax

Applicable
dhcp-server view
Views

Description Configure which vlanif interface dhcp server should be applied to

vlan-id Port VLAN ID.

[Configuration case]
Case1:Configure dhcp server to be applied to vlanif111.
OLT(config-dhcp-server)# dhcp-server vlanif 111
OLT(config-dhcp-server)#

12.6.3dhcp-server ip-range

Command dhcp-server ip-range X.X.X.X X.X.X.X


Syntax no dhcp-server ip-range

Applicable
dhcp-server view
Views

Description Configure the size of the IP address pool.

X.X.X.X The starting and ending IP addresses of the IP address pool

[Configuration case]
Case1:Configure the IP address pool size of dhcp server to be 192.168.11.2~192.168.11.222.
OLT(config-dhcp-server)# dhcp-server ip-range 192.168.11.2 192.168.11.222
OLT(config-dhcp-server)#

12.6.4dhcp-server mask

Command
dhcp-server mask X.X.X.X
Syntax

Applicable
dhcp-server view
Views

Configure the subnet mask assigned by the dhcp server.


Description
Note: By default, it follows the subnet mask of the interface.

X.X.X.X Subnet Mask

[Configuration case]

280
GPON OLT User Manual

Case1:Configure the subnet mask of dhcp server to 255.255.254.0.


OLT(config-dhcp-server)# dhcp-server mask 255.255.254.0
OLT(config-dhcp-server)#

12.6.5dhcp-server gateway

Command
dhcp-server gateway X.X.X.X
Syntax

Applicable
dhcp-server view
Views

Description Configure dhcp server gateway

X.X.X.X Gateway IP address

[Configuration case]
Case1:Configure the gateway IP address of dhcp server to 192.168.11.1.
OLT(config-dhcp-server)# dhcp-server gateway 192.168.11.1
OLT(config-dhcp-server)#

12.6.6dhcp-server dns

Command
dhcp-server dns X.X.X.X
Syntax

Applicable
dhcp-server view
Views

Description Configure dhcp server DNS address

X.X.X.X DNS address

[Configuration case]
Case1:Configure the DNS address of dhcp server to 8.8.8.8.
OLT(config-dhcp-server)# dhcp-server dns 8.8.8.8
OLT(config-dhcp-server)#

12.6.7dhcp-server nbns

Command
dhcp-server nbns X.X.X.X
Syntax

Applicable
dhcp-server view
Views

Description Configure dhcp server Wins address

281
GPON OLT User Manual

X.X.X.X Wins address

[Configuration case]
Case1:Configure the nbns address of dhcp server to 9.9.9.9.
OLT(config-dhcp-server)# dhcp-server nbns 9.9.9.9
OLT(config-dhcp-server)#

12.6.8dhcp-server lease-time

Command
dhcp-server lease-time lease-time
Syntax

Applicable
dhcp-server view
Views

Description Configure dhcp server to allocate lease time

lease-time Lease time, value range: 60-604800, unit: sec (seconds)

[Configuration case]
Case1:Configure the allocation lease time for dhcp server to 6000 seconds.
OLT(config-dhcp-server)# dhcp-server lease-time 6000
OLT(config-dhcp-server)#

12.6.9dhcp-server static-bind

Command
dhcp-server static-bind X.X.X.X HH:HH:HH:HH:HH:HH
Syntax

Applicable
dhcp-server view
Views

Configure dhcp server static binding to specify the IP address


Description
assigned to the MAC address.

X.X.X.X Static binding of IP address

HH:HH:HH:HH:
Static binding of MAC address
HH:HH
[Configuration case]
Case1:Configure dhcp server to statically bind IP address 192.168.11.11 to a host with MAC address
00:00:00:11:11.
OLT(config-dhcp-server)# dhcp-server static-bind 192.168.11.11 00:00:00:00:11:11
OLT(config-dhcp-server)#

282
GPON OLT User Manual

12.6.10dhcp-server server-name

Command
dhcp-server server-name server-name
Syntax

Applicable
dhcp-server view
Views

Description Configure the dhcp server name.

server-name Static binding of IP address

[Configuration case]
Case1:Configure the dhcp server name to cdata.
OLT(config-dhcp-server)# dhcp-server server-name cdata
OLT(config-dhcp-server)#

12.6.11dhcp-server (enable|disable)

Command
dhcp-server (enable|disable)
Syntax

Applicable
dhcp-server view
Views

Description Configure dhcp server to enable/disable.

enable Enable dhcp server.

disable Disable dhcp-server。


[Configuration case]
Case1:Enabledhcp-server。
OLT(config-dhcp-server)# dhcp-server enable
OLT(config-dhcp-server)#

283
GPON OLT User Manual

12.6.12show dhcp-server

Command
show dhcp-server ip-pool status all
Syntax

Applicable
dhcp-server view、config view
Views

View the configuration of dhcp server and the allocation status of


Description
dhcp server address pool.

[Configuration case]
Case1:View the configuration of dhcp server and the allocation status of dhcp server address pool.
OLT(config)# show dhcp-server ip-pool status all
----------------------------------------------------------------------------------
Pool-name : vlanif 111
lease time : 6000
Server-name : cdata
DNS-server : 8.8.8.8
NBNS-server : 9.9.9.9
Position : interface
Gateway : 192.168.11.1
Mask : 255.255.254.0
Status : Enable
----------------------------------------------------------------------------------
Start End Total Used Idle(Expired) Conflict
----------------------------------------------------------------------------------
192.168.11.2 192.168.11.222 221 11 210(0) 0
--------------------------------------------------------------------------------
Network section :
----------------------------------------------------------------------------------
Index IP MAC Lease Status
----------------------------------------------------------------------------------
1 192.168.11.2 00:00:00:00:11:12 2022-12-27 15:58:37 Used
2 192.168.11.3 00:00:00:00:11:13 2022-12-27 15:58:37 Used
3 192.168.11.4 00:00:00:00:11:14 2022-12-27 15:58:37 Used
4 192.168.11.5 00:00:00:00:11:15 2022-12-27 15:58:37 Used
5 192.168.11.6 00:00:00:00:11:16 2022-12-27 15:58:37 Used
6 192.168.11.7 00:00:00:00:11:17 2022-12-27 15:58:37 Used
7 192.168.11.8 00:00:00:00:11:18 2022-12-27 15:58:38 Used
8 192.168.11.9 00:00:00:00:11:19 2022-12-27 15:58:38 Used
9 192.168.11.10 00:00:00:00:11:1a 2022-12-27 15:58:38 Used
10 192.168.11.11 00:00:00:00:11:11 -
Static-bind

284
GPON OLT User Manual

11 192.168.11.12 00:00:00:00:11:1b 2022-12-27 15:58:38 Used


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

12.7 IPSG

12.7.1ip-source check binding

ip-source check binding static rule ruleId port (gpon | ge |


xge) F/S portlist
Command Syntax
ip-source check binding port (gpon | ge | xge) F/S portid
static rule rulelist

Applicable Views config view

Description This command is used to bind static ipsg rules to ports

ruleId Static IPSG rule ID, with a value range of<1-1024>

portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4

portid The port to which the ipsg rule is bound

Static IPSG rule ID, with a value range of<1-1024>, in the format
rulelist
of: 1,2-3,4
[Configuration case]
Case1:Bind static IPSG rule 1 to GE 0/0/1 port
OLT(config)# ip-source check binding static rule 1 port ge 0/0 1
OLT(config)#

12.7.2ip-source check dhcp

Command Syntax ip-source check dhcp dynamic (enable | disable)

Applicable Views config view

This command is used to enable or disable the IPSG dynamic


Description table entry function, which defaults to the IPSG dynamic table
entry disabling state

enable Enable IPSG dynamic table entry function

disable Disable IPSG dynamic table entry function

[Configuration case]
Case1:Enable IPSG dynamic table entry function
OLT(config)# ip-source check dhcp dynamic enable
OLT(config)#

285
GPON OLT User Manual

12.7.3ip-source check port

ip-source check port (gpon | ge | xge) F/S portlist (enable |


Command Syntax
disable)

Applicable Views config view

This command is used to enable and disable the IPSG function of


Description the port. The IPSG function of the port defaults to the disabled
state

portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4

enable Enable the IPSG function of the port

disable Enable the IPSG function of the port

[Configuration case]
Case1:Enable IPSG function for gpon 0/0/1 and gpon 0/0/2 ports
OLT(config)# ip-source check port gpon 0/0 1-2 enable
OLT(config)#

12.7.4 ip-source check static

ip-source check static rule (autoindex | ruleid) {ip ipaddress


Command Syntax
|mac MacAddress | vlan Vlanid}

Applicable Views config view

Description This command is used to create IPSG static rules

autoindex Automatically obtain IPSG rule ID

ruleid Static IPSG rule ID, with a value range of<1-1024>

The IP address of the Ipsg rule is in dotted decimal format A


ipaddress
B.C.D

The MAC address part of the Ipsg rule, in the format XX: XX: XX:
MacAddress
XX: XX: XX: XX

Vlanid The VLAN of Ipsg rule, with a value range of 1-4094

[Configuration case]
Case1:Create a static IPSG rule with automatic ID, IP address 6.6.6.6, MAC address 00:00:00:00:00:11,
and VLAN of 100
OLT(config)# ip-source check static rule autoindex ip 6.6.6.6 mac 00:00:00:00:00:11 vlan

286
GPON OLT User Manual

100
OLT(config)#

12.7.5show ip-source check brief

show ip-source check brief port all


Command Syntax
show ip-source check brief port (gpon | ge | xge) F/S portlist

Applicable Views config view

This command is used to display port binding IPSG rule


Description
information

all Display all port bound IPSG rule information

portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4

[Configuration case]
Case1:Display the IPSG rule rules bound to ports ge0/0/4
OLT(config)# show ip-source check brief port ge 0/0 4
-----------------------------------------------------------------------------
PORT Static/Dynamic Binding Table
-----------------------------------------------------------------------------
ge 0/0/4 1-2
-----------------------------------------------------------------------------
OLT(config)#

12.7.6show ip-source check config

Command Syntax show ip-source check brief config

Applicable Views config view

This command is used to display system IPSG configuration


Description
information
[Configuration case]
Case1:Display system IPSG configuration information
OLT(config)# show ip-source check config
-----------------------------------------------------------------------------
dhcp-snooping dynamic : enable
-----------------------------------------------------------------------------
PORT IP Source Check
-----------------------------------------------------------------------------
gpon 0/0/1 enable
gpon 0/0/2 enable

287
GPON OLT User Manual

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
ge 0/0/1 disable
ge 0/0/2 disable
ge 0/0/3 disable
ge 0/0/4 enable
xge 0/0/1 disable
xge 0/0/2 disable
-----------------------------------------------------------------------------
OLT(config)#

12.7.7show ip-source check

show ip-source check rule (all | rulelist)


show ip-source check (dynamic | static) rule (rulelist | all |ip
Command Syntax ipaddress |mac MacAddress | vlan Vlanid )
show ip-source check (dynamic | static) rule port (gpon | ge |
xge) F/S portlist

Applicable Views config view

Description This command is used to display IPSG rule information

dynamic | static Display dynamic or static IPSG rule information

The displayed list of IPSG rule IDs, with a value range


rulelist
of<1-1024>and a format of: 1,2-3,4

The IP address of the displayed IPSG rule is in dotted decimal


ipaddress
format A B.C.D

The MAC address section of the displayed IPSG rule is in the


MacAddress
format XX: XX: XX: XX: XX: XX: XX: XX: XX

The VLAN of the displayed IPSG rule, with a value range of


Vlanid
1-4094

The list of ports bound to the displayed IPSG rule, in the format
portlist
of: 1,2-3,4

288
GPON OLT User Manual

[Configuration case]
Case1:Display all IPSG rule information
OLT(config)# show ip-source check rule all
-------------------------------------------------------------------------------------
INDEX IP MAC VLAN TYPE PORT
-------------------------------------------------------------------------------------
1 1.1.1.1 -- -- Static ge 0/0 4
2 2.2.2.2 00:00:00:00:00:44 100 Static ge 0/0 4
3 6.6.6.6 00:00:00:00:00:11 100 Static --
-------------------------------------------------------------------------------------
total: 3
-------------------------------------------------------------------------------------
OLT(config)#

289
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

290
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

291
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+)#

292
GPON OLT User Manual

13.2.3 show tacacs+ configuration


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+)#

293
GPON OLT User Manual

13.3 AAA mode configuration


13.3.1 aaa
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]

294
GPON OLT User Manual

Case1: Create a domain called domain1.


OLT(config-aaa)#domain domain1
OLT(config-aaa-domain-domain1)#
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
===========================================================================

295
GPON OLT User Manual

=====
Domain Name : abc Domain Id :1
AAA Protocol : RADIUS User Name : Incomplete
Authentication : Enabled

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)#

296
GPON OLT User Manual

13.3.7 username
Command Syntax username (complete | incomplete)

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)#

297
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

298
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

299
GPON OLT User Manual

14.1.2 ont add by loid-auth password


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

300
GPON OLT User Manual

always: The ONU can authenticate the onu for unlimited times at any
time. The ONU only needs to match the password, loid +
always
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
Command Syntax [ (ont-lineprofile-id profile-id |ont-lineprofile-name profile-name)
[ont-srvprofile-id profile-id |ont-srvprofile-name profile-name ] ]

301
GPON OLT User Manual

[always |once-aging <1-10080> |once-no-aging]


ont add port-id ont-id 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 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

302
GPON OLT User Manual

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 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
Description
SN. If the SN is the same, the ONT authentication succeeds and the
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

303
GPON OLT User Manual

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
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

Description "ont add port-id ont-id sn-auth SN-VALUE password-auth

304
GPON OLT User Manual

PASSWOED-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 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

305
GPON OLT User Manual

OLT(config-gpon-0/0)# ont add 1 1 sn-auth 44443135B353EE6A password-auth 123456


7890 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.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)#

306
GPON OLT User Manual

14.1.7 ont autofind


Command Syntax ont autofind port-id (disable | enable)

Applicable Views gpon interface 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 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)#

307
GPON OLT User Manual

14.1.9 ont blacklist


Command Syntax ont blacklist (disable | enable)

Applicable Views config view

This command enables or disables the ONT blacklist authentication


Description
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

308
GPON OLT User Manual

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

[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

309
GPON OLT User Manual

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

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.

310
GPON OLT User Manual

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

14.1.13 ont modify


ont modify port-id ONT-id {(ont-lineprofile-id profile-id |
ont-lineprofile-name profile-name) | (ont-srvprofile-id profile-id|
Command Syntax 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)#

311
GPON OLT User Manual

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

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

312
GPON OLT User Manual

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

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

313
GPON OLT User Manual

[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

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

314
GPON OLT User Manual

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

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
Description
registration details, ONT binding profile information, and ONT port

315
GPON OLT User Manual

configuration.
This command is used to query information about the ONT, including
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.
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

316
GPON OLT User Manual

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


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

317
GPON OLT User Manual

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
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
-----------------------------------------------------------------------------

318
GPON OLT User Manual

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
--------------------------------------------------------------------------------------------------------------------
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

319
GPON OLT User Manual

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

[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.

320
GPON OLT User Manual

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

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.5ont reboot

Command
ont reboot port-id ( ONT-id |all)
Syntax

Applicable
GPon Interface View
Views

Description This command is used to restart ONT.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

321
GPON OLT User Manual

ONT-id: The ONT ID of the ONT to be restarted, with values ranging


ONT-id |all from 1 to 128
All: Restart all ONTs under the PON port

[Configuration case]
Case1:Restart ONT1 under PON1 port
OLT(config-interface-gpon-0/0)# ont reboot 1 1

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

14.2.6ont restore-factory

Command
Syntax OLT(config-interface-gpon-0/0)# ont restore-factory Port-ID ONT-ID

Applicable
gpon view
Views

Description Restore onu factory mode.

Specify the PON port number where ONT is located. Values range
Port-ID
from 1 to 16

The ONT ID of the ONT to be restored from the factory, with values
ONT-ID
ranging from 1 to 128
[Configuration case]
Case1:PON 16 port ONU1 restore factory mode
OLT(config-interface-gpon-0/0)# ont restore-factory 5 5
<cr> - Please press ENTER to execute command

14.2.7ont tr069-profile

ont tr069-profile PORTID <1-128> (ont-tr069profile-id <1-256>


Command
|ont-tr069profile-name PROFILE-NAME)
Syntax
no ont tr069-profile PORTID <1-128>

Applicable
gpon view
Views

Description Ont binding tr069 profile

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


PORTID
and value ranges, which can be 1-4, 1-8, 1-16,...).

322
GPON OLT User Manual

<1-128> The ONU ID to be configured.

<1-256> TR069 profile number, with a value range of 1-256.

The tr069 profile name supports a length of 1-32 characters. The


PROFILE-NAME default profile name is tr069-profile_x, where "x" is replaced by the
actual profile number.

all All PON ports

[Configuration case]
Case1:Bind the first onu under pon1 to tr069 profile 10
OLT(config-gpon-0/0)# ont tr069-profile 1 1 ont-tr069profile-id 10
OLT(config-gpon-0/0)#

14.2.8show ont catv-info

Command
show ont catv-info port-ID (ONT-id | all)
Syntax

Applicable
gpon view
Views

Description View ont catv information

port-ID The port number to be viewed, with a value range of 1-16.

ONT-id The ONT to be viewed has a value range of 1-128.

[Configuration case]
Case1:View CATV information for all ONUs in 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)#

323
GPON OLT User Manual

14.2.9show ont config-capability

Command
show ont config-capability port-id ONT-id
Syntax

Applicable
Config view or gpon interface view
Views

This command is used to query the capability set information of the


ONT configured by the user. You can compare the queried user
Description configured ONT capability set with the actual ONT capability set to
check if the capabilities match. Mainly the ONT capability set
information configured for service profiles.

The PON port number where ONT is located. Values range from 1 to
port-id
16

ONT-id The ID of the ONT to be viewed, with a value range of 1-128

[Configuration case]
Case1:Query the user configuration capability set for ONT with ID 3 under port PON3.
vOLT(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.10show ont failed-config

Command
show ont failed-config port-id ONT-id
Syntax

Applicable
Gpon interface view
Views

324
GPON OLT User Manual

This command is used to investigate the reason for the failure to view
Description
the configuration status of ONT.

The PON port number where ONT is located. Values range from 1 to
port-id
16

ONT-id The ID of the ONT to be viewed, with a value range of 1-128

[Configuration case]
Case1:Query the reason for the failure of ONT configuration status with ID 1 under 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.11show 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 :-

325
GPON OLT User Manual

ONT primary DNS :-


ONT slave DNS :-
ONT manage VLAN : 100
ONT manage priority :1
-----------------------------------------------------------------------------

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

14.2.12show 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)#

326
GPON OLT User Manual

14.2.13show ont port state


Command Syntax show ont port state port-ID ONT-id eth all

Applicable Views GPON view

Description Show ONT port status

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.14show 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

327
GPON OLT User Manual

----------------------------------------------------------------------------
0/0 3 0 3 1
-----------------------------------------------------------------------------

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

14.2.15show ont run-info


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.16show 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

328
GPON OLT User Manual

-------------------------------------------------------------------------------------------
Total Info
-------------------------------------------------------------------------------------------
Offline :0
Deactive :0
Active :1
ConfigSuccess : 1
ConfigFailed :0
Configing :0
ConfigInit :0
MibReady :1
Unknown :0
-------------------------------------------------------------------------------------------
OLT(config-gpon-0/0)#

14.2.17show 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

329
GPON OLT User Manual

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
-----------------------------------------------------------------------------

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]

330
GPON OLT User Manual

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

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.

331
GPON OLT User Manual

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)#

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)#

332
GPON OLT User Manual

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

The "ont optical-alarm-profile" command is used to bind an optical


module alarm profile.
Description
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>
Command Syntax

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

333
GPON OLT User Manual

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 )

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.

334
GPON OLT User Manual

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

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]

335
GPON OLT User Manual

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
(disable | enable) | auto-neg | operational-state (disable | enable)
| speed speed dulepx (full | half) | dhcp-ip {from-onu |
Command Syntax
from-internet})
no ont port attribute port-id ONT-id eth eth-port-id (dhcp-ip |
max-frame-size| max-mac-count }

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/half full: Full duplex mode

336
GPON OLT User Manual

half: Half duplex mode

from-onu/from-inter From onu: Port set to HGU mode


net From internet: Port set to SFU 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

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)#
Case5:Configure the first Ethernet port of PON1 port ONT1 to be in HGU mode.

OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 dhcp-ip from-onu

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

337
GPON OLT User Manual

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 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.

[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.13 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

338
GPON OLT User Manual

GPON ONT encryption switch: Enable

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

14.3.14 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.15 show ont auto-aging info


Command Syntax show ont auto-aging info

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.16 show ont disable-info

339
GPON OLT User Manual

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.17 show ont moving-check


Command Syntax show ont moving-check

Applicable Views gpon interface view

This command is used to check whether the current ONU


Description
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.18 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

340
GPON OLT User Manual

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.19 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

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)#

341
GPON OLT User Manual

14.3.20 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.21 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 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

342
GPON OLT User Manual

MibReady :1
Unknown :0
-----------------------------------------------------------------------------

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

14.3.22 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.

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
All adaptation profiles of the optical module
|
wtd_rtxm_167_526_c
plus |
wtd_rtxm_167_522_
bplus |
lte_3680_p_bc |
sogq_4321_psgb_c_pl
us |
wtd_rtxm167_521 |

343
GPON OLT User Manual

lte3678 |
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

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

344
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.

345
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)#

346
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.

347
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

348
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.8ont-upgrade mode

Command
ont-upgrade mode (batch | policy)
Syntax

Applicable
ont-auto-upgrade-task view
Views

The on upgrade mode command is used to configure the mode of


Description ONT automatic upgrade tasks, which is divided into batch upgrade
and policy upgrade

The task mode is batch upgrade. After configuring this mode, the
batch
current upgrade task only upgrades ONTs that exist in the ONT list

The task mode is strategy upgrade. After configuring this mode, the
policy current upgrade task can upgrade ONTs that exist in the ONT list and
those that are about to be launched
[Configuration case]
Case1:Configure the upgrade file name for 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)#

349
GPON OLT User Manual

15.1.9ont-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.10ont-upgrade start-time
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.

350
GPON OLT User Manual

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.11show 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.12show ont-auto-upgrade-task info


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]

351
GPON OLT User Manual

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
Task Status : none
Upgrade File Name :
ont-match vensor-id :
ont-macth equipment-id :
ont-math Version :
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-list
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

352
GPON OLT User Manual

15.1.13show 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.14show 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
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
--------------------------------------------------------------------------------------------------------

353
GPON OLT User Manual

----------------------------------------------------------------------------------------
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
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------

15.2 ONU single upgrade

15.2.1ont-upgrade

Command ont-upgrade F/S port-id ont-list filename


Syntax no ont-upgrade (F/S port-id ont-list | all)

Applicable
Config interface view
Views

Description This command is used to add or cancel upgrades for certain ONUs

Used to specify the slot number where the ONT needs to be


F/S
upgraded.

Used to specify the port where ONT needs to be upgraded. The ONT
device is connected to the PON port of the OLT device. If the input
port-id
port number detects that it is not a PON port, the input port number
is invalid, and this command does not perform any operation.

Used to specify the list of ONTs that need to be upgraded, with


ont-list formats of 1, 55-66, 77-88, and the number range of ONT devices is
1-128.

filename The file name used for ONU upgrade, with a length of 1-80.

all Used to select all ONTs under the selected port.

354
GPON OLT User Manual

[Configuration case]
Case1:Select the ONU ID 10-20 under PON port 2 in slot 0 for upgrading, with the upgrade file being
test.tar.
OLT(config)# ont-upgrade 0/0 2 10-20 test.tar
OLT(config)#
Case2:Cancel the ONU upgrade task for slot 0 and PON port 2 with ONU IDs 60-64
OLT(config)# no ont-upgrade 0/0 2 60-64
OLT(config)#

15.2.2show ont-upgrade manual

Command
show ont-upgrade manual (current | history) info
Syntax

Applicable
Config view
Views

This command is used to view the current ONT upgrade information


Description
or the completed ONT upgrade information.

List of ONTs being upgraded. Contains ONTs waiting and currently


current
being upgraded.

history The list of upgraded ONTs will be added from the current upgrade list.

[Configuration case]
Case1:View the ONT upgrade information currently being upgraded.
OLT(config)# show ont-upgrade manual current info
----------------------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent(%) UpgradeTime
FailReason
----------------------------------------------------------------------------------------------------
0 1 11 DC31-B3243900 downloading 1 -
0 1 12 DC31-B3241800 downloading 1 -
0 1 13 DC31-B3240800 downloading 2 -
----------------------------------------------------------------------------------------------------
[Configuration case]
Case2:View the completed ONT upgrade information.
FD1604S_B0(config)# show ont-upgrade manual history info
----------------------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status UpgradeTime
FailReason Filename
----------------------------------------------------------------------------------------------------
0 1 13 DC31-B3240800 success 2023/10/26-20:14:43

355
GPON OLT User Manual

asdf.tar
0 1 12 DC31-B3241800 success 2023/10/26-20:14:53
asdf.tar
0 1 11 DC31-B3243900 success 2023/10/26-20:14:58
asdf.tar
----------------------------------------------------------------------------------------------------

356
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)#

357
GPON OLT User Manual

16.1.2 pstnport electric


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

358
GPON OLT User Manual

Error: The Information get failed


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

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]

359
GPON OLT User Manual

Case1: Deletes the first ONU1 pots port from port PON1.
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 digitmap-profile (profile-id
Command Syntax profile-id | profile-name profile-name)
no sippstnuser digitmap port-id ont-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

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:Bind ONU1 under PON1 to digitmap profile 1.


OLT(config-interface-gpon-0/0)# sippstnuser digitmap 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 ont-sipagent-profile (profile-id
profile-id | profile-name profile-name)
Command Syntax
no sippstnuser ipconfig port-id ont-id
sippstnuser ipconfig port-id ont-id ip-index (ip-index|unbind)

Applicable Views gpon interface view

The "sippstnuser ipconfig" command is used to bind the ont-sipagent


Description
profile to the ont pots port service

360
GPON OLT User Manual

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

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

unbind Configure on sipagent to unbind iphost, default not to bind

[Configuration case]

Case1: Bind ONU1 under PON1 port to ont sipagent profile 1.


OLT(config-interface-gpon-0/0)# sippstnuser ipconfig 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

12, 123, and telno1234.

361
GPON OLT User Manual

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 siprightflag-profile (profile-id
Command Syntax
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

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 ONU1 under PON1 to siprightflag profile 1.


OLT(config-interface-gpon-0/0)# sippstnuser rightflag 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]

Case1: Submit the current POTS port profile configuration.


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

362
GPON OLT User Manual

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

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

363
GPON OLT User Manual

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

364
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
-----------------------------------------------------------------------------

365
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]

366
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

367
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

368
GPON OLT User Manual

16.3.5 digitmap-format
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

369
GPON OLT User Manual

OLT(config-digitmap-profile-1)#

16.3.7 show ont-digitmap-profile


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

370
GPON OLT User Manual

Profile-name : digitmap-profile_1
Binding times :0
----------------------------------------------------------------------------

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

371
GPON OLT User Manual

The "bridged line-agent" command is used to configure the address


of the briline service. When the Bridged service is configured on the
ONT, you need to send subscription messages to the server. The
Description 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.

372
GPON OLT User Manual

The address of the conference factory (conference server). The


conf-factory-uri
default value is null, and the character length is 1-63.

[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
Command Syntax outbound-server outbound-server-uri

373
GPON OLT User Manual

no outbound-server

Applicable Views ONT SIP proxy profile configuration view

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

374
GPON OLT User Manual

The "proxy-server" command is used to configure the IP address or


domain name of the SIP proxy server in the ONT SIP proxy profile.
Description
The "no proxy-server" command cancels the user configuration and
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]

375
GPON OLT User Manual

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
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)#

376
GPON OLT User Manual

16.4.13 registration rereg-head-start-time


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

Description The "registration server-uri" command is used to configure the IP

377
GPON OLT User Manual

address or domain name of the SIP registration server in the ONT SIP
proxy profile.
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)#

378
GPON OLT User Manual

16.4.17 show ont-sipagent-profile current


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 :

379
GPON OLT User Manual

Port :0

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.

380
GPON OLT User Manual

OLT(config-sipagent-profile-1)# signal dscp 24


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.

381
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

382
GPON OLT User Manual

OLT(config-sipright-profile_1)#

16.5.2 call-hold
Command Syntax call-hold (enable|disable)

Applicable Views SIP service 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 service 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 service data profile view

Description This command is used to set call transfer permission in the ONT SIP

383
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 service 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 service 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.

384
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 service 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 hotline-num HOTLINE-NUM |disable)

Applicable Views SIP service data profile view

This command is used to set the hotline service permission in the


Description
ONT SIP service data profile, which is disabled by default.

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 service data profile view

This command is used to configure the Message wait indication


Description
permission in the ONT SIP service data profile. By default, the

385
GPON OLT User Manual

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


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

386
GPON OLT User Manual

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 service data profile information for the specified id.

profile-name Show SIP service 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 service 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
----------------------------------------------------------------------------

Call waiting : enable

387
GPON OLT User Manual

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 service 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)#

388
GPON OLT User Manual

16.6 ONT dscrete configuration of numerical graphs

16.6.1sippstnuser digitmap critical-dial-time

Command sippstnuser digitmap port-id ont-id critical-dial-time


Syntax critical-dial-time-value

Applicable
Gpon interface view
Views

This command is used to set the exact match in the ONT number
graph (the number pressed by the user)
Description
The timeout duration of the number graph timer is exactly the same
as the format in the discrete number graph.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

critical-dial-time
Value range: 1-65535. Unit: ms. Default value: 4000.
-value
[Configuration case]
Case1:When setting the exact match in the ONT graph discrete 1, the timeout duration of the graph
timer is 4000
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 critical-dial-time 4000

16.6.2sippstnuser digitmap partial-dial-time

Command sippstnuser digitmap port-id ont-id partial-dial-time


Syntax partial-dial-time-value

Applicable
Gpon interface view
Views

This command is used to set partial matching in the ONT number


graph discretization (the number pressed by the user)
Description
The timeout duration of the number graph timer is only partially
consistent with the format in the discrete number graph.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

389
GPON OLT User Manual

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

partial-dial-time
Value range: 1-65535. Unit: ms. Default value: 16000.
-value
[Configuration case]
Case 1:When setting partial matching in ONT graph discrete 1, the timeout duration of the graph
timer is 16000.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 partial-dial-time 16000

16.6.3sippstnuser digitmap digitmap-format

Command sippstnuser digitmap port-id ont-id digitmap-format


Syntax digitmap-format-value

Applicable
Gpon interface view
Views

This command is used to set the number chart format in the ONT
Description
number chart.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

Value range:
h. 248: Refers to the number chart in H248 format
Ncs: represents a numerical graph in ncs format
digitmap-format
Not_defined: Indicates the use of ONT's internal numerical graph
-value
Vendor_specific: represents a numerical graph in a manufacturer
defined format
Default value: H.248.
[Configuration case]
Case 1:Set the format of the ONT graph in Discrete 1 to H.248.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 digitmap-format h248

390
GPON OLT User Manual

16.6.4sippstnuser digitmap token

Command
sippstnuser digitmap port-id ont-id token token-index token-value
Syntax

Applicable
Gpon interface view
Views

Token is used to add a sub graph scheme to the specified ONT graph
discretization. Subgraph scheme
Description The content is the number matching rules.
No token is used to delete sub graph schemes in the specified ONT
graph discretization.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

token-index Subnumber graph scheme ID. Value range: 1-10

The content of the sub number graph scheme, namely the number
token-value
matching rules. The input string length is 1-27
[Configuration case]
Case 1:Set the sub graph scheme in the ONT number graph discrete 1 to 8888XXXX.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 token 1 8888XXXX

16.6.5show sippstnuser digitmap

Command
show sippstnuser digitmap port-id ont-id
Syntax

Applicable
Gpon interface view
Views

This command is used to query the discrete information of the ONT


Description
number graph that has already been created in the system.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128
[Configuration case]

391
GPON OLT User Manual

Case1:View the discrete information of all ONT number graphs on OLT.


OLT(config-gpon-0/0)# show sippstnuser digitmap 1 1
------------------------------------------------------------------------------------

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-gpon-0/0)#

16.7 ONT SIP Proxy discrete configuration

16.7.1sippstnuser ipconfig auth-realm

Command
sippstnuser ipconfig port-id ont-id auth-realm realm
Syntax

Applicable
Gpon interface view
Views

The auth realm command is used to configure the authentication


Description
domain of the proxy server.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

The authentication domain value of the proxy server. The default


realm
value is empty and the character length is 1-24.
[Configuration case]
Case1:Configure the authentication domain of the proxy server to abcd.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 auth-realm abcd

392
GPON OLT User Manual

16.7.2sippstnuser ipconfig bridged-line-agent

Command sippstnuser ipconfig port-id ont-id bridged-line-agent


Syntax bridged-line-agent-uri

Applicable
Gpon interface view
Views

The bridged line agent command is used to configure the proxy server
address for the "bridged line" service. When configuring this service
Description
on ONT, a subscription message needs to be sent to the server. The
proxy server address can be an IP address or a domain name.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

bridged-line-age The proxy server address for the "Bridged line" service. The default
nt-uri value is empty and the character length is 1-63.
[Configuration case]
Case1:Set the IP address of the proxy server for the "Bridged line" service in ONT SIP proxy discrete
1 to 192.168.2.202.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 bridged-line-agent 192.168.2.202

16.7.3sippstnuser ipconfig conf-factory

Command
sippstnuser ipconfig port-id ont-id conf-factory conf-factory-uri
Syntax

Applicable
Gpon interface view
Views

The conf factory command is used for the address of a conference


Description factory (conference server), which can be an IP address or domain
name.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

conf-factory-uri The address of the conference factory (conference server). The

393
GPON OLT User Manual

default value is empty and the character length is 1-63.

[Configuration case]
Case1:Configure the address of the conference factory (conference server) to 192.168.6.201.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 conf-factory 192.168.6.201

16.7.4sippstnuser ipconfig outbound-server

Command sippstnuser ipconfig port-id ont-id outbound-server


Syntax outbound-server-uri

Applicable
Gpon interface view
Views

The registration server uri command is used to set the address of the
Description SIP outbound proxy server in the ONT SIP proxy discrete, which can
be an IP address or domain name.

outbound-server SIP outbound proxy server address, string type, default value is
-uri empty, and the input string length is 1-63.
[Configuration case]
Case1 : Set the IP address of the SIP outbound proxy server in ONT SIP proxy discrete 1 to
192.168.2.205.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 outbound-server 192.168.2.205

16.7.5sippstnuser ipconfig outbound-server-port

Command sippstnuser ipconfig port-id ont-id outbound-server-port


Syntax outbound-server-port-value

Applicable
Gpon interface view
Views

The outbound server port command is used to set the port number
Description
of the SIP outbound proxy server in the ONT SIP proxy discrete.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

outbound-server The port number of the SIP outbound proxy server, with a default
-port-value value of 0 and a value range of 0-65535.

394
GPON OLT User Manual

[Configuration case]
Case1:Set the port number of the SIP outbound proxy server in ONT SIP proxy discrete 1 to 3090.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 outbound-server-port 3090

16.7.6sippstnuser ipconfig proxy-server

Command
sippstnuser ipconfig port-id ont-id proxy-server proxy-server-uri
Syntax

Applicable
Gpon interface view
Views

The proxy server command is used to set the ONT SIP proxy discrete
Description
SIP proxy server IP address or domain name.

SIP proxy server address, string type, default value is empty, and the
proxy-server-uri
input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the SIP proxy server in ONT SIP proxy discrete 1 to 192.168.2.201.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 proxy-server 192.168.2.201

16.7.7sippstnuser ipconfig proxy-server-port

Command sippstnuser ipconfig port-id ont-id proxy-server-port


Syntax proxy-server-port-value

Applicable
Gpon interface view
Views

The proxy server port command is used to set the port number of the
Description
proxy server in the ONT SIP proxy discrete.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

proxy-server-por The proxy server port number, with a default value of 0 and a value
t-value range of 0-65535.
[Configuration case]
Case1:Set the port number of the SIP proxy server in ONT SIP proxy discrete 1 to 3070.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 1 proxy-server-port 3070

395
GPON OLT User Manual

16.7.8sippstnuser ipconfig rtp dscp

Command
sippstnuser ipconfig port-id ont-id rtp dscp rtp-dscp-value
Syntax

Applicable
Gpon interface view
Views

This command is used to configure the DSCP priority of media RTP


Description messages. DSCP is an IP QoS policy that ensures that high priority
packets are forwarded first.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

The DSCP priority of media RTP messages, with a default value of 46


rtp-dscp-value
and a value range of 0-63.
[Configuration case]
Case1:Set the DSCP priority of media RTP messages in ONT SIP proxy discrete 1 to 46.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 rtp dscp 46

16.7.9sippstnuser ipconfig rtp port

Command sippstnuser ipconfig port-id ont-id rtp port min-rtp-port


Syntax max-rtp-port

Applicable
Gpon interface view
Views

This command is used to configure the range of port numbers that


Description
RTP sessions can use.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

The minimum port number for media RTP messages, with a default
min-rtp-port
value of 50000 and a value range of 1-65535.

The maximum port number for media RTP messages, with a default
max-rtp-port
value of 60000 and a value range of 1-65535.

396
GPON OLT User Manual

[Configuration case]
Case1:Set the range of port numbers that can be used for RTP sessions in ONT SIP proxy discrete 1
to 55000-65000.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 rtp port 55000 65000

16.7.10sippstnuser ipconfig registration expiration

Command sippstnuser ipconfig port-id ont-id registration expiration


Syntax expiration-value

Applicable
Gpon interface view
Views

This command is used to configure the registration validity duration


of the SIP registration server. The effective registration period refers
Description
to the registration period. If it exceeds this period, SIP users need to
register again.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

The registration validity period of the SIP registration server, with a


expiration-value default value of 0 and a range of values from 1 to 86400, measured in
seconds.
[Configuration case]
Case1:Set the registration validity period of the SIP registration server in ONT SIP proxy discrete 1 to
600 seconds.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration expiration 600

397
GPON OLT User Manual

16.7.11sippstnuser ipconfig registration rereg-head-start-time

Command sippstnuser ipconfig port-id ont-id registration


Syntax rereg-head-start-time <1-4294967295>

Applicable
Gpon interface view
Views

This command is used to configure the refresh registration start time


for the SIP registration server. Indicates how much time to send a
Description
refresh registration message before the registration validity period
expires.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

The refresh registration start time of the SIP registration server, with a
expiration-value
default value of 0 and a value range of 1-65535, measured in seconds.
[Configuration case]
Case1:Set the refresh registration start time of the SIP registration server in ONT SIP proxy discrete 1
to 300 seconds.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration rereg-head-start-time 300

16.7.12sippstnuser ipconfig registration server-port

Command sippstnuser ipconfig port-id ont-id registration server-port


Syntax registration-server-port-value

Applicable
Gpon interface view
Views

The proxy server port command is used to set the ONT SIP proxy
Description
discrete SIP registration server port number.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

registration-serv The SIP proxy server port number, with a default value of 0 and a
er-port-value value range of 0-65535.

398
GPON OLT User Manual

[Configuration case]
Case1:Set the port number of the SIP proxy server in ONT SIP proxy discrete 1 to 3080.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration server-port 3080

16.7.13sippstnuser ipconfig registration server-uri

Command sippstnuser ipconfig port-id ont-id registration server-uri


Syntax registration-server-uri

Applicable
Gpon interface view
Views

The registration server uri command is used to set the address of the
Description SIP registration server in the ONT SIP proxy discrete, which can be an
IP address or domain name.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

registration-serv SIP registration server address, string type, default value is empty,
er-uri and the input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the SIP registration server in ONT SIP proxy discrete 1 to 192.168.2.203.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration server-uri 192.168.2.203

16.7.14show sippstnuser ipconfig

Command
show sippstnuser ipconfig port-id ont-id
Syntax

Applicable
Gpon interface view
Views

This command is used to query the discrete information of the ONT


Description
SIP proxy that has already been created in the system.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

399
GPON OLT User Manual

[Configuration case]
Case1:View all ONT SIP proxy discrete information on OLT.
OLT(config-gpon-0/0)# show sippstnuser ipconfig 1 1
----------------------------------------------------------------------------

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
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-gpon-0/0)#

16.7.15sippstnuser ipconfig signal dscp

Command
sippstnuser ipconfig port-id ont-id signal dscp signal-dscp-value
Syntax

Applicable
Gpon interface view
Views

This command is used to configure the DSCP priority of signaling


Description messages. DSCP is an IP QoS policy that ensures that high priority
packets are forwarded first.

signal-dscp-valu The DSCP priority of signaling messages, with a default value of 24

400
GPON OLT User Manual

e and a value range of 0-63.

[Configuration case]
Case1:Set the DSCP priority of the signaling message in the ONT SIP proxy discrete 1 to 24.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal dscp 24

16.7.16sippstnuser ipconfig signal port

Command
sippstnuser ipconfig port-id ont-id signal port signal-port-value
Syntax

Applicable
Gpon interface view
Views

This command is used to configure the UDP/TCP port number for SIP
Description
signaling.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

signal-port-valu The UDP/TCP port number for SIP signaling, with a default value of
e 5070 and a value range of 1-65535.
[Configuration case]
Case1:Set the UDP/TCP port number for SIP signaling in ONT SIP proxy discrete 1 to 5071.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal port 5071

16.7.17sippstnuser ipconfig signal transfer-mode

Command
sippstnuser ipconfig port-id ont-id signal transfer-mode (tcp|udp)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the transmission protocol type for


Description
signaling. The default value is udp.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

401
GPON OLT User Manual

[Configuration case]
Case1:Set the transmission protocol type of signaling in ONT SIP proxy discrete 1 to TCP.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal transfer-mode tcp

16.7.18sippstnuser ipconfig voicemail server-uri

Command sippstnuser ipconfig port-id ont-id voicemail server-uri


Syntax voicemail-server-uri

Applicable
Gpon interface view
Views

The voicemail server uri command is used to set the address of the
Voicemail server in the ONT SIP proxy discrete, which can be an IP
Description address or domain name.
The no voicemail server uri command cancels user configuration and
sets the Voicemail server address value to "0".

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

voicemail-server Voicemail server address, string type, default value is empty, and the
-uri input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the Voicemail server in the ONT SIP proxy discrete 1 to 192.168.204.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 voicemail server-uri 192.168.2.204

16.7.19sippstnuser ipconfig voicemail subscription-expiration

Command sippstnuser ipconfig port-id ont-id voicemail subscription-expiration


Syntax subscription-expiration-value

Applicable
Gpon interface view
Views

The proxy server port command is used to set the validity period of
Description
the voicemail subscription.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

402
GPON OLT User Manual

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

subscription-exp The validity period of voicemail subscription is 0 by default, with a


iration-value range of 1-4294967295, measured in seconds.
[Configuration case]
Case1:Set the validity period of voicemail subscription in ONT SIP proxy discrete 1 to 3600.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 voicemail subscription-expiration 3600

16.8 ONT SIP discrete Configuration of service Data

16.8.1sippstnuser rightflag call-hold

Command
sippstnuser rightflag port-id ont-id call-hold (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the call hold permission in the discrete
Description
ONT SIP service data, which is enabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable call hold permissions.

disable Disable call hold permissions.。


[Configuration case]
Case1:Enable call hold permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-hold enable

16.8.2sippstnuser rightflag call-park

Command
sippstnuser rightflag port-id ont-id call-park (enable|disable)
Syntax

Applicable
Gpon interface view
Views

403
GPON OLT User Manual

This command is used to set the call residency permission in the ONT
Description
SIP service data discretization, which is disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable call residency permissions.

disable Disable call residency permissions.

[Configuration case]
Case1:Disable the call residency permission in ONT SIP service data discrete 1.。
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-park disable

16.8.3sippstnuser rightflag call-transfer

Command
sippstnuser rightflag port-id ont-id call-transfer (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the call forwarding permission in the


Description
ONT SIP service data discretization, which is disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable call forwarding permissions.

disable Disable call forwarding permissions.

[Configuration case]
Case1:Disable call forwarding permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-transfer disable

16.8.4sippstnuser rightflag call-waiting

Command
sippstnuser rightflag port-id ont-id call-waiting (enable|disable)
Syntax

404
GPON OLT User Manual

Applicable
Gpon interface view
Views

This command is used to set the call waiting permission in the ONT
Description
SIP service data discretization, which is enabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable call forwarding waiting permissions.

disable Disable call forwarding waiting permissions.

[Configuration case]
Case1:Enable call waiting permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-waiting enable

16.8.5sippstnuser rightflag conference


Command
sippstnuser rightflag port-id ont-id conference (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the conference call permission in the


Description
ONT SIP service data discretization, which is disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable conference call permissions.

disable Disable conference call permission

[Configuration case]
Case1:Disable ONT SIP service data discrete 1 telephone conference access.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 conference disable

16.8.6sippstnuser rightflag do-not-disturb

405
GPON OLT User Manual

Command
sippstnuser rightflag port-id ont-id do-not-disturb (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the call exemption permission in the


Description
discrete ONT SIP service data, which is disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable call exemption privileges.

disable Disable call exemption privileges.。


[Configuration case]
Case1:Disable e the call exemption permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 do-not-disturb disable

16.8.7sippstnuser rightflag hotline

Command sippstnuser rightflag port-id ont-id hotline (enable hotline-num


Syntax HOTLINE-NUM |disable)

Applicable
Gpon interface view
Views

This command is used to set the hotline service permission in the


Description
ONT SIP service data discretization, which is disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable hotline service permissions.

disable Disable hotline service permissions.

HOTLINE-NUM Hotline number

[Configuration case]
Case1:Disable hotline service permissions in ONT SIP service data discrete 1.

406
GPON OLT User Manual

OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 hotline disable

16.8.8sippstnuser rightflag mwi

Command
sippstnuser rightflag port-id ont-id mwi (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the message waiting indication


Description permission in the ONT SIP service data discretization, which is
disabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable message waiting indication permission.

disable Disable the message waiting for indication permission.

[Configuration case]
Case1:Disable the message waiting instruction permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 mwi disable

16.8.9show sippstnuser rightflag

Command
show sippstnuser rightflag port-id ont-id
Syntax

Applicable
Gpon interface view
Views

This command is used to view the current SIP service data discrete
Description
configuration

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

407
GPON OLT User Manual

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128
[Configuration case]
Case1:View the current SIP business data discrete configuration.
OLT(config-gpon-0/0)# show sippstnuser rightflag 1 1
----------------------------------------------------------------------------

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


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

16.8.10sippstnuser rightflag three-party


Command
sippstnuser rightflag port-id ont-id three-party (enable|disable)
Syntax

Applicable
Gpon interface view
Views

This command is used to set the third-party call permission in the


Description
discrete ONT SIP business data, which is enabled by default.

Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16

408
GPON OLT User Manual

The ONT ID of the ONT to be configured, with values ranging from 1


ont-id
to 128

enable Enable third-party call permissions.

disable Disable third-party call permissions.

[Configuration case]
Case1:Enable third-party call permissions in ONT SIP service data profile 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 three-party enable

409
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 | static ip
Command Syntax
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.

410
GPON OLT User Manual

Configure WAN connections in pppoe mode.


username: indicates the username. The value is a string of 1 to 24
pppoe 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 username username password password | static ip
Command Syntax
ip-addr mask mask-addr gateway gateway-addr pri-dns pri-dns
slave-dns slave-dns )
v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]

411
GPON OLT User Manual

Applicable Views GPON view

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.

412
GPON OLT User Manual

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 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] |
untag) ipv6
Command Syntax
[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.

413
GPON OLT User Manual

wan-index wan index. The value 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 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)#

414
GPON OLT User Manual

17.1.4 ont wan bridge


Command
ont wan port-id onu-id wan-index vlan (vlan-id [priority priority] | untag) bridge
Syntax

Applicable
GPON view
Views

This command is used to add or modify a bridging wan, configure the basic
properties of the bridging wan, and when adding a bridging wan, its optional
Description
properties are the default options. When modifying a bridging wan, its optional
properties remain unchanged.

The port number of the ONU to be configured.

onu-id The ONT ID to be configured has a value range of 1-128.

wan-index WAN index, with a value range of 1-8.

Configure the management VLAN for ONT. After configuration, only the configured
vlan-id VLAN packets are allowed to pass through the WAN connection, with a value range
of 1-4094. Among them, 4077-4094 is occupied and unavailable by the system.

Configure the priority of managing VLANs on ONT and take effect on ONT. The
priority higher the priority value, the higher its priority, with a range of values from 0 to 7.
The default value is 0.

In untag mode, after configuration, WAN connections can only be made through
untag
packets without VLAN.

bridge Configure a bridging WAN.

[Configuration case]
Case1:Under port 0/0/1, configure wan1 for ONT 5, vlan for 11, and mode for bridge.

OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 bridge


OLT(config-gpon-0/0)#

415
GPON OLT User Manual

17.1.5 ont wan option


ont wan port-id onu-id wan-index option
{mtu mtu | service-type (internet | other | tr069-internet |
tr069-voice-internet | voice-internet) | multicast (multicast-vlan-id
| disable) | binding {eth eth-port-list | ssid ssid-port-list | 5g-ssid
Command Syntax
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
Description option in the 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
mtu
fragmented 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 configuration, when the configured WAN is a bridging


multicast
WAN, it represents multicast VLAN, and when it is a routing WAN, it

416
GPON OLT User Manual

represents multicast proxy VLAN, which is disabled by default.


Multicast vlan id: enable multicast when bridging WAN, enable
multicast proxy when routing WAN, and set multicast vlan. The
multicast vlan value range is 1-4094, where 4077-4094 is occupied
and unavailable by the system.
Disable: Turn off multicast configuration.

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.6 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

417
GPON OLT User Manual

WAN Name : --
Version : IPv4
Connect mode : route
Connect type : Internet
VLAN mode : tag
VLAN id :1
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.7 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 : --

418
GPON OLT User Manual

VLAN priority : --
IGMP proxy : enable
MVLAN id : --
MTU : 1500
DSP mode : DHCP
Bridge mode : --
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 :-
-----------------------------------------------------------------------------

17.2 WAN profile config


17.2.1ont wan-profile
ont wan-profile port-id onu-id (profile-id profile-id | profile-name
Command
profile-name)
Syntax
no ont wan-profile port-id onu-id

Applicable
gponview
Views

The ont wan profile command is used to bind a wan profile to onu,
Description
which must already exist.

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

onu-id The ONT ID to be configured has a value range of 1-128.

ONT WAN profile number, used to identify a WAN profile, with a


profile-id
value range of 1-256.

The name of the ONT Wan profile supports a length of 1-64


profile-name
characters.

[Configuration case]
Case1:Create WAN profile 1.
OLT(config)# ont-wan-profile gpon profile-id 1

419
GPON OLT User Manual

OLT(config-ont-wanprofile-1)#

17.2.2ont-wan-profile
ont-wan-profile gpon {profile-id profile-id | profile-name
Command profile-name}
Syntax no ont-wan-profile (profile-id profile-id | profile-name
profile-name)

Applicable
Config view
Views

The on wan profile command is used to add a new wan profile or


enter an existing wan profile. The on wan profile gpon command is
used without any parameters to automatically create a new wan
Description profile.
The no on wan profile command is used to delete an unnecessary
wan profile. If the GPON ONT wan profile is already bound by ONT, it
cannot be deleted.

ONT WAN profile number, used to identify a WAN profile, with a


profile-id value range of 1-256. When not specified, the system automatically
assigns the smallest idle profile number

The name of the ONT Wan profile supports a length of 1-64


profile-name characters. The default profile name is wan-profile_x, where "x" is
replaced by the actual profile number.
[Configuration case]
Case1:Create WAN profile 1.
OLT(config)# ont-wan-profile gpon profile-id 1
OLT(config-ont-wanprofile-1)#

17.2.3wan ipv4
wan wan-index vlan (vlan-id [priority priority] | untag) ipv4
(dhcp | pppoe username username password password | static ip
Command
ip-addr mask mask-addr gateway gateway-addr pri-dns pri-dns
Syntax
slave-dns slave-dns )
no wan wan-index

Applicable
WAN profile view
Views

This command is used to add or modify an IPV4 routing wan,


configure the basic properties of the routing wan, and when adding
Description
an IPV4 routing wan, its optional properties are the default options.
When modifying an IPV4 routing wan, its optional properties remain

420
GPON OLT User Manual

unchanged.
The no wan command is used to delete the wan configuration.

wan-index WAN index, with a value range of 1-8.

Configure the management VLAN for ONT. After configuration, only


the configured VLAN packets are allowed to pass through the WAN
vlan-id
connection, with a value range of 1-4094. Among them, 4077-4094 is
occupied and unavailable by the system.

Configure the priority of managing VLANs on ONT and take effect on


priority ONT. The higher the priority value, the higher its priority, with a range
of values from 0 to 7. The default value is 0.

In untag mode, after configuration, WAN connections can only be


untag
made through packets without VLAN.

dhcp Configure IPv4 addresses to be dynamically obtained through DHCP.

Configure WAN connection to pppoe mode.


pppoe Username: User name, string length 1-63
Password: User password, string length 1-63

Configure IPv4 addresses in static mode.


IP addr: The configured static IP address, in dotted decimal format.
Mask addr: specifies the subnet mask of the network segment
interface, in dotted decimal format.
Gateway addr: Gateway IP address, in dotted decimal format.
static Pri dns: Configure the primary DNS server IP address. DNS servers are
used to resolve IP addresses through domain names, or to obtain
domain name information through IP addresses, in dotted decimal
format.
Slave dns: Configure DNS server IP addresses in dotted decimal
format.
[Configuration case]
Case1:In WAN profile 1, configure wan1's VLAN to 11, protocol to ipv4, and mode to DHCP.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 ipv4 dhcp
OLT(config-ont-wanprofile-1)#
Case2 :In WAN profile 1, configure wan1 with a vlan id of 11, vlan priority of 3, protocol of ipv4,
mode of pppoe, username of PPPoE account, and password.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 priority 3 ipv4 pppoe username username
password password
OLT(config-ont-wanprofile-1)#
Case3:Delete the WAN1 configuration in WAN profile 1.
OLT(config-ont-wanprofile-1)# no wan 1

421
GPON OLT User Manual

OLT(config-ont-wanprofile-1)#

17.2.4wan ipv4-ipv6
wan wan-index vlan (vlan-id [priority priority] | untag) ipv4-ipv6
(dhcp | pppoe username username password password | static ip
Command
ip-addr mask mask-addr gateway gateway-addr pri-dns pri-dns
Syntax
slave-dns slave-dns )
v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]

Applicable
WAN profile view
Views

This command is used to add or modify a dual stack routing wan,


configure the basic properties of the routing wan, and when adding a
Description dual stack routing wan, its optional properties are the default
options. When modifying a dual stack routing wan, its optional
properties remain unchanged.

wan-index WAN index, with a value range of 1-8.

Configure the management VLAN for ONT. After configuration, only


the configured VLAN packets are allowed to pass through the WAN
vlan-id
connection, with a value range of 1-4094. Among them, 4077-4094 is
occupied and unavailable by the system.

Configure the priority of managing VLANs on ONT and take effect on


priority ONT. The higher the priority value, the higher its priority, with a range
of values from 0 to 7. The default value is 0.

In untag mode, after configuration, WAN connections can only be


untag
made through packets without VLAN.

Configure IPv4 addresses to be dynamically obtained through DHCP.


dhcp
The default method for obtaining IPv4 addresses is dhcp.

Configure WAN connection to pppoe mode.


pppoe Username: User name, string length 1-63
Password: User password, string length 1-63

Configure IPv4 addresses in static mode.


IP addr: The configured static IP address, in dotted decimal format.
Mask addr: specifies the subnet mask of the network segment
static interface, in dotted decimal format.
Gateway addr: Gateway IP address, in dotted decimal format.
Pri dns: Configure the primary DNS server IP address. DNS servers are
used to resolve IP addresses through domain names, or to obtain

422
GPON OLT User Manual

domain name information through IP addresses, in dotted decimal


format.
Slave dns: Configure DNS server IP addresses in dotted decimal
format.

Configure the method for obtaining IPv6 addresses, with a default


value of auto.
Auto: Automatically select the IPv6 address acquisition method.
Slaac: Automatic configuration of stateless addresses, which can
v6
obtain IPv6 global unicast addresses without DHCPv6 server service.
Dhcpv6: Using the dhcpv6 protocol to obtain IPv6 addresses, the
Dynamic Host Configuration Protocol for IPv6 is a network protocol
used to allocate IPv6 addresses, prefixes, and DNS configurations.

Configure the method for obtaining DNS addresses, with a default


value of auto.
dns Auto: Automatically select the DNS address acquisition method.
Slaac: Automatic configuration of stateless addresses.
Dhcpv6: Use the dhcpv6 protocol to obtain DNS addresses.
[Configuration case]
Case1:In WANprofile1, configure wan1's VLAN to 11, protocol to ipv4 ipv6, IPv4 protocol to DHCP
mode, and ipoev6 mode to default (address mode defaults to atuo).
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 ipv4-ipv6 dhcp v6
OLT(config-ont-wanprofile-1)#
Case2:In WANprofile1, configure wan1 with a VLAN ID of 11, VLAN priority of 3, protocol of ipv4
ipv6, mode of PPPoE, username of PPPoE account, password, v6 mode, default address mode of
atuo.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 priority 3 ipv4-ipv6 pppoe username
username password password v6
OLT(config-ont-wanprofile-1)#

17.2.5wan ipv6
wan wan-index vlan (vlan-id [priority priority] | untag) ipv6
Command
[pppoe username username password password]
Syntax
v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]

Applicable
WAN profile view
Views

This command is used to add or modify an IPv6 routing wan,


configure the basic properties of the routing wan, and when adding
Description
an IPv6 routing wan, its optional properties are the default options.
When modifying an IPv6 routing wan, its optional properties remain

423
GPON OLT User Manual

unchanged.

wan-index WAN index, with a value range of 1-8.

Configure the management VLAN for ONT. After configuration, only


the configured VLAN packets are allowed to pass through the WAN
vlan-id
connection, with a value range of 1-4094. Among them, 4077-4094 is
occupied and unavailable by the system.

Configure the priority of managing VLANs on ONT and take effect on


priority ONT. The higher the priority value, the higher its priority, with a range
of values from 0 to 7. The default value is 0.

In untag mode, after configuration, WAN connections can only be


untag
made through packets without VLAN.

Configure WAN connection to pppoe mode.


pppoe Username: User name, string length 1-63
Password: User password, string length 1-63

Configure the method for obtaining IPv6 addresses, with a default


value of auto.
Auto: Automatically select the IPv6 address acquisition method.
Slaac: Automatic configuration of stateless addresses, which can
v6
obtain IPv6 global unicast addresses without DHCPv6 server service.
Dhcpv6: Using the dhcpv6 protocol to obtain IPv6 addresses, the
Dynamic Host Configuration Protocol for IPv6 is a network protocol
used to allocate IPv6 addresses, prefixes, and DNS configurations.

Configure the method for obtaining DNS addresses, with a default


value of auto.
dns Auto: Automatically select the DNS address acquisition method.
Slaac: Automatic configuration of stateless addresses.
Dhcpv6: Use the dhcpv6 protocol to obtain DNS addresses.

[Configuration case]
Case1:In WANprofile1, configure the VLAN of wan1 to 11, the protocol to ipv6, and the v6 mode to
default (address mode defaults to atuo).
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 ipv6 v6
OLT(config-ont-wanprofile-1)#
Case2:In WANprofile1, configure wan1 with a vlan id of 11, vlan priority of 3, protocol of ipv6, mode
of pppoe, username of PPPoE account with password, default address mode of atuo in v6 mode.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 priority 3 ipv6 pppoe username username
password password v6
OLT(config-ont-wanprofile-1)#

424
GPON OLT User Manual

17.2.6wan bridge
Command
wan wan-index vlan (vlan-id [priority priority] | untag) bridge
Syntax

Applicable
WAN profile view
Views

This command is used to add or modify an IPv6 routing wan,


configure the basic properties of the routing wan, and when adding
Description an IPv6 routing wan, its optional properties are the default options.
When modifying an IPv6 routing wan, its optional properties remain
unchanged.

wan-index WAN index, with a value range of 1-8.

Configure the management VLAN for ONT. After configuration, only


the configured VLAN packets are allowed to pass through the WAN
vlan-id
connection, with a value range of 1-4094. Among them, 4077-4094 is
occupied and unavailable by the system.

Configure the priority of managing VLANs on ONT and take effect on


priority ONT. The higher the priority value, the higher its priority, with a range
of values from 0 to 7. The default value is 0.

In untag mode, after configuration, WAN connections can only be


untag
made through packets without VLAN.

bridge Configure a bridging WAN.

[Configuration case]
Case1:Configure wan1's vlan to 11 and mode to bridge in WANprofile1.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 bridge
OLT(config-ont-wanprofile-1)#

17.2.7wan option
wan wan-index option
{mtu mtu | service-type (internet | other | tr069-internet |
tr069-voice-internet | voice-internet) | multicast (multicast-vlan-id |
Command disable) | binding {eth eth-port-list | ssid ssid-port-list | 5g-ssid
Syntax 5G-ssid-port-list} }

wan wan-index option


{mtu mtu | service-type ( tr069 | tr069-voice | voice ) }

425
GPON OLT User Manual

Applicable
WAN profile view
Views

This command is used to modify a routing wan, configure the


optional properties of the routing wan, and this command fails when
the configured routing wan does not exist.
At least one option must be selected in this command and must be
entered in order. If the option at the back is selected first and the
option at the front is not selected, the option at the front is no longer
Description
available.
If the binding parameter is selected, at least one type of port should
be selected for binding, otherwise the command execution will fail.
When the service type is tr069, voice, and tr069 voice, multicast
proxy and binding port configuration cannot be performed. The
optional igmp proxy and binding options are no longer available.

wan-index WAN index, with a value range of 1-8.

Maximum Transmission Unit. The size of the MTU determines the


maximum number of bytes that the sending end can send a message
at once. If the MTU exceeds the maximum value that the receiving
end can withstand, or exceeds the maximum value that a device
passing through the sending path can withstand, it will cause the
mtu
message to be fragmented or even discarded, increasing the burden
of network transmission. The value range in pppoe mode is 128-1492,
with a default value of 1492; The range of values in static and dhcp
modes is 576-1500, with a default value of 1500.
Bridging WAN cannot configure MTU.

Service type, default value is tr069 voice internet. When the service
type is tr069, voice cannot bind ports and configure igmp proxy with
type
tr069 voice. When bridging WAN, the service type can only be
configured as internet or other.

Multicast configuration, when the configured WAN is a bridging WAN,


it represents multicast VLAN, and when it is a routing WAN, it
represents multicast proxy VLAN, which is disabled by default.
Multicast vlan id: enable multicast when bridging WAN, enable
multicast
multicast proxy when routing WAN, and set multicast vlan. The
multicast vlan value range is 1-4094, where 4077-4094 is occupied
and unavailable by the system.
Disable: Turn off multicast configuration.

WAN bound port, optional.


binding
ETH port list: A list of bound ETH ports, with port values ranging from

426
GPON OLT User Manual

1 to 8. The input format is 1 to 2, 4.


Ssid port list: A list of bound ssid ports, with port values ranging from
1 to 8 and input formats of 1 to 2, 4.
5G ssid port list: A list of bound 5G ssid ports, with port values
ranging from 1 to 8 and input formats of 1 to 2 and 4.
[Configuration case]
Case1:Configure wan1's service type to tr069 in WANprofile1.
OLT(config-ont-wanprofile-1)# wan 1 option service-type tr069
OLT(config-ont-wanprofile-1)#
Case2:Configure wan1's service type as internet+tr069 in WANprofile1, enable multicast with a vlan
of 20, and bind lan1 and lan3 ports.
OLT(config-ont-wanprofile-1)# wan 1 option service-type tr069-internet igmp-proxy 20
binding eth 1,3
OLT(config-ont-wanprofile-1)#

17.2.8show ont-wan-profile current

Command
show ont-wan-profile current
Syntax

Applicable
WAN profile view
Views

This command is used to view the current wan configuration of


Description
wanprofile.
[Configuration case]
Case1:View the current WAN configuration of wanprofile1.
OLT(config-ont-wanprofile-1)# show ont-wan-profile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : wan-profile_1
Binding times : 0
-------------------------------------------------------------------------------------
WAN ID :1
WAN Name : --
Version : IPv4/IPv6
Connection status : enable
Connect mode : route
Connect type : --
VLAN mode : tag
VLAN id : 10
VLAN priority :0

427
GPON OLT User Manual

IGMP proxy : disable


MVLAN id : --
MTU : --
DSP mode : PPPoE
Bridge mode : --
Bridge port binding :
PPPoE service name :
PPPoE username : 111111111122
PPPoE password : 33333333333322
IPv4 address :-
IPv4 mask :-
IPv4 gateway :-
IPv4 primary DNS :-
IPv4 secondary DNS :-
Automatically get IPv6 address : slaac
DHCPv6 prefix delegation : enable
IPv6 address : --
IPv6 mask : --
IPv6 gateways : --
Automatically get DNS address : auto
IPv6 primary DNS :-
IPv6 primary DNS :
------------------------------------------------------------------------------

17.2.9show ont-wan-profile gpon all

Command
show ont-wan-profile gpon all
Syntax

Applicable
Config view、enable view
Views

This command is used to view brief information about all


Description
wanprofiles.

[Configuration case]
Case1:View brief information on all wanprofiles.
OLT(config)#show ont-wan-profile gpon all
------------------------------------------------------------------------------------
Profile-ID Profile-name Binding times
------------------------------------------------------------------------------------
1 wan-profile_1 0
-------------------------------------------------------------------------------------

428
GPON OLT User Manual

Total: 1

17.2.10show ont-wan-profile gpon profile-id

show ont-wan-profile gpon (profile-id profile-id | profile-name


Command
profile-name)
Syntax

Applicable
Config view、enable view
Views

This command is used to view the detailed configuration of


Description
wanprofile.

The wanprofile number to be queried, used to identify a wanprofile,


profile-id
with a value range of 1-256.

The wanprofile name to be queried supports a length of 1-64


profile-name
characters.

[Configuration case]
Case1:View detailed WAN configuration for wanprofile1.
OLT(config)# show ont-wan-profile gpon profile-id 1
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : wan-profile_1
Binding times : 0
-------------------------------------------------------------------------------------
WAN ID :1
WAN Name : --
Version : IPv4/IPv6
Connection status : enable
Connect mode : route
Connect type : --
VLAN mode : tag
VLAN id : 10
VLAN priority :0
IGMP proxy : disable
MVLAN id : --
MTU : --
DSP mode : PPPoE
Bridge mode : --
Bridge port binding :
PPPoE service name :
PPPoE username : 111111111122

429
GPON OLT User Manual

PPPoE password : 33333333333322


IPv4 address :-
IPv4 mask :-
IPv4 gateway :-
IPv4 primary DNS :-
IPv4 secondary DNS :-
Automatically get IPv6 address : slaac
DHCPv6 prefix delegation : enable
IPv6 address : --
IPv6 mask : --
IPv6 gateways : --
Automatically get DNS address : auto
IPv6 primary DNS :-
IPv6 primary DNS :
------------------------------------------------------------------------------

18 WIFI Config
18.1 .1ont wifi
ont wifi port-id onu-id
{band-steering|2.4g ssid-index |5g ssid-index }
(disable|enable ssid username[open | password password
Command authentication (wpa-psk | wpa2-psk | wpa2psk-wpapsk)
Syntax encryption(tkip | aes | tkip-aes)]* [broadcast
{enable|disable}|user-limit number]*)
no ont wifi port-id onu-id

Applicable
GPON view
Views

Configure the basic WiFi properties. ONU already has default values
Description at the factory, and OLT issues a modification to the relevant
parameters.

port-id ONU's PON port ID

onu-id Onu id takes values from 1 to 128

band-steering|2 WiFi frequency bands 2.4g and 5g, combined with dual frequency
.4g|5g switching.

430
GPON OLT User Manual

ssid-index Ssid index, values 1-4

username SSID name, length 1-24

broadcast Broadcast enable, enable: enable, disable: disable

user-limit Maximum number of users, (0-128, 0 represents unlimited)

password Password, length 8-63

authentication Encoding 35777;: wpa-psk, wpa2-psk, wpa2psk-wpapsk

encryption Encryption algorithms: tkip, AES, tkip AES

[Configuration case]
Case1 : Under port 0/0/1, configure the Wi Fi 5g ssid index 1 of ONT 5 with ssid 11111111 and
password 222222222.
OLT(config-gpon-0/0)# ont wifi 1 5 5g 1 enable ssid 11111111 password 22222222

OLT(config-gpon-0/0)#
Case2:Under the 0/0/1 port, configure to disable the 2.4g ssid1 wifi for ONT 5.

OLT(config-gpon-0/0)# ont wifi 1 5 2.4g 1 disable


OLT(config-gpon-0/0)#

Case3:Under port 0/0/1, configure ONT 5's wifi dual band integration to enable ssid broadcasting,
username 11111111, password 222222222, using WPA2-PSK authentication AES encryption
algorithm, with a maximum number of 16 users

OLT(config-gpon-0/0)#ont wifi 1 5 band steering enable ssid11111111 password 222


22222 authentication wpa2-psk encryption aes broadcast disable user-limit 16
OLT(config-gpon-0/0)#

18.1.2ont wifi advanced


ont wifi port-id onu-id advanced (2.4g|5g)
{mode MODE
| region REGION
| bandwidth (20|40|80|160|auto)
Command | channel CHANNEL
Syntax | wps (enable|disable)
| sgi (enable|disable)
| isolation (enable|disable)
| power (100|70|50|35|15)
| wmm (enable|disable)}

431
GPON OLT User Manual

Applicable
GPON view
Views

Configure advanced WiFi configuration in the 2.4g/5g frequency


band. ONU has default values at the factory, and OLT issues
Description
modifications to relevant parameters. Advanced configuration is
optional.

port-id ONU's PON port ID

onu-id onu id, Value 1-128

Configure the working mode of the wireless network, with the


following values:
2.4g:
MODE 802.11b | 802.11g | 802.11b/g | 802.11n | 802.11b/g/n | 802.11ax |
802.11b/g/n/ax;
5g:
802.11a | 802.11n | 802.11a/n | 802.11ac | 802.11n/ac |
802.11a/n/ac | 802.11ax | 802.11a/n/ac/ax;

The country code, with the following values:


argentina
colombia
guatemala
ecuador
chile
bolivia
peru
mexico
usa
REGION brazil
kazakhstan
azerbaijan
india
philippines
china
ukraine
russian
nepal
iraq
paraguay
nicaragua

bandwidth Configure the channel width occupied during wireless data

432
GPON OLT User Manual

transmission, with the following values:


2.4g:
20:20MHz
40: 40MHz
auto

5g:
20:20MHz
40: 40MHz
80:80MHz
160:160MHz
auto

The channel for wireless network operation, with the following


values:
2.4g:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
CHANNEL

5g:
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128,
132, 136, 140, 144, 149, 153, 157, 161, 165

power Transmission power: 100% 70% 50% 35% 15%

SGI enable
sgi
Enable: enable
Disable: Close

WPS enable
wps
Enable: enable
Disable: Close

Ssid isolation enable


isolation
Enable: enable
Disable: Close

WMM enable
wmm
Enable: enable
Disable: Close
[Configuration case]

Case1:Configure the ONT 5's WiFi 2.4g mode to 802.11n on port 0/0/1.

OLT(config-gpon-0/0)# ont wifi 1 5 advanced 2.4g mode 802.11n

433
GPON OLT User Manual

Case2:Under port 0/0/1, configure ONT 5's WiFi 2.4g mode to 802.11n with a bandwidth of 20MHz.

OLT(config-gpon-0/0)# ont wifi 1 5 advanced 2.4g mode 802.11n bandwidth 20

18.1.3show ont wifi


Command
show ont wifi config port-id onu-id
Syntax

Applicable
GPON view
Views

This command is used to view the WIFI configuration issued by OLT


Description
for a specified ONU device

port-id ONU's PON port ID

onu-id Onu id takes values from 1 to 128

Case1:Under port 0/0/5, display the WIFI configuration for ONT 1.

OLT(config-gpon-0/0)# show ont wifi config 5 1


------------------------------------------------------------
Wifi Band : band-steering
Wifi State : --
Wifi Mode : 802.11b
Wifi Channel Bandwidth : 20MHz
Channel ID : Auto
Wifi Rate : --
Tx Power : 100%
Country Region : USA
Sgi Admin : disable
Wps Admin : disable
AP ISO : disable
------------------------------------------------------------
----------------------------------------------------------------------------------------------------
SSID Status Max-user Broadcast Name Key
Admin
----------------------------------------------------------------------------------------------------
1 enable 12 disable 55 --
--------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
------------------------------------------------------------

434
GPON OLT User Manual

18.1.4ont wifi recovery


Command
ont wifi port-id onu-id recovery
Syntax

Applicable
GPON view
Views

This command is used to restore the wifi configuration of onu to its


Description
default value

port-id ONU's PON port ID

onu-id Onu id takes values from 1 to 128

Case1:Under port 0/0/5, restore the WIFI configuration of ONT 1 to its default value.

OLT(config-gpon-0/0)# ont wifi 5 1 recovery


OLT(config-gpon-0/0)#

435
GPON OLT User Manual

19 Log management
This chapter includes the following topics:

 Log configuration and query

19.1 Log configuration and query


19.1.1 logging buffer
logging buffer (alert | critical | emergency | error | informational
Command Syntax | notice | warning | flush)
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)#

436
GPON OLT User Manual

19.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)#

19.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)#

437
GPON OLT User Manual

19.1.4 erase log file


Command Syntax erase log file

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)#

19.1.5 logging console


logging console (alert | critical | emergency | error |
Command Syntax informational | notice | warning)
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

438
GPON OLT User Manual

OLT(config)# logging console alert


OLT(config)#

19.1.6 logging monitor


logging monitor (alert | critical | emergency | error |
Command Syntax informational | 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)#

19.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.

439
GPON OLT User Manual

logon Show login logs.

[Configuration case]

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)#

19.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#

19.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.

440
GPON OLT User Manual

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.

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#

19.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)#

19.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.

441
GPON OLT User Manual

ip-address IP address of the syslog server.

port-id syslog server port number.

[Configuration case]

Case1: Configure the IP address of the log server to 192.168.90.99.


config)# syslog host 192.168.90.99
OLT(config)#

19.1.12 syslog severity


syslog severity (alert | critical | emergency | error | informational
Command Syntax | notice | warning)
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)#

442
GPON OLT User Manual

19.2 Automatic backup of logs

19.2.1auto-backup log absolute-time

Command
auto-backup log absolute-time (enable <HH:MM>| disable)
Syntax

Applicable
Config view
Views

This command is used to switch on and off the automatic log upload
Description
server in absolute time.

<HH:MM> Set the backup time in the format of<hours: minutes>

[Configuration case]
Case1:Turn on the absolute time automatic log upload server switch and set the time to 08:09.
OLT(config)# auto-backup log absolute-time enable 08:09
OLT(config)#

19.2.2auto-backup log interval-time

Command
auto-backup log interval-time (enable interval| disable)
Syntax

Applicable
Config view
Views

This command is used to switch on and off the automatic log upload
Description
server at periodic intervals.

<1-14400>The interval time is from 1 minute to ten days. Unit in


interval
minutes
[Configuration case]
Case1:Turn on the time interval automatic log upload server switch and set the time interval to 1
minute.
OLT(config)# auto-backup log interval-time enable 1
OLT(config)#

443
GPON OLT User Manual

19.2.3auto-backup log ftp

Command auto-backup log ftp ftp-server-ip-address user-name user-password


Syntax file-name

Applicable
Config view
Views

This command is used to set the FTP mode for automatic log upload
Description
servers.

ftp-server-ip-ad The IP address of the FTP server.


dress

user-name FTP login username.

user-password FTP login password.

file-name The file name used for saving logs

[Configuration case]
Case1:Automatically upload logs to the FTP server with IP address 192.168.1.223, username admin,
password admin, and file name logback.
OLT(config)# auto-backup log ftp 192.168.1.223 admin admin logback
OLT(config)#

19.2.4auto-backup log tftp

Command
auto-backup log tftp tftp-server-ip-address file-name
Syntax

Applicable
Config view
Views

This command is used to set the automatic log upload server's tftp
Description
mode.

tftp-server-ip-ad The IP address of the tftp server.


dress

file-name The file name used for saving logs

[Configuration case]
Case1:Automatically upload logs to the tftp server with an IP address of 192.168.1.223 and a file
name of logback.
OLT(config)# auto-backup log tftp 192.168.1.223 logback

444
GPON OLT User Manual

OLT(config)#

19.2.5show auto-backup log config

Command
show auto-backup log config
Syntax

Applicable
Config view
Views

Description This command is used to view the automatic upload log configuration

[Configuration case]
Case1:View automatic upload log configuration.
OLT(config)# show auto-backup log config
auto-backup log ProtocolType: tftp
auto-backup log ip Server: 0:0:0:0
auto-backup log filename:
auto-backup log interval switch: off
auto-backup log interval: 86400 minutes
auto-backup log absolute time switch: off
auto-backup log absolute time: 00:00
OLT(config)#

445
GPON OLT User Manual

20 Alarm management and event management


This chapter includes the following topics:

 Alarm management and query

 Event management and query

20.1 Alarm management and query

20.1.1alarm alarmlevel

Command
OLT(config)# alarm alarmlevel alarmid alarmlevel
Syntax

Applicable
Config view
Views

This command is used to view historical alarm entries based on


Description
ports and slots

alarmid Alarm number

alarmlevel Alarm levels 0-3, 0-default, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:Set alarm number 100102 to level error.
OLT(config)# alarm alarmlevel 100102 2
OLT(config)#

20.1.2alarm 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)#

446
GPON OLT User Manual

20.1.3alarm 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
OLT(config)#

20.1.4alarm 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)#

20.1.5alarm output detail


Command Syntax alarm output detail ( enable | disable )

Applicable Views config view

447
GPON OLT User Manual

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)#

20.1.6alarm report
Command Syntax alarm report port-list switch

Applicable Views GPON view

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)#

20.1.7show alarm alarmlevel list

Command
show alarm list alarmlevel alarmlevel list
Syntax

Applicable
config view
Views

This command is used to query basic alarm information using alarm


Description
levels.

alarmlevel Alarm levels 1-3, 1-critical, 2-error, 3-warning

448
GPON OLT User Manual

[Configuration case]
Case1:View alarms with an error level.
OLT(config)# show alarm alarmlevel 2 list
------------------------------------------------------------------------------------
AlarmId Output Level Def Level Name
100102 Yes Err Err The board reset
100105 Yes Err Err The fan is abnormal
100107 Yes Err Err The device power fault
100205 Yes Err Err Rogue Onu detected
100307 Yes Err Err The performance statistics value
exceeds the warning threshold
100308 Yes Err Err The performance statistics value lower
than the warning threshold
100401 Yes Err Err The Ethernet port loop detected
1000201 Yes Err Err Loss of signal(LOS)
1000202 Yes Err Err The backbone fiber on the port in Type
B protection group is broken or the expected optical signal is not detected
1000203 Yes Err Err This tranceiver is not adapted,The
default type will be used
1000204 Yes Err Err The RX received power of the optical
port is higher than the alarm upper threshold or lower than the alarm lower threshold
1000205 Yes Err Err The TX output power of the optical
port is higher than the alarm upper threshold or lower than the alarm lower threshold
1000206 Yes Err Err The bias current of the optical port is
higher than the alarm upper threshold or lower than the alarm lower threshold
1000207 Yes Err Err The voltage of the optical port is
higher than the upper alarm threshold or lower than the alarm lower threshold
1000208 Yes Err Err The temperature of the optical port is
higher than the alarm upper threshold or lower than the alarm lower threshold
1000501 Yes Err Err Loss of signal for ONU(LOSi)
1000502 Yes Err Err Loss of frame for ONU(LOFi)
1000507 Yes Err Err ONU does not react correctly after
deactive or disable(DFi)
1000510 Yes Err Err The ONT Rx power exceeds the low
alarm threshold
1000511 Yes Err Err The ONT Rx power exceeds the high
alarm threshold
1000512 Yes Err Err The ONT Tx power exceeds the low
alarm threshold
1000513 Yes Err Err The ONT Tx power exceeds the high
alarm threshold
1000517 Yes Err Err The ONT bias current exceeds the

449
GPON OLT User Manual

alarm threshold
1000519 Yes Err Err The ONT voltage exceeds the alarm
threshold
1000521 Yes Err Err The ONT temperature exceeds the
alarm threshold
---------------------------------

20.1.8show alarm active alarmlevel

Command
OLT(config)# show alarm active alarmlevel alarmlevel [detail]
Syntax

Applicable
config view
Views

This command is used to view the current alarm entry based on the
Description
alarm level

detail Detailed version of alarm entries

alarmlevel Alarm levels 1-3, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:View active alarm entries with an error level.
OLT(config)# show alarm active alarmlevel 2
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
100105 2001-05-31 01:39:28 Err Board: 0/0 The fan is abnormal
total number : 1
OLT(config)#

20.1.9show alarm active alarmparameter

OLT(config)# show alarm active alarmparameter ( ge |xge|gpon )


Command
F/S/P [detail]
Syntax
show alarm active alarmparameter board F/S [detail]

Applicable
config view
Views

This command is used to view the current alarm entry based on the
Description
port and slot

detail Detailed version of alarm entries

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

450
GPON OLT User Manual

(ge|gpon|xge) Query the type of port

[Configuration case]
Case1:View the current alarm data of gpon port 1.
OLT(config)# show alarm active alarmparameter gpon 0/0/1
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
1000203 2001-05-31 01:59:27 Err PON 0/0/1 This tranceiver is not
adapted,The default type will be used
total number : 1
OLT(config)#

20.1.10show 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)#

451
GPON OLT User Manual

20.1.11show alarm history alarmlevel

Command
show alarm history alarmlevel alarmlevel [detail]
Syntax

Applicable
config view
Views

This command is used to view the historical record of alarm entries


Description
based on the alarm level

detail Detailed version of alarm entries

alarmlevel Alarm levels 1-3, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:View alarm history records with an error level.
OLT(config)# show alarm history alarmlevel 2
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
total number : 0
OLT(config)#

20.1.12show alarm history alarmparameter

OLT(config)# show alarm history alarmparameter ( ge |xge|gpon )


Command
F/S/P [detail]
Syntax
show alarm history alarmparameter board F/S [detail]

Applicable
config view
Views

This command is used to view historical alarm entries based on ports


Description
and slots

detail Detailed version of alarm entries

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

(ge|gpon|xge) Query the type of port

[Configuration case]
Case1:View the historical alarm data of gpon port 1.
OLT(config)# show alarm history alarmparameter gpon 0/0/1
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name

452
GPON OLT User Manual

------------------------------------------------------------------------------------
1000203 2001-05-31 01:59:27 Err PON 0/0/1 This tranceiver is not
adapted,The default type will be used
total number : 1
OLT(config)#

20.1.13show 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)#

20.1.14show 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

453
GPON OLT User Manual

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
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)#

20.2 Event management and queries

20.2.1event eventlevel

Command
OLT(config)# event eventlevel eventid eventlevel
Syntax

Applicable
config view
Views

Description This command is used to set the event level

eventid event number

eventlevel Event level 0-3, 0-default, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:Set event number 1100201 to level error.
OLT(config)# alarm alarmlevel 1100201 2
OLT(config)#

20.2.2event history clear all


Command Syntax event history clear all

Applicable Views config view

454
GPON OLT User Manual

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)#

20.2.3event 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.


OLT(config)# event output all disable

OLT(config)#

20.2.4event 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

455
GPON OLT User Manual

OLT(config)#

20.2.5event 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)#

20.2.6show event eventlevel list

Command
show event list eventlevel eventlevel list
Syntax

Applicable
config view
Views

This command is used to query basic event information using event


Description
level.

eventlevel Event level 1-3, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:View event records with an error level.
OLT(config)# show event eventlevel 2 list
------------------------------------------------------------------------------------
EventId Output Level Def Level Name
113001 Yes Err Warning The ONT online
1100101 Yes Err Warning Pon drv connection succeeded
------------------------------------------------------------------------------------

456
GPON OLT User Manual

20.2.7show event history eventlevel

Command
show event history eventlevel eventlevel [detail]
Syntax

Applicable
config view
Views

This command is used to view the history of event entries based on


Description
event level

detail Event Entry Detailed Version

eventlevel Event level 1-3, 1-critical, 2-error, 3-warning

[Configuration case]
Case1:View alarm history records with an error level.
OLT(config)# show event history eventlevel 2
------------------------------------------------------------------------------------
EventId Time Level Instance Name
------------------------------------------------------------------------------------
total number : 0
OLT(config)#

20.2.8show event history eventparameter

OLT(config)# show event history eventparameter ( ge |xge|gpon )


Command
F/S/P [detail]
Syntax
show event history eventparameter board F/S [detail]

Applicable
config view
Views

This command is used to view historical event entries based on


Description
ports and slots

detail Event Entry Detailed Version

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

(ge|gpon|xge) Query the type of port

[Configuration case]
Case1:View historical event data for gpon port 1.
OLT(config)# show event history eventparameter gpon 0/0/1
------------------------------------------------------------------------------------
EventId Time Level Instance Name

457
GPON OLT User Manual

------------------------------------------------------------------------------------
1100201 2001-05-31 01:59:26 Warning PON 0/0/1 Sfp plugged
1100202 2001-05-31 01:59:19 Warning PON 0/0/1 Sfp unplugged
1100201 2001-05-31 01:58:07 Warning PON 0/0/1 Sfp plugged
total number : 3
OLT(config)#

20.2.9show event history all


Command Syntax show event history all [detail]

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)#

20.2.10show 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

458
GPON OLT User Manual

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)#

459
GPON OLT User Manual

21 Iptable Access Control


This chapter includes the following topics:

 iptable default rules

 iptable Access rules Configuration

 Login Method Control

21.1 iptable default rules


21.1.1service 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)#

460
GPON OLT User Manual

21.1.2show service default policy


Command Syntax show service default policy

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
----------------------------------------------------------------------------

21.2 iptable access rules configuration


21.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

461
GPON OLT User Manual

corresponds to an iptable access rule number.

range The IP range used to configure access rules.

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)#

21.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
----------------------------------------------------------------------------

462
GPON OLT User Manual

OLT(config)#

21.3 Login Method Control


21.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)#

21.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

463
GPON OLT User Manual

http 80 80 enable
https 443 443 enable
snmp 161 161 disable
----------------------------------------------------------------------------

21.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

464
GPON OLT User Manual

22 Lldp protocol
22.1.1lldp enable
Command lldp (enable| disable)
Syntax lldp port (ge | pon | xge) F/S PORTLIST (enable| disable)

Applicable
config view
Views

Enable or disable the LLDP function. By default, LLDP is disabled


Description
globally. After enabling it globally, the port is enabled by default.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

enable Enable LLDP.

disable Disable LLDP protocol

[Configuration case]
Case1:Enable LLDP globally.
OLT(config)# lldp enable
OLT(config)#
Case2:Disable LLDP on uplink port ge1
OLT(config)# lldp port ge 0/0 1 disable
OLT(config)#

22.1.2lldp timer reinit-delay

Command lldp timer reinit-delay delay


Syntax no lldp timer reinit-delay

Applicable
config view
Views

Description Configuring the LLDP interface initialization delay

delay Range <1-10>, unit s. The default delay time is 2s

[Configuration case]
Case1:Configure the function initialization delay time to 10S
OLT(config)# lldp timer reinit-delay 10
OLT(config)#

465
GPON OLT User Manual

22.1.3lldp timer tx-interval

Command lldp timer tx-interval interval


Syntax no lldp timer tx-interval

Applicable
config view
Views

Description Configure the LLDP message sending interval

interval Range <5-32768>, unit s. The default delay time is 30s.

[Configuration case]
Case1:Configure the lldp message sending period to 10S
OLT(config)# lldp timer tx-interval 10

22.1.4lldp timer tx-delay

Command lldp timer tx-delay delay


Syntax no lldp timer tx-delay

Applicable
config view
Views

Description Configuring the minimum delay for sending LLDP packets

delay Range <1-8192>, unit s. The default delay time is 2s.

[Configuration case]
Case1:Configure the minimum delay for sending LLDP packets to 5S.
OLT(config)# lldp timer tx-delay 5
OLT(config)#

22.1.5lldp notification-interval

Command lldp notification-interval interval


Syntax no lldp notification-interval

Applicable
config view
Views

Description Configure the minimum delay time for LLDP to report alarms

interval Range <5-3600>, unit s. The default delay time is 5s.

interval-time Cycle time, interval time to back up logs to the server

466
GPON OLT User Manual

[Configuration case]
Case1:Configure the alarm delay time to 10S
OLT(config)# lldp timer notification-interval 10
OLT(config)#

22.1.6lldp hold-multipliter

Command lldp hold-multipliter value


Syntax no lldp hold-multipliter

Applicable
config view
Views

Configure the survival coefficient of LLDP packets. Survival time =


Description
survival coefficient * sending period

value Range <2-10>,. The default delay time is 4.

[Configuration case]
Case1:Configure the survival time coefficient to 2
OLT(config)# lldp hold-multipliter 2
OLT(config)#

22.1.7lldp fast-count

Command lldp fast-count count


Syntax no lldp fast-count

Applicable
config view
Views

Description Configure the number of LLDP packets that can be quickly sent

count Range <1-8>,. The default delay time is 3.

[Configuration case]
Case1:Configure the number of fast-sending messages to 5
OLT(config)# lldp fast-count 5
OLT(config)#

467
GPON OLT User Manual

22.1.8lldp port admin-status

Command lldp port (ge | pon | xge) F/S PORTLIST admin-status (disable
Syntax | txrx | tx | rx)

Applicable
config view
Views

Description Configure the port's working mode, the default is txrx mode

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

disable Enable the LLDP alarm function on the interface.

txrx Disable the LLDP alarm function on the interface.

tx Only send LLDP messages but do not receive them.

rx Only receive LLDP messages but do not send them.

[Configuration case]
Case1:Configure the LLDP working mode of uplink port ge 1 to tx
OLT(config)# lldp port ge 0/0 1 admin-status tx
OLT(config)#

22.1.9lldp port notification

Command lldp port (ge | pon | xge) F/S PORTLIST notification (enable|
Syntax disable)

Applicable
config view
Views

Description Configure the LLDP alarm function of the port. Disabled by default

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

enable Enable the LLDP alarm function on the interface.

disable Disable the LLDP alarm function on the interface.

[Configuration case]
Case1:Configure the LLDP alarm function for the uplink port ge 1
OLT(config)# lldp port ge 0/0 1 notification enable

468
GPON OLT User Manual

OLT(config)#

22.1.10lldp port tlv-enable basic-tlv

lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
port- description | system-name | system-description |
system-capabilities |management-address)
Command
Syntax no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
port- description | system-name | system-description |
system-capabilities |management-address)

Applicable
config view
Views

Configure the LLDP message basic-tlv type to send packets of tlv, by


Description
default all basic-tlv types are published

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

all Specifies all options under the basic-tlv type.

port-
Description of the port.
description

system-name The name of the device.

system-descript
Description of the system.
ion

system-capabili The main functions of the system and the functions that have been
ties enabled.

management-a Management address, and the interface number and OID (Object
ddress Identifier) ​ ​ corresponding to the address.
[Configuration case]
Case1:Configure the uplink port ge 1 to publish all types of basic-tlv LLDP packets.
OLT(config)# lldp port ge 0/0 1 tlv-enable basic-tlv all
OLT(config)#

469
GPON OLT User Manual

22.1.11lldp port tlv-enable dot1-tlv

lldp port (ge | pon | xge) F/S PORTLIST tlv-enable dolt1-tlv (all |
port-vlan-id | protocol-vlan-id | vlan-name)

Command no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
Syntax port-vlan-id | protocol-vlan-id | vlan-name)

Applicable
config view
Views

Configure the LLDP message dolt1-tlv type to be sent. By default, all


Description
dolt1-tlv types are sent.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

all Specifies all options under the basic-tlv type.

port-vlan-id Port VLAN ID.

protocol-vlan-id Protocol VLAN ID of the port.

vlan-name Name of the VLAN to which the port belongs.

[Configuration case]
Case1:Configure the uplink port ge 1 to publish LLDP packets of dot1-tlv all types
OLT(config)# lldp port ge 0/0 1 tlv-enable dot1-tlv all
OLT(config)#

22.1.12lldp port tlv-enable dot3-tlv

lldp port (ge | pon | xge) F/S PORTLIST tlv-enable dolt1-tlv (all |
Command mac-physic | power | link-aggregation | max-frame-size)
Syntax no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all
| mac-physic | power | link-aggregation | max-frame-size)

Applicable
config view
Views

470
GPON OLT User Manual

Configure the LLDP message dolt3-tlv type to be sent as tlv. By


Description
default, all dolt3-tlv types are published.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

all Specifies all options under the basic-tlv type.

The speed and duplex status of the port, whether the port supports
mac-physic auto-negotiation, whether the auto-negotiation function is enabled,
and the current speed and duplex status.

The power supply capability of the port, such as whether it supports


power
PoE and whether it is a power supply device or a powered device.

link-aggregation Name of the VLAN to which the port belongs.

The maximum frame length supported by the port is obtained from


max-frame-size
the port's maximum transmission unit (MTU).
[Configuration case]
Case1:Configure the uplink port ge 1 to publish LLDP packets of dot3-tlv all types
OLT(config)# lldp port ge 0/0 1 tlv-enable dot3-tlv all
OLT(config)#

22.1.13show lldp configuration

Command
show lldp configuration
Syntax

Applicable
config view
Views

Description Checking the LLDP Configuration

[Configuration case]
Case1:Checking LLDP Configuration Information
OLT(config)# show lldp configuration
-------------------------------------------------------------------------------------
LLDP agent : Nearest-Bridge
Global status of LLDP : Enable
Fast count :3
Reinit delay :2
Hold multiplier :4
Transmit interval : 10

471
GPON OLT User Manual

Transmit delay :2
Notification interval :5

Port Enable AdminStatus NotificationStatus


-------------------------------------------------------------------------------------
gpon0/0/1 Yes txrx No
gpon0/0/2 Yes txrx No
gpon0/0/3 Yes txrx No
gpon0/0/4 Yes txrx No
ge0/0/1 Yes txrx No
ge0/0/2 Yes rx No
ge0/0/3 Yes txrx No
ge0/0/4 Yes txrx No
xe0/0/1 Yes txrx No
xe0/0/2 Yes txrx No
lag1 Yes tx Yes
OLT(config)#

22.1.14show lldp tlv-config

Command
show lldp tlv-config port (ge | pon | xge)F/S/P
Syntax

Applicable
config view
Views

Description Check the LLDP port tlv configuration information

[Configuration case]
Case1:Check the LLDP tlv configuration information of the uplink port ge 2
OLT(config)# show lldp tlv-config port ge 0/0/2
-------------------------------------------------------------------------------------
LLDP tlv-config of ge0/0/2 :

NAME STATUS DEFAULT


-------------------------------------------------------------------------------------
Basic optional TLV :
Port Description TLV YES YES
System Name TLV YES YES
System Description TLV YES YES
System Capabilities TLV YES YES
Management Address TLV YES YES

IEEE 802.1 extend TLV:

472
GPON OLT User Manual

Port VLAN ID TLV YES YES


Port And Protocol VLAN ID TLV YES YES
VLAN Name TLV YES YES

IEEE 802.3 extend TLV:


MAC-Physic TLV YES YES
Power via MDI TLV YES YES
Link Aggregation TLV YES YES
Maximum Frame Size TLV YES YES
OLT(config)#

22.1.15show lldp local-info

Command show lldp local-info


Syntax show lldp local-info port (ge | pon | xge) F/S/P

Applicable
config view
Views

Description View device information

[Configuration case]
Case1:View the device information
OLT(config)# show lldp local-info
-------------------------------------------------------------------------------------
Global LLDP local-information :

Chassis ID : E0:67:B3:7B:00:94/MAC address


System name : OLT
System description : GPON OLT
System capabilities supported : Bridge, Router
System capabilities enabled : Bridge, Router
Case2:View the information of uplink port ge 2
OLT(config)# show lldp local-info port ge 0/0/2
-------------------------------------------------------------------------------------
Port ID subtype : Interface name
Port ID : ge0/0/2
Port description : ge0/0/2

Management address type : All802


Management address : E0:67:B3:7B:00:94
Management address interface type : Unknow
Management address interface ID :0
Management address OID :0

473
GPON OLT User Manual

Port VLAN ID(PVID) :1


Port and protocol VLAN ID(PPVID) : 0
Port and protocol VLAN supported : No
Port and protocol VLAN enabled : No
VLAN Name :

Auto-negotiation supported : Yes


Auto-negotiation enabled : Yes
OperMau : speed(1000)/duplex(Full)
PoE supported : No
Link aggregation supported : Yes
Link aggregation enabled : No
Maximum frame Size : 1526

22.1.16show lldp neighbor-info

Command show lldp neighbor-info all


Syntax show lldp neighbor-info port (ge | pon | xge) F/S/P

Applicable
config view
Views

Description Check the LLDP neighbor information of the device

[Configuration case]
Case1:View all neighbor information of the device
OLT(config)# show lldp neighbor-info all
-------------------------------------------------------------------------------------
LLDP neighbor-information of ge0/0/2 :

Neighbor : 1
ChassisID/subtype : 00:0E:C6:38:65:B8 /MAC address
PortID/subtype : 00:0E:C6:38:65:B8 /MAC address
Capabilities : UnKnow
Expired time : 3601s

-------------------------------------------------------------------------------------
Case2:View the neighbor information of the uplink port ge 2
OLT(config)# show lldp neighbor-info port ge 0/0/2
-------------------------------------------------------------------------------------
ge0/0/2 has 1 neighbors

Neighbor index :1
Chassis ID type : MAC address

474
GPON OLT User Manual

Chassis ID : 00:0E:C6:38:65:B8
Port ID type : MAC address
Port ID : 00:0E:C6:38:65:B8
Port description :
System name :
System description :
System capabilities supported : UnKnow
System capabilities enabled : UnKnow
Management address type : Other
Management address :
Management address interface type :
Management address interface ID :0
Management address OID :0
Expired time : 3601s

Port VLAN ID(PVID) :0


Port and protocol VLAN ID(PPVID) : 0
Port and protocol VLAN supported : NO
Port and protocol VLAN enabled : NO
VLAN Name :

Auto-negotiation supported : YES


Auto-negotiation enabled : YES
OperMau : speed(0)/duplex(Unknown)

Power port class : PD


PSE power supported : NO
PSE power enabled : NO
PSE pairs control ability : NO
Power pairs :
Port power classification : class0

Link aggregation supported : NO


Link aggregation enabled : NO
Aggregation port ID :0
Maximum frame Size :0
-------------------------------------------------------------------------------------
OLT(config)#

475
GPON OLT User Manual

22.1.17show lldp statistics

Command show lldp statistics


Syntax show lldp statistics port (ge | pon | xge) F/S/P

Applicable
config view
Views

Description Check LLDP packet statistics

[Configuration case]
Case1:Check the LLDP packet statistics of the device
OLT(config)# show lldp statistics
-------------------------------------------------------------------------------------
LLDP statistics global Information :

The current number of LLDP neighbors : 1


LLDP neighbors inserted :2
LLDP neighbors deleted :1
LLDP neighbors dropped :0
LLDP neighbors aged out :0
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------

Case2:Check the LLDP message statistics of uplink port ge 2


OLT(config)# show lldp statistics port ge 0/0/2
-------------------------------------------------------------------------------------
LLDP statistics Information of ge0/0/2 :

Number of neighbors :1
LLDP frames transmitted : 921
LLDP frames received : 18
LLDP frames discarded :0
LLDP error frames :0
LLDP TLVs discarded :0
LLDP TLVs unrecognized : 18
LLDP neighbor information aged out :0
-------------------------------------------------------------------------------------
OLT(config)#

476
GPON OLT User Manual

22.1.18rest lldp neighbor-info

Command rest lldp neighbor-info


Syntax rest lldp neighbor-info port (ge | pon | xge) F/S/P

Applicable
config view
Views

Description Clear LLDP neighbor information

[Configuration case]
Case1:Clear LLDP packet statistics of the device
OLT(config)# reset lldp neighbor-info
OLT(config)#

Case2:Clear LLDP message statistics for uplink port ge 2


OLT(config)# reset lldp neighbor-info port ge 0/0/2
OLT(config)#

22.1.19rest lldp statistics

Command rest lldp statistics


Syntax rest lldp statistics port (ge | pon | xge) F/S/P

Applicable
config view
Views

Description Clear LLDP packet statistics

[Configuration case]
Case1:Clear LLDP packet statistics
OLT(config)# reset lldp statistics
OLT(config)#

Case2:Clear LLDP message statistics for uplink port ge 2


OLT(config)# reset lldp statistics port ge 0/0/2
OLT(config)#

477
GPON OLT User Manual

23 Qos
23.1 Dot1p Mapping profile

23.1.1dot1p-mapping-table

dot1p-mapping-table {table-id <1-31> | table-name table-name}


Command
no dot1p-mapping-table {table-id <1-31> | table-name
Syntax
table-name}

Applicable
config view
Views

The dot1p-mapping-table command is used to add a new dot1p


mapping profile or enter an existing dot1p mapping profile.
The no dot1p-mapping-table command is used to delete an
Description
unnecessary dot1p-mapping-table profile. The bound
dot1p-mapping-table profile cannot be deleted. If you need to delete
it, you need to unbind it first.

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:Create a Dot1p mapping profile with Profile id 1.
OLT(config)# dot1p-mapping-table table-id 1
OLT(config-dot1p-mapping-table-1)#

23.1.2dot1p cos-queue

Command
dot1p <0-7> cos-queue <0-7>
Syntax

Applicable
dot1p-mapping-table view
Views

Modify the priority mapping configuration of the Dot1p mapping


Description
profile

<0-7> Dot1p priority, value range is 0-7

478
GPON OLT User Manual

<0-7> Queue, value range is 0-7

[Configuration case]
Case1:Modify the configuration of the Dot1p mapping profile. The packets with dot1p priority 2
enter queue 3.
OLT(config-dot1p-mapping-table-2)# dot1p 2 cos-queue 3

23.1.3show dot1p-mapping-table

show dot1p-mapping-table {table-id <1-31> | table-name


Command table-name}
Syntax show dot1p-mapping-table all
show dot1p-mapping-table current

Applicable
config view
Views

Description View the current profile configuration

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:Check the profile configuration of the Dot1p mapping profile with Profile id 0.
FD1604S-B0(config)# show dot1p-mapping-table table-id 0

---------------------------------------------------------------
Dot1p mapping table ID: 0
Dot1p mapping table name: default-dot1p-mapping-table
Binding times : 10
---------------------------------------------------------------
---------------------------------------------------------------
Priority Cos
---------------------------------------------------------------
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
---------------------------------------------------------------

479
GPON OLT User Manual

23.2 Dscp mapping profile

23.2.1dscp-mapping-table

Command dscp-mapping-table {table-id <1-31> | table-name table-name}


Syntax no dscp-mapping-table {table-id <1-31> | table-name table-name}

Applicable
config view
Views

The dscp-mapping-table command is used to add a new dscp


mapping profile or enter an existing dscp mapping profile.
The no dscp-mapping-table command is used to delete an
Description
unnecessary dscp-mapping-table profile. The bound
dscp-mapping-table profile is not allowed to be deleted. If you need
to delete it, you need to unbind it first.

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:Create a DSCP mapping profile with Profile id 6.
OLT(config)# dscp-mapping-table table-id 6
OLT(config-dscp-mapping-table-6)#

23.2.2dscp cos-queue

Command
dscp<0-63> cos-queue <0-7>
Syntax

Applicable
dscp-mapping-table view
Views

Description Configure the priority mapping of the DSCP mapping profile

<0-63> Priority, value range is 0-63

<0-7> Queue priority, value range is 0-7

[Configuration case]
Case1:Modify the packets with priority 36 of the DSCP mapping profile to enter queue
2.
OLT(config-dscp-mapping-table-6)# dscp 36 cos-queue 2

480
GPON OLT User Manual

23.2.3show dscp-mapping-table

OLT(config)# show dscp-mapping-table {table-id <1-31> |


Command
table-name table-name}
Syntax
OLT(config)# show dscp-mapping-table all

Applicable
config view
Views

Description View dscpprofile configuration

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:Check the profile configuration of the DSCP mapping profile with profile ID 0.
FD1604S-B0(config)# show dscp-mapping-table table-id 0

---------------------------------------------------------------
Dscp mapping table ID: 0
Dscp mapping table name: default-dscp-mapping-table
Binding times : 10
---------------------------------------------------------------
---------------------------------------------------------------
Priority Cos
---------------------------------------------------------------
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 2
17 2

481
GPON OLT User Manual

18 2
19 2
20 2
21 2
22 2
23 2
24 3
25 3
26 3
27 3
28 3
29 3
30 3
31 3
32 4
33 4
34 4
35 4
36 4
37 4
38 4
39 4
40 5
41 5
42 5
43 5
44 5
45 5
46 5
47 5
48 6
49 6
50 6
51 6
52 6
53 6
54 6
55 6
56 7
57 7
58 7
59 7
60 7

482
GPON OLT User Manual

61 7
62 7
63 7
---------------------------------------------------------------
FD1604S-B0(config)#

23.3 Queue Scheduling Profile

23.3.1qos-scheduler-profile

qos-scheduler-profile {profile-id <1-31> | profile-name


Command profile-name}
Syntax no qos-scheduler-profile (profile-id <1-31> | profile-name
profile-name)

Applicable
config view
Views

The qos-scheduler-profile command is used to add a new qos


scheduling queue profile or enter an existing qos scheduling queue
profile. The qos-scheduler-profile command without any parameters
automatically creates a new qos-scheduler-profile profile.
Description
The no qos-scheduler-profile command is used to delete an
unnecessary qos-scheduler-profile profile. The bound
qos-scheduler-profile profile is not allowed to be deleted. If you need
to delete it, you need to unbind it first.

Qos scheduling profile number, the value range is 1-31. If not


<1-31> specified, the system automatically assigns the smallest idle profile
number.

Qos scheduling profile name, length supports 1-32 characters. If not


specified, the system automatically uses the default name
profile-name
"qos-scheduler-profile_x", where "x" is the number of the Qos
scheduling profile.
[Configuration case]
Case1:Create a queue profile with Profile id 1.
OLT(config)# qos-scheduler-profile profile-id 1
OLT(config-qos-scheduler-profile-1)#
Case2:Delete the queue profile with Profile ID 1.
OLT(config)# no qos-scheduler-profile profile-id 1

483
GPON OLT User Manual

23.3.2queue-scheduler

queue-scheduler <0-7> mode (pq | lpq) [bandwidth cir <1-1000000>


pir <1-1000000> ]
queue-scheduler <0-7> mode (pq | lpq) bandwidth pir <1-1000000>
Command
queue-scheduler <0-7> mode wfq weight <1-100> [bandwidth cir
Syntax
<1-1000000> pir <1-1000000> ]
queue-scheduler <0-7> mode wfq weight <1-100> bandwidth pir
<1-1000000>

Applicable
qos-scheduler-profile view
Views

The queue-scheduler command is used to configure the system's


queue scheduling mode
Strict priority queue scheduling mode (PQ). When this mode is
applied, queues are strictly scheduled according to the priority of the
queue. Only when there is no data in the high-priority queue will data
be extracted from the low-priority queue.
Weighted fair queue scheduling mode (WFQ). When this mode is
Description applied, a weight needs to be configured for the queue (the weight
indicates the proportion of resources obtained), so that the queue
can obtain a certain bandwidth according to the proportion, and the
queue priority applied cannot be higher than the queue in PQ mode.
Low priority allocated bandwidth queue scheduling mode (LPQ).
When this mode is applied, the queue priority needs to be ensured
not to be higher than the queue in other modes, and the queue will
be allocated the remaining bandwidth mode.

<0-7> queue id, the value range is 0-7

Queue guaranteed information rate, the value range is 1-1000000,


cir
the unit is Kbps

Maximum information rate of the queue, the value range is


pir
1-1000000, the unit is Kbps

<1-100> The weight value of the queue configuration, the value range is 1-100

[Configuration case]
Case1:Configure queue 2 to work in lpq mode.
OLT(config-qos-scheduler-profile-1)# queue-scheduler 2 lpq
Case2:Configure queue 3 to work in pq mode and set the maximum bandwidth to 1024 kbps.
OLT(config-qos-scheduler-profile-1)# queue-scheduler 3 pq bandwidth pir 1024

484
GPON OLT User Manual

23.3.3show qos-scheduler-profile

show qos-scheduler-profile current


Command show qos-scheduler-profile (profile-id <1-31> | profile-name
Syntax profile-name)
show qos-scheduler-profile all

Applicable
qos-scheduler-profile view
Views

This command is used to view the qos-scheduler-profile profile


Description
configuration.

qos-scheduler-profileprofile number, the value range is 1-31, you can


<1-31> view specific qos-scheduler-profileprofile information by profile
number

qos-scheduler-profile name, string length range 1-32, you can view


profile-name
specific qos-scheduler-profileprofile information by profile name

all Can view all current qos-scheduler-profile information

current You can view the current qos-scheduler-profile information

[Configuration case]
Case1:View the current profile configuration.
OLT(config)# show qos-scheduler-profile profile-id 1
---------------------------------------------------------------
Qos scheduler profile ID: 1
Qos scheduler profile name: qos-scheduler-profile_1
Binding times :0
-------------------------------------------------------------
Queue Id Mode Cir Pir Weight
0 LPQ 0 0 0
1 LPQ 0 0 0
2 LPQ 0 0 0
3 LPQ 0 0 0
4 LPQ 0 0 0
5 LPQ 0 0 0
6 WFQ 0 0 20
7 PQ 1000 10000 0
---------------------------------------------------------------

Case2View all queue profiles.


OLT(config)# show qos-scheduler-profile all
---------------------------------------------------------------

485
GPON OLT User Manual

Profile-Index Bind-times Profile-Name


---------------------------------------------------------------
1 0 qos-scheduler-profile_1
---------------------------------------------------------------

23.4 Port Configuration

23.4.1qos-mapping port to dscp-mapping-table

qos-mapping port PORTID to dscp-mapping-table {table-id <1-31> |


Command
table-name table-name}
Syntax
no qos-mapping port PORTID to dscp-mapping-table

Applicable
ge/xge/pon view
Views

The port is bound to dscp-mapping-tableprofile.


no qos-mapping port PORTID to dscp-mapping-table is used to
Description
unbind the port from dscp-mapping-tableprofile, that is, to modify it
to the default dscp-mapping-tableprofile0 of the port binding.

PORTID Port number

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:Bind the dscp mapping profile with profile ID 3 to GE port 1.
OLT(config-ge-0/0)# qos-mapping port 1 to dscp-mapping-table table-id 3

23.4.2qos-mapping port to dot1p-mapping-table

qos-mapping port PORTID to dot1p-mapping-table {table-id <1-31>


Command
| table-name table-name}
Syntax
no qos-mapping port PORTID to dot1p-mapping-table

Applicable
ge/xge/pon view
Views

The port is bound to dot1p-mapping-tableprofile.


no qos-mapping port PORTID to dot1p-mapping-table is used to
Description
unbind the port to dot1p-mapping-tableprofile, that is, to change it to
the default port binding dot1p-mapping-tableprofile0.

486
GPON OLT User Manual

PORTID Port number

<1-31> Profile id, value range is 1-31

table-name profile name, length is 1-32

[Configuration case]
Case1:GE port 1 is bound to the dot1p mapping profile with profile id 3.
OLT(config-ge-0/0)# qos-mapping port 1 to dot1p-mapping-table table-id 3

23.4.3qos-remark dscp

Command
qos-remark port PORTID dscp remark (enable|disable)
Syntax

Applicable
ge/xge/pon view
Views

Description Port dscp remark switch

PORTID The port number to be checked

(enable|disable enable:Enable dscp remark


) disable:Disable dscp remark
[Configuration case]
Case1:Set the dscp remark switch of GE port 1 to enable.
OLT(config-ge-0/0)# qos-remark port 1 dscp remark enable

23.4.4qos-remark dot1p

Command
qos-remark port PORTID dot1p remark (enable|disable)
Syntax

Applicable
ge/xge/pon view
Views

Description Port dscp remark switch

PORTID The port number to be checked

(enable|disable enable:Enable dscp remark


) disable:Enable dscp remark
[Configuration case]
Case1:Set the dot1p remark switch of GE 1 port to disable.

487
GPON OLT User Manual

OLT(config-ge-0/0)# qos-remark port 1 dot1p remark disable

23.4.5port trust-mode

Command
port PORTID trust-mode (dot1p|dscp|both)
Syntax

Applicable
ge/xge/pon view
Views

Description Port Trust Mode Configuration

PORTID The port number

Dot1p: When the trust mode is dot1p, the port in the incoming
direction of the message will map the dot1p priority of the message
to the corresponding internal priority according to the dot1p priority
mapping table bound to the port based on the dot1p priority carried
by the message, and enter the specified queue. If the message is a
message without vlan untag, the message will be mapped to the
internal priority of priority 0 according to the configuration in the
dot1p priority mapping table bound to the port, and enter the
specified queue.
Dscp: When the trust mode is dscp, the port in the incoming direction
(dot1p|dscp|bo of the message will map the dscp priority of the message to the
th) corresponding internal priority according to the dscp priority
mapping table bound to the port based on the dscp priority carried
by the message, and enter the specified queue.
Both: When the trust mode is both, if the dscp mapping profile bound
to the port is valid, the port in the incoming direction will map the
message according to the dscp priority carried by the message and
the dscp priority mapping table bound to the port; if the dscp
mapping profile bound to the port is 0 (invalid dscp mapping profile),
the message in the incoming direction will be mapped according to
the internal priority of the dot1p mapping profile bound to the port.
The port trusts dot1p priority by default.
[Configuration case]
Case1:Change the trust mode of GE1 port to both.
OLT(config-ge-0/0)# port 1 trust-mode both

23.4.6show port PORTID qos

Command
show port PORTID qos config
Syntax

488
GPON OLT User Manual

Applicable
ge/xge/pon view
Views

Description Check the port QoS configuration

PORTID The port number to be checked

[Configuration case]
Case1:Check the QoS configuration of GE 1 port.
OLT(config-ge-0/0)# show port 1 qos config

---------------------------------------------------------------
Port : ge 0/0/1
Dot1p mapping table ID :3
Dscp mapping table ID :3
Port trust mode : Both
Dot1p remark switch : disable
Dscp remark switch : enable
Qos Profile ID :0
---------------------------------------------------------------

23.4.7port qos-scheduler-profile

port PORTID qos-scheduler-profile (profile-id <1-31> | profile-name


Command
profile-name)
Syntax
no port PORTID qos-scheduler-profile

Applicable
ge/xge/gpon view
Views

This command is used to bind a port to a qos-scheduler-profile profile


Description no port PORTID The qos-scheduler-profile command is used to
unbind a port from a qos-scheduler-profile profile

PORTID The port number

<1-31> Qos scheduling profile number, the value range is 1-31.

profile-name Qos scheduling profile name, the length supports 1-32 characters.

[Configuration case]
Case1:GE1 口绑定 Profile id 为 1 的队列 profile。
OLT(config-ge-0/0)# port 1 qos-scheduler-profile profile-id 1

489
GPON OLT User Manual

24 PPPoe
24.1.1show pppoe agent config

Command
show pppoe agent config
Syntax

Applicable Views config view

Description Used to query the global configuration of pppoe

[Configuration case]

Case1:Query the global configuration of PPPoE.

FD1608S-C0(config)# show pppoe agent config


-------------------------------------------------------------------------------------
PPPOE agent status : Disable
PPPOE agent policy : replace
PPPOE agent 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: ascii
CircuitId: hostname-chassis-slot-ponid-gemid-onuid
RemoteId :
-------------------------------------------------------------------------------
Switch pppoe Snooping status : Enable
------------------------------------------------------------------------------
Port Trusted
-----------------------------------------------------------------------------
gpon 0/0/1 Untrust
gpon 0/0/2 Untrust
gpon 0/0/3 Untrust
gpon 0/0/4 Untrust

490
GPON OLT User Manual

gpon 0/0/5 Untrust


gpon 0/0/6 Untrust
gpon 0/0/7 Untrust
gpon 0/0/8 Untrust
ge 0/0/1 Untrust
ge 0/0/2 Untrust
ge 0/0/3 Untrust
ge 0/0/4 Untrust
xge 0/0/1 Untrust
xge 0/0/2 Untrust
lag1 Untrust
------------------------------------------------------------------------------
OLT(config)#

24.1.2pppoe agent (enable | disable)

Command
pppoe agent (enable | disable)
Syntax

Applicable Views config view

Description Used to enable the pppoe plus proxy function

enable:Enable PPPoE Plus function


(enable|disable)
disable:Disable PPPoE Plus function

[Configuration case]

Case1:Used to enable the PPPoE plus function

OLT(config)# pppoe agent enable


OLT(config)#

491
GPON OLT User Manual

24.1.3pppoe agent policy

Command
pppoe agent policy (drop|keep|replace)
Syntax

Applicable
config view
Views

Used to configure the PPPoE Plus message processing strategy. By


Description
default, the replace strategy is used.

drop: directly discard the PPPoE message with Option82 option


(drop|keep|rep keep: forward the PPPoE message with Option82 option as is
lace) replace: replace the Option82 option in the original PPPoE message
and then forward it
[Configuration case]
Case1 Configure the PPPoE packet processing policy to discard
OLT(config)# pppoe agent policy drop
OLT(config)#

24.1.4show pppoe agent format all

Command
show pppoe agent format all
Syntax

Applicable Views config view

Used to query pppoe to view the circuit-id and remote-id format


Description
information of the global configuration

[Configuration case]

Case1:View the circuit-id and remote-id format information of the global configuration

OLT(config)# show pppoe agent format all


-------------------------------------------------------------------------
Index: 1 Name: defalut type: hex

492
GPON OLT User Manual

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: ascii
CircuitId: hostname-chassis-slot-ponid-gemidonuid
RemoteId :
--------------------------------------------------------------------------

24.1.5pppoe agent format user-define

pppoe agent format user-defined FORMATNAME (ascii | hex) {cid


Command Syntax CIRCUITID | rid REMOTEID}
no pppoe agent format user-define FORMATNAME

Applicable
config view
Views

Description This command is used to add user-defined format items.

FORMATNAME User-defined format item name

hex: option82 field data is filled in hex format


hex|ascii
ascii: option82 field data is filled in ascill format

String, organized with defined keywords and slash/or single quote as


delimiters.
Keywords: hostname, oltmac, vlan, chassis, frame, slot, poind,
circuit-id/
gemid, onusn.
remote-id
Format: "vlan/slot/ponid/onuid/'88rr4'" (double quotes are used for
strings with spaces), vlan/slot2/ponid4/ounid4/'88r4'/, length is
1-128
[Configuration case]
Case1 : Add a custom format named user1 with field data filled in hex, cid content is
vlan+ponid+onuid, rid content is oltmac
OLT(config)# pppoe agent format user-define user1 hex cid vlan/ponid/onuid rid oltmac
OLT(config)#
Case2:Delete the user-defined format user1
OLT(config)# no pppoe agent format user-define user1

493
GPON OLT User Manual

24.1.6pppoe agent format FORMATNAME

pppoe agent format ( default | common | extend )


Command Syntax
no pppoe agent format

Applicable Views config view

Configure the format of the information field added to the


PPPoE message. By default, the device adds the information
Description
field of circuit-id and remote-id in the format of default to the
PPPoE message.

default:vlan+slot+ponid+onuid
default | common |
common:vlan+slot+ponid
extend
extend:hostname-chassis-slot-ponid-gemid-onuid
[Configuration case]
Case1:The filling format of the configuration information field is vlan+slot+ponid
OLT(config)# pppoe agent format common

OLT(config)#

24.1.7pppoe agent (trust | untrust) port

pppoe agent (trust | untrust) port (ge | xge | pon) F/S port-list
Command
Syntax
pppoe agent (trust | untrust) port lag PORTID

Applicable
config view
Views

Description This command is used to configure the PPPoE snooping trusted port.

(trust | trust: trusted port


untrust) untrust: untrusted port

ge: uplink port


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

F/S The port slot number to be configured, in the format of 0/0.

The port list to be configured has a value range of 1-16 and a format
port-list
of 1,6-7,8.

PORTID The aggregation group ID to be configured. The value range is 1-8.

494
GPON OLT User Manual

[Configuration case]
Case1:Configure uplink ge port 1-2 as a trusted port
OLT(config)# pppoe snooping trust port ge 0/0 1-2
Case2:Configure aggregation port 1 as a trusted port
OLT(config)#pppoe snooping trust port lag 1

25 MSTP
25.1.1stp (enable|disable)

OLT(config)# stp (enable|disable)


Command
OLT(config)# stp port (ge | xge) F/S PORTLIST (enable|disable)
Syntax
OLT(config)# stp port lag <1-8>(enable|disable)

Applicable
config view
Views

This command is used to enable or disable the spanning tree function


globally or on a port. All configurations related to the spanning tree
Description protocol take effect only when the spanning tree protocol is enabled
globally and on the port. By default, the spanning tree function on a
switching device is disabled.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

enable: Enable the MSTP function


enable|disable
disable: Disable the MSTP function
[Configuration case]
Case1:Enable MSTP on the specified port ge 0/0 1.
OLT(config)# stp port ge 0/0 1 enable

OLT(config)#

25.1.2stp mode

Command
OLT(config)# stp mode (mstp|rstp|stp)
Syntax

Applicable
config view
Views

495
GPON OLT User Manual

This command is used to configure the spanning tree protocol


Description
working mode of a switching device.
[Configuration case]
Case1:Configure the spanning tree protocol working mode of the switching device to mstp.
OLT(config)# stp mode mstp

OLT(config)#

25.1.3stp priority

Command
OLT(config)# stp [ instance <instance-id> ] priority <prioritty-id>
Syntax

Applicable
config view
Views

This command is used to configure the priority of a switching device


Description
in a specified spanning tree protocol.

instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.

prioritty-id Priority, the value range is 0-61440

[Configuration case]
Case1:Set the priority of the switching device in spanning tree protocol instance 5 to 4096.
OLT(config)# stp instance 5 priority 4096

OLT(config)#

25.1.4stp timer forward-delay

Command
OLT(config)# stp timer forward-delay <time-value>
Syntax

Applicable
config view
Views

This command is used to configure the forward-delay time of a


Description
switching device.

time-value The specified Forward-Delay time value ranges from 4 to 30

[Configuration case]
Case1:Set the Forward-Delay time of the switching device to 19.
OLT(config)# stp timer forward-delay 19

OLT(config)#

496
GPON OLT User Manual

25.1.5stp timer hello

Command
OLT(config)# stp timer hello <time-value>
Syntax

Applicable
config view
Views

This command is used to configure the interval for a switching device


Description
to send BPDUs, that is, the time value of the Hello Timer.

The specified switching device sends BPDU interval value, the value
time-value
range is 1-10
[Configuration case]
Case1:Configure the switching device to send BPDUs at an interval of 6 seconds.
OLT(config)# stp timer hello 6

OLT(config)#

25.1.6stp timer max-age

Command
OLT(config)# stp timer max-age <time-value>
Syntax

Applicable
config view
Views

This command is used to configure the BPDU aging time on the


Description
switching device port, that is, the time value of the Max Age timer.

BPDU aging time value on the specified switch port, the value range is
time-value
6-40
[Configuration case]
Case1:Set the BPDU aging time on the switch port to 21.
OLT(config)# stp timer max-age 21

OLT(config)#

25.1.7stp max-hops

Command
OLT(config)# stp max-hops <hops-value>
Syntax

Applicable config view

497
GPON OLT User Manual

Views

This command is used to configure the maximum number of hops in a


Description
spanning tree within an MST region.

hops-value The specified maximum hop value ranges from 6 to 40.

[Configuration case]
Case1:Set the maximum number of hops in the spanning tree in the MST region to 24.
OLT(config)# stp max-hops 24

OLT(config)#

25.1.8stp transmit-limit

Command
OLT(config)# stp transmit-limit <packet-number>
Syntax

Applicable
config view
Views

This command is used to configure the maximum number of BPDUs


Description
sent by the device within the Hello time.

Specifies the maximum number of BPDUs sent per second. The value
packet-number
range is 1-10.
[Configuration case]
Case1:Set the maximum number of BPDUs that the device can send within the Hello time period to
5.
OLT(config)# stp transmit-limit 5

OLT(config)#

25.1.9stp bpdu-protection (enable|disable)

Command
OLT(config)# stp bpdu-protection (enable|disable)
Syntax

Applicable
config view
Views

This command is used to enable or disable the BPDU (Bridge Protocol


Data Unit) protection function of the device. The BPDU protection
Description function is to prevent forged configuration messages from maliciously
attacking the device and causing network oscillation. When the BPDU
protection function is successfully enabled, the system will close

498
GPON OLT User Manual

some ports according to the configuration message to protect the


port from attack.
By default, the BPDU protection function of the device is disabled.

enable: Enable the BPDU protection function of the device


enable|disable
disable: Disable the BPDU protection function of the device
[Configuration case]
Case1:Enable the BPDU protection function on the device.
OLT(config)# stp bpdu-protection enable

OLT(config)#

25.1.10stp bpdu-filter (enable|disable)

Command
OLT(config)# stp bpdu-filter (enable|disable)
Syntax

Applicable
config view
Views

This command is used to enable or disable the BPDU filter function


Description on the edge port of the device.
By default, the port is a non-BPDU filter port.

enable: Enable the BPDU filter function on the edge port of the
device
enable|disable
disable: Disable the BPDU filter function on the edge port of the
device
[Configuration case]
Case1:Enable the BPDU filter function on the edge port of the device.
OLT(config)# stp bpdu-filter enable

OLT(config)#

499
GPON OLT User Manual

25.1.11stp recovery interval

Command
OLT(config)# stp recovery interval <time-value>
Syntax

Applicable
config view
Views

Description This command is used to configure the error timeout recovery time.

time-value The specified error timeout recovery time ranges from 30 to 86400.

[Configuration case]
Case1The configuration error timeout recovery time is 40s.
OLT(config)# stp recovery interval 40

OLT(config)#

25.1.12stp region-configuration

Command
OLT(config)# stp region-configuration
Syntax

Applicable
config view
Views

Description This command is used to enter the MST region view.

[Configuration case]
Case1:Enter the MST region view.
OLT(config)# stp region-configuration

OLT(stp-region)#

25.1.13stp pathcost-standard

Command
OLT(config)# stp pathcost-standard {dot1d|dot1t|legacy}
Syntax

Applicable
config view
Views

This command is used to set the calculation standard of the path of


Description the path. When the computing standard of the entire network is
inconsistent, the calculation standard of the device needs to be

500
GPON OLT User Manual

consistent with the computing standard of the entire network path.

Specifies that the path cost calculation method is the IEEE


dot1d 802.1d-1998 standard method. Use this parameter when you need to
set the device's network path calculation standard to IEEE 802.1D.

Specifies that the path cost calculation method is the IEEE 802.1t
dot1t standard method. Use this parameter when you need to set the
device's network path calculation standard to IEEE 802.1t.

Specifies the Huawei calculation method for path cost values. Use this
legacy parameter when you need to set the device's network path
calculation standard to Huawei's proprietary algorithm.
[Configuration case]
Case1:Set the path cost calculation standard to Huawei's calculation method.
OLT(config)# stp pathcost-standard legacy

OLT(config)#

25.1.14region-name

Command
OLT(stp-region)# region-name <name>
Syntax

Applicable
mst view
Views

This command is used to configure the MST region name of a


Description
switching device.

name Specifies the MST region name of the switching device.

[Configuration case]
Case1:Set the MST domain name of the switching device to huawei.
OLT(stp-region)# region-name huawei

OLT(stp-region)#

25.1.15revision-level

Command
OLT(stp-region)# revision-level <level>
Syntax

Applicable
mst view
Views

501
GPON OLT User Manual

This command is used to configure the MSTP revision level of a


Description
switching device.

Specifies the MSTP revision level of the switching device. The value
level
range is 0-65535.
[Configuration case]
Case1:Set the MSTP revision level of the switching device to 65535.
OLT(stp-region)# revision-level 65535

OLT(stp-region)#

25.1.16instance vlan

Command
OLT(stp-region)# instance <instance-id> vlan <vlan-list>
Syntax

Applicable
mst view
Views

This command is used to map a specified VLAN to a specified


Description
spanning tree instance.

instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.

vlan-list VLAN ID, the value is 1-4094. The format can be 1, 11-27, 100

[Configuration case]
Case1:Map VLAN 1 to spanning tree instance 7.
OLT(stp-region)# instance 7 vlan 1

OLT(stp-region)#

25.1.17stp port cost

OLT(config)# stp port (ge | xge) F/S PORTLIST [ instance


Command <instance-id> ] cost <cost-value>
Syntax OLT(config)# stp port lag <1-8>[ instance <instance-id> ] cost
<cost-value>

Applicable
config view
Views

This command is used to configure the port path cost of a specified


Description
port on a specified spanning tree.

502
GPON OLT User Manual

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.

cost-value Specifies the path cost of the port. The value range is 1-200000000

[Configuration case]
Case1:Set the port path cost of ge 0/0 1 on instance 3 to 2000.
OLT(config)# stp port ge 0/0 1 instance 3 cost 2000

OLT(config)#

25.1.18stp port port-priority

OLT(config)# stp port (ge | xge) F/S PORTLIST [ instance


Command <instance-id> ] port-priority <priority-id>
Syntax OLT(config)# stp port lag <1-8> [ instance <instance-id> ]
port-priority <priority-id>

Applicable
config view
Views

This command is used to configure the port priority in a specified


spanning tree instance. The port priority is an important basis for
determining whether the port will be selected as the root port.
During the spanning tree calculation process, the port with a higher
Description
priority will be selected as the root port under the same conditions.
After setting the port priority in a specified spanning tree instance,
the device will use the set priority as the basis for selecting the root
port.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.

priority-id Priority, the value range is 0-240

[Configuration case]
Case1:Set the priority of port ge 0/0 1 in instance 3 to 32.
OLT(config)# stp port ge 0/0 1 instance 3 port-priority 32

OLT(config)#

503
GPON OLT User Manual

25.1.19stp port edged-port

OLT(config)# stp port (ge | xge) F/S PORTLIST


edged-port {enable|disable}
OLT(config)# stp port (ge | xge) F/S PORTLIST auto-edged
Command
OLT(config)# no stp port (ge | xge) F/S PORTLIST auto-edged
Syntax
OLT(config)# stp port lag <1-8> edged-port {enable|disable}
OLT(config)# stp port lag <1-8> auto-edged
OLT(config)# no stp port lag <1-8> auto-edged

Applicable
config view
Views

This command is used to configure whether the current Ethernet port


is used as an edge port. This command is used when the port needs
to be quickly migrated to the forwarding state and the network
security can be guaranteed. For the port directly connected to the
Description
terminal, the port should be set as an edge port and the BPDU
(Bridge Protocol Data Unit) protection function should be enabled.
After the current Ethernet port is set as an edge port, the device will
not receive configuration messages sent by other bridge devices.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

enable: configure the current Ethernet port as an edge port


enable|disable
disable: cancel the current Ethernet port as an edge port
[Configuration case]
Case1:Configure port ge 0/0 1 as an edge port.
OLT(config)# stp port ge 0/0 1 edged-port enable

OLT(config)#

25.1.20stp port point-to-point

OLT(config)# stp port (ge | xge) F/S PORTLIST point-to-point


(force-true |force-false |auto)
Command OLT(config)# no stp port (ge | xge) F/S PORTLIST point-to-point
Syntax OLT(config)# stp port lag <1-8> point-to-point
(force-true|force-false|auto)
OLT(config)# no stp port lag <1-8> point-to-point

Applicable config view

504
GPON OLT User Manual

Views

This command is used to set whether the link connected to the


current Ethernet port is a point-to-point link. This command is used
when you need to configure whether the link is a point-to-point link
in order to control the Ethernet port state switching time. After
Description
setting the link connected to the current Ethernet port as a
point-to-point link, the specified Ethernet port sends a fast migration
request. If the Ethernet port meets the point-to-point link
requirement, fast migration can be performed.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

Specifies that the link connected to the current port is a


force-true
point-to-point link.

Indicates that the link connected to the current port is not a


force-false
point-to-point link.

Indicates that the spanning tree protocol automatically detects


auto
whether the link connected to the port is a point-to-point link.
[Configuration case]
Case1:Set the link connected to the current Ethernet port ge 0/0 1 to a point-to-point link.
OLT(config)# stp port ge 0/0 1 point-to-point force-true

OLT(config)#

25.1.21stp port bpdu-protection

OLT(config)# stp port (ge | xge) F/S PORTLIST bpdu-protection


Command
{enable|disable}
Syntax
OLT(config)# stp port lag <1-8> bpdu-protection {enable|disable}

Applicable
config view
Views

This command is used to enable or disable the edge port BPDU


Description protection function.
By default, the BPDU protection function of the device is disabled.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

505
GPON OLT User Manual

enable: Enable the edge port BPDU protection function


enable|disable
disable: Disable the edge port BPDU protection function
[Configuration case]
Case1:Enable the edge port BPDU protection function on port ge 0/0 1.
OLT(config)# stp port ge 0/0 1 bpdu-protection enable

OLT(config)#

25.1.22stp port mCheck

Command OLT(config)# stp port (ge | xge) F/S PORTLIST mcheck


Syntax OLT(config)# stp port lag <1-8> mcheck

Applicable
config view
Views

This command is used to manually set the mCheck variable, thereby


forcing the corresponding port to migrate to the MSTP (Multiple
Spanning Tree Protocol) mode. Use this command when you need to
Description
check whether there is still a bridge running the STP protocol in the
network segment connected to the current port. After manually
setting the mCheck variable, the port runs in the MSTP mode.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

[Configuration case]
Case1:Perform the mCheck operation on port ge 0/0 1 to enable it to work in MSTP mode.
OLT(config)# stp port ge 0/0 1 mcheck

OLT(config)#

25.1.23stp port restricted-role

OLT(config)# stp port (ge | xge) F/S PORTLIST restricted-role


Command OLT(config)# no stp port (ge | xge) F/S PORTLIST restricted-role
Syntax OLT(config)# stp port lag <1-8>restricted-role
OLT(config)# no stp port lag <1-8> restricted-role

Applicable
config view
Views

The stp port restricted-role command is used to configure whether a


Description
port is a role restricted port. After a port is configured as a role

506
GPON OLT User Manual

restricted port, it will not be selected as the root port of the CIST or
any MSTI, even if it has the best spanning tree priority vector. After
the root port is selected, such a port will be selected as a backup
port.
no stp port restricted-role is used to restore the port to the default
configuration. The role restricted mode is disabled by default.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

[Configuration case]
Case1:Configure port ge 0/0 1 as a role-restricted port.
OLT(config)# stp port ge 0/0 1 restricted-role

OLT(config)#

25.1.24stp port restricted-tcn

OLT(config)# stp port (ge | xge) F/S PORTLIST restricted-tcn


Command OLT(config)# no stp port (ge | xge) F/S PORTLIST restricted-tcn
Syntax OLT(config)# stp port lag <1-8> restricted-tcn
OLT(config)# no stp port lag <1-8> restricted-tcn

Applicable
config view
Views

The stp port restricted-tcn command is used to configure the port as


a TCN restricted port. When receiving a TCN topology change
notification, the received topology change notification and topology
Description
change will not be propagated to other ports.
no stp port restricted-tcn is used to restore the port to the default
configuration. The TCN restricted mode is disabled by default.

F/S OLT slot number, for example, 0/0

PORTLIST List of ports to be configured, in the format of 1,2-3,4

[Configuration case]
Case1:Configure port ge 0/0 1 as a TCN restricted port.
OLT(config)# stp port ge 0/0 1 restricted-tcn

OLT(config)#

507
GPON OLT User Manual

25.1.25show stp

Command OLT(config)# show stp [ instance <instance-id> ]


Syntax OLT(config)# show stp port (ge |xge) F/S/P

Applicable
config view
Views

This command is used to query the detailed information of MSTP


Description (Multiple Spanning Tree Protocol). Based on the status and statistics
of MSTP, you can analyze and maintain the network topology.

instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.

F/S/P Specifies the spanning tree instance ID, which ranges from 0 to 7.

[Configuration case]
Case1:Query detailed MSTP information.
OLT(config)# show stp

Spanning tree protocol is disabled


Max Hops :20
PathCost standard :legacy
Transit Limit :6 packets/hello-time
BPDU Filter :disable
BPDU Protection :enable

OLT(config)#
Command
OLT(config)# show stp region-configuration
Syntax

Applicable
config view
Views

This command is used to query the configuration information of the


Description
MSTP region.

[Configuration case]
Case1:Query the configuration information of the MSTP region.
OLT(config)# show stp region-configuration

Oper configuration
Region name :e067b3000002
Revision level :0

508
GPON OLT User Manual

Instance Vlans Mapped


0 1-6,8-4094
7 7

OLT(config)#

509

You might also like