You are on page 1of 257

A expert In optical Communication

GPON-CLI Manual
Indoor/Outdoor GPON OLT
Version: V01.02
Code: KT_Oversea_GPON_02
Date:30/09/2018

Chengdu KT Electronic Hi-tech Co., Ltd.


Content
Statement............................................................................................................................ 1
Technical Support .............................................................................................................. 1
Preface ................................................................................................................................ 2
Overview ............................................................................................................................. 2
Applicable Device .............................................................................................................. 2
Stipulation .......................................................................................................................... 2
Font Stipulation............................................................................................................. 2
CLI Stipulation .............................................................................................................. 2
Chapter 1 Configuration Preparation .............................................................................. 4
1.1 Device Connection ...................................................................................................... 4
Chapter 2 CLI Basic ........................................................................................................... 5
2.1 Overview ....................................................................................................................... 5
2.2 Operation Mode ........................................................................................................... 5
2.3 CLI ................................................................................................................................. 6
2.3.1 enable .................................................................................................................. 6
2.3.2 configure terminal ................................................................................................ 7
2.3.3 interface ............................................................................................................... 7
2.3.4 vlan ...................................................................................................................... 9
2.3.5 access-list .......................................................................................................... 10
2.3.6 uni ...................................................................................................................... 10
2.3.7 igmp proxy ......................................................................................................... 11
2.3.8 end ..................................................................................................................... 12
2.3.9 exit ..................................................................................................................... 12
2.3.10 quit ................................................................................................................... 12
2.4 Terminal interface Command ................................................................................... 13
2.4.1 command language ........................................................................................... 13
2.4.2 show command language ................................................................................. 13
2.4.3 commandhistory ................................................................................................ 14
2.4.4 showcommand-history ...................................................................................... 14
2.4.5 command paging ............................................................................................... 14
2.4.6 ping .................................................................................................................... 15
2.4.7 timeout ............................................................................................................... 15
2.4.8 clear ................................................................................................................... 16
2.5 Port resolution format ............................................................................................... 16
Chapter 3 SystemCommand ........................................................................................... 18
3.1 Overview ..................................................................................................................... 18
3.2 Basic Information ...................................................................................................... 18
3.2.1 show system ...................................................................................................... 18
3.2.2 show device runtime.......................................................................................... 18
3.2.3 reboot................................................................................................................. 19
3.3 Clock ........................................................................................................................... 19
3.3.1 date .................................................................................................................... 19
3.3.2 timezone ............................................................................................................ 20
3.3.3 show date .......................................................................................................... 20
3.4 Power Supply ............................................................................................................. 21
3.4.1 power shutdown ................................................................................................ 21
3.4.2 show power ....................................................................................................... 21
3.5 Temperature ............................................................................................................... 22
3.5.1 show temperature .............................................................................................. 22
3.6 Fan ............................................................................................................................... 22
3.6.1 fan control .......................................................................................................... 22
3.6.2 fan speed ........................................................................................................... 23
3.6.3 show fan ............................................................................................................ 23
3.7 Reset ........................................................................................................................... 23
3.7.1 Reset ................................................................................................................. 23
Chapter 4 Board Configuration ................................................................................... 25
4.1 Overview ..................................................................................................................... 25
4.2 Command ................................................................................................................... 25
4.2.1 board add .......................................................................................................... 25
4.2.2 show board ........................................................................................................ 26
Chapter 5 Configuration file ........................................................................................... 26
5.1 Overview ..................................................................................................................... 26
5.2 Command ................................................................................................................... 26
5.2.1 write ................................................................................................................... 26
5.2.2 clear config-file .................................................................................................. 27
5.2.3 config-file boot-load ........................................................................................... 27
5.2.4 load .................................................................................................................... 28
5.2.5 showconfig-file ................................................................................................... 28
5.2.6 showrunning-config ........................................................................................... 29
Chapter 6 Configuration Update .................................................................................... 30
6.1 Overview ..................................................................................................................... 30
6.2 Command ................................................................................................................... 30
6.2.1 tftp download ..................................................................................................... 30
6.2.2 ftp download ...................................................................................................... 30
6.2.3 tftp upload .......................................................................................................... 31
6.2.4 ftp upload ........................................................................................................... 32
Chapter 7 Alarm Configuration ...................................................................................... 33
7.1 Overview ..................................................................................................................... 33
7.2 Command ................................................................................................................... 33
7.2.1 alarm .................................................................................................................. 33
7.2.2 no alarm enable ................................................................................................. 34
7.2.3 show alarm enable ............................................................................................ 34
7.2.4 alarm device ...................................................................................................... 35
7.2.5 no alarm device ................................................................................................. 35
7.2.6 show alarm device............................................................................................. 36
7.2.7 alarm switch-port ............................................................................................... 36
7.2.8 no alarm switch-port .......................................................................................... 37
7.2.9 show alarm switch-port...................................................................................... 38
7.2.10 alarm statistic................................................................................................... 38
7.2.11 no alarm statistic .............................................................................................. 40
7.2.12 show alarm statistic ......................................................................................... 41
7.2.13 alarm edfa........................................................................................................ 42
7.2.14 show alarm edfa .............................................................................................. 43
7.2.15 alarm battery.................................................................................................... 44
7.2.16 show alarm battery .......................................................................................... 45
7.2.17 show alarm current .......................................................................................... 45
7.2.18 show alarm history .......................................................................................... 46
7.2.19 alarm delete ..................................................................................................... 46
Chapter 8 Log Configuratoin .......................................................................................... 48
8.1 Overview ..................................................................................................................... 48
8.2 Command ................................................................................................................... 48
8.2.1 clear log ............................................................................................................. 48
8.2.2 log on ................................................................................................................. 48
8.2.3 log monitor ......................................................................................................... 49
8.2.4 log rule ............................................................................................................... 49
8.2.5 log host .............................................................................................................. 51
8.2.6 log file ................................................................................................................ 52
8.2.7 log buffer ............................................................................................................ 52
8.2.8 show log ............................................................................................................ 53
Chapter 9 Account configuration ................................................................................... 55
9.1 Overview ..................................................................................................................... 55
9.2 Command ................................................................................................................... 55
9.2.1 username ................................................................................................... 55
9.2.2 no username .............................................................................................. 56
9.2.3 login ............................................................................................................ 56
9.2.4 logout.......................................................................................................... 57
9.2.5 show user ................................................................................................... 57
Chapter 10 Port configuration ........................................................................................ 59
10.1 Overview ................................................................................................................... 59
10.2 Port configuration.................................................................................................... 59
10.2.1 name ................................................................................................................ 59
10.2.2 admin-status .................................................................................................... 59
10.2.3 combo .............................................................................................................. 60
10.2.4 speed ............................................................................................................... 60
10.2.5 auto-negotiation ............................................................................................... 61
10.2.6 flow-control ...................................................................................................... 62
10.2.7 show interface ................................................................................................. 62
10.3 Mirror......................................................................................................................... 64
10.3.1 mirror session .................................................................................................. 64
10.3.2 show mirror ...................................................................................................... 65
10.4 statistics ................................................................................................................... 66
10.4.1 statistics m15 ................................................................................................... 66
10.4.2 statistics h24 .................................................................................................... 66
10.4.3 statistics max ................................................................................................... 67
11.4.4 show statistics max .......................................................................................... 67
11.4.5 show statistics.................................................................................................. 68
11.4.6 clear statistics .................................................................................................. 68
10.5 Isolation .................................................................................................................... 70
10.5.1 isolation ........................................................................................................... 70
10.5.2 show isolation .................................................................................................. 70
10.6 Rate-limit................................................................................................................... 72
10.6.1 rate-limit ........................................................................................................... 72
10.6.2 show rate-limit ................................................................................................. 72
10.7 Storm-control ........................................................................................................... 74
10.7.1 storm-control.................................................................................................... 74
10.7.2 show storm-control .......................................................................................... 74
Chapter 11 Aggregation configuration .......................................................................... 76
11.1 Overview ................................................................................................................... 76
11.2 Command.................................................................................................................. 76
11.2.1 trunk-group ...................................................................................................... 76
11.2.2 trunk-group name ............................................................................................ 77
11.2.3 trunk-group psc ............................................................................................... 77
11.2.4 trunk-group admin-status ................................................................................ 78
11.2.5 trunk-group lacp .............................................................................................. 79
11.2.6 systemlacp priority........................................................................................... 80
11.2.7 portlacp priority ................................................................................................ 80
11.2.8 showtrunk-group .............................................................................................. 81
Chapter 12 VLAN configuration ..................................................................................... 82
12.1 overview.................................................................................................................... 82
12.2 VLAN Basic .............................................................................................................. 82
12.2.1 vlan .................................................................................................................. 82
12.2.2 vlan attribute q-in-q.......................................................................................... 83
12.2.3 name ................................................................................................................ 83
12.2.4 add ................................................................................................................... 83
12.2.5 remove ............................................................................................................. 84
12.2.6 vlan attribute .................................................................................................... 85
12.2.7 vlanc-tpid ......................................................................................................... 85
12.2.8 vlans-tpid ......................................................................................................... 86
12.2.9 vlanpriority ....................................................................................................... 86
12.2.10 vlan pvid ........................................................................................................ 87
12.2.11 vlan mode ...................................................................................................... 87
12.2.12 vlantrunk ........................................................................................................ 88
12.2.13 show vlan....................................................................................................... 88
12.3 VLAN Connect.......................................................................................................... 89
12.3.1 vlan forwarding ................................................................................................ 89
12.3.2 vlan forwarding ................................................................................................ 90
12.3.3 vlan vlan-connect ............................................................................................ 90
12.3.4 show vlan vlan-connect ................................................................................... 91
12.4 VLAN QinQ ............................................................................................................... 92
12.4.1 vlan qinq .......................................................................................................... 92
12.5 VLAN Translation ..................................................................................................... 93
12.5.1 vlantranslation ................................................................................................. 93
Chapter 13 MAC Address table configuration .............................................................. 95
13.1 Overview ................................................................................................................... 95
13.2 Command ................................................................................................................. 95
13.2.1 mac-address-table aging-time......................................................................... 95
13.2.2 mac-address-table dynamic maximum ........................................................... 96
13.2.3 mac-address-table static ................................................................................. 96
13.2.4 clear mac-address-table dynamic ................................................................... 97
13.2.5 show mac-address-table ................................................................................. 97
Chapter 14 QOS configuration ..................................................................................... 100
14.1 Overview ................................................................................................................. 100
14.2 Command ............................................................................................................... 100
14.2.1 qos global ............................................................................................... 100
14.2.2 show qos global ..................................................................................... 100
14.2.3 qos map.................................................................................................. 101
14.2.4 show qos map ........................................................................................ 102
14.2.5 qos scheduler ......................................................................................... 102
14.2.6 show qos scheduler ............................................................................... 103
14.2.7 show qos ................................................................................................ 104
14.2.8show qos device...................................................................................... 104
Chapter 15 ACL configuration ...................................................................................... 106
15.1 Overview ................................................................................................................. 106
15.2 Command ............................................................................................................... 106
15.2.1 access-list ...................................................................................................... 106
15.2.1.1 mac acl rule ......................................................................................... 107
15.2.1.2 standard acl rule.................................................................................. 108
15.2.1.3 extended acl rule ................................................................................. 108
15.2.1.4 no ........................................................................................................ 109
15.2.1.5 show .................................................................................................... 110
15.2.1.6 ipv6 acl rule ......................................................................................... 110
15.2.2 no access-list ................................................................................................. 111
15.2.3 show access-list ............................................................................................ 111
15.2.4 access-group ................................................................................................. 112
15.2.5 no access-group ............................................................................................ 112
15.2.6 show access-group ....................................................................................... 113
15.2.7 traffic-priority .................................................................................................. 113
15.2.8 traffic-redirect................................................................................................. 114
15.2.9 traffic-mirror ................................................................................................... 115
15.2.10 traffic-limit .................................................................................................... 116
15.2.11 traffic-shape ................................................................................................. 117
15.2.12 traffic-statistic............................................................................................... 118
15.2.13 time-range ................................................................................................... 118
15.2.13.1 absolute ............................................................................................. 119
15.2.13.2 periodic .............................................................................................. 120
15.2.13.3 show .................................................................................................. 121
Chapter 16 STP Configuration ................................................................................... 122
16.1 Overview .............................................................................................................. 122
16.2 Command ............................................................................................................... 122
16.2.1 Global Configuration...................................................................................... 122
16.2.1.1 spanning-tree ...................................................................................... 122
16.2.1.2 spanning-tree mode ............................................................................ 122
16.2.1.3 spanning-tree priority .......................................................................... 123
16.2.1.4 spanning-tree max-age ....................................................................... 124
16.2.1.5 spanning-tree hello-time ..................................................................... 124
16.2.1.6 spanning-tree forward-time ................................................................. 125
16.2.1.7 spanning-tree tx-hold-count ................................................................ 126
16.2.1.8 spanning-tree pathcost-method .......................................................... 126
16.2.1.9 spanning-tree mst max-hops .............................................................. 127
16.2.2 MST Domain Configuration ........................................................................... 127
16.2.2.1 spanning-tree region-configuration ..................................................... 127
16.2.2.2 spanning-tree mst name ..................................................................... 128
16.2.2.3 spanning-tree mst revision .................................................................. 128
16.2.2.4 spanning-tree mst instance ................................................................. 129
16.2.3 Port Configuration ....................................................................................... 130
16.2.3.1 spanning-tree Enable .......................................................................... 130
16.2.3.2 spanning-tree Port -priority ............................................................... 130
16.2.3.3 spanning-tree Port -cost ................................................................... 131
16.2.4 Query ............................................................................................................. 132
16.2.4.1 show spanning-tree ............................................................................. 132
Chapter 17 Multicast ConfigurationChapter ............................................................... 134
17.1 Overview .............................................................................................................. 134
17.2 Command ............................................................................................................... 134
17.2.1 igmp ............................................................................................................... 134
17.2.1 igmp l3mc ...................................................................................................... 134
17.2.2 igmp mode ..................................................................................................... 135
17.2.3 igmp protocol query-interval .......................................................................... 135
17.2.4 igmp protocol max-query-response-interval.................................................. 136
17.2.5 igmp protocol last-member-query-interval .................................................... 136
17.2.6 igmp protocol last-member-query-count ....................................................... 137
17.2.7 igmp protocol robust ...................................................................................... 137
17.2.8 show igmp protocol ....................................................................................... 138
17.2.9 show igmp forwarding ................................................................................... 139
17.2.10 igmp proxy server-vlan ................................................................................ 139
17.2.11 show igmp proxy .......................................................................................... 140
17.2.12 Enable ......................................................................................................... 140
17.2.13 name ............................................................................................................ 141
17.2.14 hosts-vlan .................................................................................................... 141
17.2.15 igmp static-router- Port ................................................................................ 142
17.2.16 auto-re Port.................................................................................................. 142
Chapter 18 IP Configuration18.1 Overview .............................................................. 144
18.2 IP INTERFACE ........................................................................................................ 144
18.2.1 interface vlan-interface .................................................................................. 144
18.2.2 ip-address ...................................................................................................... 145
18.2.3 management in-band vlan ............................................................................. 145
18.2.4vlan ................................................................................................................. 146
18.2.5 name .............................................................................................................. 146
18.2.6 show vlan-interface ....................................................................................... 147
18.2.7 show vlan-interface ....................................................................................... 148
18.3 Outband INTERFACE............................................................................................. 148
18.3.1 management out-band ip-address ................................................................ 148
18.3.2 show management out-band......................................................................... 149
18.4 PING ........................................................................................................................ 150
18.4.1 ping ................................................................................................................ 150
18.5 SSH.......................................................................................................................... 150
18.5.1 ssh-server ...................................................................................................... 150
18.5.2 show ssh-server ............................................................................................ 151
18.6 TELNET ................................................................................................................... 151
18.6.1 telnet .............................................................................................................. 151
18.6.2 telnet-server................................................................................................... 152
18.6.3 show telnet-server ......................................................................................... 152
Chapter 19 SNTP ............................................................................................................ 153
19.1 Overview .............................................................................................................. 153
19.2 Command ............................................................................................................... 153
19.2.1 sntp Enable.................................................................................................... 153
19.2.2 sntp interval ................................................................................................... 153
19.2.3 sntp server ..................................................................................................... 154
19.2.4 show sntp ...................................................................................................... 154
Chapter 20 SNMP ........................................................................................................... 156
20.1 Overview ................................................................................................................. 156
20.2 Command ............................................................................................................... 156
20.2.1 snmpcommunity ..................................................................................... 156
20.2.2 show snmpcommunity ........................................................................... 156
20.2.3 snmphost ................................................................................................ 157
20.2.4 show snmphost ...................................................................................... 157
20.2.5 snmptrap ................................................................................................ 158
20.2.6 show snmptrap ....................................................................................... 158
Chapter 21 BCMP........................................................................................................... 160
21.1 Overview ................................................................................................................. 160
21.2 Command ............................................................................................................... 160
21.2.1 bcmp status ................................................................................................... 160
21.2.2 bcmp relay ..................................................................................................... 160
21.2.3 bcmp mode .................................................................................................... 161
21.2.4 bcmp server ................................................................................................... 161
21.2.5 bcmp vlan ...................................................................................................... 162
21.2.6 showbcmp ..................................................................................................... 162
21.2.7 showbcmp-device.......................................................................................... 163
21.2.8 no bcmp-device ............................................................................................. 163
Chapter 22 Routing Configuration ............................................................................... 165
22.1 Overview ................................................................................................................. 165
22.2 ARP.......................................................................................................................... 165
22.2.1 arp static ........................................................................................................ 165
22.2.2 gratuitous-arp ................................................................................................ 165
22.2.3 show arp ........................................................................................................ 166
22.3 Static route ............................................................................................................. 166
22.3.1 ip route subnet add........................................................................................ 166
22.3.2 ip route default ............................................................................................... 167
22.3.3 show ip route ................................................................................................. 167
22.3.4 urpf................................................................................................................. 168
22.4 RIP ........................................................................................................................... 169
22.4.1 rip ................................................................................................................... 169
22.4.2 rip version ...................................................................................................... 169
22.4.3 ripredistribute static ....................................................................................... 169
22.4.4 rip send .......................................................................................................... 170
22.4.5 ripreceive ....................................................................................................... 170
22.4.6 show rip ......................................................................................................... 171
22.4 OSPF ....................................................................................................................... 172
22.4.1 ospf ................................................................................................................ 172
22.4.2 ospf router-id ................................................................................................. 173
22.4.3 ospf network .................................................................................................. 173
22.4.4 ospf redistribute ............................................................................................. 174
22.4.5 ospf virtual-link............................................................................................... 174
22.4.6 ospf priority .................................................................................................... 175
22.4.7 show ospf ...................................................................................................... 175
22.4.8 show ospf neighbor ....................................................................................... 176
22.4.9 show ospf interface ....................................................................................... 176
22.4.10 show ospf lsa-database............................................................................... 177
22.4.11 show ospf route ........................................................................................... 178
22.4.11 show ospf route ........................................................................................... 179
22.5 BGP ......................................................................................................................... 179
22.5.1 bgp ................................................................................................................. 179
22.5.2 bgp router-id .................................................................................................. 180
22.5.3 bgp peer ........................................................................................................ 180
22.5.4 bgp network ................................................................................................... 181
22.5.5 bgp redistribute .............................................................................................. 181
22.5.6 show bgp ....................................................................................................... 182
22.5.7 show bgp peer ............................................................................................... 182
22.5.8 show bgp summary ....................................................................................... 184
Chapter 23 DHCPconfigure .......................................................................................... 185
23.1 Brief introdution..................................................................................................... 185
23.2 DHCP CLIENT ......................................................................................................... 185
23.2.1 dhcp ............................................................................................................... 185
23.2.2 dhcp-client autoconfig ................................................................................... 185
23.3 DHCP SNOOPING .................................................................................................. 186
23.3.1 dhcp-snooping ............................................................................................... 186
23.3.2 dhcp-snooping security ................................................................................. 186
23.3.3 dhcp-snooping option82 ................................................................................ 187
23.3.4 show dhcp-snooping ..................................................................................... 188
23.3.5 ipv6 dhcp snooping ....................................................................................... 188
23.3.6 ipv6 dhcp snooping option18 ........................................................................ 189
23.3.7 show ipv6 dhcp snooping .............................................................................. 190
23.4 DHCP RELAY .......................................................................................................... 190
23.4.1 dhcp-relay ...................................................................................................... 190
23.4.2 dhcp-relay option60 ....................................................................................... 191
23.4.3 show dhcp-relay ............................................................................................ 192
Chapter 24 PPPOEconfigure ........................................................................................ 193
24.1 Brief introduction................................................................................................... 193
24.2 PPPOE+ .................................................................................................................. 193
24.2.1 pppoe+ status ................................................................................................ 193
24.2.2 show pppoe+ ................................................................................................. 193
Chapter 25 Optical module management.................................................................... 194
25.1 Brief introduction................................................................................................... 194
25.2 Command ............................................................................................................... 194
25.2.1 showoptical-module....................................................................................... 194
Chapter 26 485 management ........................................................................................ 195
26.1 Brief introduction................................................................................................... 195
26.2 Battery management ............................................................................................. 195
26.2.1 batteryenergy-saving ..................................................................................... 195
26.2.2 showbatterysample ....................................................................................... 195
26.3 EDFA Management ................................................................................................ 196
26.3.1 show edfa ad ................................................................................................. 196
26.3.2 show edfa manufacturer ................................................................................ 196
26.3.3 show edfa omi ............................................................................................... 196
26.3.4 show edfa close_state ................................................................................... 197
26.3.5 show edfa output ........................................................................................... 197
Chapter 27 GPON service configure ........................................................................... 198
27.1 Brief introduction................................................................................................... 198
27.2 OLT PONfunctionconfigure .................................................................................. 198
27.2.1 admin-status .................................................................................................. 198
27.2.2 auto-find......................................................................................................... 198
27.2.3 auth-mode ..................................................................................................... 199
27.2.4 rogue-onu-detect ........................................................................................... 200
27.2.5 showinterface ................................................................................................ 200
27.2.6 showauth-mode ............................................................................................. 201
27.3 ONU manage configure......................................................................................... 201
27.3.1 onu add.......................................................................................................... 201
27.3.2 onu delete ...................................................................................................... 203
27.3.3 onu reboot ..................................................................................................... 203
27.3.4 onu enable ..................................................................................................... 204
27.3.5 onu disable .................................................................................................... 204
27.3.6 onu gpon-stream-profile ................................................................................ 205
27.3.7 onu upgrade .................................................................................................. 205
27.3.8 onu upgrade-info-delete ................................................................................ 206
27.3.9 onu image-operation ..................................................................................... 207
27.3.10 upstream-fec................................................................................................ 207
27.3.11 isolation ........................................................................................................ 208
27.3.12 unknown-mac .............................................................................................. 208
27.3.13 mac-aging-time ............................................................................................ 209
27.3.14 mac-learning ................................................................................................ 209
27.3.15 mac-limit ...................................................................................................... 210
27.3.16 multicast-config-mode ................................................................................. 210
27.3.17 optical-node ................................................................................................. 211
27.3.18 show gpon-onu register-info........................................................................ 212
27.3.19 show gpon-onu blacklist .............................................................................. 212
27.3.20 show gpon-onu capability............................................................................ 213
27.3.21 show gpon-onu info ..................................................................................... 214
27.3.22 show gpon-onu optical-info ......................................................................... 214
27.3.23 show gpon-onu configuration ...................................................................... 215
27.3.24 show gpon-onu software-info ...................................................................... 216
27.3.25 show gpon-onu upgrade-status................................................................... 217
27.3.26 show gpon-onu optical-node ....................................................................... 219
27.4 ONU port management configure ........................................................................ 219
27.4.1 eth-portadmin-status ..................................................................................... 219
27.4.2 eth-port gpon-multicast-profile ...................................................................... 220
27.4.3 show eth-port info .......................................................................................... 220
27.5 ONU Performance statistics ................................................................................. 221
27.5.1 eth-portstatistics ............................................................................................ 221
27.5.2 gemport statistics .......................................................................................... 222
27.5.3 show gpon-uni statistics ................................................................................ 223
27.5.4 show gemport statistics ................................................................................. 224
27.6 template configure................................................................................................. 225
27.6.1 gpon-dba-profile ............................................................................................ 225
27.6.2 gpon-traffic-limit-profile .................................................................................. 226
27.6.3 gpon-multicast-acl-profile .............................................................................. 227
27.6.4 gpon-multicast-profile .................................................................................... 228
27.6.5 gpon-stream-profile ....................................................................................... 230
27.6.6 gpon-service-profile ....................................................................................... 231
27.6.7 no ................................................................................................................... 234
27.6.8 show gpon-dba-profile ................................................................................... 235
27.6.9 show gpon-traffic-limit-profile ........................................................................ 236
27.6.10 show gpon-vlan-profile ................................................................................ 236
27.6.11 show gpon-multicast-acl-profile ................................................................... 237
27.6.12 show gpon-multicast-profile ........................................................................ 238
27.6.13 show gpon-stream-profile ............................................................................ 239
27.6.14 show gpon-service-profile ........................................................................... 240
27.7 VLAN pool configure ............................................................................................. 241
27.7.1 vlan poolconfigure ......................................................................................... 241
27.7.2 vlan pool bind ................................................................................................ 242
27.8 VLAN Selective-QinQ ............................................................................................ 243
27.8.1 vlan selective-qinq ......................................................................................... 243
GPON OLT CLI Manual

Statement
Copyright ©2016 All rights reserved by Chengdu KT Electronic Hi-tech Co., Ltd.

Without the written permission of the company, any unit or individual may not extract or
copy part or all of the contents of this book without any form of dissemination.

ktcatv、ktepon、ktpon、kinsh are the trademarks of Chengdu KT Electronic Hi-tech Co.,


Ltd. The trademarks, product identification and trade names of other companies appearing
in this manual are owned by their respective owners.

The contents of this manual will be updated from time to time due to product version
upgrades or other reasons. Unless otherwise agreed, this manual is intended as a guide
only. All statements, information and recommendations in this manual do not constitute any
warranty, express or implied. If you need to get the latest manual, please log in
http://www.ktcatv.com/

Technical Support

Chengdu KT Electronic Hi-tech Co., Ltd. provides customers with comprehensive technical
support。

If you purchase products through the agent of Chengdu KT Electronic Hi-tech Co., Ltd.,
please contact the sales agent directly.

Users who purchase products directly from Chengdu KT Electronic Hi-tech Co., Ltd. can
contact the nearest Kangte office or directly contact the company headquarters.

Technical support:028-85361199 Fax:028-85362299

Technical support Email:kinsh@ktcatv.comktepon@ktcatv.com

Headquaters Address:No.9,3rd Wuke East Road, Wuhou District, Chengdu

P.O. Box:610045

Website:http://www.ktcatv.com

1 / 257
GPON OLT CLI Manual

Preface

Overview

This document is for the various business configurations of KINGTYPE OLT.。

Applicable Device

This document is applicable for KINGTYPE OLT:


Device Name Description
GPT-F88B 4 XE + 4 GE + 8 PON GPON OLT
GPT-C43BB 3 XE + 8 GE + 16 PON 1U GPON OLT
GPT-C448B 4 XE + 4GE + 8 PON 1U GPON OLT
KTFSG-18FB 2 XE + 16 GE SWITCH

Stipulation

Font Stipulation
Content Font
Title 0,1 and subtitle Black body
Title 0,1 Font size No. 2
subtitle Font size smaller No. 2
Title 0,1 and subtitle blod fonts
Text Song typeface
Text Font size No.5

CLI Stipulation
Font Meaning
blod font Command line keywords (the part of the command that
remains unchanged and must be transposed) is
represented in bold font
Italic Command line arguments (the part of the command that
must be replaced by the actual value) is italicized
[] Indicates that the part placed in "[" and "]" is optional when

2 / 257
GPON OLT CLI Manual
used by the command.
{x|y|…} Indicates to choose one of two or more options
[x|y|…] Indicates to choose one of two or more options, or choose
none
{x|y|…}* Indicates that multiples are selected from two or more
options, at least one is selected, and all options are
selected at most
[x|y|…]* Indicates to choose one of two or more options, or choose
none
<x-y> Represents one of the numbers from x to y

3 / 257
GPON OLT CLI Manual

Chapter 1 Configuration Preparation

1.1 Device Connection

For KingType OLT, you can log in to the device for maintenance and management
through the following connection methods.:

Maintenance Description Parameter


Mode
Local serial port Connected via Baud Rate:115200
HyperTerminal Data bits:8
Odd even check:N/A
Stop bit:1
The data flow control:N/A
In-band Connected In-band IP address:192.168.10.5/24
management through a service In-band VLAN:1
network
Out-band Connected Out-band IP address:192.168.2.5/24
management through a service
network

4 / 257
GPON OLT CLI Manual

Chapter 2 CLI Basic

2.1 Overview

This section mainly introduces the basic operation of CLI on KingType PON device.

2.2 Operation Mode

Command Function Mode Prompt Entry Mode


Mode
Monitoring Execute the OLT> Log in
mode simplest
command
Privilege Execute the OLT(pri)> In monitor mode, enter the
mode command in this enable command, for
mode example: enable
Global Execute the OLT(config)> In privileged mode, enter the
configuration configuration configureterminal command,
mode command in this for example:
mode configureterminal
SNI Mode Execute the OLT(config-if-s3/1)> In global configuration mode,
command to OLT(config-if-sni)> type interface sni/sxx/sxx-
configure the syy, szz command, for
SNI port example: interface s2/1 or
function. interface s2/1-s2-3, s2/5
PON Mode Execute the OLT(config-if-p6/1)> In global configuration mode,
command to OLT(config-if-pon)> enter interface pxx/pxx-pyy,
configure the pzz command, for example:
PON port interface p1/6 or
function. Interface p5/1-p5/3, p5/5
VLAN Mode Execute the OLT(config-if-100)> In global configuration mode,
command to OLT(config-if-vlan)> enter vlan xx/xx-yy,zz
configure the command, for example: vlan
VLAN function. 100 or vlan 10-100,235
ACL Mode Run the ACL OLT(config-aclmac- In global configuration mode,
configuration mylist)> enter the access-list xx
command. command, for example:
access-list mac mylist
IGMP Proxy Execute the OLT(config-if-igmp- In global configuration mode,
Mode IGMP proxy proxy)> enter the igmp proxy server-

5 / 257
GPON OLT CLI Manual
configuration vlan xxx command, for
command. example: igmp proxy server-
vlan 200
VLAN- Execute the OLT(config-if-vlan- In global configuration mode,
INTERFACE command to interface-1)> enter the interfacevlan-
Mode configure the interface xx command, for
VLAN- example: interface vlan-
INTERFACE interface 1
function.
ONU Mode Execute OLT(config-if-o6/8:1)> In global configuration mode,
commands to OLT(config-if-onus)> enter the interface onu xxx
configure command, for example:
functions in interface onu 6/8:1 or
ONU mode interface onu 6/8:1,
onu6/8:16
Template Execute the OLT(config-if-profile- In global configuration mode,
mode command to 1)> enter the interfaceprofile xx
configure the command, for example:
template interface profile 1
UNI Mode Execute the OLT(config-if-o6/8:1- In ONU mode, enter the uni
command to uni:1)> xx command, for example:
configure the OLT(config-if-o6/8:1- uni 1 or uni 1-4
UNI port. unis)>
Template UNI Command to OLT(config-if-p:1- In template mode, enter the
mode execute the UNI uni:1)> uni xx command, for
port of the OLT(config-if-p:1- example: uni 1 or uni1-3
configuration unis)>
template

2.3 CLI

2.3.1 enable
【Command】
enable
【Function Description】
Put command mode from monitor mode to privileged mode
【Parameter】
Null
【Mode】
Monitoring mode

6 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT>enable

2.3.2 configure terminal


【Command】
configure terminal
【Function Description】
Make the command mode from Privilege mode to global configuration mode
【Parameter】
Null
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>configure terminal

2.3.3 interface
【Command】
interface { gPON-ID | sSNI-ID | gpon-onuONU-ID | vlan-interface VLAN-ID | profile
PROFILE-ID }
no interface vlan-interface
【Function Description】
interface gPON-ID Enter the pon mode from the global configuration
interface sSNI-ID Enter the sni mode from the global configuration
interface gpon-onuONU-ID Enter the onu mode from the global configuration or
PON port configuration
interface vlan-interface VLAN-ID Enter the vlan-interface mode from the global
configuration, that is, set the management vlan to VLAN-ID.
interface profile PROFILE-ID Enter the template mode from the global configuration
no interface vlan-interface Restore in-band management vlan to default
value
【Parameter】

Parameter Item Format Value range Example


gPON-ID PON port Port type + slot Determine the g2/1-g2/16
number/port range according to
number, supports the equipment

7 / 257
GPON OLT CLI Manual
operators ",", "-"
sSNI-ID SNI port Port type + slot Determine the s1/1,s1/3
number/port range according to
number, supports the equipment
operators ",", "-"
ONU-ID ONU ID Slot number/port The port 2/2:1-2/2:63
number: LLID, determines the
supports the range according to
operators ",", "-" the device, LLID:
[1,64]
VLAN-ID VLAN ID The port [1,4094] 100
determines the
range according to
the device, LLID:
[1,64]
PROFILE-ID Template ID Integer [1,256] 10

【Mode】
Global configuration mode
【Note】
Only the vlan already exists to create the corresponding vlan-interface configuration mode.
The vlan-interface configuration mode is different from the vlan configuration mode. The
vlan-interface configuration mode is mainly used for in-band management. The vlan
configuration mode is mainly used to configure the vlan attribute.
【Example】
Command mode enters the 6-slot 8 pon port mode from the global configuration.
OLT(config)>interface g6/8
OLT(config-if-g6/8)>

Command mode enters the 6-slot 8 pon port mode from the global configuration.
OLT(config)> interface g6/3-g6/8
OLT(config-if-gpon)>

Command mode enters sni port mode by global configuration, indicating that all SNI port
operations are valid.
OLT(config)>interface sni
OLT(config-if-sni)>

Command mode is entered into the 3-slot 8 sni port mode by global configuration.
OLT(config)>interface s3/8
OLT(config-if-s3/8)>

Command mode is entered from global configuration to slot 3, 1 to 5, and 8 SNI port mode.
OLT(config)>interface s3/1-s3/5,s3/8

8 / 257
GPON OLT CLI Manual
OLT(config-if-sni)>

The Command mode is entered from the global configuration to the No. 1 onu mode of the
6-slot 8 pon port.
OLT (config)>interface gpon-onu6/8:1
OLT (config-if-gonu6/8:1)>

The Command mode is entered from the global configuration to the No. 1-10 onu mode of
the 6-slot 8 pon port.
OLT (config)>interface gpon-onu6/8:1-6-8:10
OLT (config-if-gonus)>

Command mode enters vlan-interface 1 mode from global configuration


OLT (config)>interfacevlan-interface 1

Command mode enters profile 1 mode from global configuration


OLT (config)>interface profile 1

2.3.4 vlan
【Command】
vlanVLAN-ID
【Function Description】
Enable the Command mode from Global configuration mode to vlan mode (if vlan does
not exist, add vlan; if it already exists, enter the vlan mode directly)
【Parameter】

Parameter Item Format Value Range Example


VLAN-ID VLAN ID Integer, support [1,4094] 100
operator “,”、“-”

【Mode】
Global configuration mode
【Note】
Null
【Example】
Command mode is entered from the global configuration to the VLAN mode with VLAN
number 100.
OLT(config)>vlan 100
OLT(config-if-100)>

Command mode is entered from the global configuration to the VLAN mode with the VLAN
number being 100~300.
OLT(config)>vlan 100-300
OLT(config-if-vlan)>

9 / 257
GPON OLT CLI Manual

2.3.5 access-list
【Command】
access-list { mac | standard | extended | ipv6 } ACL-NAME
【Function Description】
access-list mac ACL-NAME Enter the MAC-based ACL configuration mode named
ACL-NAME.
access-list standard ACL-NAME Enter the standard ACL configuration mode
named ACL-NAME
access-list extended ACL-NAME Enter the extended ACL configuration mode
named ACL-NAME.
access-list ipv6 ACL-NAME Enter the extended ACL configuration mode named
ACL-NAME.
【Parameter】

Parameter Item Format Value Range Example


ACL-NAME ACL name ASCII Code string <32 byte mylist

【Mode】
Global configuration mode
【Note】
Null
【Example】
Enter MAC-based ACL configuration mode
OLT(config)>access-list mac mylist1
OLT(config-aclmac-mylist1)>

Enter standard ACl configuration mode


OLT(config)>access-list standard mylist2
OLT(config-aclstd-mylist2)>

Enter extended ACL configuration mode


OLT(config)>access-list extend mylist3
OLT(config-aclex-mylist3)>

2.3.6 uni
【Command】
uniUNI-ID
【Function Description】
Enable Command mode from onu mode to uni mode; or from template mode to
template uni mode
【Parameter】

10 / 257
GPON OLT CLI Manual

Parameter Item Format Value Range Example


UNI-ID UNI ID Integer According to the 3
ONU capability,
the maximum
value is 32.

【Mode】
ONU mode or template mode
【Note】
Null
【Example】
Command mode is entered from onu mode to uni mode with uni port number 1.
OLT(config-if-o6/8:1)> uni 1
OLT(config-if-o6/8:1-uni:1)>

Command mode is entered from onu mode to uni mode with uni port number 1~3.
OLT(config-if-o6/8:1)> uni 1-3
OLT(config-if-o6/8:1-unis)>

Command mode is entered from template mode to template uni mode with uni port number
1.
OLT(config-if-profile-1)> uni 1
OLT(config-if-profile-1-uni:1)

Command mode is entered from template mode to template uni mode with uni port number
1-4
OLT(config-if-profile-1)> uni 1-4
OLT(config-if-profile-1-unis)>

2.3.7 igmp proxy


【Command】
igmp proxy server-vlan VLAN-ID
【Function Description】
Enter the igmp-proxy configuration mode.
【Parameter】

Parameter Item Format Value Exampl


Range e
VLAN-ID VLAN ID Integer [1,4094] 100

【Mode】
Global configuration mode

11 / 257
GPON OLT CLI Manual
【Note】
Actually available as [2,4093], vlan1 and vlan4094 are used internally.
【Example】
OLT(config)>igmp proxy server-vlan 100
OLT(config-if-igmp-proxy)>

2.3.8 end
【Command】
end
【Function Description】
Return Command mode from current mode to Privilege mode
【Parameter】
Null
【Mode】
All Command modes except Monitor, Privilege mode
【Note】
Null
【Example】
OLT(config)> end

2.3.9 exit
【Command】
exit
【Function Description】
Return Command mode from current mode to upper mode
【Parameter】
Null
【Mode】
All modes except monitor mode
【Note】
Null
【Example】
OLT(config-if-p6/1)> exit

2.3.10 quit
【Command】
quit
【Function Description】
Exit the Command line

12 / 257
GPON OLT CLI Manual
【Parameter】
Null
【Mode】
Monitoring mode、Privilege mode、Global configuration mode
【Note】
Null
【Example】
OLT>quit

2.4 Terminal interface Command

2.4.1 command language


【Command】
commandlanguage { chinese | english }
【Function Description】
command language chinese Set the CLI system language to Chinese
command language english Set the CLI system language to English
【Parameter】

【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>command language chinese

2.4.2 show command language


【Command】
showcommandlanguage
【Function Description】
Show current help language
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>showcommand language

13 / 257
GPON OLT CLI Manual

2.4.3 commandhistory
【Command】
command history max VALUE
【Function Description】
Set the history command entry to a maximum of VALUE
【Parameter】

Parameter Item Format Value Example


Range
VALUE Number of Integer [1, 40] 30
entries

【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>commandhistory max 40

2.4.4 showcommand-history
【Command】
showcommand-history
【Function Description】
Show all history command
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>showcommand-history

2.4.5 command paging


【Command】
command paging {enable|disable}
【Function Description】
command paging enable Enable the CLI system paging display function
command paging disable Disable the CLI system paging display function

14 / 257
GPON OLT CLI Manual

【Parameter】

【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>command paging enable

2.4.6 ping
【Command】
pingIP-ADDR [-t]
【Function Description】
Ping the host whose IP address is "IP-ADDR"
【Parameter】

Parameter Item Format Value Example


Range
IP-ADDR IP 地址 Format is a four- 192.168.1.100
byte dotted
decimal IP address

【Mode】
Monitoring Mode、Privilege mode
【Note】
Null
【Example】
OLT>ping 192.168.2.101
OLT(pri)>ping 192.168.2.101 -t

2.4.7 timeout
【Command】
timeout [ MINUTE ]
no timeout
【Function Description】
timeout MINUTE Set the timeout for logging in users to MINUTE minutes
timeout 0 Set the timeout to never time out
no timeout Set the timeout period for login users to the default value. The
default value is 5 minutes.
【Parameter】

15 / 257
GPON OLT CLI Manual

Parameter Item Format Value Example


Range
MINUTE Min Integer unit: [1, 60] 15
minute

【Mode】
Monitering Mode、Privilege mode
【Note】
Null
【Example】
OLT(pri)> timeout 0
OLT(pri)>no timeout

2.4.8 clear
【Command】
clear
【Function Description】
Clear screen operation
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(pri)>clear

2.5 Port resolution format

Many Commands have a Port Parameter input. This section describes the input format of
the port.
The port is divided into port input and port list input. Port input can only input a single port,
and port list input can input multiple ports.
Depending on the specific Command, the ports that are entered have specific requirements,
so the port and port list supports the following types:
Parameter Type Description
<port> The panel port of OLT can be inputted
<port-switch> Only SNI port can be inputted
<port-epon> Only EPON port can be inputted

16 / 257
GPON OLT CLI Manual
<port-gpon> Only GPON port can be inputted
<ports> The panel port list of the OLT device can
be inputted
<ports-switch> Can only input the SNI port list
<ports-epon> Can only input the EPON port list
<ports-gpon> Can only input the GPON port list
<port-uni> The ONU UNI port of EPON or GPON
<ports-uni> EPON ONU UNI port list
<ports-guni> GPON ONU UNI port list

The basic representation of a port is: slot number/port number.


For user convenience, the port and port list supports a variety of flexible input methods:

Single port input support:


a. Basic expression: slot number / port number
b. Prefixed expression: (s/g/p/u) slot number / port number, s represents the uplink port, g
represents GPON, p represents EPON, and u represents the UNI port of EPON
ONU/GPON ONU
a. Multiple port input support:
b. a. Basic expression: slot number / port number
c. b. Prefixed expression: (s/g/p/u) slot number/port number, s stands for uplink port,
g stands for GPON, p stands for EPON, u stands for UNI port of EPON
ONU/GPON ONU, if used Wrong prefix, the system will report an error
d. c. Comma continuous expression: "(s/g/p/u) slot number/port number, (s/g/p/u)
slot number/port number", comma is used to separate two port sequences, also
Can be placed last
e. d. Bar (-) expression: used to express all ports in the starting port (inclusive) to the
ending port (inclusive), "(s/g/p/u) slot number / port number - (s/g /p/u) Slot
number/port number". Ports are defined by slot number and panel port from small
to large. If the end port is larger than the start port, the system will prompt an error.
f. e. Keyword expression:
g. a) all represents all ports in this type of parameter, such as port type <port-gpon>,
enter all for all GPON ports, and port type <port-switch> for all uplink ports.
h. b) sni stands for all uplinks;
i. c) gpon represents all GPON ports;
j. d) pon stands for all EPON ports; (current system has been canceled)
Basic expression and extension of the horizontal bar expression
To make the port input more user-friendly, support batch expression: "Slot number /", when
there is no port number and only the slot number is entered, it means all ports on this slot.
Batch expression can be used in combination with a horizontal bar expression or the like.

17 / 257
GPON OLT CLI Manual

Chapter 3 SystemCommand

3.1 Overview

This section introduces system command.

3.2 Basic Information

3.2.1 show system


【Command】
show system
【Function Description】
Display system version information: software version, hardware version, in-band and
out-of-band management parameter
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(pri)>show system

3.2.2 show device runtime


【Command】
show device runtime
【Function Description】
Display system uptime
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(pri)>show device runtime

18 / 257
GPON OLT CLI Manual

3.2.3 reboot
【Command】
reboot
【Function Description】
System restart command
【Parameter】
Null
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>reboot

3.3 Clock

3.3.1 date
【Command】
dateyyyy-mm-dd HH:MM:SS
【Function Description】
Set the current time of the system
【Parameter】

Parameter Item Format Value Range Example


yyyy-mm-dd Year- Ascii Code yyyy:1900~2099 2015-01-01
month-day string mm: 1~12
dd: 1~31
HH:MM:SS Hour:min:s Ascii Code HH: 0~23 12:51:19
econd string MM:0~59
SS: 0~59

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>date 2016-01-15 10:11:12

19 / 257
GPON OLT CLI Manual

3.3.2 timezone
【Command】
timezoneTIMEZONE
【Function Description】
timezone TIMEZONE Set the system time zone value to TIMEZONE
no timezone Set the system time zone to the default time zone. The default time zone
is 8
【Parameter】

Parameter Item Format Value Range Example


TIMEZONE Time Zone Integer number Time Zone : - 8
12~+12

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>timezone 8
OLT(config)>no timezone

3.3.3 show date


【Command】
show date
【Function Description】
Display system current time
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(pri)>show date
System date: 2016-01-15 10:10:18 timezone 8

20 / 257
GPON OLT CLI Manual

3.4 Power Supply

3.4.1 power shutdown


【Command】

power shutdown SLOT-ID

【Function Description】
Disable the power supply in the slot with the slot number SLOT-ID.
【Parameter】

Parameter Item Format Value Range Example


SLOT-ID Slot No. Integer >=1 7

【Mode】
Global Mode
【Note】
Use in PTD12G only
【Example】
OLT(config)>power shutdown 7

3.4.2 show power


【Command】

show power

【Function Description】
Display power information.
【Parameter】
Null
【Mode】
All Modes
【Note】
Used in PTD12G、PTFD8C
【Example】
OLT(pri)>show power

21 / 257
GPON OLT CLI Manual

3.5 Temperature

3.5.1 show temperature


【Command】

show temperature [slot-id SLOT-ID]

【Function Description】
Displays system temperature or temperature information of the board in a certain slot.
【Parameter】

Parameter Item Format Value Range Example


SLOT-ID Slot No. integer >=1 5

【Mode】
All Modes
【Note】
PTD12G 中的 Command 为:show temperature slot-id SLOT-ID
PTB82C 中的 Command 为:show temperature
【Example】
OLT(pri)> show temp
OLT(pri)> show temp slot-id 5

3.6 Fan

3.6.1 fan control


【Command】

fan control { fixed-speed | auto }

【Function Description】
fan control fixed-speed Set the fan speed to run at a fixed rate.
fan control auto Set the fan speed to automatic speed control Mode
【Parameter】

【Mode】
Global Mode
【Note】
Used in PTD12G
【Example】

22 / 257
GPON OLT CLI Manual
OLT(config)> fan control fixed-speed

3.6.2 fan speed


【Command】

fan speed LEVEL

【Function Description】
Set the fan speed to automatic speed control Mode
【Parameter】

Parameter Item Format Value Range Example


LEVEL Rate gear integer >=1 3

【Mode】
Global Mode
【Note】
Only used in PTD12G, and the setting is valid when the fan control mode is set to fixed-
speed.【Example】
OLT(config)> fan speed 2

3.6.3 show fan


【Command】

show fan

【Function Description】
Display fan information.
【Parameter】
Null
【Mode】
All Mode
【Note】
Used only in PTD12G.
【Example】
OLT(pri)> show fan

3.7 Reset

3.7.1 Reset
【Command】

23 / 257
GPON OLT CLI Manual
reset [ without-ip ]

【Function Description】
reset Reset system or PON port
reset without-ip Reset system all configurations except in-band ip, out-of-band
ip address, and interface vlan
【Parameter】

【Mode】
Global Mode、PON Mode
【Note】
Null。
【Example】
OLT(config)> reset

24 / 257
GPON OLT CLI Manual

Chapter 4 Board Configuration

4.1 Overview

This section introduces board configuration command。

4.2 Command

4.2.1 board add


【Command】
board add SLOT-ID { GPT_F88B_DL | GPT_F88B_DM | GPT_C43BB_DL |
GPT_C43BB_DM | GPT_C448B_DL | GPT_C448B_DM | KTFSG_18FBDL }
【Function Description】
board add SLOT-ID GPT_F88B_DL Add a link board to the slot SLOT-ID (GPT-
F88B)
board add SLOT-ID GPT_F88B_DMAdd a service board to the slot SLOT-ID. (GPT-
F88B)
board add SLOT-ID GPT_C43BB_DLAdd a link board to the slot SLOT-ID (GPT-
C43BB)
board add SLOT-ID GPT_C43BB_DM Add a service board to the slot SLOT-ID.
(GPT-C43BB)
board add SLOT-ID GPT_C448B_DL Add a link board to the slot SLOT-ID
(GPT-C448B)
board add SLOT-ID GPT_C448B_DM Add a service board to the slot SLOT-ID.
(GPT-C448B)
board add SLOT-ID KTFSG_18FBDL Add a link board to the slot SLOT-ID
(KTFSG-18FB)
【Parameter】

Parameter Item Format Value Range Example


SLOT-ID Slot No. integer [1,2] 1

【Mode】
Golobal Mode
【Note】
The board option in GPT-F88B is:{ GPT_F88B_DL | GPT_F88B_DM }
The board option in GPT-C43BB is:{ GPT_C43BB_DL | GPT_C43BB_DM }
The board option in GPT-C448B is:{ GPT_C448B_DL | GPT_C448B_DM }
The board option in KTFSG-18FB is:{ KTFSG_18FBDL }

25 / 257
GPON OLT CLI Manual
【Example】
OLT(config)>board add 1 GPT_F88B_DL

4.2.2 show board


【Command】
show board
【Function Description】
show board Display board information
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show board

Chapter 5 Configuration file

5.1 Overview

This chapter describes how to save, load, view, and clear configuration files.

5.2 Command

5.2.1 write
【Command】
write [ FILE-NAME ]
【Function Description】
write Save the user's current configuration information to the default file. The
default configuration file is kt_boot_usr_cfg.
write FILE-NAME Save the user's current configuration information to the file FILE-
NAME
【Parameter】

26 / 257
GPON OLT CLI Manual

Parameter Item Format Value Range Example


FILE-NAME File name Code string <32 kt_boot_usr_cfg

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>write

5.2.2 clear config-file


【Command】
clear config-file [ FILE-NAME ]
【Function Description】
clear config-file Clear all configuration files saved by the system
clear config-file FILE-NAME Clear the configuration file with the file name FILE-
NAME
【Parameter】

Parameter Item Format Value Range Example


FILE-NAME File Name Code string <32 kt_boot_usr_cfg

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>clear config-file

5.2.3 config-file boot-load


【Command】
config-file boot-load FILE-NAME
no config-file boot-load
【Function Description】
config-file boot-load FILE-NAME Set the configuration file loaded at system startup
no config-file boot-load Restore to the system's default boot load
configuration file, the default configuration file is kt_boot_usr_cfg
【Parameter】

27 / 257
GPON OLT CLI Manual

Parameter Item Format Value Range Example


FILE-NAME File Name Code string <32 kt_boot_usr_cfg

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)> config-file boot-load my_config_file

5.2.4 load
【Command】
Load FILE-NAME
【Function Description】
load FILE-NAME Load configuration file configuration
【Parameter】

Parameter Name Format Value Range Example


FILE-NAME File Name Code string <32 kt_boot_usr_cfg

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>load my_config_file

5.2.5 showconfig-file
【Command】
show config-file
【Function Description】
Display profile list
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】

28 / 257
GPON OLT CLI Manual
OLT(pri)>show config-file

5.2.6 showrunning-config
【Command】
show running-config [PORT-GROUP]
【Function Description】
show running-config Display the current running configuration of the entire
OLT system
show config-file s1/1-s1/3 Display the configuration file list information of the
specified port list saved by the system
【Parameter】

Parameter Item Format Value Example


Range
PORT-GROUP Port list Port type + s1/2,p5/6-
slot/port/, support p5/16
for "," and "-" split

【Mode】
所有 Mode
【Note】
Null
【Example】
OLT(pri)>show running-config
OLT(pri)>show running-config s1/2,p1/5

29 / 257
GPON OLT CLI Manual

Chapter 6 Configuration Update

6.1 Overview

The OLT device supports upgrading files that depend on the device, including the kernel,
file system, device tree, configuration, logs, applications, and so on.
This chapter describes the kernel, file system, device tree, application, system
configuration, log download, system configuration, and log upload function in the OLT.

6.2 Command

6.2.1 tftp download


【Command】

tftp download {config-file | olt-image | onu-image} FILE-NAME IP-ADDR

【Function Description】
tftp download config-file Download system configuration file via tftp
tftp download olt-image Upgrade OLT application via tftp
tftp download onu-image Download the ONU Image file to the OLT device via tftp,
and upgrade the ONU.
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Source file name kt-olt.tar.gz
IP-ADDR Source ip xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>tftp download olt-image kt-olt.tar.gz 192.168.2.199

6.2.2 ftp download


【Command】

ftp download {config-file | olt-image | onu-image} USERNAME PASSWORDFILE-

30 / 257
GPON OLT CLI Manual
NAME IP-ADDR

【Function Description】
ftp download config-file Download system configuration file via ftp
ftp download olt-image Upgrade OLT application via ftp
ftp download onu-image Download the ONU Image file to the OLT device via ftp,
and upgrade the ONU.
【Parameter】
Parameter Item Format Value Range Example
FILE-NAME Source file kt-olt.tar.gz
name
IP-ADDR Source ip xxx.xxx.xxx.xxx 192.168.2.199
address
USERNAME Ftp user
name
PASSWORD ftp password
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>ftp download olt-image kt-olt.tar.gz 192.168.2.199

6.2.3 tftp upload


【Command】

tftp upload{config-file | log-file} FILE-NAME P-ADDR

【Function Description】
tftp upload config-file Upload the system configuration file to the front-end server
via tftp
tftp upload log-file Upload log files to the front-end server via tftp
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Destination file system.log
name
IP-ADDR Destination IP xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privileged configuration Mode
【Note】
Null

31 / 257
GPON OLT CLI Manual
【Example】
OLT(pri)>tftp upload log-file system.log 192.168.2.199

6.2.4 ftp upload


【Command】

ftp upload{config-file | log-file} USERNAME PASSWORDFILE-NAME P-ADDR

【Function Description】
ftp upload config-file Upload the system configuration file to the front-end server
via ftp
ftp upload log-file Upload log files to the front-end server via ftp
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Destination file system.log
name
USERNAME ftp user name
PASSWORD ftp password
IP-ADDR Destination IP xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privileged configuration Mode
【Note】
Null
【Example】
OLT(pri)>ftp upload log-file system.log 192.168.2.199

32 / 257
GPON OLT CLI Manual

Chapter 7 Alarm Configuration

7.1 Overview

The alarm management functions mainly include alarm records, alarm settings, and
alarm statistics. The alarm management allows the device to be maintained to ensure
normal and efficient operation.
The alarm is generated when the system detects a fault. After the alarm is generated,
the system broadcasts to each terminal according to the current configuration of the
terminal, including the NMS (Network Management System) user and the Command Line
Interface (CLI, Command Line). Interface) User. Alarms include fault alarms and recovery
alarms. The fault alarm persists after a certain time has elapsed until the fault is repaired,
so that the alarm is cleared. The user can customize the alarm according to the degree of
attention and actual needs of the alarm, including the custom alarm level, the output mode
of the alarm in the Command line, and the statistics of the alarm information.

7.2 Command

7.2.1 alarm
【Command】

alarm{enable | disable } {global | device | board | port }

【Function Description】
alarm enable Enable alarm
alarm disable Disable alarm
【Parameter】
Parameter Item Format Value Example
Range
global System alarm enumerate global
option
device Device alarm enumerate device
option
board Board alarm enumerate board
options
port Port alert option enumerate port

【Mode】
Global configuration mode。

33 / 257
GPON OLT CLI Manual
【Note】
Only the PT-D12G includes the board option.【Example】
OLT(config)>alarm enable global
OLT(config)>alarm disable global

7.2.2 no alarm enable


【Command】

no alarm enable{global | device | board | port }

【Function Description】
The alarm is enabled to restore the default value.
【Parameter】
Parameter Item Format Value Example
Range
global System alarm enumerate global
option
device Device alarm enumerate device
option
board Board alarm enumerate board
options
port Port alert option enumerate port

【Mode】
Global configuration mode。
【Note】
Only the PT-D12G includes the board option.
【Example】
OLT(config)>no alarm enable global

7.2.3 show alarm enable


【Command】

showalarmenable

【Function Description】
The alarm is enabled.
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】

34 / 257
GPON OLT CLI Manual
OLT(config)>show alarm enable

7.2.4 alarm device


【Command】

alarm device{{cpu | memory} {enable | disable | threshold MAJOR_LEVEL


MINOR_LEVEL}| {save_config | reboot | boxOpen}{enable | disable } }

【Function Description】
alarm device cpu CPU alarm enable and alarm threshold settings
alarm device memory Device memory alarm enable and alarm threshold
settings
alarm device save_config Configure alarm enable settings for the device.
alarm device reboot Device restart alarm enable setting
alarm device boxOpen Enable the device to open the alarm enable setting.

【Parameter】
Parameter Item Format Value Example
Range
MAJOR_LEVEL Main alarm Decimal integer According 100
threshold to the
specific
Parameter
MINOR_LEVEL Secondary Decimal integer According 80
alarm to the
threshold specific
Parameter

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm device cpu enable
OLT(config)>alarm device cpu threshold 80 60
OLT(config)>alarm device memory disable
OLT(config)>alarm device save_config enable
OLT(config)>alarm device reboot enable

7.2.5 no alarm device


【Command】

no alarm device{{cpu | memory} [threshold] | save_config | reboot | boxOpen }

35 / 257
GPON OLT CLI Manual
【Function Description】
no alarm device cpu Set the CPU alarm enable and alarm threshold to
restore the default value.
no alarm device memory Set the memory alarm enable and alarm threshold to
restore the default value.
no alarm device save_config Set the save profile alarm to enable the default
value.
no alarm device reboot Set the device restart alarm to enable the default
value.
no alarm device boxOpen Set the device to open the cover alarm to enable
the default value.
【Parameter】
Null
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm device cpu
OLT(config)>no alarm device cpu threshold
OLT(config)>no alarm device memory
OLT(config)>no alarm device save_config
OLT(config)>no alarm device reboot

7.2.6 show alarm device


【Command】

show alarm device

【Function Description】
Displays the alarm enable and alarm threshold of the OLT device.
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm device

7.2.7 alarm switch-port


【Command】

alarm switch-port PORTS-SWITCH {{linkUp | linkDown | portDisabled |

36 / 257
GPON OLT CLI Manual
portEnable} {enable | disable } }

【Function Description】
alarm switch-port PORTS-SWITCH linkUp Set the switch port link up alarm
enable.
alarm switch-port PORTS-SWITCH linkDown Set the switch port link down
alarm enable.
alarm switch-port PORTS-SWITCH portDisabled Set the switch port disable
alarm enable.
alarm switch-port PORTS-SWITCH portEnable Set the switch port enable
alarm enable.
【Parameter】

Parameter Item Format Value Range Example


PORTS-SWITCH Port No. Port type + slot SNI port s3/5
number/port
number,
supports
operators ",", "-
"

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm switch-port s1/1 linkUp enable

7.2.8 no alarm switch-port


【Command】

no alarm switch-port PORTS-SWITCH {linkUp | linkDown | portDisabled|


portEnable}

【Function Description】
noalarm switch-port PORTS-SWITCH linkUp
Set the switch port link up alarm to enable the default value.
noalarm switch-port PORTS-SWITCH linkDown
Set the switch port link down alarm to enable the default value.
noalarm switch-port PORTS-SWITCH portDisabled
Set the switch port port to disable the alarm enable to restore the default value.
noalarm switch-port PORTS-SWITCH portEnable
Set the switch port port to enable the alarm to enable the default value.

【Parameter】

37 / 257
GPON OLT CLI Manual

Parameter Item Format Value Range Example


PORTS-SWITCH Port No. Port type + slot SNI port s3/5
number/port
number,
supports
operators ",", "-
"

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm switch-port s1/1 linkUp

7.2.9 show alarm switch-port


【Command】

show alarm switch-port PORTS-SWITCH

【Function Description】
Displays all alarm parameter alarms of the OLT SNI port or switch switch port.
【Parameter】

Parameter Item Format Value Range Example


PORTS-SWITCH Port No. Port type + slot SNI port s3/5
number / Port
No., supports
operators “,”, “-”

【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm switch-port s1/1

7.2.10 alarm statistic


【Command】

alarm statistic PORT-ID {{rxDropEvents | txDropEvents | rxCRCErrorPkts |


rxUndersizePkts | txUndersizePkts | rxOversizePkts | txOversizePkts | rxFragments
| rxJabbers | rxCollisions | rxDiscardPkts | txDiscardPkts | rxErrorPkts | txErrorPkts

38 / 257
GPON OLT CLI Manual
| rxSpeed | txSpeed | txBroadcastPkts| txMulticastPkts} {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} }

【Function Description】
alarm statistic PORT-ID rxDropEvents Set the trap alarm enable and alarm
threshold for receiving and dropping events.
alarm statistic PORT-ID txDropEvents Set the send and drop event alarm enable
and alarm threshold.
alarm statistic PORT-ID rxCRCErrorPkts Set the receive CRC check error alarm
enable and alarm threshold
alarm statistic PORT-ID rxUndersizePkts Set the receiving ultra-short packet alarm
enable and alarm threshold
alarm statistic PORT-ID txUndersizePkts Set the sending short packet alarm enable
and alarm threshold
alarm statistic PORT-ID rxOversizePkts Set the receiving long-length packet alarm
enable and alarm threshold
alarm statistic PORT-ID txOversizePkts Set the send long packet alarm enable and
alarm threshold.
alarm statistic PORT-ID rxFragments Set the number of received fragmentation
alarms and alarm thresholds.
Alarm statistic PORT-ID rxJabbers
Set the alarm enable and alarm threshold for receiving long error frames.
Alarm statistic PORT-ID rxCollisions
Set the alarm enable and alarm threshold for receiving collision collision frames.
Alarm statistic PORT-ID rxDiscardPkts
Set the number of received packet discards and alarm thresholds.
Alarm statistic PORT-ID txDiscardPkts
Sets the number of discarded packets and enables alarm thresholds.
Alarm statistic PORT-ID rxErrorPkts
Set the number of received error packets and enable alarm thresholds.
Alarm statistic PORT-ID txErrorPkts
Set the number of sent error packets and enable alarm thresholds.
Alarm statistic PORT-ID rxSpeed
Set the receive rate alarm enable and alarm threshold.
Alarm statistic PORT-ID txSpeed
Set the send rate alarm enable and alarm threshold.
【Parameter】
Parameter Item Format Value Range Example
PORT-ID Port No. Port type + Port SNI 、 PON s1/1,p3/5
No. PORT
MAJOR_LEVEL Main alarm Decimal integer According to the 100
threshold specific
Parameter
MINOR_LEVEL Secondary Decimal integer According to the 80

39 / 257
GPON OLT CLI Manual
alarm specific
threshold Parameter

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm statistic p2/1 txErrorPkts enable
OLT(config)>alarm statistic p2/1 txErrorPkts threshold 30 20

7.2.11 no alarm statistic


【Command】

no alarm statistic PORT-ID {{rxDropEvents | txDropEvents | rxCRCErrorPkts |


rxUndersizePkts | txUndersizePkts | rxOversizePkts | txOversizePkts | rxFragments
| rxJabbers | rxCollisions | rxDiscardPkts | txDiscardPkts | rxErrorPkts | txErrorPkts
| rxSpeed | txSpeed | txBroadcastPkts| txMulticastPkts} [threshold]}

【Function Description】
no alarm statistic PORT-ID rxDropEvents
Set the trap alarm enable and alarm threshold for receiving and dropping
events.Restore Defaults
no alarm statistic PORT-ID txDropEvents
Set the send and drop event alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID rxCRCErrorPkts
Set the receive CRC check error alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID rxUndersizePkts
Set the receiving ultra-short packet alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID txUndersizePkts
Set the sending short packet alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID rxOversizePkts
Set the receiving long-length packet alarm enable and alarm thresholdRestore
Defaults
no alarm statistic PORT-ID txOversizePkts
Set the send long packet alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID rxFragments
Set the number of received fragmentation alarms and alarm thresholds.Restore
Defaults
no alarm statistic PORT-ID rxJabbers
Set the alarm enable and alarm threshold for receiving long error frames.Restore
Defaults
no alarm statistic PORT-ID rxCollisions
Set the alarm enable and alarm threshold for receiving collision collision

40 / 257
GPON OLT CLI Manual
frames.Restore Defaults
no alarm statistic PORT-ID rxDiscardPkts
Set the alarm enable and alarm threshold for receiving discarded packets.Restore
Defaults
no alarm statistic PORT-ID txDiscardPkts
Set the number of discarded packets and enable alarm thresholds.Restore Defaults
no alarm statistic PORT-ID rxErrorPkts
Set the number of received error packets and enable alarm thresholds.Restore
Defaults
no alarm statistic PORT-ID txErrorPkts
Set the number of sent error packets and enable and alert thresholds.Restore Defaults
no alarm statistic PORT-ID rxSpeed
Set the receive rate alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txSpeed
Set the sending rate alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txBroadcastPkts
Set the broadcast packet alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txMulticastPkts
Set the sending multicast packet alarm enable and alarm threshold.Restore Defaults

【Parameter】

Parameter Item Format Value Range Example


PORT-ID Port No. Port Type+ Port SNI、PON port s1/1,p3/5
No.

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm statistic p2/1 txErrorPkts
OLT(config)>no alarm statistic p2/1 txErrorPkts threshold

7.2.12 show alarm statistic


【Command】

show alarm statistic PORT-GROUP

【Function Description】
Displays the statistics alarms and alarm thresholds of all the OLT ports.
【Parameter】

41 / 257
GPON OLT CLI Manual

Parameter Item Format Value Range Example


PORT-GROUP Port list Port ID + slot / s1/2,p5/6-
port /..... p5/16

【Mode】
所有 Mode。
【Note】
Null
【Example】
OLT(config)>show alarm statistic p2/1

7.2.13 alarm edfa


【Command】

alarm edfa{{tempHigh| tempLow | outputOpticalPowerHigh |


outputOpticalPowerLow | inputOpticalPowerHigh| inputOpticalPowerLow |
pump1BIASHigh | pump1BIASLow | pump2BIASHigh| pump2BIASLow |
pump1TECHigh | pump1TECLow | pump2TECHigh | pump2TECLow |
pump1TempHigh| pump1TempLow| pump2TempHigh| pump2TempLow} {enable |
disable | threshold MAJOR_LEVEL MINOR_LEVEL}}

【Function Description】
alarm edfa tempHigh Set the EDFA temperature too high alarm enable and
alarm threshold
alarm edfa tempLow Set the EDFA temperature too low alarm enable and
alarm threshold
alarm edfa outputOpticalPowerHigh Set the EDFA output optical power too high
alarm enable and alarm threshold
alarm edfa outputOpticalPowerLow Set the EDFA output optical power too low
alarm enable and alarm threshold
alarm edfa inputOpticalPowerHigh Set the EDFA input optical power too high
alarm enable and alarm threshold
alarm edfa inputOpticalPowerLow Set the EDFA input optical power low alarm
enable and alarm threshold
alarm edfa pump1BIASHigh
Set EDFA laser pump 1 bias current too high alarm enable and alarm threshold
alarm edfa pump1BIASLow
Set EDFA laser pump 1 bias current too low alarm enable and alarm threshold
alarm edfa pump2BIASHigh
Set EDFA laser pump 2 bias current too high alarm enable and alarm threshold
alarm edfa pump2BIASLow
Set EDFA laser pump 2 bias current too low alarm enable and alarm threshold
alarm edfa pump1TECHigh

42 / 257
GPON OLT CLI Manual
Set EDFA laser pump 1 low cooling current alarm enable and alarm threshold
alarm edfa pump1TECLow
Set EDFA laser pump 1 low cooling current alarm enable and alarm threshold
alarm edfa pump2TECHigh
Set EDFA laser pump 2 cooling current too high alarm enable and alarm threshold
alarm edfa pump2TECLow
Set EDFA laser pump 2 low cooling current alarm enable and alarm threshold
alarm edfa pump1TempHigh
Set EDFA laser pump 1 over temperature alarm enable and alarm threshold
alarm edfa pump1TempLow
Set EDFA laser pump 1 low temperature alarm enable and alarm threshold
alarm edfa pump2TempHigh
Set EDFA laser pump 2 over temperature alarm enable and alarm threshold
alarm edfa pump2TempLow
Set EDFA laser pump 2 low temperature alarm enable and alarm threshold
【Parameter】

Parameter Item Format Value Range Example


MAJOR_LEVEL Main alarm Decimal integer According to the 100
threshold Parameter
MINOR_LEVEL Secondary Decimal integer According to the 80
alarm Parameter
threshold

【Mode】
Global configuration mode。
【Note】
Only available for devices with EDFA modules.
【Example】
OLT(config)>alarm edfa tempHigh enable
OLT(config)>alarm edfa tempHigh threshold 100 80

7.2.14 show alarm edfa


【Command】

show alarm edfa

【Function Description】
The EDFA alarm parameter alarm is enabled and the alarm threshold is displayed.
【Parameter】
Null
【Mode】
All Modes
【Note】

43 / 257
GPON OLT CLI Manual
Only available for devices with EDFA modules.
【Example】
OLT(config-if-o2/1:1)>show alarm edfa

7.2.15 alarm battery


【Command】
alarmbattery {{tempHigh | tempLow | boardTempHigh |boardTempLow |
AC1voltHigh | AC1voltLow |AC2voltHigh | AC2voltLow | DCvoltHigh | DCvoltLow
| currentHigh | loaderLevel1 } {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} | missing {enable | disable}}
【Function Description】
alarm batterytempHigh Set the battery temperature too high alarm enable and
alarm threshold
alarm batterytempLow Set the battery temperature too low alarm enable and
alarm threshold
alarm battery boardTempHigh Set the battery board temperature too high alarm
enable and alarm threshold
alarm battery boardTempLow Set the battery board temperature too low alarm
enable and alarm threshold
alarm battery AC1voltHigh Set the battery AC1 voltage too high alarm enable
and alarm threshold
alarm battery AC1voltLow Set battery AC1 low voltage alarm enable and
alarm threshold
alarm battery AC2voltHigh Set the battery AC2 voltage too high alarm enable
and alarm threshold
alarm battery AC2voltLow Set battery AC2 low voltage alarm enable and
alarm threshold
alarm battery DCvoltHigh Set the battery DC voltage too high alarm enable
and alarm threshold
alarm battery DCvoltLow Set the battery DC voltage too low alarm enable and
alarm threshold
alarm battery currentHigh Set battery current too high alarm enable and
alarm threshold
alarm battery loaderLevel1 Set battery load level 1 alarm enable and alarm
threshold
alarm battery missing Set battery not in position alarm enable

【Parameter】

Parameter Item Format Value Range Example


MAJOR_LEVEL Main alarm Decimal integer According to 100
threshold Parameter

44 / 257
GPON OLT CLI Manual
MINOR_LEVEL Secondary Decimal integer According to 80
alarm Parameter
threshold

【Mode】
Global configuration mode。
【Note】
Only available for devices with battery modules.
【Example】
OLT(config)>alarm batterytempHigh enable
OLT(config)>alarm batterytempHigh threshold 100 80

7.2.16 show alarm battery


【Command】

show alarm battery

【Function Description】
Displays the battery alarm Parameter alarm enable and alarm threshold.
【Parameter】
Null
【Mode】
All Modes
【Note】
Only available for devices with battery modules.
【Example】
OLT(config-if-o2/1:1)>show alarm battery

7.2.17 show alarm current


【Command】

show alarm current [olt | onu | edfa]

【Function Description】
show alarm current Display all current alarm information
show alarm current olt Display current alarm information of the OLT
show alarm current onu Display current alarm information of the ONU
show alarm current edfa Display EDFA current alarm information
【Parameter】
Null
【Mode】
All Modes
【Note】

45 / 257
GPON OLT CLI Manual
Null
【Example】
OLT(config)>show alarm current
OLT(config)>show alarm current olt
OLT(config)>show alarm current onu
OLT(config)>show alarm current edfa

7.2.18 show alarm history


【Command】

show alarm history [olt | onu | edfa]

【Function Description】
show alarm history Display all historical alarm information
show alarm history olt Display OLT history alarm information
show alarm history onu Display ONU history alarm information
show alarm history edfa Display EDFA history alarm information
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm history
OLT(config)>show alarm history olt
OLT(config)>show alarm history onu
OLT(config)>show alarm history edfa

7.2.19 alarm delete


【Command】

alarm delete {history | current} {{olt | onu | edfa} | START_SEQ END_SEQ }

【Function Description】
alarm delete history olt Delete OLT history alarms.
alarm delete history onu Delete ONU history alarms.
alarm delete history edfa Delete EDFA history alarms.
alarm delete history START_SEQ END_SEQ Delete historical alarms in the range
of serial numbers
alarm delete current olt Delete OLT history alarms
alarm delete current onu Delete ONU history alarms.

46 / 257
GPON OLT CLI Manual
alarm delete current edfa Delete EDFA history alarms
alarm delete current START_SEQ END_SEQ Delete historical alarms in the range
of serial numbers

【Parameter】

Parameter Item Format Value Range Example


START_SEQ Start serial Decimal integer 1-2000 10
number
END_SEQ End serial Decimal integer 1-2000 20
number

【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm delete history
OLT(config)>alarm delete history olt
OLT(config)>alarm delete history onu 10 20

47 / 257
GPON OLT CLI Manual

Chapter 8 Log Configuratoin

8.1 Overview

This chapter describes the system log related configuration operations Command,
which supports log viewing, log switch, log record control, and log output control.

8.2 Command

8.2.1 clear log


【Command】
clear log [file | buffer [command | debug]]
【Function Description】
clear log Clear log records
clear log file Clear log records in log files
clear log buffer Clear log records in the log cache
clear log buffer command Clear log records in the command log cache
clear log buffer debug Clear the log records in the debug log cache
【Parameter】
Null
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>clear log
OLT(config)>clear log file
OLT(config)>clear log buffer

8.2.2 log on
【Command】
log on
no log on
【Function Description】

48 / 257
GPON OLT CLI Manual
log on Enable log global switch
no log on Disable log global switch
【Parameter】
Null
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>log on
OLT(config)>no log on

8.2.3 log monitor


【Command】
log monitor {all|console|terminal|buffer|file|host}
no log monitor [all|console|terminal|buffer|file|host]
【Function Description】
log monitor all Turn on all logger global switches
log monitor console Turn on the console logger global switch
log monitor terminal Turn on the terminal recorder global switch
log monitor buffer Turn on the buffer logger global switch
log monitor file Turn on the file logger global switch
log monitor host Turn on the host logger global switch
no log monitor Restore all logger global switches
no log monitor all Turn off all logger global switches
no log monitor console Turn off the console logger global switch
no log monitor terminal Turn off the terminal logger global switch
no log monitor buffer Turn off the buffer logger global switch
no log monitor file Turn off the file logger global switch
no log monitor host Turn off the host logger global switch
【Parameter】
Null
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>log monitor terminal

8.2.4 log rule


49 / 257
GPON OLT CLI Manual
【Command】
log rule {FACILITY}on
log rule {FACILITY} monitor {all|console|terminal|buffer|file|host}
log rule {FACILITY} priority {emerg|alert|crit|err|warning|notice|inof|debug}
no log rule {FACILITY}on
no log rule {FACILITY}monitor [all|console|terminal|buffer|file|host]
no log rule {FACILITY}priority
【Functional description】
log rule {FACILITY} on Enable specified facility recording switch
log rule {FACILITY} monitor all Enable all recorder switches for the specified
facility
log rule {FACILITY} monitor console Enable the console recorder switch for
the specified facility
log rule {FACILITY} monitor terminal Enable the terminal recorder switch for
the specified facility
log rule {FACILITY} monitor buffer Enable the buffer recorder switch for the
specified facility
log rule {FACILITY} monitor file Enable the file recorder switch for the
specified facility
log rule {FACILITY} monitor host Enable the host recorder switch for the specified
facility
log rule {FACILITY} priority {emerg|alert|crit|err|warning|notice|inof|debug}
Set the record priority of the specified facility
log monitor buffer Enable the buffer recorder global switch
no log rule {FACILITY} on Disable the specified facility record switch
no log rule {FACILITY} monitor Restore all recorder switches for the
specified facility
no log rule {FACILITY} monitor all Disable all recorder switches for the
specified facility
no log rule {FACILITY} monitor console Disable the console recorder switch for
the specified facility
no log rule {FACILITY} monitor terminal Disable the terminal recorder switch for the
specified facility
no log rule {FACILITY} monitor buffer Disable the buffer recorder switch for the
specified facility
no log rule {FACILITY} monitor file Disable the file recorder switch for the
specified facility
no log rule {FACILITY} monitor host Disable the host recorder switch for the
specified facility
no log rule {FACILITY} priority Restore the record priority of the specified
facility

【Parameter】

50 / 257
GPON OLT CLI Manual

Parameter Name Format Range Example


FACILITY Facility Ascii code string The range of values is as
Subsystem follows:
kern、user、mail、daemon、
auth、syslog、lpr、news、uucp、
cron、authpriv、local0、local1、
local2、local3、local4、local5、
local6、local7。

【Mode】
Global configuration mode
【Note】
1. If need to record the specified facility related log, Please enable the private record
switch and global record switch.
2. If need to make the monitor recorder of the specified facility effective,Please enable
the private recorder and global recorder.
3. The log system only records logs that are not lower than the specified priority. That
is, the local0 record priority is warning, and the local0 logs with higher priority than
emerg, alert, crit, err, and warning are recorded.
【Example】
OLT(config)>log rule local0 priority warning

8.2.5 log host


【Command】
log hostA.B.C.D
no log host [A.B.C.D]
【Function description】
log host A.B.C.D Add a log host
no log host Recovery log host list
no log host A.B.C.D Delete log host
【Parameter】

Parameter Name Format Range Example


A.B.C.D 日志主机 IP 点分十进制 IP 单播地址 192.168.1.1
地址

【Mode】
Global configuration mode
【Note】
1. If need to enable the log host function, please enable the global and private switches
of the host recorder.

51 / 257
GPON OLT CLI Manual
【Example】
OLT(config)>log host 192.168.1.1

8.2.6 log file


【Command】
log filesize MAX-SIZE
no log file size
【Function description】
log file size MAX-SIZE Configuring log file maximum length limit
no log file size Recovery log file maximum length limit
【Parameter】

Parameter Name Format Range Example


MAX-SIZE The maximum length Decimal,Unit KB 1-32768 KB

【Mode】
Global configuration mode
【Note】
1. The maximum length of the log file is 2M by default. When the log file exceeds 2M,
the log system deletes the first half (first 1M) of the log file.
【Example】
OLT(config)>log file size 4096

8.2.7 log buffer


【Command】
log buffer size MAX-SIZE
no log buffer size
【Function description】
log buffer size MAX-SIZE Configuring the maximum length of the log cache
no log buffer size Recovery log cache maximum length limit
【Parameter】

Parameter Name Format Range Example


MAX-SIZE The maximum Decimal,Unit KB 1-32768 KB
length

【Mode】
Global configuration mode
【Note】

52 / 257
GPON OLT CLI Manual
1. The maximum log cache length is 2M by default. When the log cache exceeds 2M,
the log system deletes the log content of the first half (first 1M) of the log cache.
【Example】
OLT(config)>log buffer size 4096

8.2.8 show log


【Command】
show log global
show log [include| exclude| begin|end|between]
show log file
show log buffer {command | debug} [ include| exclude| begin|end|between]
【Function description】
show log Display all logs in the log file
show log global Display log system configuration
information
show log file Display all logs in the log file
show log buffer {command | debug}Display the log of command or debug in the log
buffer
show log buffer {command | debug} include PATTERN Display a log
containing the pattern string
show log buffer {command | debug} exclude PATTERN Display logs that do
not contain the pattern string
show log buffer {command | debug} begin PATTERN Display logs starting
with the pattern string
show log buffer {command | debug} end PATTERN Display the log to the
pattern string cutoff
show log buffer {command | debug} between PATTERN1 PATTERN2
Display logs from pattern1 to pattern2

【Parameter】

Parameter Name Format Range Example


PATTERN Filter string Ascii Code Length ≤32Bytes message
string

【Mode】
All modes
【Note】
1. if Pattern expression need to contain a space symbol (“”), then use the pound sign
in the command line(“#”). For example, if need to display a log containing "error message",
then the command display as "show log include error#message".
【Example】

53 / 257
GPON OLT CLI Manual
OLT(pri)>show log

54 / 257
GPON OLT CLI Manual

Chapter 9 Account configuration

9.1 Overview

The OLT device supports multi-user management to ensure multi-user multi-tasking


mode.
This chapter mainly describes the related commands for account management.

9.2 Command

9.2.1 username
【Command】
username

usernameNAME {password|level}

【Function description】
username Register one user
username password Set the current user login password
username level Set current user login permissions
username NAME password Set the login password of the specified user
username NAME level Set the login permission of the specified user
【Parameter】

Parameter Name Format Range Example


NAME Username Ascii Code Length ≤15Bytes
string
PASSWORD Password Ascii Code Length ≤15Bytes
string
LEVEL Permission integer LEVEL >=1 && LEVEL <=7

【Mode】
Privilege mode
【Note】
Maximum of 15 users are allowed in the system, 5 of which are default users, and the
maximum number of users that can be created is 10.
【Example】
OLT(pri)>username

55 / 257
GPON OLT CLI Manual
OLT(pri)>username password
OLT(pri)>username level
OLT(pri)>username zhangsan password
OLT(pri)>username zhangsan level

9.2.2 no username
【Command】

no username NAME

【Function description】
Delete one user
【Parameter】

Parameter Name Format Range Example


NAME Username Ascii Code Length ≤32Bytes
string

【Mode】
Privilege mode
【Note】
Only users who are not logged in can be deleted, and the system default user cannot
be deleted.
【Example】
OLT(pri)>no username myname

Are you sure to delete the user?(y/n)


y

This user has been deleted success!

9.2.3 login
【Command】

login

【Function description】
Login user
【Parameter】

Parameter Name Format Range Example


NAME Username Ascii code string Length ≤ 32Bytes

56 / 257
GPON OLT CLI Manual
PASSWORD Password Ascii code string Length ≤15Bytes

【Mode】
Privilege mode
【Note】
Log back in to the new user from the current state.
【Example】
OLT(pri)>login

9.2.4 logout
【Command】

logout

【Function description】
The user logs out.
【Parameter】

【Mode】
Privilege mode
【Note】
Exit from current user status。
【Example】
OLT(pri)>logout

9.2.5 show user


【Command】

show user {all | NAME}

【Function description】
show user all Display all user information in the system。
show user NAME Display user information specified in the system。
【Parameter】

Parameter Name Format Range Example


NAME Username Ascii code string length ≤32Bytes

【Mode】
Privilege Mode
【Note】
Null

57 / 257
GPON OLT CLI Manual
【Example】
OLT(pri)> show user all
there are 5 users.
id name level state connected
---- ---------------- -------- ------ ---------
0000 user basic idle 0
0001 admin factory online 1
0002 debug debug idle 0
0003 root1 admin idle 0
04 t2 admin idle 0

58 / 257
GPON OLT CLI Manual

Chapter 10 Port configuration

10.1 Overview

This chapter describes the basic information of the sni, pon and switch ports, port
rate limit, port mirroring, port statistics, port isolation, and storm suppression.

10.2 Port configuration

10.2.1 name
【Command】
nameNAME
no name
【Function Description】
name NAME Set port description
no name Delete port description
【Parameter】

Parameter Name Format Range Example


NAME Port name Ascii code string length<32Bytes Sni123

【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/1)>name sni1
OLT(config-if-s3/1)>no name

10.2.2 admin-status
【Command】
admin-status { up | down }
no admin-status
【Function Description】
admin-status up Enable port
admin-status down Disable port
no admin-status Restore the default state of the port

59 / 257
GPON OLT CLI Manual
【Parameter】
Null
【Mode】
SNI Mode
【Note】
Null
【Example】
OLT(config-if-s3/1)>admin-status up
OLT(config-if-p4/1)>admin-status down
OLT(config-if-p4/1)>no admin-status

10.2.3 combo
【Command】
combo mode { copper | fiber | auto }
no combo mode
【Function Description】
combo mode copper Set the working mode of the spi port to the electrical
port
combo mode fiber Set the working mode of the spi port to optical
port.
combo mode auto Set the sni port working mode to automatically
recognize no combo mode Restore sni port working mode to default
value【Parameter】
Null
【Mode】
SNIMode
【Note】
Only valid for optical multiplexed ports
【Example】
OLT(config-if-s3/1)>combo mode copper
OLT(config-if-s3/1)>no combo mode

10.2.4 speed
【Command】
speed { auto | half-10 | full-10 | half-100 | full-100 | full-1000 | full-10000 }
no speed
【Function Description】
speed auto Set the sni port rate to auto-negotiation Mode.
speed half-10 Mode Set the sni port rate to forced 10M half-duplex
Mode

60 / 257
GPON OLT CLI Manual
speed full-10 Set the sni port rate to forced 10M full duplex mode
speed half-100 Restore the sni port rate to forced 100M half-duplex Mode
speed full-100 Restore the sni port rate to forced 100M full duplex
mode
speed full-1000 Restore the sni port rate to forced 1000M full duplex mode
speed full-10000 Restore the sni port rate to forced 10G full duplex mode
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)>speed auto
OLT(config-if-s1/2)>speed full-1000
OLT(config-if-s1/2)>no speed

10.2.5 auto-negotiation
【Command】
auto-negotiation { auto | half-10 | full-10 | half-100 | full-100 | full-1000 }
noauto-negotiation
【Function Description】
auto-negotiation auto Set the sni port adaptive ability to the default
ability
auto-negotiation half-10 Set the sni port adaptive ability to 10M half duplex
auto-negotiation full-10 Set the sni port adaptive ability to 10M full duplex
auto-negotiation half-100 Set the sni port adaptive ability to 100M half
duplex
auto-negotiation full-100 Set the sni port adaptive ability to 100M full
duplex
auto-negotiation full-1000 Set the sni port adaptive capability to Gigabit
full duplex
no auto-negotiation Set the sni port adaptive ability to the default
value
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/5)>auto-negotiation auto

61 / 257
GPON OLT CLI Manual
OLT(config-if-s3/5)>no auto-negotiation

10.2.6 flow-control
【Command】
flow-control { enable | disable }
noflow-control
【Function Description】
flow-control enable Open the flow control of the sni port
flow-control disable Turn off flow control on the sni port
no flow-control Restore the flow control of the sni port to the default value.
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/5)>flow-control enale
OLT(config-if-s3/5)>no flow-control

10.2.7 show interface


【Command】
show interface brief
show interface PORTS
【Function Description】
show interface brief Display port summary information
show interface PORTS Display port details
【Parameter】

Parameter Name Format Range Example


PORTS port Port type + slot number / p4/5
number port number, support
arithmetic symbols “,”、“-”

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show interface brief

62 / 257
GPON OLT CLI Manual
OLT(config)>show interface s1/3

63 / 257
GPON OLT CLI Manual

10.3 Mirror

10.3.1 mirror session


【Command】
mirror name SESSION-ID NAME
mirror session SESSION-ID { destinationSNI-PROT | sourcePORT { both | tx |
rx }}
no mirror session SESSION-ID
【Function Description】
mirror name SESSION-ID NAME Set the mirror group name

mirror session SESSION-ID destination SNI-PROT Set the SNI destination


port of the mirroring group
mirror session SESSION-ID source PORT both Set the port to tx and rx
source ports of the mirroring group
mirror session SESSION-ID source PORT tx Set the port to tx source
ports of the mirroring group
mirror session SESSION-ID source PORT rx Set the port to rx source
ports of the mirroring group
no mirror session SESSION-ID Delete mirror group

【Parameter】

Parameter Name Format Range Exampl


e
SESSION-ID Mirror index Integer [1] 1
number
SNI-PORT SNI Port type + slot number / Port type :s s1/3
destination port number
port
PORT Source port Port type + slot number / Port type :s、 p4/1
port number p
NAME Mirror name Ascii code string length<32Byte Mirror1
s

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>mirror session 1 destination s1/6
OLT(config)>mirror session 1 source s1/7 both

64 / 257
GPON OLT CLI Manual
OLT(config)>mirror name 1 mirror1
OLT(config)>no mirror session 1

10.3.2 show mirror


【Command】
show mirror
【Function Description】
Display mirror group information
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show mirror

65 / 257
GPON OLT CLI Manual

10.4 statistics

10.4.1 statistics m15


【Command】
statistics m15 { enable | disable }
no statistics m15
【Function Description】
statistics m15 enable Port fifteen minutes performance statistics enable
statistics m15 disable Port fifteen minutes performance statistics disable
no statistics m15 Restore port fifteen minutes performance statistics
default enable status
【Parameter】
Null
【Mode】
SNIMode,PONMode
【Note】
Null
【Example】
OLT(config-if-s3/1)>statistics m15 enable
OLT(config-if-s3/1)>no statistics m15
OLT(config-if-p6/1)>statistics m15 enable
OLT(config-if-s6/1)>no statistics m15

10.4.2 statistics h24


【Command】
statisticsh24 { enable | disable }
nostatistics h24
【Function Description】
statistics h24 enable Port 24-hour performance statistics enable
statistics h24 disable Port 24-hour performance statistics disable
no statistics h24 Restore port 24-hour performance statistics default enable
status
【Parameter】
Null
【Mode】
SNIMode,PONMode
【Note】
Null
【Example】

66 / 257
GPON OLT CLI Manual
OLT(config-if-s3/1)> statistics h24 enable
OLT(config-if-s3/1)>no statistics h24
OLT(config-if-p5/1)> statistics h24 enable
OLT(config-if-p5/1)>no statistics h24

10.4.3 statistics max


【Command】
statistics m15 max M15-COUNT
statistics h24 max H24-COUNT
no statistics {m15 | h24} max
【Function Description】
statistics m15 max M15-COUNT Set performance statistics for 15 minutes of
maximum number of records
statistics h24 max H24-COUNT Set performance statistics for 24 hours of
maximum number of records
no statistics m15 max Set the maximum number of records for 15
minutes of performance statistics to the default value.
no statistics h24 max Set the maximum number of records for 24 hours
of performance statistics to the default value.
【Parameter】

Parameter Name Format Range Exampl


e
M15-COUNT 15 minutes maximum integer [ 1,96 ] 60
number of records
H24-COUNT 24 hours maximum integer [ 1,30 ] 10
number of records

【Mode】
Global mode
【Note】
Null
【Example】
OLT(config)>statistics m15 max 60
OLT(config)>statistics h24 max 10
OLT(config)>no statistics m15 max
OLT(config)>no statistics h24 max

11.4.4 show statistics max


【Command】

67 / 257
GPON OLT CLI Manual
show statistics max
【Function Description】
show statistics max Show the Maximum number of records of performance
statistics
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show statistics max

11.4.5 show statistics


【Command】
show statistics {current | m15 | h24} PORT
【Function Description】
show statistics current PORT Display current performance statistics for a port
show statistics m15 PORT Display 15 minute period performance statistics
for a port
show statistics h24 PORT Display performance statistics of a port on a 24-
hour period
【Parameter】

Parameter Name Format Range Exampl


e
PORT Port Port type + slot number / port s3/1
Number number

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show statistics current s3/5
OLT(config)>show statistics m15 s3/5
OLT(config)>show statistics h24 s3/5

11.4.6 clear statistics


【Command】

68 / 257
GPON OLT CLI Manual
clear statistics {current | m15 | h24} PORTS
【Function Description】
clear statistics current PORTS Clear current performance statistics for a
port clear statistics m15 PORTS Clear port 15-minute period performance
statistics
clear statistics h24PORTS Clear port 24-hour period performance
statistics
【Parameter】

Parameter Name Format Range Exampl


e
PORTS Port Port type + slot number / port s3/1
Number number, support for
arithmetic symbols “,”、“-”

【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>clear statistics current s3/5
OLT(config)>clear statistics m15 s3/5
OLT(config)>clear statistics h24 s3/5

69 / 257
GPON OLT CLI Manual

10.5 Isolation

10.5.1 isolation
【Command】
isolation{ enable | disable }
no isolation
【Function Description】
isolation enable Enable port isolation
isolation disable Disable port isolation
no isolation Restore the isolation function of the port to the default state.
【Parameter】
Null
【Mode】
SNIMode,PONMode
【Note】
After port isolation is enabled, the port will not communicate with the same type of port.
The PON port is isolated by default, and the SNI port is not isolated by default.
【Example】
OLT(config-if-p2/1)>isolation enable
OLT(config-if-p2/1)>isolation disable
OLT(config-if-p2/1)>no isolation

10.5.2 show isolation


【Command】
show isolation [PORTS]
show isolation
【Function Description】
show isolation s1/2 Display the isolation information of port 2 of slot 1 of
SNI port.
show isolation Show isolation status of all ports
【Parameter】

Parameter Name Format Range Example


PORTS Port list Port type + slot number / Port type:S s1/2
port number, support for
arithmetic symbols “,”、“-”

【Mode】
All Mode
【Note】

70 / 257
GPON OLT CLI Manual
Null
【Example】
OLT(config-if-pon)>show isolation

71 / 257
GPON OLT CLI Manual

10.6 Rate-limit

10.6.1 rate-limit
【Command】
rate-limit { rx { RATE-LIMIT | kbps RATE-LIMIT } | tx { RATE-LIMIT | kbps RATE-
LIMIT | pps SPEED-PPS } }
no rate-limit { rx { kbps } | tx { kbps | pps } }
【Function Description】
rate-limit rx RATE-LIMIT Set the port rx rate-limit
rate-limit rx kbps RATE-LIMIT Set the port rx rate-limit
rate-limit tx RATE-LIMIT Set the port tx rate-limit
rate-limit tx kbps RATE-LIMIT Set the port tx rate-limit
rate-limit tx pps SPEED-PPS Set the port tx packet rate
no rate-limit rx kbps Cancel the port rx rate limit
no rate-limit tx kbps Cancel the port tx rate limit
no rate-limit tx pps Cancel the port tx packet rate limit
【Parameter】

Parameter Name Format Range Example


RATE Rate limit integer,unit:kbps [64 , 100000
10000000]
SPEED-PPS packet integer,unit:pps [1, 1488095] 10000
rate Limit

【Mode】
SNIMode、PONMode
【Note】
rate-limit tx pps SPEED-PPS and no rate-limit tx pps, only PT-D12G models
support【Example】
OLT(config-if-s1/1)> rate-limit rx 100000
OLT(config-if-p2/1)> rate-limit txkbps 100000
OLT(config-if-s1/1)> rate-limit tx pps 10000
OLT(config-if-s1/1)> no rate-limit rx kbps

10.6.2 show rate-limit


【Command】
show rate-limit [ PORTS ]
【Function Description】
show rate-limit PORTS Display port rate limit configuration information
show rate-limit Display rate limit information of all ports

72 / 257
GPON OLT CLI Manual
【Parameter】
Parameter Name Format Range Example
PORTS Port list Port type + slot number / Determined s1/1-s1/8
port number, support for according to
arithmetic symbols “,”、“-” different
equipment

【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config)>show rate-limit s1/1

73 / 257
GPON OLT CLI Manual

10.7 Storm-control

10.7.1 storm-control
【Command】
storm-controlSTORM-MODE { SPEED-KBPS | kbps SPEED-KBPS | pps SPEED-
PPS }
no storm-control STORM-MODE { kbps | pps }
【Function Description】
storm-controlSTORM-MODESPEED-KBPS Set port storm suppression
storm-controlSTORM-MODE kbps SPEED-KBPS Set port storm suppression
storm-controlSTORM-MODE pps SPEED-PPS Set port Message-based storm
suppression
no storm-controlSTORM-MODE kbps Restore Port storm suppression to the
default value
no storm-controlSTORM-MODE pps Restore Port storm suppression to the
default value【Parameter】

Parameter Name Format Range Example


STORM-MODE Storm U or m or b or u,b or
U:Unknown u,b
Mode m,b or u,m or u,
unicast
b,m Unknown
m:Multicast unicast

b:Broadcast And
broadcast
SPEED-KBPS rate integer,unit:kbps [64,10000000] 10000
SPEED-PPS Packet rate integer,unit:pps [1,1488095] 100

【Mode】
SNIMode, PONMode
【Note】
Null
【Example】
OLT(config-if-sni)>storm-control u,b kbps 10000
OLT(config-if-sni)>no storm-control u,m

10.7.2 show storm-control


【Command】
show storm-control [ PORTS ]
【Function Description】

74 / 257
GPON OLT CLI Manual
show storm-control PORTS Display port broadcast storm suppression
information
show storm-control Display broadcast storm suppression information
on all ports
【Parameter】

Parameter Name Format Range Example


PORTS Port list Port type + slot number / Determined s1/1-s1/8
port number, support for according to
arithmetic symbols “,”、“-” different
equipment

【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config)>show storm-control s1/1

75 / 257
GPON OLT CLI Manual

Chapter 11 Aggregation configuration

11.1 Overview

Port aggregation (also known as link aggregation) physically connects multiple SNI ports
on the OLT and logically bundles them together to form a port with a large bandwidth. This
implements load balancing and provides redundant links and improve link stability. This
chapter mainly describes the configuration, deletion, restoration and display of port
aggregation. The principle refers to IEEE802.1AX.

11.2 Command

11.2.1 trunk-group
【Command】
trunk-groupGROUP-ID [ mode { manual | lacp } ]
no trunk-group GROUP-ID
trunk-groupGROUP-ID add SNI-PORTS
trunk-groupGROUP-ID delete {all | SNI-PORTS }
【Function Description】
trunk-groupGROUP-ID Create trunk group,working mode is manual
turnk-groupGROUP-IDmodemanual Create trunk group,working mode is
manual
trunk-groupGROUP-IDmode lacp Create trunk group, working mode is LACP Mode
no trunk-groupGROUP-ID Delete trunk group
trunk-groupGROUP-IDaddSNI-PORTS Trunk group adds member ports.
trunk-groupGROUP-IDdelete all Delete all member ports of the trunk
group
trunk-groupGROUP-IDdelete SNI-PORTS Delete the specified member port in the
trunk group
【Parameter】
Parameter Name Format Range Exampl
e

GROUP-ID Trunkgroup integer [1,4] 1


ID

SNI-PORTS SNI port Port type + slot number Port type:s S3/5
number / port number, support
for arithmetic symbols

76 / 257
GPON OLT CLI Manual
“,”、“-”

【Mode】
Global configuration Mode
【Note】
The working mode of the trunk group (manual/LACP) can only be selected at the time
of creation. After the trunk group is created, the working mode cannot be changed. If you
want to change the working mode, you need to delete the trunk group first and re-create
the trunk group with the corresponding working mode.
【Example】
OLT(config)>trunk-group 1manual
OLT(config)>trunk-group 1 add s3/1,s3/2

11.2.2 trunk-group name


【Command】
trunk-groupGROUP-ID name [ NAME ]
【Function Description】
trunk-groupGROUP-ID name NAME Set trunk group name
trunk-group GROUP-IDname Restore the default name of the trunk group
【Parameter】
Parameter Name Format Range Example

GROUP-ID Trunk 组 integer [1,4] 1


ID

NAME Trunk 组 Asciicode string length<32Bytes mytrunk


Name

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 name trunk-group1

11.2.3 trunk-group psc


【Command】
trunk-groupGROUP-ID psc [{ src-mac | dest-mac | both-mac | src-ip | dest-ip |
both-ip }]

77 / 257
GPON OLT CLI Manual
【Function Description】
trunk-group GROUP-IDpsc src-mac Configure the trunk group src-mac traffic
allocation policy
trunk-group GROUP-IDpsc dest-mac Configure the trunk group dest-mac
traffic allocation policy
trunk-group GROUP-IDpsc both-mac Configure the trunk group both-
mactraffic allocation policy

trunk-group GROUP-IDpsc src-ip Configure the trunk group src-ip traffic


allocation policy
trunk-group GROUP-IDpsc dest-ip Configure the trunk group dest-ip
traffic allocation policy

trunk-group GROUP-IDpsc both-ip Configure the trunk group both-ip traffic


allocation policy
trunk-group GROUP-IDpsc Restore the default traffic allocation
policy of the trunk group

【Parameter】

Parameter Name Format Range Example

GROUP-ID Trunk 组 ID integer [1,4] 1

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 psc src-mac

11.2.4 trunk-group admin-status


【Command】
trunk-groupGROUP-ID admin-status [{up | down}]
【Function Description】
trunk-group GROUP-IDadmin-status up Enable trunkgroup
trunk-group GROUP-IDadmin-statusdown Disable trunkgroup
trunk-group GROUP-IDadmin-status Restore the default enabled state of the trunk
group.
【Parameter】

Parameter Name Format Range Example

78 / 257
GPON OLT CLI Manual

GROUP-ID Trunk group integer [1,4] 1


ID

【Mode】
Global configuration Mode
【Note】
After the trunk group is enabled, the configuration information of the trunk group is
retained. However, the trunk group in the system has expired and its member ports become
independent ports.
【Example】
OLT(config)>trunk-group 1 admin-status up

11.2.5 trunk-group lacp


【Command】
trunk-groupGROUP-IDlacp { max-active-portNUM | timeout { long | short } }
no trunk-group GROUP-ID lacp { max-active-port | timeout }
【Function Description】
trunk-group GROUP-IDlacp max-active-port NUM Configure the maximum
number of valid links in the trunk group LACP
trunk-group GROUP-IDlacp timeout { long | short } Configure the LACP
packet timeout time of the trunk group.
notrunk-group GROUP-IDlacp max-active-port Restore the default maximum
number of links in the trunk group LACP
notrunk-group GROUP-IDlacp timeout Restore the default packet timeout
time of the trunk group LACP
【Parameter】

Parameter Name Format Range Exampl


e

GROUP-ID Trun group Integer [1,4] 1


ID

NUM Number of integer [1, 8] 8


valid links

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 lacp max-active-port 4
OLT(config)>trunk-group 1 lacp timeout short

79 / 257
GPON OLT CLI Manual

11.2.6 systemlacp priority


【Command】
lacp priority LACP-PRIORITY
no lacp priority
【Function Description】
lacp priority LACP-PRIORITY Configure system LACP priority
no lacp priority Restore system LACP default priority
【Parameter】

Parameter Name Format Range Example

LACP-PRIORITY LACP integer [0,65535] 10000


priority

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)> lacp priority 10000

11.2.7 portlacp priority


【Command】
lacp priority LACP-PRIORITY
no lacp priority
【Function Description】
lacp priority LACP-PRIORITY Configure port LACP priority.
no lacp priority Restore port LACP default priority
【Parameter】

Parameter Name Format Range Exampl


e

LACP-PRIORITY LACP priority integer [0,65535] 10000

【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)> lacp priority 10000

80 / 257
GPON OLT CLI Manual

11.2.8 showtrunk-group
【Command】
showtrunk-group [GROUP-ID ]
【Function Description】
show trunk-group show all trunk group information
show trunk-groupGROUP-ID show specified trunk group information
【Parameter】
Parameter Name Format Range Example

GROUP-ID Trunk group ID integer [1,4] 1

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show trunk-group

81 / 257
GPON OLT CLI Manual

Chapter 12 VLAN configuration

12.1 overview

VLAN (Virtual Local Area Network) is an emerging data exchange technology that
logically divides LAN devices into network segments to implement virtual workgroups.

VLAN is a protocol proposed to solve the broadcast problem and security of Ethernet.
It adds a VLAN header based on the Ethernet frame, and divides the user into smaller
working groups by using VLAN ID, which limits the Users exchange visits between different
working groups, each workgroup is a VLAN. The benefit of VLAN is that they can limit the
broadcast range and form virtual workgroups to dynamically manage the network.

12.2 VLAN Basic

12.2.1 vlan
【Command】
vlanVLANS
no vlanVLANS
【Function Description】
vlanVLANS The command mode is entered from the global configuration to the
VLAN mode(After the command is used, if the VLAN list does not exist, add a VLAN
list. If it exists, enter the VLAN list mode.)
no vlanVLANS delete VLAN list
【Parameter】

Parameter Name Format Range Example


VLANS VLAN list integer , Support [1,4094] 1-10
for arithmetic
symbols “,”、“-”

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT (config)> vlan 1-10
OLT (config-if-vlan)>

82 / 257
GPON OLT CLI Manual

12.2.2 vlan attribute q-in-q


【Command】
vlan attribute q-in-q
no vlan attribute
【Function Description】
vlan attribute q-in-q Configure the vlan attribute as qinq
no vlan attribute Restore the vlan attribute to the default value.
【Parameter】
Null
【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT (config-if-1)> vlan attribute q-in-q

12.2.3 name
【Command】
nameVLAN-NAME
no name
【Function Description】
name VLAN-NAME configure VLAN name
no name Restore the default VLAN name
【Parameter】

Parameter Name Format Range Example

VLAN- VLAN name Asciicode string length<32Bytes cctv1


NAME

【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT (config-if-1)> name cctv1

12.2.4 add
【Command】

83 / 257
GPON OLT CLI Manual
add { tag | untag}PORTS

【Function Description】
add tag PORTS add tag port to VLAN
add untagPORTS add untag port to VLAN
【Parameter】

Parameter Name Format Range Example

PORTS VLAN Port type + slot number S1/3,P2/3


/ port number, support
port list
for arithmetic symbols
“,”、“-”

【Mode】
VLAN configuration Mode
【Note】
Null
【Example】

OLT(config-if-2)>add tag s1/1


OLT(config-if-2)>add untag p2/2

12.2.5 remove
【Command】
removePORTS

【Function Description】
remove PORTS delete the port from

【Parameter】

Parameter Name Format Range Example

PORTS VLAN port Port type + slot number / S1/3,P2/3


port number, support for
arithmetic symbols “,”、“-”

【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT(config-if-2)> remove s1/1

84 / 257
GPON OLT CLI Manual

12.2.6 vlan attribute


【Command】
vlan attributeVLANSq-in-q
no vlan attributeVLANS
【Function Description】
vlan attributeVLANSq-in-q set VLAN attribute to qinq
no vlan attributeVLANS Restore VLAN attribute to default values
【Parameter】

Parameter Name Format Range Example


VLANS Vlan list integer, support for arithmetic [1,4094] 1-10
symbols “,”、“-”

【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT (config)>vlan attribute 2-5 q-in-q

12.2.7 vlanc-tpid
【Command】
vlan c-tpid TPID
no vlan c-tpid
【Function Description】
vlan c-tpid TPID set port C-VLAN TPID
no vlan c-tpid restore port C-VLAN TPID as default value
【Parameter】

Paramete Name Format Range Example


r

TPID Tag protocol identifier Hexadecimal [0x0,0xFFFE] 0x1234


integer

【Mode】
Global configuration Mode
【Note】
Null
【Example】

85 / 257
GPON OLT CLI Manual
OLT (config)>vlan c-tpid 0x8100

12.2.8 vlans-tpid
【Command】
vlan s-tpid TPID
no vlan s-tpid
【Function Description】
vlan s-tpid TPID configure port S-VLAN TPID
no vlan s-tpid Restore port S-VLAN TPID to default value
【Parameter】

Parameter Name Format Range Example

TPID Tag protocol Hexadecimal [0x0,0xFFFE] 0x1234


identifier integer

【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan s-tpid 0x88A8

12.2.9 vlanpriority
【Command】
vlan priorityPRIORITY
no vlan priority
【Function Description】
vlan priorityPRIORITY Configure the VLAN priority of the port.
no vlan priority Restore the VLAN priority of the port to the
default value.
【Parameter】

Parameter Name Format Range Example

PRIORITY VLAN integer [0,7] 0


priority

【Mode】
SNIMode,PONMode

86 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config-if-s1/1)>vlan priority 0
OLT(config-if-s1/1)>

12.2.10 vlan pvid


【Command】
vlan pvid VLAN
no vlan pvid
【Function Description】
vlan pvid VLAN Configure the default VLAN ID of the port
no vlan pvid Restore the default VLAN ID of the port
【Parameter】

Parameter Name Format Range Example

VLAN Default integer [1,4094] 100


VLAN ID

【Mode】
SNIMode,PONMode
【Note】
Null
【Example】
OLT(config-if-s1/1)>vlan pvid 100
OLT(config-if-s1/1)>

12.2.11 vlan mode


【Command】
vlan mode { trunk | access }
no vlan mode
【Function Description】
vlan mode trunk Configure the port VLANMode as trunk.
vlan mode access Configure the VLAN mode of the port as access.
no vlan mode Restore the VLANMode of the port to the default value.
【Parameter】
Null
【Mode】
SNIMode,PONMode
【Note】

87 / 257
GPON OLT CLI Manual
Null
【Example】

OLT(config-if-s1/1)>vlan mode access


OLT(config-if-p2/1)>vlan mode trunk

12.2.12 vlantrunk
【Command】
vlan trunk add { tagVLANS |untag VLANS}
vlan trunk delete VLANS
vlan trunk clear
【Function Description】
vlan trunk add untagVLANS Add VLAN tag in VLAN trunkMode
vlan trunk add tag VLANS Add tag VLANV in LAN trunkMode
vlan trunk delete VLANS Delete VLAN in VLAN trunkMode
vlan trunk clear Clear all trunk list configuration data in VLAN trunkMode
【Parameter】

Parameter Nam Format Range Example


e

VLANS VLAN list integer , support for [1,4094] 10,20-50


arithmetic symbols “,”、“-”

【Mode】
SNIMode,PONMode
【Note】
Null
【Example】
OLT(config-if-s1/1)> vlan trunk add tag 10
OLT(config-if-p2/1)> vlan trunk add untag 11-21
OLT(config-if-s1/1)> vlan trunk delete 10
OLT(config-if-p2/1)> vlan trunk delete11-21

12.2.13 show vlan


【Command】
show vlan global
show vlanbrief

88 / 257
GPON OLT CLI Manual
show vlan port PORTS
show vlan id VLANS
【Function Description】
show vlan global show VLANGlobal configuration
information
show vlan brief Display all VLAN summary information
show vlan port PORTS Display port VLAN configuration
information
show vlan id VLANS Display the configuration information of the specified
VLAN.
【Parameter】

Parameter Nam Format Rang Example


e e

VLANS VLANlist integer [1,4094] 1-500,600

PORTS Port Port type + slot number / port s1/3 or p2/3


number number,support for arithmetic
symbols “,”、“-”

【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config-if-p2/1)> show vlan global

12.3 VLAN Connect

12.3.1 vlan forwarding


【Command】
vlan forwarding OUTER-VLANSvlan-connect
no vlanforwarding OUTER-VLANSvlan-connect
【Function Description】
vlan forwarding OUTER-VLANSvlan-connect
Set the specified OUTER-VLAN to the outer VLAN plus inner VLAN forwarding mode.
no vlanforwardingOUTER-VLANSvlan-connect Cancel the specified OUTER-VLAN
outer layer plus inner forwarding mode
【Parameter】

89 / 257
GPON OLT CLI Manual

Parameter Name Format Range Example


VLANS VLAN list integer,support for [1,4094] 1-10
arithmetic symbols
“,”、“-”

【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan forwarding 2 vlan-connect
OLT (config)> no vlanforwarding 2 vlan-connect

12.3.2 vlan forwarding


【Command】
vlan forwarding vlan-connect
no vlanforwardingvlan-connect
【Function Description】
vlan forwardingvlan-connect Set the specified OUTER-VLAN to the outer
VLAN plus the inner VLAN forwarding mode.
no vlanforwardingvlan-connect Cancel the specified OUTER-VLAN outer
layer plus inner forwarding mode
【Parameter】
Null
【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT (config-if-2)>vlan forwarding vlan-connect
OLT (config-if-2)> no vlanforwardingvlan-connect

12.3.3 vlan vlan-connect


【Command】
vlan vlan-connect { add OUTER-VLAN INNER-VLANS PORT PORT | delete
OUTER-VLAN INNER-VLANS | clear }
【Function Description】
vlan vlan-connect add OUTER-VLAN INNER-VLANS PORT PORT
Add a static forwarding entry based on OUTER-VLAN plus INNER-VLANS

90 / 257
GPON OLT CLI Manual
vlan vlan-connect delete OUTER-VLAN INNER-VLANS
Delete forwarding entries based on OUTER-VLAN plus INNER-VLANS
vlan vlan-connect clear Delete all outer and inner VLAN forwarding
entries.

【Parameter】

Parameter Nam Format Range Example


e

OUTER-VLAN VLAN ID integer [1,4094] 2

INNER-VLANS VLAN list integer [1,4094] 1-500,600

PORT port Port type + slot s1/3 或 p2/3


number number / port
number

【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan vlan-connect add 1 1-3 s1/1 s1/2
OLT (config)> vlan vlan-connect delete 1 2

12.3.4 show vlan vlan-connect


【Command】
show vlan vlan-connect [ OUTER-VLANS ]
【Function Description】
show vlan vlan-connect Display all vlan-connect configuration
information
show vlan vlan-connect OUTER-VLANS
Indicates the vlan-connect configuration information of the specified OUTER-VLANS.
【Parameter】

Parameter Nam Format Range Example


e

OUTER-VLANS VLANlist integer [1,4094] 1-500,600

91 / 257
GPON OLT CLI Manual
【Mode】
Any Mode
【Note】
Null
【Example】
OLT (config)>show vlan vlan-connect
OLT (config)> show vlan vlan-connect 1-4

12.4 VLAN QinQ

12.4.1 vlan qinq


【Command】
vlan qinq add C-VLANS S-VLAN [ PRIORITY ]
vlan qinq delete C-VLANS
vlan qinq clear
【Function Description】
vlan qinq add C-VLANSS-VLAN
Add QinQ configuration data, S-TAG priority is copied from C-tag
vlan qinq add C-VLANS S-VLAN PRIORITY
Add QinQ configuration data, manually specify S-TAG priority
vlan qinq delete C-VLANS Delete the QinQ configuration data of the specified C-
VLANS.
vlan qinq clear Clear all QinQ configuration data
【Parameter】

Parameter Name Format Range Example

C-VLANS C- integer,support for [1,4094] 10,20-50


VLAN arithmetic symbols
list “,”、“-”

S-VLAN S-VLAN integer [1,4094] 1000


ID

PRIORITY priority integer [0,7] 7

【Mode】
PONMode,SNIMode
【Note】
Only KTFSG-18FB models support these commands under SNIMode

92 / 257
GPON OLT CLI Manual
Display the relevant configuration through show vlan port PORTSCommand
【Example】
OLT(config-if-p2/1)>vlan qinq add100-1000 2000 6
OLT(config-if-p2/1)>vlan qinq delete 100-1000
OLT(config-if-p2/1)>vlan qinq clear

12.5 VLAN Translation

12.5.1 vlantranslation
【Command】
vlan translationadd OLD-VLANNEW-VLAN
vlan translation delete OLD-VLANS
vlan translation clear
【Function Description】
vlan translation add OLD-VLANNEW-VLAN
In VLAN translation mode, add the VLAN ID translation relationship on the port.(If
there is a translation relationship of the same source VLAN ID in the existing
configuration data, it is configured in the overlay mode)

vlan translation delete OLT-VLANS In VLAN translation mode, the VLAN ID


translation relationship is deleted from the port. (If there is no same source VLAN ID
in the existing configuration data, it will not be processed)
vlan translation clear In VLAN translation mode, clear the translation
relationship configuration data of all VLANs.
【Parameter】

Paramete Name Format Range Exampl


r e

OLD-VLAN Pre-translation integer [1,4094] 200


VLAN ID

NEW-VLAN Translated new integer [1,4094] 100


VLAN ID

OLD-VLANS List of VLAN IDs integer , support for [1,4094] 10,20-50


before translation arithmetic symbols “,”、
“-”

【Mode】

93 / 257
GPON OLT CLI Manual
PONMode,SNIMode
【Note】
Only KTFSG-18FB models support these commands under SNIMode
Display the relevant configuration through show vlan port PORTSCommand

【Example】
OLT(config-if-p2/1)>vlan translation add 2 3
OLT(config-if-p2/1)>vlan translation delete 2
OLT(config-if-p2/1)>vlan translation clear

94 / 257
GPON OLT CLI Manual

Chapter 13 MAC Address table


configuration

13.1 Overview

Layer 2 forwarding table related configuration.

13.2 Command

13.2.1 mac-address-table aging-time


【Command】
mac-address-table aging-time { 0 | AGING-TIME}
no mac-address-table aging-time
【Function Description】
mac-address-table aging-time 0 The MAC address learning table never
ages.
mac-address-table aging-time AGING-TIME
Configure the aging time of the MAC address learning table.
no mac-address-table aging-time
Restore the MAC address learning table aging time to the default value.
【Parameter】

Parameter Name Format Range Example


AGING-TIME MAC integer,Unit:Second [10,1000000] 300
address
learning
table aging
time
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT(config)>mac-address-table aging-time 300

95 / 257
GPON OLT CLI Manual

13.2.2 mac-address-table dynamic maximum


【Command】
mac-address-table dynamic maximumMAX-VALUE
no mac-address-table dynamic maximum
【Function Description】
mac-address-table dynamic maximumMAX-VALUE
Configure the maximum number of dynamic MAC addresses that the port can learn.
no mac-address-table dynamic maximum
Restore the maximum number of dynamic MAC addresses that can be learned to the
default value.
【Parameter】

Parameter Name Format Range Example


MAX-VALUE MAC address learning Different 3000
table maximum integer models
number of records
【Mode】
SNIMode, PONMode
【Note】
Null
【Example】
OLT(config-if-sni)>mac-address-table dynamic maximum 100

13.2.3 mac-address-table static


【Command】
mac-address-table staticMAC-ADDRVLAN-IDPORT-ID
no mac-address-table staticMAC-ADDRVLAN-ID
【Function Description】
mac-address-table staticMAC-ADDRVLAN-IDPORT-ID
Add a static MAC address forwarding table
no mac-address-table staticMAC-ADDRVLAN-ID
Delete a static MAC forwarding table
【Parameter】

Parameter Name Format Range Example


MAC-ADDR MAC Unicast MAC 0000.4567.ABCD
XXXX.XXXX.XXXX
address address

XX-XX-XX-XX-XX-XX
VLAN-ID VLAN ID integer [1,4094] 100
PORT-ID port number Port type + slot number / s1/2 or p2/2
port number

96 / 257
GPON OLT CLI Manual
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT(config)>mac-address-table static 0000.4567.ABCD 100 s1/2

13.2.4 clear mac-address-table dynamic


【Command】
clear mac-address-table dynamic [{ address MAC-ADDR| interface PORTS| vlan
VLANS }]
【Function Description】
clear mac-address-table dynamic
Clear all dynamic MAC address forwarding tables
clear mac-address-table dynamic addressMAC-ADDR
Clear the dynamic address forwarding table of the specified MAC address.
clear mac-address-table dynamic interfacePORTS
Clear the dynamic address forwarding table of the specified port.
clear mac-address-table dynamic vlanVLANS
Clear the dynamic address forwarding table of the specified VLAN ID
【Parameter】

Parameter Name Format Range Example


MAC-ADDR MAC Unicast MAC 0000.4567.ABCD
XXXX.XXXX.XXXX
address address
or

XX-XX-XX-XX-XX-XX
PORTS port Port type + slot number / s1/2 或 p2/2
numberlist port numbersupport for
arithmetic symbols “,”、“-”
VLANS VLAN IDlist integersupport for [1,4094] 100
arithmetic symbols “,”、“-”
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT(config)>clear mac-address-table dynamic

13.2.5 show mac-address-table

97 / 257
GPON OLT CLI Manual
【Command】
show mac-address-table[{addressMAC-ADDR | static | interfacePORTS |
dynamic [{interfacePORTS[maximum] | vlanVLANS }] | location MAC-ADDR
[ MAC-MASK ] | aging-time }]
【Function Description】
show mac-address-table Display all L2 address forwarding
tables
show mac-address-tableaddressMAC-ADDR
Display the forwarding table of the specified MAC address
showmac-address-tablestatic Display all static MAC address forwarding
tables
show mac-address-tableinterface PORTS
Display the MAC address forwarding table on the specified port.
show mac-address-tabledynamic Display all dynamic MAC address forwarding
tables
show mac-address-tabledynamic interface PORTS
Display the dynamic MAC address forwarding table on the specified port.
show mac-address-tabledynamic interface PORTSmaximum
Display the maximum dynamic MAC address learning number of a specified port
showmac-address-tabledynamic vlan VLANS
Display the dynamic MAC address forwarding table on the specified VLAN.
showmac-address-table location MAC-ADDR [ MAC-MASK ]
Display the ONU information to which the specified MAC address belongs.
show mac-address-table aging-time
Display the aging time of the MAC address forwarding table.
【Parameter】
Parameter Name Format Range Example
MAC-ADDR MACaddres Unicast 0000.4567.ABCD
XXXX.XXXX.XXXX or
s MAC
XX-XX-XX-XX-XX-XX address
PORTS Port list Port type + slot number / s1/2,p1/1
port number,support for
arithmetic symbols “,”、“-”
VLANS VLANlist integer,support for [1,4094] 100
arithmetic symbols “,”、“-”
MAC-MASK MAC XXXX.XXXX.XXXX 或 FFFF.FFFF.FFFF
Address XX-XX-XX-XX-XX-XX
mask
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show mac-address-table static

98 / 257
GPON OLT CLI Manual

99 / 257
GPON OLT CLI Manual

Chapter 14 QOS configuration

14.1 Overview

The OLT device supports the QoS mechanism to ensure that the support management
of various priority services can be provided in both the uplink and downlink directions.
This chapter mainly describes QoS queue mapping and scheduling related commands.

14.2 Command

14.2.1 qos global


【Command】
qos global-based { device | port }

no qos global-based

【Function Description】
qos global-based device Configure QoS global parameters as device-based
qos global-based port Configure the QoS global parameter as a port-based
no qos global-based Restore QoS Global Parameter to default value, based on
port【Parameter】
Null
【Mode】
Global configurationMode
【Note】
The default is port-based. When the two modes switch to each other, the QoS queue
mapping is re-initialized and the scheduling is set to the default value.
【Example】
OLT(config)>qos global-based device

14.2.2 show qos global


【Command】
show qos global

【Function Description】
Display QoS global parameters.
【Parameter】
Null

100 / 257
GPON OLT CLI Manual
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos global

14.2.3 qos map


【Command】
qos map { cos | diffserv } [QUEUE-ID PRIORITY-LIST]

no qos map { cos | diffserv }

【Function Description】
qos map cos Set the queue mapping to Cos
qos map cos QUEUE-ID PRIORITY-LIST
Set the queue mapping to Cos and set the mapping relationship
qos map diffserv Set the queue mapping to DSCP and set the mapping
relationship.
qos map diffserv QUEUE-ID PRIORITY-LIST
Set the queue mapping to DSCP and set the mapping relationship.
no qos map cos
Restore QoS cos queue mapping to default value, default {0,1, 2, 3, 4, 5, 6, 7}
no qos map diffserv Restore QoS DSCP queue mapping to default value, default
are
{0,1, 2, 3, 4, 5, 6, 7
8,9,10,11,12,13,14,15,
16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,
32,33,34,35,36,37,38,39,
40,41,42,43,44,45,46,47,
48,49,50,51,52,53,54,55,
56,57,58,59,60,61,62,63,}
no qos map Restore the QoS queue mapping to the default value. The default is
cos mapping.The mapping relationship is {0,1, 2, 3, 4, 5, 6, 7}
【Parameter】

Parameter Name Format Range Example


QUEUE-ID Queue integer <0-7> 2
number
PRIORITY-LIST priority integer,support cos:<0-7> 3,5-7
for arithmetic diffserv:<0-63>
symbols “,”“-”

101 / 257
GPON OLT CLI Manual

【Mode】
Global configuration Mode or PON、SNI port Mode
【Note】

【Example】
OLT(config)> qos map cos 2 3,5-7

14.2.4 show qos map


【Command】

show qos map [PORTS[config]] | config

【Function Description】
A map mapping table showing QoS queues and Ethernet priorities.
show qos map
Displays map mapping operation information of all port QoS queues and Ethernet
priorities.
show qos map config
Displays map mapping configuration information for all port QoS queues and Ethernet
priorities.
show qos map PORTS Displays map mapping operation information of
all specified port QoS queues and Ethernet priorities.
show qos map PORTSconfig Displays map mapping configuration information
of all specified port QoS queues and Ethernet priorities.
【Parameter】

Parameter Name Format Range Example


PORTS port Port type + slot number / port PON 、 SNI s3/5,p5/6
number number , support for arithmetic port
symbols “,”、“-”

【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos map

14.2.5 qos scheduler


【Command】

102 / 257
GPON OLT CLI Manual
qos scheduler { policy { sp | wrr | spwrr } | weight WEIGHT-LIST }

no qos scheduler { policy | weight [wrr | spwrr]}

【Function Description】
qos scheduler policy sp Set the Qos scheduling policy to SP.
qos scheduler policy wrr Set the QoS scheduling policy to WRR
qos scheduler policy spwrr Set the Qos scheduling policy to
SPWRR.
qos scheduler weight WEIGHT-LIST
Set the weight value of the current Qos scheduling policy.
no qos scheduler policy Set the QoS scheduling policy to restore the
default value.
no qos scheduler weight Set the QoS scheduling weight to restore the default value.
no qos scheduler weight wrr
Set the Qos scheduling WRR weight to restore the default value.
no qos scheduler weight spwrr Set the Qos scheduling SP WRR weight to
restore the default value.
【Parameter】

Parameter Name Format Range Example


WEIGHT-LIST Weights integer , Total 100 10,20,30,40,0,0,0,
support for wrr:1-93 0
arithmetic spwrr:1-97
symbols
“,”

【Mode】
Global configurationMode or PON、SNI port Mode
【Note】

【Example】
OLT(config)> qos scheduler policy spwrr
OLT(config)> qos scheduler weight 10,20,30,40,0,0,0,0

14.2.6 show qos scheduler


【Command】

show qos scheduler [PORTS[config] ] | config

【Function Description】
Displays the QoS scheduling policy.
show qos scheduler Display all port QoS scheduling running information。
show qos scheduler config Display all port QoS scheduling configuration

103 / 257
GPON OLT CLI Manual
information。
show qos schedulerPORTS Display specified port QoS scheduling operation
information。
show qos schedulerPORTS config
Display specified port QoS scheduling configuration information
【Parameter】

Parameter Name Format Range Example


PORTS port Port type + slot number / PON、SNI port s3/5,p5/6
number port number , support for
arithmetic symbols “,”、“-”

【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> showqos scheduler

14.2.7 show qos


【Command】

show qos [PORTS]

【Function Description】
Display QoS configuration information, including global parameters, queue mapping,
and scheduling policies.
【Parameter】

Parameter Name Format Range Example


PORTS port Port type + slot number / PON、SNI port s3/5,p5/6
number port number , support for
arithmetic symbols “,”、“-”

【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos port s3/5,s3/4

14.2.8show qos device


104 / 257
GPON OLT CLI Manual
【Command】

show qos device [map | scheduler]

【Function Description】
Display QoS device configuration information.
show qos device Display all configuration information of QoS
device。
show qos device map Display QoS device map configuration
information。
show qos device scheduler Display all configuration information of QoS
device scheduler.

【Parameter】
Null
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos device

105 / 257
GPON OLT CLI Manual

Chapter 15 ACL configuration

15.1 Overview

The OLT device supports the classification of service flows and performs filtering
control on the port input data based on the traffic classifier. When an ACL rule is configured
on the port, the input data stream is controlled according to the ACL rule.
The parameters that can be used for service flow classification include: MAC DA, MAC
SA, EthernetType (such as PPPoE, IPoE, IPv6oE, etc.), VLAN, destination IPv4 address,
source IPv4 address, IP protocol type (such as TCP, UDP, ICMPv4, ICMPv6, IGMP). , MLD,
etc., IP precedence (DSCP), destination L4 protocol port, source L4 protocol port.
This section describes the ACL related commands.

15.2 Command

15.2.1 access-list
【Command】
access-list { mac | standard | extended | ipv6 } {ACL-NAME |ACL-NUMBER}

【Function Description】
access-list mac ACL-NAME Create a MAC-based ACL and enter the Mode (if
it exists, enter the ACL configuration mode directly)
access-list standard ACL-NAME Create a standard ACL and enter the Mode (if
it exists, enter the ACL configuration mode directly)
access-list extended ACL-NAME Create an extended ACL and enter the Mode
(if it exists, enter the ACL configuration mode directly)
access-list ipv6 ACL-NAME Create an ipv6 ACL and enter the Mode (if it
exists, enter the ACL configuration mode directly)
【Parameter】

Parameter Name Format Range Example


ACL-NAME ACLName Ascii code string Length <32Bytes m200
ACL- ACL ID Decimal integer <1-399> 100
NUMBER

【Mode】
Global configurationMode
【Note】
Different types of ACLs cannot use the same Name.
PTC88C does not support ipv6 acl due to resource issues;

106 / 257
GPON OLT CLI Manual
Standard ACL ID: 1~99
extended ACL ID: 100~199
MAC ACL ID: 200~299
IPV6 ACL ID: 300~399

【Example】
OLT(config)>access-list mac m200
OLT(config-aclmac-m200)>

15.2.1.1 mac acl rule


【Command】
{permit | deny} [ ethernet-type { ETHERNET-TYPE-NAME | ETHERNET-CODE } ]
[ vlanVLAN-ID ] [ inner-vlan VLAN-ID ][8021p COS-VALUE ]{ sourceSOURCE-MAC
[SOURCE-MAC-WILDCARD ] | any } { destinationDEST-MAC [DEST-MAC-
WILDCARD ]| any } [time-rangeTIME-RANGE-NAME ]

【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】

Parameter Name Format Range Example


ETHERNET-TYPE- Ethernet type code string ipv4,arp
NAME
ETHERNET-CODE Ethernet type Hexadecimal <1- 0x0800
coding integer 65535>
VLAN-ID vlan id Decimal integer <1-4094> 100
COS-VALUE 8021p priority Decimal integer <1-8> 5
SOURCE-MAC Mac address H.H.H or H-H- 1234.5678.9abc
DESTINATION_MAC H-H-H-H
SOURCE-MAC- Mac address H.H.H or H-H- ffff.ffff.0000
WILDCARD mask H-H-H-H
DESTINATION-MAC -
WILDCARD
TIME-RANGE-NAME Time period code string
name

【Mode】
MAC ACLcpnfiguration Mode
【Note】
PTC88Cdo not support inner-vlan。
【Example】
OLT(config)>access-list mac m200
OLT(config-aclmac-m200)> deny vlan 100 any destination 0011.2233.4455 ffff.ffff.0000

107 / 257
GPON OLT CLI Manual

15.2.1.2 standard acl rule


【Command】
{permit | deny} { SOURCE-IP [SOURCE-IP-WILDCARD] | any } [time-rangeTIME-
RANGE-NAME ]

【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】

Parameter Name Format Range Example


SOURCE-IP Source ip A.B.C.D 192.168.0.1
address
SOURCE-IP-WILDCARD IP mask A.B.C.D 255.255.255.0
TIME-RANGE-NAME Time period code string
name

【Mode】
Standard ACL configuration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1

15.2.1.3 extended acl rule


【Command】
{permit | deny} [ ip-protocol {PROTOCOL-TYPE | PROTOCOL-CODE}]
{sourceSOURCE-IP[SOURCE-IP-WILDCARD]| any } [ portSRC-PORT-NUM ]
{ destinationDST-IP [DEST-IP-WILDCARD] | any } [ portDST-PORT-NUM ]
[ dscpDSCP ] [time-rangeTIME-RANGE-NAME]

【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】

Parameter Name Format Range Example


PROTOCOL-TYPE Ip protocol type code string tcp,udp
PROTOCOL-CODE Ip protocol type Decimal integer <0-255> 6
encoding
SOURCE-IP Source ip A.B.C.D 192.168.0.1
address
SOURCE-IP- Source ip A.B.C.D 255.255.255.0
WILDCARD address mask

108 / 257
GPON OLT CLI Manual
SRC-PORT-NUM Source protocol Decimal integer <0- 80
port number 65535>
DST-IP Destination ip A.B.C.D 192.168.0.2
address
DEST-IP-WILDCARD Destination ip A.B.C.D 255.255.255.0
address mask
DST-PORT-NUM Destination Decimalinteger <0- 80
protocol port 65535>
number
DSCP Dscp priority Decimal integer <0-63> 32
TIME-RANGE-NAME Time period Code string

【Mode】
Extended ACL configuration mode
【Note】
Null。
【Example】
OLT(config)>access-list extended e100
OLT(config-aclex-e100)> deny any destination 192.168.0.1 255.255.255.0

15.2.1.4 no
【Command】
No RULE-INDEX

【Function Description】
Delete an ACL rule from the current ACL list.
【Parameter】

Paramet Name Format Range Example


er
RULE-INDEX ACL rule index integer <1-16> View through show 1
number Command

【Mode】
MAC、standard、exended、ipv6 ACL configuration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
OLT(config-aclstd-s1)> show
OLT(config-aclstd-s1)>no 1

109 / 257
GPON OLT CLI Manual

15.2.1.5 show
【Command】
show

【Function Description】
Display rule information of the current ACL
【Parameter】
Null
【Mode】
MAC、standard、exended、ipv6 ACLconfiguration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
OLT(config-aclstd-s1)> show

15.2.1.6 ipv6 acl rule


【Command】
{permit | deny} [ next-header {PROTOCOL-TYPE | PROTOCOL-CODE}]
{sourceSOURCE-IPV6-ADDRESS | any } [ portSRC-PORT-NUM ] { destinationDST-
IPV6-ADDRESS | any } [ portDST-PORT-NUM ] [ traffic-class DSCP ] [time-
rangeTIME-RANGE-NAME]

【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】

Parameter Name Format Range Example


PROTOCOL-TYPE Ip protocol type Code string tcp,udp
PROTOCOL-CODE Ip protocol type Decimal integer <0-255> 6
encoding
SOURCE-IPV6 Source ipv6 HH:HH:HH:HH:H 2001::1/64
address H:HH:HH:HH/N
Or HH::HH/N
SRC-PORT-NUM Source protocol Decimal integer <0- 80
port number 65535>
DST-IPV6 Destination ipv6 HH:HH:HH:HH:H 2001::1/64
address H:HH:HH:HH/N
Or HH::HH/N
DST-PORT-NUM Destination Decimal integer <0- 80
protocol port 65535>

110 / 257
GPON OLT CLI Manual
number
DSCP Dscp priority Decimal integer <0-63> 32
TIME-RANGE-NAME period Code string

【Mode】
Ipv6 ACL configuration Mode
【Note】
PTC88C does not support ipv6 acl due to resource issues
【Example】
OLT(config)>access-list ipv6 ttt
OLT(config-aclex-e100)> deny any destination 2001::1/64

15.2.2 no access-list
【Command】
no access-list ACL-INDEX-LIST
【Function Description】
Delete ACL list
【Parameter】

Parameter Name Format Range Example


ACL-INDEX- ACL index integerlist <1-399> View through 200-220
LIST number showCommand

【Mode】
Global configurationMode
【Note】
If the ACL has been applied to the port, it cannot be deleted.
【Example】
OLT(config)>no access-list 200

15.2.3 show access-list


【Command】
show access-lists [ ACL-INDEX-LIST| ACL-NAME ]

【Function Description】
Displays the created ACL information.
【Parameter】

Parameter Name Format Range Example


ACL-INDEX- ACL index integerlist <1-399> View through 200-205
LIST number showCommand

111 / 257
GPON OLT CLI Manual
ACL-NAME ACLName Ascii Code length<32Bytes m200
string

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show access-lists

15.2.4 access-group
【Command】
access-group { ACL-INDEX-LIST | ACL-NAME }

【Function Description】
Load the ACL rule to the port through the ACL index number or ACLName.
【Parameter】

Parameter Name Format Range Example


ACL-INDEX-LIST ACL index integerlist <1-399> View through 200,210
number showCommand
ACL-NAME ACLName Ascii code length<32Bytes m200
string

【Mode】
PON、SNI port Mode
【Note】
Null
【Example】
OLT(config)>interface s3/5
OLT(config-if-s1/2)>access-group 200
OLT(config-if-s1/2)>access-group m200

15.2.5 no access-group
【Command】
noaccess-group { ACL-INDE -LIST | ACL-NAME }

【Function Description】
Delete ACL rule list
【Parameter】

112 / 257
GPON OLT CLI Manual

Parameter Name Format Range Exampl


e
ACL-INDEX-LIST ACL index integerlist <1-399> View through 200
number showCommand
ACL-NAME ACLName Ascii code length<32Bytes m200
string

【Mode】
PON、SNI port Mode
【Note】
Null。
【Example】
OLT(config)>interface s3/5
OLT(config-if-s1/2)>no access-group 200
OLT(config-if-s1/2)> no access-group m200

15.2.6 show access-group


【Command】
show access-group [PORTS]

【Function Description】
Displays the ACL information loaded to the port.
【Parameter】

Parameter Name Format Range Example


PORTS Port list Port type + slot number / PON、SNI port s3/5,p5/6
port number

【Mode】
All Mode
【Note】
Null
【Example】

OLT(config)>show access-group

15.2.7 traffic-priority
【Command】
traffic-priority acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] {dscp
DSCP | cos-queue QUEUE-ID |traffic-class DSCP }

113 / 257
GPON OLT CLI Manual
no traffic-priority acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] {dscp
DSCP | cos-queue QUEUE-ID |traffic-class DSCP }

【Function Description】
Apply ACL priority marking to the rx of the port.

【Parameter】

Parameter Name Format Range Exampl


e
ACL-NUMBER ACL index integerlist <1-399> view through 200
number showCommand
ACL-NAME ACLName Ascii code length<32Bytes m200
string
RULE-NUMBER Rule ID Decimal <1-128> 1
integer
DSCP Dscp value Decimal <0~63> 32
integer
QUEUE-ID Cos Queue Decimal <1-8> 5
value integer

【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】
OLT(config)>interface pon 6/5
OLT(config-if-6/5)>traffic-priority acl 1 rule 1 dscp 32
OLT(config-if-6/5)> no traffic-priority acl 1 rule 1 dscp 32
OLT(config-if-6/5)> show access-group 6/5

15.2.8 traffic-redirect
【Command】
traffic-redirect acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] interface
PORT
no traffic-redirect acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
interface PORT

【Function Description】
Apply ACL redirection to the rx interface, redirects the stream matching the acl rule to
the specified port.
【Parameter】

114 / 257
GPON OLT CLI Manual

Parameter Name Format Range Example


ACL-NUMBER ACLindex integerlist <1-399> view through show 200
number Command
ACL-NAME ACLName Ascii code length<32Bytes m200
string
RULE-NUMBER Rule id integer <1-128> 1
PORT port Slot PON、SNI port s3/5,p5/6
number/port
number

【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】

OLT(config)>interface pon 6/5


OLT(config-if-6/5)>traffic-redirect acl 1 rule 1 interface 3/5
OLT(config-if-6/5)> no traffic-redirect acl 1 rule 1 interface 3/5
OLT(config-if-6/5)show access-group

15.2.9 traffic-mirror
【Command】
traffic-mirror acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] interface
PORT-SWITCH
no traffic-mirror acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
interface PORT-SWITCH

【Function Description】
Mirror the flow matching the acl rule to the switch port
【Parameter】

Parameter Name Format Range Example


ACL-NUMBER ACLindex integerlist <1-399> view through 200
number showCommand
ACL-NAME ACLName Ascii code length<32Bytes m200
string
RULE-NUMBER Rule id integer <1-128> 1
PORT-SWITCH Switch port Slot SNI port s3/5
number/port
number

115 / 257
GPON OLT CLI Manual

【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】

OLT(config)>interface pon 6/5


OLT(config-if-6/5)>traffic-mirror acl 1 rule 1 interface 3/5
OLT(config-if-6/5)> no traffic-mirror acl 1 rule 1 interface 3/5
OLT(config-if-6/5)show access-group

15.2.10 traffic-limit
【Command】
traffic-limit acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE
no traffic-limit acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE

【Functional Description】
Ingress limit is set for the flow matching the acl rule.
【Parameter】

Parameter Name Format Ranges Example


ACL-NUMBER ACL Index List of integers <1-399>by show command 200
Number to view
ACL-NAME ACL Name Ascii code Length<32Bytes m200
string
RULE-NUMBER Rule id Integer <1-128> 1
CIR-KBPS CIR Integer,kbps <1-950000> 10000
Guaranteed
rate
BUCKET-SIZE Guarantee Integer <1-4294967294> 20000
burst barrel
depth

【Mode】
PON、SNI Port Mode
【Note】
Only the permit rule can be applied;
Due to limited resources,OLT cbs Ranges 为<1-134217>。

116 / 257
GPON OLT CLI Manual
【Example】

OLT(config)>interface pon 6/5


OLT(config-if-6/5)>traffic-limit acl 1 rule 1 cir 10000 cbs 20000
OLT(config-if-6/5)> no traffic-limit acl 1 rule 1cir 10000 cbs 20000
OLT(config-if-6/5)show access-group

15.2.11 traffic-shape
【Command】
traffic-shape acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE
no traffic-shape acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir
CIR-KBPS cbs BUCKET-SIZE

【Functional Description】
Exports the rate limit of the flow matching the acl rule.
【Parameter】

Parameter Name Format Ranges Example


ACL-NUMBER ACL Index List of integers <1-399>by show command 200
Number to view
ACL-NAME ACL Name Ascii code Length<32Bytes m200
string
RULE-NUMBER Rule id Integer <1-128> 1
CIR-KBPS CIR Integer,kbps <1-950000> 10000
Guaranteed
rate
BUCKET-SIZE Guarantee Integer <1-4294967294> 20000
burst barrel
depth

【Mode】
PON、SNI Port Mode
【Note】
Only the permit rule can be applied only to the known unicast;
Due to limited resources, OLT cbs Ranges is <1-134217>.
【Example】

OLT(config)>interface pon 6/5


OLT(config-if-6/5)>traffic-shape acl 1 rule 1 cir 10000 cbs 20000
OLT(config-if-6/5)> no traffic-shape acl 1 rule 1cir 10000 cbs 20000
OLT(config-if-6/5)show access-group

117 / 257
GPON OLT CLI Manual

15.2.12 traffic-statistic
【Command】
traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
no traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
show traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]

【Functional Description】
The statistics match the number of stream bytes and the number of packets of the
acl rule.
【Parameter】

Parameter Name Format Ranges Example


ACL-NUMBER ACL Index List of <1-399> by show command 200
Number integers to view
ACL-NAME ACL Name Ascii code length <32Bytes m200
string
RULE- Rule id Integer <1-128> 1
NUMBER

【Mode】
PON、SNI Port Mode
【Note】
Due to limited resources, the OLT can only count the number of bytes.。
Only the permit rule can be applied;
【Example】

OLT(config)>interface pon 6/5


OLT(config-if-6/5)>traffic-statistic acl 1 rule 1
OLT(config-if-6/5)> no traffic-statistic acl 1 rule 1
OLT(config-if-6/5)show traffic-statistic acl 1 rule 1

15.2.13 time-range
【Command】
time-rangeTIME-RANGE-NAME

no time-range { all | name TIME-RANGE-NAME }

show time-range [TIME-RANGE-NAME ]

【Functional Description】
time-range TIME-RANGE-NAME Create a time-range and enter the configuration
mode (if it exists, go directly to the configuration mode)

118 / 257
GPON OLT CLI Manual
no time-range { all | name TIME-RANGE-NAME } Delete time-range

show time-range [TIME-RANGE-NAME ] Show time-range

【Parameter】

Parameter Name Format Ranges Example


TIME-RANGE- Time Ascii code Length<32Bytes m200
NAME period string
Name

【Mode】
Global Configuration Mode
【Note】
The time-range being used cannot be deleted;
Allows creation of up to 16 time-ranges.
【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>show
OLT(config-time-range-test)>show

15.2.13.1 absolute
【Command】
absolute {[start YYYY-MM-DD HH:MM ] [end YYYY-MM-DD HH:MM ]}

no absolute {[start YYYY-MM-DD HH:MM ] [end YYYY-MM-DD HH:MM ]}

【Functional Description】
Add an absolute time period:

absolute start YYYY-MM-DD HH:MM, Indicates the maximum time that can be
represented from start to system;;

absolute end YYYY-MM-DD HH:MM,Indicates from current time to end;

absolute start YYYY-MM-DD HH:MM end YYYY-MM-DD HH:MM,Indicates from


start to end;;

Delete An absolute time period::

no absolute {[start YYYY-MM-DD HH:MM ] [end YYYY-MM-DD HH:MM ]}

【Parameter】

Parameter Name Format Ranges Example


YYYY-MM-DD Y-M-D Date 2017-11-15

119 / 257
GPON OLT CLI Manual
HH:MM H:M Time 15:30

【Mode】
Time-range config Mode
【Note】
Allows the addition of up to 12 absolute absolute time rules; the absolute rules cannot be
crossed.【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show

15.2.13.2 periodic
【Command】
periodic { WEEKDAY | WEEK-LIST | weekdays | weekend | daily } from HH:MM
to HH:MM

no periodic{ WEEKDAY | WEEK-LIST | weekdays | weekend | daily } from


HH:MM to HH:MM

【Functional Description】
Add a cycle time period:

periodic { WEEKDAY | WEEK-LIST | weekdays | weekend | daily } from HH:MM


to HH:MM ,Indicates the time period from from to to the week of the week;

Delete One cycle time period:

no periodic{ WEEKDAY | WEEK-LIST | weekdays | weekend | daily } from


HH:MM to HH:MM

【Parameter】

Parameter Name Format Ranges Example


WEEKDAY Week String sun, mon, tue, wed, mon
thur, fri, sat
WEEK-LIST Week Integer <1-7> 1-3
HH:MM H:M Time 15:30

【Mode】
Time-range config Mode
【Note】
Periodic time segment can be merged automatically within the same day.
【Example】
OLT(config)>time-range test

120 / 257
GPON OLT CLI Manual
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show

15.2.13.3 show
【Command】
show [ periodic | absolute ]

【Functional Description】
Show current time-range info
【Parameter】
Null
【Mode】
Time-range config Mode
【Note】
Null
【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show

121 / 257
GPON OLT CLI Manual

Chapter 16 STP Configuration

16.1 Overview

This chapter mainly describes the spanning tree STP, RSTP, MSTP global, Port
configuration, restore and Show.

16.2 Command

16.2.1 Global Configuration

16.2.1.1 spanning-tree

【Command】
spanning-tree
no spanning-tree
【Functional Description】
spanning-tree Enable the Spanning Tree protocol
no spanning-tree Disable the Spanning Tree protocol
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree

16.2.1.2 spanning-tree mode

【Command】
spanning-treemode { sstp | rstp | mstp }
no spanning-tree mode
【Functional Description】
spanning-tree mode sstp Set the STP running version to STP.
spanning-tree mode rstp Set the STP running version to RSTP.
spanning-tree mode mstp Set the STP running version to MSTP.
no spanning-tree mode Restore the STP running version to the

122 / 257
GPON OLT CLI Manual
default value
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree mode rstp

16.2.1.3 spanning-tree priority

【Command】
spanning-tree [ mst instance INSTANCE-ID ] priority PRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] priority
【Functional Description】
spanning-tree priorityPRIORITY Configure the bridge priority of
STP and RSTP, or the bridge priority of MSTP in instance 0 (that is, the public
instance).
no spanning-tree priority Restore the bridge priority of STP,
RSTP, or the bridge priority of MSTP in instance 0 (ie: public instance) to the default
value of 32768, 32768÷4096=8

spanning-tree mst instance INSTANCE-IDpriority PRIORITY


Configure the priority of the MSTP bridge in the INSTANCE-ID instance.
no spanning-tree mst instance INSTANCE-IDpriority Restore the
priority of the MSTP bridge in the instance INSTANCE-ID to the default value of
32768, 32768÷4096=8
【Parameter】

Parameter Name Format Ranges Exampl


e

INSTANCE-ID Instance Integer [1,16] 8


Number

PRIORITY Bridge Integer,Step size [0,15] 5


Priority 4096

【Mode】
Global Configuration Mode
【Note】

123 / 257
GPON OLT CLI Manual
The priority parameter value entered here is the quotient of the actual bridge priority of
the protocol divided by 4096. That is, the actual bridge priority of the protocol operation is
the product of the input Parameter[0,15] multiplied by the step size 4096.
【Example】
OLT(config)# spanning-tree priority 9

16.2.1.4 spanning-tree max-age

【Command】
spanning-treemax-ageAGING-TIME
no spanning-treemax-age
【Functional Description】
spanning-tree max-ageAGING-TIME Configure the aging time of
the packets in the spanning tree.
no spanning-tree max-age Restore the aging time of the packets of the
spanning tree to the default value, 20 seconds.
【Parameter】
Parameter Name Format Ranges Exampl
e

AGING- Aging Time Integer,Unit: second [6,40] 10


TIME

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree max-age 25

16.2.1.5 spanning-tree hello-time

【Command】
spanning-tree hello-timeHELLO-TIME
no spanning-tree hello-time
【Functional Description】
spanning-tree hello-timeHELLO-TIME Configure the interval for sending
packets in the spanning tree.
no spanning-tree hello-time Restore the packet sending interval of the
spanning tree to the default value, 2 seconds.
【Parameter】

124 / 257
GPON OLT CLI Manual

Parameter Name Format Ranges Examp


le

HELLO-TIME Message Integer,Unit: [1,10] 10


transmission interval Second

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree hello-time 10

16.2.1.6 spanning-tree forward-time

【Command】
spanning-tree forward-timeFORWARD-DELAY
no spanning-tree forward-time
【Functional Description】
spanning-tree forward-timeFORWARD-DELAY Configure the forward
delay of the spanning tree
no spanning-tree forward-time Restore the spanning tree's forward
delay to the default value, 15 seconds
【Parameter】

Parameter Name Format Ranges Examp


le

FORWARD- Forward Delay Integer, Unit [4,30] 10


DELAY Second

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree forward-time 20

125 / 257
GPON OLT CLI Manual

16.2.1.7 spanning-tree tx-hold-count

【Command】
spanning-tree tx-hold-countNUMBER
no spanning-tree tx-hold-count
【Functional Description】
spanning-tree tx-hold-countNUMBER Configure the maximum number of
packets sent per second in the spanning tree.
no spanning-tree tx-hold-count Restores the maximum number of
packets sent per second in the spanning tree to the default value of 6.
【Parameter】

Parameter Name Format Ranges Examp


le

NUMBER Maximum number of Integer, Unit [1,10] 5


messages sent per Number
Second

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree tx-hold-count 8

16.2.1.8 spanning-tree pathcost-method

【Command】
spanning-tree pathcost-method { long | short }
no spanning-tree pathcost-method
【Functional Description】
spanning-tree pathcost-method { long | short } Configure the default
calculation method for the port path of the spanning tree. Set the value to long or
short.
no spanning-tree pathcost-method Restore the default
calculation method for the port path of the spanning tree to the default value, STP:
short; RSTP, MSTP: long
【Parameter】
Null
【Mode】
Global Configuration Mode

126 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config)# spanning-tree pathcost-method long

16.2.1.9 spanning-tree mst max-hops

【Command】
spanning-tree mst max-hopsMAX-HOPS
no spanning-tree mst max-hops
【Functional Description】
spanning-tree mst max-hops MAX-HOPS Configure the maximum hops of
the MSTP spanning tree.
no spanning-tree mst max-hops Restore the maximum hop count
of the MSTP spanning tree to the default value, 20 hops.
【Parameter】
Parameter Name Format Ranges Examp
le

MAX-HOPS Maximum number of hops Integer [1,40] 20

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree mst max-hops 30

16.2.2 MST Domain Configuration

16.2.2.1 spanning-tree region-configuration

【Command】
spanning-tree region-configuration
no spanning-tree region-configuration
【Functional Description】
spanning-tree region-configuration Enter the MST region configuration
mode of the MSTP spanning tree.
no spanning-tree region-configuration Restore the MST region configuration
of the MSTP spanning tree to the default value.
【Parameter】

127 / 257
GPON OLT CLI Manual
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree region-configuration
OLT(config-mst-region)>

16.2.2.2 spanning-tree mst name

【Command】
spanning-tree mst nameNAME
no spanning-tree mst name
【Functional Description】
spanning-tree mst nameNAME Configure the MST domain name of the
MSTP spanning tree.
no spanning-tree mst name Restore the MST domain name of the
MSTP spanning tree to the default value.
【Parameter】

Para Name Format Ranges Example


meter

NAME Domain name (ie: Ascii code Length≤32Byte V1000ist1


identifier Name) string s

【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst name v1000ist1

16.2.2.3 spanning-tree mst revision

【Command】
spanning-tree mst revisionREVISION-LEVEL
no spanning-tree mst revision
【Functional Description】
spanning-tree mst revisionREVISION-LEVEL Configure the revision level of

128 / 257
GPON OLT CLI Manual
the MSTP spanning tree.
no spanning-tree mst revision Restore the MSTP spanning
tree correction level to the default value, 0
【Parameter】

Parameter Name Format Ranges Example

REVISION-LEVEL Correction Integer [0,65535] 100


level

【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst revision 1001

16.2.2.4 spanning-tree mst instance

【Command】
spanning-tree mst instanceINSTANCE-ID vlan VLAN-LIST
no spanning-tree mst instance INSTANCE-ID [ vlan VLAN-LIST ]
【Functional Description】
spanning-tree mst instance INSTANCE-ID vlanVLAN-LIST Map the VLAN
list to the INSTANCE-ID of the MSTP spanning tree.
Note: VLAN-LIST must be created.By default, all created VLANs are mapped to
instance 0 of the MSTP spanning tree.
no spanning-tree mst instance INSTANCE-ID vlanVLAN-LIST The VLAN-
LIST in the INSTANCE-ID mapped to the MSTP spanning tree is restored to the
default configuration, that is, in the INSTANCE-ID of the MSTP spanning tree, the
Delete VLAN list, and the deleted VLAN-LIST will be remapped into the instance 0.
no spanning-tree mst instance INSTANCE-ID The vlan list in
the INSTANCE-ID mapped to the MSTP spanning tree is restored to the default
configuration, that is, all VLANs mapped in the INSTANCE-ID of the MSTP spanning
tree are deleted, and all VLANs in the instance are remapped into the instance 0.
【Parameter】

Parameter Name Format Ranges Example

INSTANCE- INSTANC Integer [1,16] 8


ID E ID

129 / 257
GPON OLT CLI Manual

VLAN-LIST VLAN List Integer,Support operator [1,4094] 10,20-50


“,”、“-”

【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst instance 1 vlan 1000

16.2.3 Port Configuration

16.2.3.1 spanning-tree Enable

【Command】
spanning-tree { Enable | Disable }
【Functional Description】
spanning-tree Enable Enable the spanning tree function of the current
port
spanning-tree Disable Disable the spanning tree function of the current
port
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config)# interface s1/1
OLT(config-if-s1/1)# spanning-tree Enable

16.2.3.2 spanning-tree Port -priority

【Command】
spanning-tree [ mst instance INSTANCE-ID ] Port -priorityPRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] Port -priority
【Functional Description】
spanning-tree Port -priorityPRIORITY Configure the port priority of
STP and RSTP, or the port priority of MSTP in instance 0 (that is, the public

130 / 257
GPON OLT CLI Manual
instance).
no spanning-tree Port -priority Restore the port priority of
STP and RSTP, or the port priority of MSTP in instance 0 (that is, the public
instance) to the default value of 128, 128÷16=8.
spanning-tree mst instanceINSTANCE-ID Port -priority PRIORITY
Configure the priority of the MSTP port in the INSTANCE-ID
no spanning-tree mst instanceINSTANCE-ID Port -priority Restore the
priority of the MSTP port in the INSTANCE-ID to the default value of 128, 128÷16=8
【Parameter】

Parameter Name Format Ranges Example

PRIORITY Port priority Integer,Multiple [0,15] 5


of 16

INSTANCE- Instance Integer [1,16] 8


ID number

【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)# spanning-tree Port -priority 6

16.2.3.3 spanning-tree Port -cost


【Command】
spanning-tree [ mst external ] Port -cost PORT -COST
no spanning-tree [ mst external ] Port -cost
spanning-tree mst instance INSTANCE-ID Port -cost PORT -COST
no spanning-tree mst instance INSTANCE-ID Port -cost
【Functional Description】
spanning-tree Port -cost PORT -COST Configure the path cost of the
STP and RSTP ports.
no spanning-tree Port -cost Restore the port path cost of STP
and RSTP to the default value.
spanning-tree mst external Port -cost PORT -COST Configure the external
path cost of the port of MSTP.
no spanning-tree mst external Port -cost Restore the external path cost
of the MSTP port to the default value.
spanning-tree mst instanceINSTANCE-ID Port -cost PORT -COST
Configure the path cost of an MSTP port on an instance.

131 / 257
GPON OLT CLI Manual
no spanning-tree mst instanceINSTANCE-ID Port -cost Restore the path
cost of the MSTP port inside an instance to the default value....
【Parameter】
Parameter Name Form Ranges Example
at

PORT - Port Path Integ [1,200000000] 300000


COST cost er

INSTANCE- Instance Integ [1,16] 8


ID number er

【Mode】
SNI Mode
【Note】
This default value is automatically calculated based on the link rate of the port and the
path cost algorithm of the device.
【Example】
OLT(config-if-s1/1)# spanning-tree Port -cost 200000

16.2.4 Query

16.2.4.1 show spanning-tree


【Command】
show spanning-tree [{ interface PORT -ID| max-age | hello-time |forward-time
| tx-hold-count | pathcost-method | brief }]
show spanning-tree mst { max-hops | region-configuration | instance { brief |
id INSTANCE-ID [ priority | interface PORT -ID ] } }
【Functional Description】
show spanning-tree Show Spanning tree parameter
information and spanning tree topology information
show spanning-tree interface PORT -ID Show the spanning tree information of
the specified port
show spanning-tree max-age Show spanning tree max-age Parameter
information
show spanning-tree hello-time Show spanning tree Hello
timeParameter information
show spanning-tree forward-time Show spanning forward-timeParameter
information
show spanning-tree tx-hold-count Show spanning tx-hold-
countParameter information
show spanning-tree pathcost-method Show spanning pathcost

132 / 257
GPON OLT CLI Manual
methodParameter information show spanning-tree brief Show
summary of each port in STP, RSTP, or MSTP instance 0
show spanning-tree mst max-hops Show MSTP max hopsParameter
information
show spanning-tree mst region-configuration Show MSTP domain
configuration information, including the domain name, the revision level, and the
mapping between VLANs and instances.
show spanning-tree mst instance brief Show summary information for all
Ports of all instances of MSTP
show spanning-tree mst instance id INSTANCE-ID Show Port information in an
instance of MSTP
show spanning-tree mst instance id INSTANCE-IDpriority Show bridge
priority within an instance of MSTP
show spanning-tree mst instance id INSTANCE-ID interface PORT -ID
Show a Port information within an instance of MSTP
【Parameter】
Parameter Name Format Ranges Exa
mple

PORT -ID SNI Port Port type+ slot number/ Port type: s1/3
number Port number s

INSTANCE-ID Instance Integer [1,16] 8


number

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config-if-s1/3)# show spanning-tree interface s1/3

133 / 257
GPON OLT CLI Manual

Chapter 17 Multicast
ConfigurationChapter

17.1 Overview

This chapter mainly describes the configuration, restore, and show of pon Port, onu
remote, switched port, and controllable multicast for IGMP multicast management.

17.2 Command

17.2.1 igmp
【Command】
igmp {Enable | Disable }
【Functional Description】
igmp Enable Enable igmp
igmp Disable Disable igmp
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp Enable
OLT(config)>igmp Disable

17.2.1 igmp l3mc


【Command】
igmp l3mc {Enable | Disable }
【Functional Description】
igmp l3mc Enable Enable l3 igmp
igmp l3mc Disable Disable l3 igmp
【Parameter】
Null
【Mode】
Global Configuration Mode

134 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config)>igmp l3mc Enable
OLT(config)>igmp l3mc Disable

17.2.2 igmp mode


【Command】
igmp mode protocol
no igmp mode
【Functional Description】
igmp mode protocol Configure igmp mode as protocol mode.
no igmp mode Restore igmp mode to default value
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp mode protocol
OLT(config)>no igmp mode

17.2.3 igmp protocol query-interval


【Command】
igmp protocol query-interval INTERVAL
no igmp protocol query-interval
【Functional Description】
igmp protocol query-interval INTERVAL Configure the interval for sending igmp
messages to query igmp members.
no igmp protocol query-interval Restore the igmp interval for sending igmp
queries to IGMP members.
【Parameter】

Parameter Name Format Ranges Exampl


e
INTERVAL Igmp packet Interval Integer, Unit [10000,153600 10000
Millisecond 00]

【Mode】

135 / 257
GPON OLT CLI Manual
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol query-interval 10000

17.2.4 igmp protocol max-query-response-


interval
【Command】
igmp protocol max-query-response-interval INTERVAL
no igmp protocol max-query-response-interval
【Functional Description】
igmp protocol max-query-response-intervalINTERVAL Configure the
maximum interval for responding igmp IGMP members.
no igmp protocol max-query-response-interval Restore the
maximum interval for responding igmp members to the default interval.
【Parameter】

Parameter Name Format Ranges Exampl


e
INTERVAL Igmp packet interval Integer, Unit [10000,153600 10000
millisecond 00]

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol max-query-response-interval 10000

17.2.5 igmp protocol last-member-query-interval


【Command】
igmp protocol last-member-query-intervalINTERVAL
no igmp protocol last-member-query-interval
【Functional Description】
igmp protocol last-member-query-intervalINTERVAL Configure the
last member query interval in a igmp group.
no igmp protocol last-member-query-interval Restore the last
member query interval in the IGMP group to the default value.

136 / 257
GPON OLT CLI Manual
【Parameter】

Parameter Name Format Ranges Exampl


e
INTERVAL Igmp packet interval Integer, Unit [10000,153600 10000
millisecond 00]

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol last-member-query-interval 10000

17.2.6 igmp protocol last-member-query-count


【Command】
igmp protocol last-member-query-countREPEAT-COUNT
no igmp protocol last-member-query-count
【Functional Description】
igmp protocol last-member-query-countINTERVAL Configure the
number of last member queries in a IGMP group.
no igmp protocol last-member-query-count Restore the default
number of member queries in the IGMP group to the default value.
【Parameter】

Parameter Name Format Ranges Exampl


e
REPEATE- Last member Integer [2,7] 2
COUNT query count

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol last-member-query-count2

17.2.7 igmp protocol robust


【Command】
igmp protocol robustRANGE

137 / 257
GPON OLT CLI Manual
no igmp protocol robust
【Functional Description】
igmp protocol robustRANGE Configuring igmp robustness variables
no igmp protocol robust Restore the igmp robustness variable
to the default value
【Parameter】

Parameter Name Format Ranges Exampl


e
RANGE Robust variable Integer [2,7] 2

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol robust 2

17.2.8 show igmp protocol


【Command】
show igmp protocol
【Functional Description】
show igmp protocol Show IGMP Protocol configuration
information
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】

OLT(config)>show igmp protocol


[information]
Enable : Disable
l3mc_Enable : Disable
ipv6_Enable : Disable
mode : protocol mode
max query response time : 10000(ms)
robust : 2
query interval : 125000(ms)
last member query interval : 1000(ms)

138 / 257
GPON OLT CLI Manual
last member query count : 2
version : v2.0

17.2.9 show igmp forwarding


【Command】
show igmp forwarding [PROXY-NAME| host-vlan VLANS | server-vlan VLANS]
【Functional Description】
show igmp forwarding Show IGMP forward list
show igmp forwarding proxy-111 Show proxy-111 IGMP forward list
show igmp forwarding host-vlan 111 Show host-vlan 111 IGMP forward list
show igmp forwarding server-vlan 111 Show server-vlan 111 IGMP forward list

【Parameter】

Parameter Name Format Ranges Exampl


e
PROXY-NAME IGMP Agent Name ASCII cose size <=32 Proxy1
String
VLANS VLAN list Integer, [1,4094] 10-200
Support operator
“,”、“-”

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>showigmp forwarding
server vlan host vlan group Port s
----------- ----------- --------------- -------------------

Total: 0

17.2.10 igmp proxy server-vlan


【Command】
igmp proxy server-vlan VLAN-ID
no igmp proxy server-vlan VLAN-ID
【Functional Description】
igmp proxy server-vlan VLAN-ID Enter igmp-proxy configuration Mode

139 / 257
GPON OLT CLI Manual
no igmp proxy server-vlan VLAN-ID Delete igmp proxy VLAN
【Parameter】

Parameter Name Format Ranges Exampl


e
VLAN-ID VLAN ID Integer [1,4094] 100

【Mode】
Global Configuration Mode
【Note】
The actual range is [2,4093],vlan1 and vlan4094 occupied internally
【Example】
OLT(config)>igmp proxy server-vlan 100
OLT(config)>no igmp proxy server-vlan 100

17.2.11 show igmp proxy


【Command】
show igmp proxy [PROXY-NAME | VLANS ]
【Functional Description】
show igmp proxy Show proxy all igmp info
show igmp proxy proxy-111 Show proxy-111 info
show igmp proxy 111 Show server vlan 111 proxy info

【Parameter】

Parameter Name Format Ranges Exampl


e
PROXY-NAME IGMP Proxy Name ASCI code size <=32 Proxy1
String
VLANS VLAN list Integer, [1,4094] 10-200
Support
operator“,”、“-”

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show igmp proxy

17.2.12 Enable
140 / 257
GPON OLT CLI Manual
【Command】
{Enable | Disable }
【Functional Description】
Enable Enable igmp proxy
Disable Disable igmp proxy
【Parameter】

【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>Enable
OLT(config-if-igmp-proxy)>Disable

17.2.13 name
【Command】
name PROXY-NAME
no name
【Functional Description】
namePROXY-NAME Set proxy Name
no name delete proxyName
【Parameter】

Parameter Name Format Ranges Exampl


e
PROXY-NAME IGMP Proxy Name ASCI code size <=32 Proxy1
String

【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>name proxy1
OLT(config-if-igmp-proxy)>noname

17.2.14 hosts-vlan
【Command】
hosts-vlan{add VLANS | delete VLANS | clear}

141 / 257
GPON OLT CLI Manual
【Functional Description】
hosts-vlan add VLANS Add igmp proxy IGMP VLAN
hosts-vlan delete VLANS Delete igmp proxy IGMP VLAN
hosts-vlan clear Delete All igmp proxy IGMP VLAN
【Parameter】

Parameter Name Format Ranges Exampl


e
VLANS VLAN list Integer, [1,4094] 10-200
Support
operator“,”、
“-”

【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>hosts-vlan add 10-200
OLT(config-if-igmp-proxy)>hosts-vlan delete 10-200
OLT(config-if-igmp-proxy)>hosts-vlan clear

17.2.15 igmp static-router- Port


【Command】
igmp static-router- Port
no igmp static-router- Port
【Functional Description】
igmp static-router- Port Specify a IGMP static route port
no igmp static-router- Port Delete a multicast static route port
【Parameter】

【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>igmp static-router- Port
OLT(config-if-igmp-proxy)>no igmp static-router- Port

17.2.16 auto-re Port

142 / 257
GPON OLT CLI Manual
【Command】
auto-re Port Enable
auto-re Port Disable
auto-re Port interval INTERVAL

【Functional Description】
auto-re Port Enable auto re Port Enable
auto-re Port Disable auto re Port Disable
auto-re Port interval 1000 auto re Port delay config

【Parameter】

Parameter Name Format Ranges Exampl


e
INTERVAL Delay Integer, Unit [0,4294967295 200
0.1Second ]

【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】

OLT(config-if-igmp-proxy)>auto-re Port interval 1000


OLT(config-if-igmp-proxy)> auto-re Port Enable
OLT(config-if-igmp-proxy)> auto-re Port Disable

143 / 257
GPON OLT CLI Manual

Chapter 18 IP Configuration18.1 Overview

This chapter is mainly a description of IP INTERFACE and out-of-band INTERFACE


and PING functions.

18.2 IP INTERFACE

18.2.1 interface vlan-interface


【Command】
interface vlan-interface {< VLAN-ID> | < NAME>[INTERFACE-ID]}
no interface vlan-interface {<VLAN-ID> | < NAME >}
【Functional Description】
interface vlan-interface VLAN-ID [INTERFACE-ID]
If the parameter is VLAN-ID, enter the vlan-interface interface mode. If IP
INTERFACE does not exist, create it. The INTERFACE-ID is not recommended for users.
The system will assign this value by default.
interface vlan-interface NAME Enter the vlan-interface interface mode
named NAME
no interface vlan-interface VLAN-ID Delete current VLAN-ID vlan-interface
no interface vlan-interface NAME Delete vlan-interface interface mode
named NAME

【Parameter】

Parameter Name Format Ranges Exampl


e
VLAN-ID VLAN ID Integer [1,4094] 200
NAME vlan-interfaceName ASCI 码 String size <=32 Proxy1
INTERFACE-ID vlan interface id Integer [1,128] 1

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>interface vlan-interface 100
OLT(config)>no interface vlan-interface 100

144 / 257
GPON OLT CLI Manual

18.2.2 ip-address
【Command】
{ ip-address IP-ADDR [IP-MASK]| gate-way IP-GATEWAY }
no ip address [IP-ADDR]
append ip-address IP-ADDRIP-MASK
【Functional Description】
ip-address IP-ADDR configf IP address
ip-address IP-ADDRIP-MASK config IP address and mask
gate-way IP-GATEWAY config gateway
no ip addressIP-ADDR Delete added IP address
no ip-address Set IP, mask, and gateway to restore
defaults
append ip-address IP-ADDRIP-MASK Additional configuration of IP address and
mask
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
IP-MASK IP Mask A.B.C.D 255.255.0.0
IP-GATEWAY IP Gateway A.B.C.D 192.168.0.1

【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)> ip-address 192.168.10.10 255.255.255.0
OLT (config-if-vlan-interface-1)> gate-way 192.168.10.1
OLT (config-if-vlan-interface-1)>no ip address 192.168.20.10
OLT (config-if-vlan-interface-1)>no ip address
OLT (config-if-vlan-interface-1)>append ip-address 190.168.20.10 255.255.255.0

18.2.3 management in-band vlan


【Command】
management in-band vlanVLAN-ID
no management in-band vlan
【Functional Description】
management in-band vlanVLAN-ID change in-band IP INTERFACE VLAN ID
no management in-band vlan set IP INTERFACE VLAN ID to default

145 / 257
GPON OLT CLI Manual
【Parameter】

Parameter Name Format Ranges Exampl


e
VLAN-ID VLAN ID Integer [1,4094] 200

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT (config)>management in-band vlan 2

18.2.4vlan
【Command】
vlan< VLAN-ID>
【Functional Description】
vlanVLAN-ID Modify the VLAN ID number corresponding to the inband IP
INTERFACE
【Parameter】

Parameter Name Format Ranges Exampl


e
VLAN-ID VLAN ID Integer [1,4094] 200

【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>vlan 2

18.2.5 name
【Command】
name< NAME >
【Functional Description】
Modify the name of the IP INTERFACE.
【Parameter】

146 / 257
GPON OLT CLI Manual

Parameter Name Format Ranges Exampl


e
NAME vlan-interfaceName ASCI code size <=32 Proxy1
String

【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>name KT_INTF1

18.2.6 show vlan-interface


【Command】
show vlan-interface {<VLANS> | <brief> | <all> | <NAME>}
【Functional Description】
show vlan-interface VLANS Show VLANS corresponding IP
INTERFACE information
show vlan-interface brief Show IP INTERFACE Simple Information
show vlan-interface all Show all IP INTERFACEAll Information
show vlan-interface NAME Show IP INTERFACE named NAME
【Parameter】

Parameter Name Format Ranges Exampl


e
VLAN-ID VLAN ID Integer [1,4094] 200
NAME vlan-interfaceName ASCI code size <=32 Proxy1
String

【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show vlan-interfaceall

147 / 257
GPON OLT CLI Manual

18.2.7 show vlan-interface


【Command】
show vlan interface
【Functional Description】
Show current VLAN Mode IP INTERFACE。
【Parameter】
Null
【Mode】
vlan-interfaceMode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>show vlan-interface

18.3 Outband INTERFACE

18.3.1 management out-band ip-address


【Command】
management out-band {ip-addressIP-ADDR [IP-MASK] | gate-way IP-
GATEWAY }
no management out-band ip

148 / 257
GPON OLT CLI Manual
【Functional Description】
management out-band ip-address IP-ADDR Config IP Address
management out-band ip-address IP-ADDRIP-MASK Config IP Address
and Mask
management out-band gate-way IP-GATEWAY Config Gateway
no management out-band ip Set IP, mask, and gateway to
restore defaults
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
IP-MASK IP Mask A.B.C.D 255.255.0.0
IP-GATEWAY IP Gateway A.B.C.D 192.168.0.1

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>management out-band ip-address 192.168.2.5 255.255.255.0
OLT(config)>no management out-band ip

18.3.2 show management out-band


【Command】
showmanagement out-band
【Functional Description】
Show out-band INTERFACE info。
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>showmanagement out-band

149 / 257
GPON OLT CLI Manual

18.4 PING

18.4.1 ping
【Command】
pingIP-ADDR[ -t ]
【Functional Description】
pingIP-ADDR PING IP Address (3 times)
pingIP-ADDR -t PING IP Address (Continuous ping)
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100

【Mode】
User Mode or Enable Mode
【Note】
Null
【Example】
OLT(pri)>ping 192.168.2.100

18.5 SSH

18.5.1 ssh-server
【Command】
ssh-server{Enable | Disable }
【Functional Description】
ssh-server Enable Enable ssh server function
ssh-server Disable Disable ssh server function
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ssh-server Enable
OLT(config)>ssh-server Disable

150 / 257
GPON OLT CLI Manual

18.5.2 show ssh-server


【Command】
show ssh-server
【Functional Description】
Show ssh server status
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>showssh-server
version: V2
status: Enable

18.6 TELNET

18.6.1 telnet
【Command】
telnetIP-ADDR [TCP- PORT ]
【Functional Description】
telnet IP-ADDR telnet IP Address
telnet IP-ADDR TCP- PORT Use the specified tcp Port number telnet
host Address
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
TCP- PORT TCP Port Integer [0,65535] 5000
number

【Mode】
Enable Mode
【Note】
Null
【Example】
OLT(pri)>telnet 192.168.2.100
OLT(pri)>telnet 192.168.2.100 5000

151 / 257
GPON OLT CLI Manual

18.6.2 telnet-server
【Command】
telnet-serverTCP- PORT
no telnet-server
【Functional Description】
telnet-server TCP- PORT Specifies the TCP Port number that the
server listens on.
no telnet-server Restore telnet server default configuration
【Parameter】

Parameter Name Format Ranges Example


TCP- PORT TCP Port Integer [1024,65535] 5000
number

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>telnet-server 5000
OLT(config)> no telnet-server

18.6.3 show telnet-server


【Command】
showtelnet-server
【Functional Description】
showtelnet-server Show telnet server info
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>showtelnet-server
tcp_ Port :23

152 / 257
GPON OLT CLI Manual

Chapter 19 SNTP

19.1 Overview

The OLT supports the Simple Network Time Synchronization Protocol - SNTP. This
chapter is a description of the SNTP function.

19.2 Command

19.2.1 sntp Enable


【Command】
sntp { Enable | Disable }
no sntp
【Functional Description】
sntp Enable Enable sntp function
sntp Disable Disable sntp function
no sntp sntp function enables recovery of system defaults

【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp Enable
OLT(config)>sntp Disable
OLT(config)>no sntp

19.2.2 sntp interval


【Command】
sntp interval SYN-INTERAVL
no sntp interval
【Functional Description】
sntp interval SYN-INTERAVL Set the interval for network time
synchronization
no sntp interval Restore the default interval of sntp network time

153 / 257
GPON OLT CLI Manual
synchronization
【Parameter】

Parameter Name Format Ranges Example


SYN-INTERAVL Synchroniza Integer Unit Minute>=1 5
tion
frequency

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp interval 60
OLT(config)>no sntp interval

19.2.3 sntp server


【Command】
sntp server IP-ADDR
no sntp server
【Functional Description】
sntp server IP-ADDR Set the server IP address of the network time
synchronization
no sntp server Restore the default IP address of the server for
network time synchronization
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp server 192.168.2.100
OLT(config)>no sntp server

19.2.4 show sntp


【Command】

154 / 257
GPON OLT CLI Manual
showsntp
【Functional Description】
Show sntp function info
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show sntp

155 / 257
GPON OLT CLI Manual

Chapter 20 SNMP

20.1 Overview

This chapter describes the parameters related to configuring SNMP running.

20.2 Command

20.2.1 snmpcommunity
【Command】permission
snmpcommunityCOMMUNITY {ro | rw}

no snmpcommunity COMMUNITY

【Functional Description】
snmpcommunity COMMUNITY ro Add a read-only SNMP community
snmpcommunity COMMUNITY rw Add a read-write SNMP community
no snmpcommunity COMMUNITY Delete community

【Parameter】

Parameter Name Format Ranges Example


COMMUNITY community String size <=32 public

【Mode】
Global Configuration Mode。
【Note】

【Example】
OLT(config)> snmpcommunity public ro
OLT(config)> snmpcommunity public wr
OLT(config)> no snmpcommunity public

20.2.2 show snmpcommunity


【Command】
show snmpcommunity

【Functional Description】

156 / 257
GPON OLT CLI Manual
Show SNMP community。
【Parameter】

【Mode】
All Mode。
【Note】

【Example】
OLT(config)> show snmpcommunity

20.2.3 snmphost
【Command】
snmphostTRAP-IPCOMMUNITY

no snmphost TRAP-IP

【Functional Description】
snmphost TRAP-IPCOMMUNITY add Trap host info
no snmphost TRAP-IP Delete Trap host info
【Parameter】

Parameter Name Format Ranges Example


TRAP-IP Trap IP A.B.C.D 192.168.0.1
COMMUNITY community ASCIIString public

【Mode】
Global Configuration Mode。
【Note】

【Example】
OLT(config)> snmphost 192.168.0.1 public
OLT(config)> no snmphost 192.168.0.1

20.2.4 show snmphost


【Command】

Show snmphost

【Functional Description】
Show Trap host info
【Parameter】

【Mode】

157 / 257
GPON OLT CLI Manual
All Mode。
【Example】
OLT(config)> show snmphost

20.2.5 snmptrap
【Command】
snmptrap{count COUNT_VAL| interval INTERVAL_VAL}

no snmptrap {count | interval }

【Functional Description】
snmptrap count COUNT_VAL Set snmp trap send times
snmptrap interval INTERVAL_VAL Set snmp trap send interval
no snmptrap count Set snmp trap send times to restore
defaults

no snmptrap interval Set snmp trap send frequency


recovery default value

【Parameter】

Parameter Name Format Ranges Example


COUNT_VAL Trap times Decimal Integer 0
INTERVAL_VA Trap interval Decimal Integer 300
L

【Mode】
Global Configuration Mode。
【Note】
Trap times,value of 0 means no limit ,Trap interval Unit is Second。
【Example】
OLT(config)> snmptrap count 5
OLT(config)> snmptrap interval 200
OLT(config)>no snmptrap count
OLT(config)>no snmptrap interval

20.2.6 show snmptrap


【Command】
show snmptrap

【Functional Description】
Show SNMP trap Parameter。
【Parameter】

158 / 257
GPON OLT CLI Manual

【Mode】
All Mode。
【Note】

【Example】
OLT(config)> show snmptrap

159 / 257
GPON OLT CLI Manual

Chapter 21 BCMP

21.1 Overview

The BCMP protocol is supported on the OLT device to automatically discover network
devices and automatically configure the management information such as IP on the
discovered network devices so that they can be managed and monitored.
This section describes BCMP related commands.

21.2 Command

21.2.1 bcmp status


【Command】
bcmpstatus {Enable |Disable }
【Functional Description】
bcmpstatus Enable Enable BCMP function
bcmpstatus Disable Disable BCMP function
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>bcmp status Enable

21.2.2 bcmp relay


【Command】
bcmprelay Port {UDP- PORT }
no bcmp relay Port
【Functional Description】
bcmp relay Port UDP- PORT Set the BCMP relay port number
no bcmp relay Port restore BCMP relay Port number
【Parameter】

Parameter Name Format Ranges Example


UDP- PORT UDP Port Character value 1001-65535 5000

160 / 257
GPON OLT CLI Manual
value
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>bcmp relay Port 5000
OLT(config)>nobcmp relay Port

21.2.3 bcmp mode


【Command】
showmode {normal|chutian|fujian}
【Functional Description】
bcmp mode normal Set BCMPrelay to normal Mode
bcmp mode chutian Set BCMPrelay to Chutian Mode
bcmp mode fujian Set BCMPrelay to Fujian Mode
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Different protocols need to be configured with corresponding Mode.
【Example】
OLT(config)>bcmp mode normal
OLT(config)>bcmp mode chutian
OLT(config)>bcmp mode fujian

21.2.4 bcmp server


【Command】
bcmp server ip {IP-ADDR }
bcmp server Port {UDP- PORT }
no bcmp server ip
no bcmp server Port
【Functional Description】
bcmp server ip RELAY-IP-ADDR Set BCMP server IP Address
bcmp server Port RELAY- PORT -NUM Set BCMP server relay Port
number
no bcmp server ip Restore BCMP Server to default IP
Address
no bcmp server Port Restore BCMP Server to default Port

161 / 257
GPON OLT CLI Manual
number
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR Bcmp Server A.B.C.D Null 192.168.
ip Address 10.100
UDP- PORT UDP Port Character value 1001-65535 5000
【Mode】
Global Configuration Mode
【Note】
Match bcmp server
【Example】
OLT(config)> bcmp server ip 192.168.10.100
OLT(config)>bcmp server Port 5000
OLT(config)>nobcmp server ip
OLT(config)>no bcmp server Port

21.2.5 bcmp vlan


【Command】
bcmp vlan {VLAN-ID }
【Functional Description】
bcmp vlan VLAN-ID Set BCMP VLAN ID
【Parameter】

Parameter Name Format Ranges Example


VLAN-ID Vlan value Integer 1-4094 4041

【Mode】
Global Configuration Mode
【Note】
Match bcmp server management vlan
【Example】
OLT(config)>bcmp vlan 4041

21.2.6 showbcmp
【Command】
showbcmp
【Functional Description】
Show BCMP config info
【Parameter】

162 / 257
GPON OLT CLI Manual
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show bcmp

21.2.7 showbcmp-device
【Command】
showbcmp-device
【Functional Description】
Show BCMP Device Information
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show bcmp-device

21.2.8 no bcmp-device
【Command】
nobcmp-deviceMAC-ADDR
【Functional Description】
Delete the BCMP device information recorded on the OLT by using the specified
MAC address.
【Parameter】

163 / 257
GPON OLT CLI Manual
Parameter Name Format Ranges Example
MAC-ADDR MAC Unicast mac 0000.4567.ABCD
XXXX.XXXX.XXXX
Address Address
or

XX-XX-XX-XX-XX-XX

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>no bcmp-device 0000.4567.ABCD

164 / 257
GPON OLT CLI Manual

Chapter 22 Routing Configuration

22.1 Overview

This chapter is primarily a description of ARP and static routing and dynamic routing
(RIP) features.

22.2 ARP

22.2.1 arp static


【Command】
arp staticIP-ADDRMAC-ADDR VLAN-ID PORT -ID
no arpIP-ADDR
【Functional Description】
arp staticIP-ADDRMAC-ADDR VLAN-ID PORT –ID Configure a static arp table.
no arp IP-ADDR Delete arp table
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
MAC-ADDR MAC X.X.X or 0000.4567.ABCD
Address X:X:X:X:X:X
VLAN-ID VLAN ID Integer [1,4094] 100
PORT -ID Port Port s1/5
number type+slot/
Port number

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>arp static 192.168.2.5 0000.4567.ABCD 100 s1/5
OLT(config)>noarp 192.168.2.5

22.2.2 gratuitous-arp
165 / 257
GPON OLT CLI Manual

【Command】
gratuitous-arp {Enable | Disable }
【Functional Description】
gratuitous-arp Enable enable gratuitous arp function
gratuitous-arp Disable Disable gratuitous arp function
【Parameter】
Null
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>gratuitous-arp Enable
OLT (config-if-vlan-interface-1)>gratuitous-arp Disable

22.2.3 show arp


【Command】
show arp
【Functional Description】
Show learned or configured arp table
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show arp

22.3 Static route

22.3.1 ip route subnet add


【Command】
ip route subnet addIP-ADDRIP-MASK NEXT-HOP
noip route IP-ADDRIP-MASK
【Functional Description】
ip route subnet addIP-ADDRIP-MASK NEXT-HOP Configuring static routing

166 / 257
GPON OLT CLI Manual

table
noip route subnet IP-ADDRIP-MASK Delete static routing table
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
IP-MASK IP Mask A.B.C.D 255.255.255.0
NEXT-HOP Next hop A.B.C.D 10.2.18.1

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ip route subnet add 192.168.0.100 255.255.255.0 10.2.18.1
OLT(config)>no ip route 192.168.0.100 255.255.255.0

22.3.2 ip route default


【Command】
ip route default NEXT-HOP
noip route default
【Functional Description】
ip route default NEXT-HOP Configure default route
noip route default Delete default route
【Parameter】

Parameter Name Format Ranges Example


NEXT-HOP Next hop A.B.C.D 10.2.18.1

【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ip route default 10.2.18.1
OLT(config)>no ip route default

22.3.3 show ip route


【Command】
show ip route[IP-ADDR IP-MASK]

167 / 257
GPON OLT CLI Manual

【Functional Description】
show ip route Show All route table
show ip route IP-ADDRIP-MASK By specifying the network segment show
routing table
【Parameter】

Parameter Name Format Ranges Example


IP-ADDR IP Address A.B.C.D 192.168.0.100
IP-MASK IP Mask A.B.C.D 255.255.255.0

【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)> show ip route
OLT(config)>show ip route 192.168.0.100 255.255.255.0

22.3.4 urpf
【Command】
urpf {Enable | Disable }
【Functional Description】
urpf Enable Enable unicast reverse path check
urpf Disable Disable unicast reverse path check
【Parameter】
Null
【Mode】
vlan-interfaceMode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>urpf Enable
OLT (config-if-vlan-interface-1)>urpf Disable

168 / 257
GPON OLT CLI Manual

22.4 RIP

22.4.1 rip
【Command】
rip {Enable | Disable }
【Functional Description】
rip Enable enable rip function
rip Disable Disable rip function
【Parameter】
Null
【Mode】
Global Configuration Mode,vlan-interface Mode
【Note】
Global Configuration ModeIs the global switch,vlan-interface Mode is Local switch
【Example】
OLT(config)> rip Enable
OLT(config)> rip Disable
OLT (config-if-vlan-interface-1)>rip Enable
OLT (config-if-vlan-interface-1)>rip Disable

22.4.2 rip version


【Command】
rip version {V1 | V2}
【Functional Description】
rip version V1 enable rip Protocol version v1
rip version V2 enable ripProtocol version v2
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)> rip version V1
OLT(config)> rip version V2

22.4.3 ripredistribute static


【Command】

169 / 257
GPON OLT CLI Manual

ripredistribute static {Enable | Disable }


【Functional Description】
rip redistribute static Enable Enable rip to reassign static routes.
rip redistribute static Disable Disable rip to reassign static routes.
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)> rip redistribute static Enable
OLT(config)> rip redistribute static Disable

22.4.4 rip send


【Command】
rip send {V1 [V2] | V2 [V1]}
no rip send {V1 [V2] | V2 [V1]}
【Functional Description】
rip send V1 Enable sender rip protocol version number v1
rip send V2 Enable sender rip protocol version number v2
rip send V1 V2 Enable sender rip protocol version number v1,v2
no rip send V1 Disable sender rip protocol version number v1
no rip send V2 Disable sender rip protocol version number v2
no rip send V1 V2 Disable sender rip protocol version number v1,v2
【Parameter】
Null
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>rip send V1
OLT (config-if-vlan-interface-1)>rip send V2
OLT (config-if-vlan-interface-1)>rip send V1 V2
OLT (config-if-vlan-interface-1)>no rip send V1
OLT (config-if-vlan-interface-1)>no rip send V2
OLT (config-if-vlan-interface-1)>no rip send V1 V2

22.4.5 ripreceive

170 / 257
GPON OLT CLI Manual

【Command】
ripreceive {V1 [V2] | V2 [V1]}
no rip receive {V1 [V2] | V2 [V1]}
【Functional Description】
rip receive V1 Enable receiving end rip protocol version number v1
rip receive V2 Enable receiving end rip protocol version number v2
rip receive V1 V2 Enable receiving end rip protocol version number v1,v2
no rip receive V1 Disable receiving end rip protocol version number v1
no rip receive V2 Disable receiving end rip protocol version number v2
no rip receive V1 V2 Disable receiving end rip protocol version number v1,v2
【Parameter】
Null
【Mode】
vlan-interfaceMode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>rip receive V1
OLT (config-if-vlan-interface-1)>rip receive V2
OLT (config-if-vlan-interface-1)>rip receive V1 V2
OLT (config-if-vlan-interface-1)>no rip receive V1
OLT (config-if-vlan-interface-1)>no rip receive V2
OLT (config-if-vlan-interface-1)>no rip receive V1 V2

22.4.6 show rip


【Command】
show rip {<NAME> | <VLAN-ID> | <brief> | <global>}
【Functional Description】
show rip NAME Show rip status info via vlan-interface name
show rip VLAN-ID Show rip status info via vlan-ID
show rip brief Show rip brief
show rip global Show rip global info
【Parameter】

Parameter Name Format Ranges Example


NAME vlan- ASCI code size<=32 INTF_1
interface String
Name
VLAN-ID Vlan ID Integer [1,4094] 100

【Mode】
All Mode

171 / 257
GPON OLT CLI Manual

【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>show rip INTF_1

OLT (config-if-vlan-interface-1)>show rip 200

OLT (config-if-vlan-interface-1)>show rip brief

OLT (config-if-vlan-interface-1)>show rip global

22.4 OSPF

22.4.1 ospf
【Command】
ospf {Enable | Disable }
【Functional Description】
ospf Enable Enable ospf function
ospf Disable Disable ospf function
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
【Example】

172 / 257
GPON OLT CLI Manual

GPT-F88B(config):GOD# ospf Enable


GPT-F88B(config):GOD# ospf Disable

22.4.2 ospf router-id


【Command】
ospf router-id<ip-address>
no ospf router-id
【Functional Description】
ospf router-id <ip-address> Config router ID
no ospf router-id Delete router ID
【Parameter】

Parameter Name Format Ranges Example


ip-address Ip Address A.B.C.D 1.1.1.1

【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf router-id 1.1.1.1

GPT-F88B(config):GOD# no ospf router-id

22.4.3 ospf network


【Command】
ospfnetwork<ip-address>mask<ip-mask>area<ospf-area-id>
no ospfnetwork<ip-address>mask<ip-mask>area<ospf-area-id>
【Functional Description】
ospfnetwork<ip-address>mask<ip-mask>area<ospf-area-id> config network
no ospfnetwork<ip-address>mask<ip-mask>area<ospf-area-id> Delete network
【Parameter】

Parameter Name Format Ranges Example


ip-address Ip Address A.B.C.D 20.0.0.0
ip-mask Mask A.B.C.D 255.255.255.0
ospf-area-id Area ID Integer <0- 0
4294967295
>

173 / 257
GPON OLT CLI Manual

【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf network 20.0.0.0 mask 255.255.255.0 area 0
GPT-F88B(config):GOD# no ospf network 20.0.0.0 mask 255.255.255.0 area 0

22.4.4 ospf redistribute


【Command】
ospfredistribute {connected|static|rip}
no ospfredistribute {connected|static|rip}
【Functional Description】
ospfredistribute {connected|static|rip} Configure OSPF to import routing
information of other protocols.
no ospfredistribute {connected|static|rip} Delete OSPF to import routing information
of other protocols.

【Parameter】
【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf redistribute connected
GPT-F88B(config):GOD# no ospf redistribute connected

22.4.5 ospf virtual-link


【Command】
ospfarea<ospf-area-id>virtual-link<ip-address>
no ospfarea<ospf-area-id>virtual-link<ip-address>
【Functional Description】
ospfarea<ospf-area-id>virtual-link<ip-address> Configuring virtual links
no ospfarea<ospf-area-id>virtual-link<ip-address> Delete virtual links
【Parameter】

Parameter Name Format Ranges Example


ip-address Ip Address A.B.C.D 1.1.1.1
ospf-area-id Area ID Integer <0- 9
4294967295
>

174 / 257
GPON OLT CLI Manual

【Mode】
Global Configuration Mode
【Note】
The virtual link command needs to be configured on the ABR. The ospf-area-id
represents the area ID of the transport area, and the ip-address is the router-id of the
peer ABR. For detailed introduction, please refer to the requirements specification
document.
【Example】
GPT-F88B(config):GOD# ospf area 9 virtual-link 1.1.1.1
GPT-F88B(config):GOD# no ospf area 9 virtual-link 1.1.1.1

22.4.6 ospf priority


【Command】
ospfpriority<ospf-intf-priority>
no ospfpriority
【Functional Description】
ospfpriority<ospf-intf-priority> Config ospf priority
no ospfpriority Delete ospf priority
【Parameter】

Parameter Name Format Ranges Example


ospf-intf-priority priority Integer <0-255> 5

【Mode】
VLAN Interface Mode
【Note】
默认值为 1.
【Example】
GPT-F88B(config-if-vlan-interface-1):GOD# ospf priority 4
GPT-F88B(config-if-vlan-interface-1):GOD# no ospf priority

22.4.7 show ospf


【Command】
show ospf
【Functional Description】
show ospf Show ospf brief info
【Parameter】
【Mode】
All Mode
【Note】
【Example】

175 / 257
GPON OLT CLI Manual

22.4.8 show ospf neighbor


【Command】
show ospf neighbor
【Functional Description】
show ospfneighbor Show ospf neighbor information
【Parameter】
【Mode】
All Mode
【Note】
【Example】

22.4.9 show ospf interface

176 / 257
GPON OLT CLI Manual

【Command】
show ospf interface
【Functional Description】
show ospf interface Show ospf interface information
【Parameter】
【Mode】
All Mode
【Note】
【Example】

22.4.10 show ospf lsa-database


【Command】
show ospflsa-database
【Functional Description】
show ospflsa-database e Show ospf lsa database information
【Parameter】
【Mode】
All Mode
【Note】
【Example】

177 / 257
GPON OLT CLI Manual

22.4.11 show ospf route


【Command】
show ospf route
【Functional Description】
show ospfroute Show ospf route information
【Parameter】
【Mode】
All Mode
【Note】
【Example】

178 / 257
GPON OLT CLI Manual

22.4.11 show ospf route


【Command】
show ospf route
【Functional description】
Show ospfroute shows ospf routing related information
【Parameter】
【MODE】
All mode
【Note】
【Example】

22.5 BGP

22.5.1 bgp
【Command】
bgp <bgp-as-id>
no bgp <bgp-as-id>

179 / 257
GPON OLT CLI Manual

【Functional description】
bgp <bgp-as-id> enter bgp mode,build bgp
no bgp <bgp-as-id> delete bgp
【Parameter】

Parameter Name Format Range Example


bgp-as-id As id 整数 1- 100
4294967295

【Mode 】
All modeconfigureModeAll mode configure
【Note】
【Example】
GPT-C448B(config)> bgp 100
GPT-C448B(config-bgp-100)>

GPT-C448B(config)> no bgp 100

22.5.2 bgp router-id


【Command】
bgp router-id <ip-address>
no bgp router-id
【Functional description】
bgp router-id <ip-address> configure router ID
no bgp router-id delete router ID

Parameter Name Format Range Example


ip-address Ipaddress A.B.C.D 1.1.1.1

【Mode】
BGP configure Mode
【Note】
【Example】
GPT-C448B(config-bgp-100)> bgp router-id 1.1.1.1
GPT-C448B(config-bgp-100)> no bgp router-id

22.5.3 bgp peer


【Command】
bgp peer <ip-address> as-number <bgp-as-id>
no bgp peer <ip-address> as-number <bgp-as-id>

180 / 257
GPON OLT CLI Manual

【Functional description】
bgp peer <ip-address> as-number <bgp-as-id> configurepeer
no bgp peer <ip-address> as-number <bgp-as-id> 删除 peer
【Parameter】

Parameter Name Format Range Example


ip-address Ipaddress A.B.C.D 192.168.2.1
bgp-as-id As id Integer 1- 200
4294967295

【Mode】
BGP configure Mode
【Note】
Since the loopback port is not supported, the ip-address is usually configured as the
ipaddress of the peer vlan-intf.
【Example】
GPT-C448B(config-bgp-100)> bgp peer 192.168.2.1 as-number 200
GPT-C448B(config-bgp-100)> no bgp peer 192.168.2.1 as-number 200

22.5.4 bgp network


【Command】
bgp network <ip-address> mask <ip-mask>
no bgp network <ip-address> mask <ip-mask>
【Functional description】
bgp network <ip-address> mask <ip-mask> configurenetwork
no bgp network <ip-address> mask <ip-mask> 删除 network

【Parameter】

Parameter Name Format Range Example


ip-address Ipaddress A.B.C.D 192.168.2.1
ip-mask mask A.B.C.D Valid mask 255.255.255.0

【Mode】
BGPconfigureMode
【Note】
The existence of the routing table can be advertised by the network.
【Example】
GPT-C448B(config-bgp-100)>bgp network 192.168.2.1 mask 255.255.255.0 GPT-
C448B(config-bgp-100)> no bgp network 192.168.2.1 mask 255.255.255.0

22.5.5 bgp redistribute


181 / 257
GPON OLT CLI Manual

【Command】
bgp redistribute {connected|static|rip|ospf}
no bgp redistribute {connected|static|rip|ospf}
【Functional description】
Bgp redistribute {connected|static|rip|ospf} configurebgp introduces other protocol routing
information
No bgp redistribute {connected|static|rip|bgp} Delete bgp to import other protocol routing
information
【Parameter】
【Mode】
BGPconfigureMode
【Note】
【Example】
GPT-F88B(config):GOD# bpg redistribute connected
GPT-F88B(config):GOD# no bgp redistribute connected

22.5.6 show bgp


【Command】
show bgp
【Functional description】
show bgp Display bgp routing information
【Parameter】
【Mode】
All Mode
【Note】
【Example】
GPT-C448B(config)> show bgp
BGP table version is 0, local router ID is 192.168.2.5
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path


*> 30.0.0.0/24 30.0.0.2 0 0 200 ?
*> 90.0.0.0/24 30.0.0.2 0 0 200 ?

Displayed 2 out of 2 total prefixes

22.5.7 show bgp peer


【Command】
show bgp peer

182 / 257
GPON OLT CLI Manual

【Functional description】
show bgp peer Display bgp neighbor information
【Parameter】
【Mode】
All Mode
【Note】
【Example】

GPT-C448B(config)> show bgp peer


BGP neighbor is 30.0.0.2, remote AS 200, local AS 100, external link
BGP version 4, remote router ID 30.0.0.2
BGP state = Established, up for 00:31:21
Last read 00:00:20, hold time is 180, keepalive interval is 60 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received
Graceful Restart Capabilty: advertised
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 4 0
Notifications: 0 0
Updates: 2 5
Keepalives: 33 31
Route Refresh: 0 0
Capability: 0 0
Total: 39 36
Minimum time between advertisement runs is 30 seconds

For address family: IPv4 Unicast


Community attribute sent to this neighbor(both)
2 accepted prefixes

Connections established 1; dropped 0


Last reset never
Local host: 30.0.0.1, Local port: 179
Foreign host: 30.0.0.2, Foreign port: 55439
Nexthop: 30.0.0.1
Nexthop global: fe80::20f:1fff:fe10:1071
Nexthop local: ::
BGP connection: non shared network
Estimated round trip time: 8 ms

183 / 257
GPON OLT CLI Manual

Read thread: on Write thread: off

22.5.8 show bgp summary


【Command】
show bgp summary
【Functional description】
show bgp summary Display bgp neighbor summary information【Parameter】
【Mode】
allMode
【Note】
【Example】

GPT-C448B(config)> show bgp summary


BGP router identifier 192.168.2.5, local AS number 100
RIB entries 3, using 216 bytes of memory
Peers 1, using 3808 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down


State/PfxRcd
30.0.0.2 4 200 36 39 0 0 0 00:31:37 2

Total number of neighbors 1

184 / 257
GPON OLT CLI Manual

Chapter 23 DHCPconfigure

23.1 Brief introdution

This chapter is mainly a description of DHCP CLIENT and DHCP SNOOPING and
DHCP RELAY function。

23.2 DHCP CLIENT

23.2.1 dhcp
【Command】
dhcp {enable | disable}
【Functional description】
dhcp enable Enable dhcp clientfunction
dhcp disable disable dhcp clientfunction
【Parameter】
null
【Mode】
vlan-interface interface Mode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp enable
OLT (config-if-vlan-interface-1)>dhcp disable

23.2.2 dhcp-client autoconfig


【Command】
dhcp-client autoconfig {enable | disable}
【Functional description】
dhcp-client autoconfig enable Enabledhcp automatic deliveryconfigurefunction
dhcp-client autoconfig disable disabledhcp automatic deliveryconfigurefunction
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】

185 / 257
GPON OLT CLI Manual

null
【Example】
OLT (config)>dhcp-client autoconfig enable
OLT (config)>dhcp-client autoconfig disable

23.3 DHCP SNOOPING

23.3.1 dhcp-snooping
【Command】
dhcp-snooping {enable | disable}
【Functional description】
dhcp enable Enabledhcp snoopingfunction
dhcp disable disabledhcp snoopingfunction
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>dhcp- snooping enable
OLT (config)>dhcp- snooping disable

23.3.2 dhcp-snooping security


【Command】
dhcp-snoopingsecurity{check-mac-addr | check-request-message | deny-static-
ip} {enable | disable}
【Functional description】
dhcp-snooping securitycheck-mac-addr enable Enable Prevent dhcp
starvation attacks
dhcp-snooping securitycheck-mac-addr disable Enable Prevent dhcp
starvation attacks
dhcp-snooping security check-request-message enable Enable Prevent
camouflage dhcp renewal of the message attack
dhcp-snooping securitycheck-request-message disable disable Prevent
camouflage dhcp renewal of packet attacks
dhcp-snooping securitydeny-static-ip enable Enable Prevent
staticipconfigure

186 / 257
GPON OLT CLI Manual

dhcp-snooping securitydeny-static-ip disable disable Prevent


staticipconfigure
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>dhcp-snooping securitycheck-mac-addr enable
OLT (config)> dhcp-snooping securitycheck-mac-addr disable
OLT (config)>dhcp-snooping security check-request-message enable
OLT (config)>dhcp-snooping security check-request-message disable
OLT (config)> dhcp-snooping securitydeny-static-ip enable
OLT (config)> dhcp-snooping securitydeny-static-ip disable

23.3.3 dhcp-snooping option82


【Command】
dhcp-snooping option82{enable | disable | strategy {drop | keep | replace} |
replace {circuit-id {hex HEX | ascii STRING} | remote-id {hex HEX | ascii STRING}}}
【Functional description】
dhcp-snooping option82 enable Enableoption82function
dhcp-snooping option82 disable disableoption82function
dhcp-snooping option82 strategy drop configureoption82 Strategy is discard
dhcp-snooping option82 strategy keep configureoption82 Strategy for keeping
dhcp-snooping option82 strategy replace configureoption82 Strategy is replaced
dhcp-snooping option82 replace circuit-id hex HEX configureoption82 The
content is the proxy line idFormat is hexadecimal
dhcp-snooping option82 replace circuit-id ascii STRING configureoption82 The
content is the proxy line idFormat as a string
dhcp-snooping option82 replace remote-id hex HEX configureoption82 The
content is the proxy remote idFormat is hexadecimal
dhcp-snooping option82 replace remote-id ascii STRING configureoption82 The
content is the proxy remote idFormat as a string
【Parameter】

Parameter Name Format Range Example


HEX Value Hex [0x0,0xFFFF 0x010f1e
FFFF]
STRING String ASCII string size<=32 kingtype

【Mode】

187 / 257
GPON OLT CLI Manual

All modeconfigureMode
【Note】
null
【Example】
OLT (config)> dhcp-snooping option82 enable
OLT (config)> dhcp-snooping option82 disable
OLT (config)> dhcp-snooping option82 strategy drop
OLT (config)> dhcp-snooping option82 strategy keep
OLT (config)> dhcp-snooping option82 strategy replace
OLT (config)> dhcp-snooping option82 replace circuit-id hex 0x010f1e
OLT (config)> dhcp-snooping option82 replace circuit-id ascii kingtype
OLT (config)> dhcp-snooping option82 replace remote-id hex 0x010f1e
OLT (config)> dhcp-snooping option82 replace remote-id ascii kingtype

23.3.4 show dhcp-snooping


【Command】
show dhcp-snooping {information | device information}
【Functional description】
show dhcp-snooping information Display dhcp snoopingconfigure information
show dhcp-snooping device information Display application dhcp snooping
Protocol device information【Parameter】
null
【Mode】
allMode
【Note】
null
【Example】
OLT (config)>show dhcp-snooping information

OLT (config)> show dhcp-snooping device information

23.3.5 ipv6 dhcp snooping


188 / 257
GPON OLT CLI Manual

【Command】
ipv6 dhcp snooping {enable | disable}
【Functional description】
ipv6 dhcp snooping enable Enabledhcpv6 snoopingfunction
ipv6 dhcp snooping disable disabledhcpv6 snoopingfunction
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>ipv6 dhcp snooping enable
OLT (config)> ipv6 dhcp snooping disable

23.3.6 ipv6 dhcp snooping option18


【Command】
ipv6 dhcp snooping option18 {enable | disable | strategy {drop | keep | replace}
| replace string STRING}
【Functional description】
ipv6 dhcp snooping option18 enable Enabledhcpv6 snooping
option18function
ipv6 dhcp snooping option18 disable disabledhcpv6 snooping
option18function
ipv6 dhcp snooping option18 strategy drop configureoption18 Policy is
discard
ipv6 dhcp snooping option18 strategy keep configureoption18 Policy for
keeping
ipv6 dhcp snooping option18 strategy replace configureoption18 Policy is is
replaced
ipv6 dhcp snooping option18 replace string STRINGconfigureoption18 Replace
content
【Parameter】

Parameter Name Format Range Example


STRING String ASCII String size<=32 kingtype

【Mode】
All modeconfigureMode
【Note】
null
【Example】

189 / 257
GPON OLT CLI Manual

OLT (config)>ipv6 dhcp snooping option18 enable


OLT (config)> ipv6 dhcp snooping option18 disable
OLT (config)> ipv6 dhcp snooping option18 strategy drop
OLT (config)> ipv6 dhcp snooping option18 strategy keep
OLT (config)> ipv6 dhcp snooping option18 strategy replac
OLT (config)> ipv6 dhcp snooping option18 replace string kingtype

23.3.7 show ipv6 dhcp snooping


【Command】
showipv6 dhcp snooping {information | device information}
【Functional description】
showipv6 dhcp snooping information Display dhcpv6 snoopingconfigure
information showipv6 dhcp snooping device information Display device information
of the dhcpv6 snooping protocol
【Parameter】
null
【Mode】
allMode
【Note】
null
【Example】
OLT (config)>showipv6 dhcp snooping information

OLT (config)> showipv6 dhcp snooping device information

23.4 DHCP RELAY

23.4.1 dhcp-relay
【Command】
dhcp-relay {enable | disable | dhcp-server IP-ADDR}
【Functional description】
dhcp-relay enable Enabledhcp relayfunction
dhcp-relay disable disabledhcp relayfunction

190 / 257
GPON OLT CLI Manual

dhcp-relay dhcp-server IP-ADDR configuredhcp server IPaddress


【Parameter】

Parameter Name Format Range Example


IP-ADDR IPaddress A.B.C.D 192.168.10.100

【Mode】
vlan-interfaceMode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp-relay enable
OLT (config-if-vlan-interface-1)> dhcp-relay disable
OLT (config-if-vlan-interface-1)> dhcp-relay dhcp-server 192.168.2.100

23.4.2 dhcp-relay option60


【Command】
dhcp-relay option60 string {STRING | default} interface-ip IP-ADDR dhcp-server
IP-ADDR
no dhcp-relay option60 {all | string {STRING| default}}
【Functional description】
dhcp-relay option60 string STRING interface-ip IP-ADDRdhcp-server IP-ADDR

configureoption60 Content specifies the interface ip and server ip


dhcp-relay option60 string default interface-ip IP-ADDRdhcp-server IP-ADDR
configureoption60 The content is the default interface ip and server ip
no dhcp-relay option60all Clear option60's all configure
no dhcp-relay option60string STRING Clear the configure specified by
option60
no dhcp-relay option60string default Clear the configure60 default state of
configure【Parameter】

Parameter Name Format Range Example


IP-ADDR IPaddress A.B.C.D 192.168.2.10
STRING String ASCII String size<=32 docsis3.0

【Mode】
vlan-interface interface Mode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp-relay option60 string msft interface-ip

191 / 257
GPON OLT CLI Manual

3.1.1.1dhcp-
server6.1.1.1
OLT (config-if-vlan-interface-1)> dhcp-relay option60 string default interface-ip 3.1.1.1
dhcp-
server 6.1.1.1
OLT (config-if-vlan-interface-1)> no dhcp-relay option60all
OLT (config-if-vlan-interface-1)> no dhcp-relay option60string default
OLT (config-if-vlan-interface-1)> no dhcp-relay option60string msft

23.4.3 show dhcp-relay


【Command】
showdhcp-relay {information | device information}
【Functional description】
showdhcp-relay information Display dhcp relayconfigure information
show dhcp-relay device information Display device dhcp relay protocol
device information
【Parameter】
null
【Mode】
allMode
【Note】
null
【Example】
OLT (config)>showdhcp-relay information

OLT (config)> showdhcp-relay device information

192 / 257
KingType PONCommand 行参考
Manual

Chapter 24 PPPOEconfigure

24.1 Brief introduction

This chapter is mainly a description of PPPOE+function.

24.2 PPPOE+

24.2.1 pppoe+ status


【Command】
pppoe+ status {enable | disable}
【Functional description】
pppoe+ status enable Enablepppoe+function
pppoe+ status disable disablepppoe+function
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>pppoe+ status enable
OLT (config)> pppoe+ status disable

24.2.2 show pppoe+


【Command】
showpppoe+
【Functional description】
Display pppoe+configure status information
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
193
KingType PONCommand 行参考
Manual
OLT (config)>show pppoe+
[pppoe+ setting info]
Status:disable

Chapter 25 Optical module


management

25.1 Brief introduction


This chapter is mainly a description of the optical module management function.
Check the parameter information of the optical module to check the working status of the
optical module.

25.2 Command

25.2.1 showoptical-module
【Command】
Show optical-module brief
Show optical-module PORT
【Functional description】
Show optical-module brief Shows easy information about all in-position optical
modules inserted in PON port and SNI port
Show optical-module PORT shows the details of a single optical module inserted in
the PON port or SNI port.
【Parameter】

Parameter Name Format Range Example


PORT The port Port type + slot number / p4/5
number port number
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>show optical-modulebrief
OLT(config)>show optical-modules1/3

194
KingType PONCommand 行参考
Manual

Chapter 26 485 management

26.1 Brief introduction

This chapter is mainly a description of the 485 management function. Battery


management includes battery energy-saving Mode switch and two function points for
displaying battery basic information and sampling data; EDFA management function is the
basic information for displaying EDFA.。

26.2 Battery management

26.2.1 batteryenergy-saving
【Command】
battery energy-saving {enable | disable}
【Functional description】
Battery energy-saving enable
Battery energy-saving disable
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
Only GPT-F88B use。
【Example】
OLT(config)> battery energy-saving enable
OLT(config)> battery energy-saving disable

26.2.2 showbatterysample
【Command】
Show battery sample
【Functional description】
Show battery sample Display battery basic information and sample
data【Parameter】
null
【Mode】
195
KingType PONCommand 行参考
Manual
All modeconfigureMode
【Note】
Only GPT-F88B use。
【Example】
OLT(config)>Show battery sample

26.3 EDFA Management

26.3.1 show edfa ad


【Command】
Show edfa ad
【Functional description】
Show edfa ad Display ADParameter for EDFA【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
Only GPT-F88B use。
【Example】
OLT(config)>Show edfa ad

26.3.2 show edfa manufacturer


【Command】
Show edfa manufacturer
【Functional description】
Show edfa manufacturer Display model information of EDFA
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
OnlyGPT-F88Buse。
【Example】
OLT(config)>Show edfa manufacturer

26.3.3 show edfa omi


196
KingType PONCommand 行参考
Manual
【Command】
Show edfa omi
【Functional description】
Show edfa omi Display OMFAarameter of EDFA
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
OnlyGPT-F88Buse。
【Example】
OLT(config)>Show edfa omi

26.3.4 show edfa close_state


【Command】
Show edfa close_state
【Functional description】
Show edfa close_state Display EDFA pump disable status information
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
OnlyGPT-F88Buse。
【Example】
OLT(config)>Show edfa close_state

26.3.5 show edfa output


【Command】
Show edfa output
【Functional description】
Show edfa output Display EDFA output control information
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
OnlyGPT-F88Buse。
【Example】
OLT(config)>Show edfa output

197
KingType PONCommand 行参考
Manual

Chapter 27 GPON service configure

27.1 Brief introduction

This chapter is mainly a description of the GPONfunction.

27.2 OLT PONfunctionconfigure

27.2.1 admin-status
【Command】
admin-status{up | down}
【Functional description】
Admin-status up EnablePON optical signal
Admin-status down disablePON optical signal
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)>admin-status up
OLT (config-if-g2/1)>admin-status down

27.2.2 auto-find
【Command】
auto-find { disable | enable [discover-interval [PON-DISCOVER-INTERVAL]] }
【Functional description】
auto-find enable EnablePONportONUdiscoverfunction
auto-find disable disablePONportONUdiscoverfunction
auto-find enable discover-intervalPON-DISCOVER-INTERVAL
EnablePONportONUdiscoverfunction and set
discover Intervals

198
KingType PONCommand 行参考
Manual
【Parameter】

Parameter Name Format Range Example


PON-DISCOVER- PONportON Null Symbolic 5-2000 5
INTERVAL Udiscover integer Unit:Second
Intervals
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> auto-find enable
OLT (config-if-g2/1)> auto-find disable
OLT (config-if-g2/1)> auto-find enable discover-interval 5

27.2.3 auth-mode
【Command】
auth-mode { auto[offline-delete | offline-do-nothing] | loid | loid-pwd | sn }
【Functional description】
Auth-modeauto
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is not deleted.
Auth-modeautooffline-do-nothing
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is not deleted.
Auth-modeautooffline-delete
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is automatically deleted.
Auth-mode loid Set the ONU authentication mode to logical ID authentication.
Auth-mode loid-pwd Set the ONU authentication mode to logical ID plus password
authentication.
Auth-mode sn Set ONU authentication mode to serial number authentication
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> auth-mode auto
OLT (config-if-g2/1)> auth-mode autooffline-do-nothing
OLT (config-if-g2/1)> auth-mode autooffline-delete
OLT (config-if-g2/1)> auth-mode loid

199
KingType PONCommand 行参考
Manual
OLT (config-if-g2/1)> auth-mode loid-pwd
OLT (config-if-g2/1)> auth-mode sn

27.2.4 rogue-onu-detect
【Command】
rogue-onu-detect { disable | enable }
【Functional description】
Rogue-onu-detectenable EnablePONport rogue ONU detection function
Rogue-onu-detectdisable disablePONport rogue ONU detection function
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
The rogue ONU detects the functionEnable and then uses the showCommand
interface to view the information. If the Rogue ONU Exist value is yes, there is a simple
long-lighting behavior of the ONU under the PONport, and the administrator needs to
manually check the fault. After the troubleshooting is completed, it is recommended that
the userogue-onu-detectdisableCommanddisable rogue ONU detect the function to avoid
system resource consumption.
【Example】
OLT (config-if-g2/1)> rogue-onu-detectenable
OLT (config-if-g2/1)> rogue-onu-detectdisable

27.2.5 showinterface
【Command】
show interface { PORT-GROUP] }
show interface brief
【Functional description】
show interface PORT-GROUP Display PONport related configure information
【Parameter】

Parameter Name Format Range Example


PORT-GROUP Port End port type + slot g2/1
number number / end port number,
supports operators ",", "-"
【Mode】
allMode
【Note】
In EPON show interfaceuseshow interface p2/1;
In GPON show interfaceuseshow interface g2/1;
【Example】

200
KingType PONCommand 行参考
Manual
OLT (config)> show interface g2/1

27.2.6 showauth-mode
【Command】
showauth-mode
【Functional description】
show auth-mode 显示 PONportONU 认证 Mode
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> show auth-mode

27.3 ONU manage configure

27.3.1 onu add


【Command】
onu add <ONU-ID> {sn<ONU-SN> |loid <ONU-LOID> [auth-password<ONU-
LOID-PASSWORD>]} [gpon-stream-profile <GPON-STREAM-PROFILE-ID>]
[gpon-service-profile]
201
KingType PONCommand 行参考
Manual
【Functional description】
onu add ONU-ID snONU-SN
<Create an ONU with SN>
Onu add ONU-ID loid ONU-LOID
<Create an ONU with LOID>
Onu add ONU-ID loid ONU-LOID auth-passwordONU-LOID-PASSWORD
<Create an ONU containing the LOID and LOID passwords>
Onu add ONU-ID snONU-SN gpon-stream-profile GPON-STREAM-PROFILE-ID
<Create an ONU with SN and specify a flow template at the same time>
Onu add ONU-ID snONU-SN gpon-service-profile GPON-SERVICE-PROFILE-ID
<Create an ONU containing SN and specify a service template at the same time>
Onu add ONU-ID snONU-SNgpon-stream-profile GPON-STREAM-PROFILE-ID gpon-
service-profile GPON-SERVICE-PROFILE-ID
<Create an ONU with SN and specify both a service template and a flow template>
The method of binding a flow template and a service template to a loid and a loid+
password is the same as the method of binding a template under SN authentication.
【Parameter】
Parameter Name Format Range Example
ONU-ID ONU ID All mode 1-128 1
ONU-SN ONU serial String 12 numbers or KTGP123456
number combinations of 78
letters
ONU-LOID ONU logical id String Up to 24 123abc
numbers or
combinations of
letters
ONU-LOID- ONU logical String Number or letter secret123
PASSWORD authentication
password
GPON-STREAM- Flow template id All mode 1-65534 1
PROFILE-ID
GPON-SERVICE- Service template All mode 1-65534 1
PROFILE-ID id
【Mode】
PONportconfigureMode
【Note】
1. The first four characters of the SN represent the manufacturer number, which are
generally letters. The input letter is converted to uppercase letters if it is case-sensitive.
2. The SN of the ONU is the String given by the manufacturer, which is the unique identifier
of the ONU. It is generally marked on the back of the ONU and cannot be changed by the
user.
3. The LOID of the ONU and its password are used as the identifiers of the logical
authentication mode. Some ONUs have an initial value when they leave the factory, and
the user can modify them according to requirements.
202
KingType PONCommand 行参考
Manual
【Example】
OLT (config-if-g2/1)> onu add 1 sn KTGP12345670
OLT (config-if-g2/1)> onu add 2 sn KTGP12345671 gpon-stream-profile 1
OLT(config-if-g2/1)>onuadd 2 sn KTGP12345678 gpon-stream-profile 1gpon-service-
profile 1
OLT (config-if-g2/1)> onu add 3 loid 123abc
OLT (config-if-g2/1)> onu add 4 loid 1234abc auth-password abc123
OLT (config-if-g2/1)> onu add 5 loid 1234 auth-password abc1234 gpon-stream-profile
1gpon-service-profile 1

27.3.2 onu delete


【Command】
onu delete< ONUIDS >
【Functional description】
onu deleteONUIDS Delete the ONU numbered ONUIDS under PONport
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU ID range Positive 1-128 1, 1-5 or 1,5
integer
【Mode】
PONportconfigureMode
【Note】
In the automatic authentication mode, the null method deletes the ONU, because
deleting the ONU during automatic authentication is null-meaning;
You need to use the useauth-mode <sn | loid | loid-pswd>Command to switch to another
authentication mode and then delete ONU。
【Example】
OLT (config-if-g2/1)>auth-mode sn
OLT (config-if-g2/1)>onu delete1
OLT (config-if-g2/1)>onu delete1-5

27.3.3 onu reboot


【Command】
onu-reboot {< ONUIDS> | all}
【Functional description】
Onu-reboot ONUIDS Restarts the ONU numbered ONU-ID under PONport
Onu-reboot all Restart allONU under PONport
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5

203
KingType PONCommand 行参考
Manual
integer
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)>onu reboot 1
OLT (config-if-g2/1)>onu reboot 1-5
OLT (config-if-g2/1)>onu reboot all

27.3.4 onu enable


【Command】
onu enable {< ONUIDS> | all}
【Functional description】
Onu enable ONUIDS wakes up the ONU according to the ONU ID to make it enter
the normal state.
Onu enable all wakes up the ONU in the abnormal state of the PONport and puts it
into the normal state.
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5
integer
【Mode】
PONportconfigureMode
【Note】
After the ONU is disabled, it will be in an abnormal state (O7). The ONU will no longer
initiate any request to the OLT, and the ONU will no longer process the OLT's control
command. Only the OLT sends an enable message to the ONU to return to the normal
state.
Several cases that cause the ONU to enter an abnormal state (O7):
1. The ONU certification failed;
2. The administrator manually disables the ONU;
【Example】
OLT (config-if-g2/1)>onu enable 1
OLT (config-if-g2/1)>onu enable 1-5
OLT (config-if-g2/1)>onu enable all

27.3.5 onu disable


【Command】
onu disable< ONUIDS>
【Functional description】
204
KingType PONCommand 行参考
Manual
onu disable ONUIDS Make the ONU in an abnormal state (O7)
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU ID range Positive 1-128 1, 1-5or1,5
integer
【Mode】
PONportconfigureMode
【Note】
The Command can be used when we don't want an ONU to go online or find out that
the ONU has an exception (such as long glow).
【Example】
OLT (config-if-g2/1)>onu disable 1
OLT (config-if-g2/1)>onu disable 1-5

27.3.6 onu gpon-stream-profile


【Command】
onugpon-stream-profile<ONUIDS>< STREAM-PROFILE-ID>
【Functional description】
onu gpon-stream-profile ONUIDS STREAM-PROFILE-ID
Bind the ONU to the created stream template
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5
integer
STREAM- Flow template Positive 1-256 1
PROFILE-ID ID integer
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)>onu gpon-stream-profile 1 1
OLT (config-if-g2/1)>onu gpon-stream-profile 1-5 1

27.3.7 onu upgrade


【Command】
onuupgrade<ONUIDS><IMAGE-NAME> {download-only | download-activate |
download-commit | download-commit-reboot}
205
KingType PONCommand 行参考
Manual
【Functional description】
Onu upgrade ONUIDS IMAGE-NAME download-only
<Download image only to ONU>
Onu upgrade ONUIDS IMAGE-NAME download-activate
<Download and temporarily switch to the new image. After the ONU restarts, it will
automatically return to the old version.
Onu upgrade ONUIDS IMAGE-NAME download-commit
<Download image, permanently switch to new image after ONU restarts>
Onu upgrade ONUIDS IMAGE-NAME download-commit-reboot
<Download and permanently switch to the new image>
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5
integer
IMAGE-NAME Mirror name Normal file null GPN_BS2_xx-
name xx.xx
【Mode】
PONportconfigureMode
【Note】
1. How to download the image to the OLT:
In the privileged Mode (pri) enter tftp download onu-image <image name><tftp server ip>
2. To perform ONU upgrade of the same ID under multiple PONports, you only need to
enter the configureMode of multiple PONports:
For example, to upgrade PON1-3, ONU under 5PONport, enter in cfgMode:
Interface g2/1-g2/3, g2/5 After entering multiple PONportMode, select the ONU to be
upgraded, such as
Onu upgrade 1,5 GPN_BS2_01-01.w download-commit means that the ONUs with ids 1
and 5 under pon1, pon2, pon3, and pon5 are upgraded at the same time.
【Example】
OLT (config-if-g2/1)>onu upgrade 1 GPN_BS2_01-01.w download-only
OLT (config-if-g2/1)>onu upgrade 1-32 GPN_BS2_01-01.w download-activate
OLT (config-if-g2/1)>onu upgrade 1,5 GPN_BS2_01-01.w download-commit
OLT (config-if-g2/1)>onu upgrade 1, 2-8 GPN_BS2_01-01.w download-commit-reboot

27.3.8 onu upgrade-info-delete


【Command】
onuupgrade-info-delete<ONUIDS>
【Functional description】
onuupgrade-info-deleteONUIDS Delete ONU upgrade information.
【Parameter】

206
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5
integer
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> onuupgrade-info-delete 1
OLT (config-if-g2/1)> onuupgrade-info-delete 1,3,4-8

27.3.9 onu image-operation


【Command】
onuimage-operation<ONUIDS>{activate | commit | commit-reboot}
【Functional description】
Onuimage-operation ONUIDS activate
<ONU temporarily switches to another image and resumes after reboot>
Onuimage-operation ONUIDS commit
<ONU permanently switches to another image after rebooting>
Onuimage-operation ONUIDS commit-reboot
<ONU permanently switches to another image>
【Parameter】

Parameter Name Format Range Example


ONUIDS ONU IDrange Positive 1-128 1, 1-5or1,5
integer
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> onuimage-operation1-32 activate
OLT (config-if-g2/1)> onuimage-operation1,32 commit
OLT (config-if-g2/1)> onuimage-operation1, 10-15 commit-reboot

27.3.10 upstream-fec
【Command】
upstream-fec {disable | enable}
【Functional description】
upstream-fec enable enable ONU upstream fecfunction
upstream-fec disable disableONU upstream fecfunction

207
KingType PONCommand 行参考
Manual
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
You should All modeconfigure or PONportconfigure enter ONUconfigureMode set
configure。
【Example】
OLT(config-if-gonu2/8:1)> upstream-fec enable (Single ONU situation)
OLT(config-if-gonu2/8:1)> upstream-fec disable
OLT(config-if-gonus)> upstream-fec enable (more ONU situation)
OLT(config-if-gonus)>upstream-fec disable

27.3.11 isolation
【Command】
isolation {disable | enable}
【Functional description】
isolationenable enableONU 的端 port 隔离 function
isolation disable disableONU 的端 port 隔离 function
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
All modeconfigure or PONportconfigure enter ONUconfigureMode set configure。
【Example】
OLT(config-if-gonu2/8:1)> isolation enable
OLT(config-if-gonu2/8:1)> isolation disable
OLT(config-if-gonus)> isolation enable
OLT(config-if-gonus)> isolation disable

27.3.12 unknown-mac
【Command】
unknown-mac {discard | forward}
【Functional description】
unknown-macdiscard 指定的 ONU 丢弃未知单播
unknown-mac forward 指定的 ONU 转发未知单播
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】

208
KingType PONCommand 行参考
Manual
需要在 All modeconfigureorPONportconfigureenterONUconfigureMode 进行 configure。
【Example】
OLT(config-if-gonu2/8:1)>unknown-mac discard
OLT(config-if-gonu2/8:1)>unknown-mac forward
OLT(config-if-gonus)>unknown-mac discard
OLT (config-if-gonus)>unknown-mac forward

27.3.13 mac-aging-time
【Command】
mac-aging-time<MAC-AGING-TIME>
【Functional description】
mac-aging-time MAC-AGING-TIME 设置指定 ONU 的 MACaddress 老化时间
【Parameter】

Parameter Name Format Range Example


MAC-AGING- MACaddress Positive 10-1000000 500
TIME 老化时间 integer
【Mode】
ONUconfigureMode
【Note】
OnlySFU 适用。
【Example】
OLT(config-if-gonu2/8:1)>mac-aging-time 500
OLT(config-if-gonus)>mac-aging-time 500

27.3.14 mac-learning
【Command】
mac-learning{disable | enable}
【Functional description】
mac-learningenable enable ONU MACaddress learn function
mac-learningdisable disable ONU MACaddresslearnfunction
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
All mode configure or PONportconfigureenterONUconfigureMode set configure。
【Example】
OLT(config-if-gonu2/8:1)>mac-learning enable
OLT(config-if-gonu2/8:1)>mac-learning disable
OLT(config-if-gonus)>mac-learning enable
OLT(config-if-gonus)>mac-learning disable

209
KingType PONCommand 行参考
Manual

27.3.15 mac-limit
【Command】
mac-limit<MAC-LIMIT>
【Functional description】
mac-limit MAC-LIMIT Set the number of MACaddresslearns of the specified
ONU.
【Parameter】

Parameter Name Format Range Example


MAC-LIMIT MACaddress Positive 0-255 0
limit number integer
【Mode】
ONUconfigureMode
【Note】
1. All modeconfigure or PONportconfigureenterONUconfigureMode set configure。
2.Command Only SFU 。
【Example】
OLT(config-if-gonu2/8:1)>mac-limit 20
OLT(config-if-gonus)>mac-limit 20

27.3.16 multicast-config-mode
【Command】
multicast-config-mode<GPON-VERSION>
【Functional description】
multicast-config-mode GPON-VERSION Set the multicast configuration mode of the
specified ONU.
【Parameter】

Parameter Name Format Range Example


ctc
GPON- GPON itu-t-a0 null itu-t-a0
itu-t-b3

VERSION version

【Mode】
ONUconfigureMode
【Note】
CTC: China Telecom Standard;
ITU-T-A0: International Telecommunication Union GPON OMCI Standard G.988 A0 (Basic
Message Format) version;
ITU-T-B3: GPON OMCI standard G.988 B3 (Support Extended Message Format) version
210
KingType PONCommand 行参考
Manual
of the International Telecommunication Union;
You need to configure in All modeconfigureorPONportconfigureenterONUconfigureMode.
【Example】
OLT(config-if-gonu2/8:1)>multicast-config-mode ctc
OLT(config-if-gonu2/8:1)>multicast-config-modeitu-t-a0
OLT(config-if-gonu2/8:1)>multicast-config-modeitu-t-b3
OLT(config-if-gonus)>multicast-config-modectc
OLT(config-if-gonus)>multicast-config-modeitu-t-a0
OLT(config-if-gonus)>multicast-config-modeitu-t-b3

27.3.17 optical-node
【Command】
optical-node {admin-status {down | up}| agc-power<AGC-POWER>| channel-
number<CHANNEL-NUMBER>}
【Functional description】
optical-node admin-status down disable optical receiver
optical-node admin-status up enable optical receiver
Optical-node agc-powerAGC-POWER Set the optical machine to control the
optical power
Optical-node channel-number Set the number of optical channels
【Parameter】

Parameter Name Format Range Example


Optical Signed
AGC-POWER machine control integer -15-15 2
optical power
Number of Null
CHANNEL- optical symbol 0-100 100
channels integer

NUMBER

【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT(config-if-gonu2/8:1)> optical-node admin-status up
OLT(config-if-gonu2/8:1)>optical-node admin-status down
OLT(config-if-gonu2/8:1)>optical-node agc-power -5
OLT(config-if-gonus)> optical-node admin-status up
OLT(config-if-gonus)> optical-node agc-power -5
OLT(config-if-gonus)> optical-node channel-number 40

211
KingType PONCommand 行参考
Manual

27.3.18 show gpon-onu register-info


【Command】
show gpon-onu register-info{ <GONUS> | all }
【Functional description】
Show gpon-onu register-info<GONUS> Displays the registration information of the
selected ONU. When an ONU is specified, detailed information is displayed. If multiple
ONUs are specified, brief information is displayed.
Show gpon-onu register-info all Display brief information about all registered ONUs under
OLT【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1,g2/2:
supports the operators ",", 5
"-" g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
ONU online judgment conditions: ready = yes, onu status = active / configured, omcc
status = up, the above three are also established.
【Example】
OLT (config)> show gpon-onu register-info g2/1:1

27.3.19 show gpon-onu blacklist


【Command】
show gpon-onu blacklist
【Functional description】
show gpon-onu blacklist Display ONU information that failed to register
authentication at the OLT.
【Parameter】
null
【Mode】
212
KingType PONCommand 行参考
Manual
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu blacklist

27.3.20 show gpon-onu capability


【Command】
show gpon-onu capability{ <GONUS> | all }
【Functional description】
Show gpon-onu capability<GONUS> Shows the capabilities of the selected ONU
Show gpon-onu capability all Shows all registered ONU capabilities under OLT
【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators ",", g2/1:1,g2/2:
"-" 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】

OLT (config)> show gpon-onu capability g2/1:1

213
KingType PONCommand 行参考
Manual

27.3.21 show gpon-onu info


【Command】
show gpon-onu info{ <GONUS> | all }
【Functional description】
Show gpon-onu info<GONUS> Display ONU information
Show gpon-onu info all Display information about all registered ONUs under OLT
【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators ",", g2/1:1,g2/2:
"-" 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu info g2/1:1

27.3.22 show gpon-onu optical-info


【Command】

214
KingType PONCommand 行参考
Manual
show gpon-onu optical-info { <GONUS> | all }
【Functional description】
Show gpon-onu optical-info<GONUS> Display information about the ONU
optical module
Show gpon-onu optical-info all Displays the optical module information of all ONUs
on the OLT.
【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators “,”, g2/1:1,g2/2:
“-” 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu optical-info g2/1:1

27.3.23 show gpon-onu configuration


【Command】
show gpon-onu configuration{ <GONUS> | all }
【Functional description】
Show gpon-onu configuration<GONUS> Display ONUconfigure information
Show gpon-onu configuration all Displays the configure information of all registered ONUs
under the OLT.
【Parameter】

215
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators “,”, g2/1:1,g2/2:
“-” 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu configuration g2/1:1

27.3.24 show gpon-onu software-info


【Command】
show gpon-onu software-info{ <GONUS> | all }
【Functional description】
Show gpon-onu software -info<GONUS> Display image information of the ONU
Show gpon-onu software -info all Displays the mirror information of all registered ONUs
under the OLT.
【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators “,”, g2/1:1,g2/2:
“-” 5
g2/1:1-
g2/1:5

216
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu software-info g2/1:1

27.3.25 show gpon-onu upgrade-status


【Command】
show gpon-onu upgrade-status{ <GONUS> | all }
【Functional description】
Show gpon-onu upgrade-status<GONUS> Display ONU upgrade information
Show gpon-onu upgrade-status all Display upgrade information of allONU under
OLT
【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators “,”, g2/1:1,g2/2:
“-” 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】
OLT (config-if-g2/1)> show gpon-onu software-info g2/1:1

217
KingType PONCommand 行参考
Manual

OLT (config-if-g2/1)> onu upgrade 1 GPN_BS2_01-01.w download-commit-reboot


OLT (config-if-g2/1)> show gpon-onu upgrade-status g2/1:1

Wait a few minutes to complete the upgrade……

OLT (config-if-g2/1)> show gpon-onu upgrade-status g2/1:1

OLT (config-if-g2/1)> show gpon-onu software-info g2/1:1

After the upgrade is complete, the ONU switches from mirror 1 to mirror 0, and the
corresponding mirror information changes.

218
KingType PONCommand 行参考
Manual

27.3.26 show gpon-onu optical-node


【Command】
show gpon-onu optical-node { <GONUS> | all }
【Functional description】
Show gpon-onu optical-node<GONUS> Display the specified ONU optical
machine configure
Show gpon-onu optical-node all Shows the optical machine configure of allONU
under OLT【Parameter】

Parameter Name Format Range Example


GONUS gpon onu id Slot number/end port g2/1
number: ONU number, g2/1:1
supports the operators “,”, g2/1:1,g2/2:
“-” 5
g2/1:1-
g2/1:5
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu optical-node g2/1:1

27.4 ONU port management configure

27.4.1 eth-portadmin-status
【Command】
eth-port<UNI-PORT>admin-status{disable | enable}
【Functional description】
eth-portUNI-PORTadmin-statusdisable disable specifies the ONU Ethernet port
eth-portUNI-PORT admin-statusenable enable specifies the ONU Ethernet port
【Parameter】
219
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


UNI-PORT ONU ETH Positive 1-32 1
port number integer
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) >eth-port 1 admin-status enable
OLT (config-if-gonu2/1:1) >eth-port 1-3 admin-status disable

27.4.2 eth-port gpon-multicast-profile


【Command】
eth-port <UNI-PORT>gpon-multicast-profile<PROFILE-ID>
【Functional description】
eth-port UNI-PORTgpon-multicast-profilePROFILE-ID
ONU Ethernet port binding multicast template
【Parameter】

Parameter Name Format Range Example


UNI-PORT ONU port Positive 1-32 1
number integer
PROFILE-ID Template ID Positive 1-65534 1
integer

【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) >eth-port1gpon-multicast-profile 1

27.4.3 show eth-port info


【Command】
show gpon-uni-info <UNI-PORT>
【Functional description】
Display the port information of the specified uni port.
【Parameter】

220
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


UNI-PORT ETH port Positive 1-32 1
number on integer
the ONU

【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) >show gpon-uni info 1

uni statisticsfunction We are based on ONU, so based on ONU configure display:


OLT (config)> show gpon-onu configuration g2/1:1

27.5 ONU Performance statistics

27.5.1 eth-portstatistics
221
KingType PONCommand 行参考
Manual
【Command】
eth-port statistics {15minutes | 24hours}{disable | enable}
【Functional description】
Eth-port statistics 15minutes enable enableONUall Ethernet port15min interval
eth-port performance statistics function
Eth-port statistics 15minutes disable disableONUall Ethernet port15min interval eth-
port performance statistics function
Eth-port statistics 24hours enable enableONUall Ethernet port24hour interval eth-
port performance statistics function
Eth-port statistics 24hours disable disableONUall Ethernet port24hour interval eth-
port performance statistics function
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) > eth-port statistics 15minutes enable
OLT (config-if-gonu2/1:1) > eth-port statistics 15minutes disable
OLT (config-if-gonu2/1:1) > eth-port statistics 24hours enable
OLT (config-if-gonu2/1:1) > eth-port statistics 24hours disable

27.5.2 gemport statistics


【Command】
gemport statistics {15minutes | 24hours}{disable | enable}
【Functional description】
Gemport statistics 15minutes enable enableONUall Ethernet port15min interval gemport
performance statistics function
Gemport statistics 15minutes disable disableONUall Ethernet port15min interval gemport
performance statistics function
Gemport statistics 24hours enable enableONUall Ethernet port24hour interval gemport
performance statistics function
Gemport statistics 24hours disable disableONUall Ethernet port24hour interval gemport
performance statistics function
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) > gemport statistics 15minutes enable

222
KingType PONCommand 行参考
Manual
OLT (config-if-gonu2/1:1) > gemport statistics 15minutes disable
OLT (config-if-gonu2/1:1) > gemport statistics 24hours enable
OLT (config-if-gonu2/1:1) > gemport statistics 24hours disable

27.5.3 show gpon-uni statistics


【Command】
show eth-port statistics < UNI-PORT> {15min-current | 15min-history | 24hour-
current | 24hour-history | accumulated}
【Functional description】
Show eth-port statistics < UNI-PORT> 15min-current Display statistics for the
specified uniport within 15 minutes
Show eth-port statistics < UNI-PORT> 15min-history Displays statistics for the first
15 minutes of the specified uniport
Show eth-port statistics < UNI-PORT> 24hour-current Displays statistics for the
specified uniport within 24 hours
Show eth-port statistics < UNI-PORT> 24hour-history Display statistics for the
specified 24-hour period before uniport
Show eth-port statistics < UNI-PORT> accumulated Shows performance statistics
for the specified uniport until now
【Parameter】

Parameter Name Format Range Example


UNI-PORT ETH port Positive integer 1-32 1
number on
the ONU
【Mode】
ONUconfigureMode
【Note】
The data collection here is the performance statistics from the start performance
statistics switch to the current time. If it is less than 15 minutes, the data will be included in
the current statistics table. If the time exceeds 15 minutes, the data within the 15-minute
period will be saved in the history-15min statistics table. By the 16th minute, current will
enter the performance statistics of the second 15 minutes of the enter, that is, the current
table stores the data from the 15th minute to the 16th minute. After the 30th minute, the
history-15min statistics table will be refreshed again, and then cycle back and forth until
the corresponding performance statistics switch is disabled.
The 24-hour statistical data collection method is similar, and the data will be refreshed
every 15 minutes. After 24 hours, it will be stored in the 24-hour historical data table.
【Example】
OLT (config)> show eth-port statistics 1 15min-current

223
KingType PONCommand 行参考
Manual

27.5.4 show gemport statistics


【Command】
show gemport statistics< GEM-PORT> {15min-current | 15min-history | 24hour-
current | 24hour-history | accumulated}
【Functional description】
Show gemport statistics < UNI-PORT> 15min-current Display statistics for the
specified gemport within 15 minutes
Show gemport statistics < UNI-PORT> 15min-history Display statistics for the first
15 minutes of the specified gemport

224
KingType PONCommand 行参考
Manual
Show gemport statistics < UNI-PORT> 24hour-current Displays statistics for the
specified gemport within 24 hours
Show gemport statistics < UNI-PORT> 24hour-history Display statistics for the
specified 24-hour period before the specified gemport
Show gemport statistics < UNI-PORT> accumulated Shows performance statistics
for the specified gemport until now
[Parameter]

Parameter Name Format Range Example


GEM-PORT Gemport Positive integer 1-24 1
number bound
to the ONU
【Mode】
ONUconfigureMode
【Note】
The data collection here is the performance statistics from the start performance
statistics switch to the current time. If it is less than 15 minutes, the data will be included in
the current statistics table. If the time exceeds 15 minutes, the data within the 15-minute
period will be saved in the history-15min statistics table. By the 16th minute, current will
enter the performance statistics of the second 15 minutes of the enter, that is, the current
table stores the data from the 15th minute to the 16th minute. After the 30th minute, the
history-15min statistics table will be refreshed again, and then cycle back and forth until
the corresponding performance statistics switch is disabled.
The 24-hour statistical data collection method is similar, and the data will be refreshed
every 15 minutes. After 24 hours, it will be stored in the 24-hour historical data table.
【Example】
OLT (config)> show gemport statistics 1 15min-current

27.6 template configure

27.6.1 gpon-dba-profile
【Command】
gpon-dba-profile{<PROFILE-ID> | <PROFILE-NAME>}
type1 fix <uint 256-1152000>
225
KingType PONCommand 行参考
Manual
type2 assured <uint 256-1152000>
type3 assured <uint 256-1152000> max <uint 256-1152000>
type4 max <uint 256-1152000>
type5 fix <uint 256-1152000>assured <uint 256-1152000> max <uint 256-
1152000>
【Functional description】
Gpon-dba-profile PROFILE-ID type1 fix <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets a fixed bandwidth.
Gpon-dba-profile PROFILE-ID type2 assured <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the guaranteed
bandwidth.
Gpon-dba-profile PROFILE-ID type3assured <uint 256-1152000>max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the guaranteed
bandwidth and maximum bandwidth.
Gpon-dba-profile PROFILE-ID type4 max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the maximum
bandwidth.
Gpon-dba-profile PROFILE-ID type5 fix <uint 256-1152000>assured <uint 256-1152000>
max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets fixed bandwidth,
guaranteed bandwidth, and maximum bandwidth.
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive 1-65534 1
integer
PROFILE-NAME templateNa String null 100M
me

【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>gpon-dba-profile 1 type1 fix 51200
OLT(config)> gpon-dba-profile 2 type2 assured 51200
OLT(config)> gpon-dba-profile 3 type3 assured 51200 max 102400
OLT(config)> gpon-dba-profile 4 type4 max 115200
OLT(config)> gpon-dba-profile 5 type5 fix 1024 assured 10240 max 20480

27.6.2 gpon-traffic-limit-profile
【Command】

226
KingType PONCommand 行参考
Manual
gpon-traffic-limit-profile{<PROFILE-ID> | <PROFILE-NAME>} cir <uint 256-
1024000> pir <uint 256-1024000>type1 fix <uint 256-1152000>
【Functional description】
gpon-traffic-limit-profile<PROFILE-ID> cir <uint 256-1024000> pir <uint 256-
1024000>
Create a flow control template identified by id, cir is the guaranteed rate, and pir is the peak
rate.【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive 1-65534 1
integer
PROFILE-NAME templateNa String null 100M
me

【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)> gpon-traffic-limit-profile 1 cir 102400 pir 115200

27.6.3 gpon-multicast-acl-profile
【Command】
gpon-multicast-acl-profile<PROFILE-ID>
gpon-multicast-acl-profile<PROFILE-NAME>
【Functional description】
gpon-multicast-acl-profile<PROFILE-ID>
Entergpon multicast access control list templateconfigureMode, if the template whose ID
is <PROFILE-ID>orName is <PROFILE-NAME> does not exist, create the template after
configure is completed, if the template already exists, modify the content of the template

After the entergpon multicast multicast access control list templateconfigureMode can be
configured as follows:
Add-rule<MULTICAST-ACL-RULE-ID> [gemport <GEM-PORT-ID>] vid <VLAN-ID> group-
start {<IP-ADDR> | < IPV6-ADDR> } group-end {<IP -ADDR> | < IPV6-ADDR>}
The Command indicates that a multicast access control rule is added according to the input
Parameter.
Delete-rule<MULTICAST-ACL-RULE-ID>
The Command indicates that the specified multicast acl rule is deleted.
Preview<MULTICAST-ACL-RULE-ID> time<PREVIEW-TIME> interval <PREVIEW-
INTERVAL-TIME> repeat-times<PREVIEW-REPEAT-TIME> reset-time <RESET-TIMES>
Create a preview rule for a TV channel based on the multicast acl rule
【Parameter】

227
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


PROFILE-ID templateID Positive 1-65534 1
integer
PROFILE-NAME templateNa String null 100M
me
MULTICAST- Multicast acl Positive 1-1024 1
ACL-RULE-ID rule number integer
GEM-PORT-ID gem port Positive 4000-4090 4000
number integer
VLAN-ID vlan id Positive 1-4094 100
integer
IP-ADDR IPaddress A.B.C.D IPaddress 192.168.3.100
rule
IPV6-ADDR IPV6addres HH:HH:HH:HH IPV6addres fe80::d2eb:e913:5
s :HH:HH:HH:H s 规则 29a:1c07/64
H/Nor
HH::HH/N
PREVIEW-TIME Preview Positive 0-10000 300
time integer
PREVIEW- Two preview Positive 1-10000 300
INTERVAL-TIME intervals integer
PREVIEW- Allow Positive 1-10000 300
REPEAT-TIME previews integer
per day
RESET-TIMES Reset time Positive 1-24 2
(hours in 24 integer
hours)
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>gpon-multicast-acl-profile 1
OLT(config)>add-rule 1 gem-port 4000 vid 71 group-start 232.10.1.11 group-end
232.10.1.70
OLT(config)>add-rule 2 gem-port 4000 vid 71 group-start 232.10.1.1 group-end
232.10.1.10
OLT(config)>preview 2 time 1 interval 1 repeat-times 1 reset-time 1
OLT(config)>exit

27.6.4 gpon-multicast-profile
【Command】
228
KingType PONCommand 行参考
Manual
gpon-multicast-profile<PROFILE-ID>
gpon-multicast-profile<PROFILE-NAME>
【Functional description】
gpon-multicast-profile<PROFILE-ID>
Entergpon multicast templateconfigureMode, if the template whose ID is <PROFILE-
ID>orName is <PROFILE-NAME> does not exist, create the template after configure is
completed, and modify the content of the template if the template already exists.
After entergpon multicasttemplateconfigureMode can be configured as follows:
Igmp-version{ igmp-v2 | igmp-v3 | mld-v1-igmp-v2 | mld-v2-igmp-v3 }
Gmp-versionigmp-v2configure multicast version is igmp-v2
Gmp-versionigmp-v3configure multicast version is igmp-v3
Gmp-versionmld-v1-igmp-v2configure multicast supports both mld-v1 and igmp-v2
Gmp-versionmld-v2-igmp-v3configure multicast supports both mld-v2 and igmp-v3
Igmp-function{snooping-only | snooping-proxy-report | proxy}
Igmp-functionsnooping-only only supports snooping
Igmp-functionsnooping-proxy-report supports snooping and proxy reports
Igmp-functionproxy supports proxy
Fast-leave{disable | enable}
Fast-leave enable enable fast off-function
Fast-leave disable disable fast off-function
Dynamic-acl-profile<PROFILE-ID>
Bind the dynamic access control list template
Static-acl-profile<PROFILE-ID>
Bind static access control list template
Upstream-vlan{add <VLAN-ID> | replace <VLAN-ID> | transparant }
Upstream-vlan add VLAN-ID multicast add uplink vlan
Upstream-vlan replace multicast replacement upstream vlan
Upstream-vlan transparent Multicast upstream vlan is set to transparent mode
Downstream-vlan{strip | add <VLAN-ID> | replace <VLAN-ID> | transparant}
Downstream-vlan add VLAN-ID multicast add downlink vlan
Downstream-vlan replace multicast replacement downstream vlan
Downstream-vlan transparent Multicast downlink vlan is set to transparent mode
Downstream-vlanstrip multicast downlink vlan is stripped
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive 1-65534 1
integer
PROFILE-NAME templateNa String null 100M
me
VLAN-ID vlan id Positive 1-4094 100
integer
【Mode】
All modeconfigureMode

229
KingType PONCommand 行参考
Manual
【Note】
null
【Example】
OLT(config)>gpon-multicast-profile 1
OLT(config)>dynamic-acl-profile 1
OLT(config)>igmp-version igmp-v3
OLT(config)>fast-leave enable
OLT(config)>upstream-vlan replace 71
OLT(config)>downstream-vlan strip
OLT(config)> exit

27.6.5 gpon-stream-profile
【Command】
gpon-stream-profile<PROFILE-ID>
gpon-stream-profile<PROFILE-NAME>
【Functional description】
gpon-stream-profile<PROFILE-ID>
Enter the stream templateconfigureMode, if the template whose ID is <PROFILE-
ID>orName is <PROFILE-NAME> does not exist, create the template after configure is
completed, and modify the content of the template if the template already exists.
After entering the stream templateconfigureMode, you can do the following configure:
Mapping-mode{transparent | vlan | priority | vlan-priority}
Mapping-mode transparentconfigure stream template is transparent mode
Mapping-mode vlanconfigure stream template is vlanMode
Mapping-mode priorityconfigure stream template is the priority mode
Mapping-mode vlan-priorityconfigure stream template is vlan+priority Mode
Add{tcont {<TCONT-ID>gpon-dba-profile {<PROFILE-ID> | <PROFILE-NAME>}
| gemport {<GEMPORT-ID>tcont<TCONT-ID>}}
Create a tcont and bind an existing upstream dbatemplate to the uplink speed limit.
Create a gemport and bind the upstream tcont. Optionally set the vlan and priority mask.
Gem-mapping<GEMPORT-ID><MAPPING-ID>[vlan<VLAN-ID>] [priority<PRIORITY>]
No gem-mapping<GEMPORT-ID><MAPPING-ID>
Traffic-limit-profilegemport<GEMPORT-ID> {upstream | downstream} <PROFILE-ID>
Gemport binding flow control template implements gemport-based uplink and downlink
speed limit
Qinq-vlangemport <GEMPORT-ID> vlan <VLAN-ID> [priotity <VLAN-PRIORITY>]
Gemport sets qinq vlan, optional configurevlan priority
Modify tcont <TCONT-ID> dba-profile {<PROFILE-ID> | <PROFILE-NAME>}
Modify the dbatemplate of the tcont binding
Delete { tcont <TCONT-ID> | gemport <GEMPORT-ID> }
Delete the created gemportortcont
【Parameter】

230
KingType PONCommand 行参考
Manual

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateNam String null 100M
e
VLAN-ID vlan id Positive integer 1-4094 100
VLAN-LIST Lan list Integer, support [1-4094] 200-205
for operators
",", "-"
VLAN- Vlan priority Positive integer 0-7 1
PRIORITY
TCONT-ID Tcont id Positive integer 1-4 1
GEMPORT-ID Gemport id Positive integer 1-24 1
PRIORITY priority Integer, support 0-7 1-3
for operators
",", "-"
【Mode】
All modeconfigureMode
【Note】
1. The maximum number of vlan lists currently supported is 8.
2. If enter flows templateconfigureMode, the stream template will be created immediately.
If you do not enter any Command, the template will exit. The created template only has the
basic information such as the stream template number and the mapping mode.
【Example】
1.Creat dbatemplate
OLT(config)>gpon-dba-profile 1 type4 max 115200
2.Creat stream template
OLT(config)>gpon-stream-profile 1
OLT(config)>add tcont 1 gpon-dba-profile 1
OLT(config)>mapping-mode transparent
OLT(config)>add gemport 1 tcont-id 1
OLT(config)> exit

27.6.6 gpon-service-profile
【Command】
gpon-service-profile{<PROFILE-ID> | <PROFILE-NAME>}
onu-type {adaptive | sfu | hgu}
mac-aging-time< MAC-AGING-TIME>
mac-learning {enable | disable}
port-number eth-port <ETH-PORT-NUMBER>veip< VEIP-PORT-NUMBER>
eth-port <ETH-PORT-NUMBER> {
flow-control {enable | disable} |
max-frame-size<MAX-FRAME-SIZE> |
231
KingType PONCommand 行参考
Manual
mac-limit<MAC-LIMIT> |
gpon-traffic-limit-profile {upstream | downstream} <PROFILE-ID> |
vlan{
mode {transparent | tag | trunk | translation | aggregation | pool |
qinq} |
pvid<VLAN-ID> [ <PRIORITY> ] |
trunk {add < VLAN-LIST> | delete < VLAN-LIST> | clear} |
translation {add <VLAN-ID><VLANS-ID> | delete <VLAN-LIST> |
clear } |
aggregation {add<VLAN-LIST><VLAN-ID> | delete <VLAN-LIST> |
clear }
qinq {<VLAN-ID>by untagged ethernet-type {ipv4 | arp | pppoe |
ipv6} }
}
}
no eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-
type {ipv4 | arp | pppoe | ipv6}}
【Functional description】
gpon-service-profile PROFILE-ID
Enter service templateconfigureMode, if the template whose ID is <PROFILE-ID>orName
is <PROFILE-NAME> does not exist, create the template after configure is completed, and
modify the content of the template if the template already exists.
After entering the stream templateconfigureMode, you can do the following configure:
Onu-type {adaptive | sfu | hgu}
The type of configureONU, the default is adaptive, when the user wants to use the HGU
as SFU to configure, or when the type reported by the ONU is incorrect, the configure can
be forced to a fixed type SFUorHGU;
Mac-aging-time MAC-AGING-TIME
MAC address aging time of the configuretemplate
Mac-learning {enable | disable}
Configuretemplate's MACaddresslearnfunction
Port-number eth-port<ETH-PORT-NUMBER>veip< VEIP-PORT-NUMBER>
Specify the number of ETHports and VEIPports of the template. 0 means that the port type
is not selected.
Eth-port<ETH-PORT-NUMBER>flow-control {enable | disable}
ETHport flow control enabled in the configure service template
Eth-port<ETH-PORT-NUMBER>max-frame-size<MAX-FRAME-SIZE>
Maximum frame length of the ETHport packet specified in the configure service template
Eth-port<ETH-PORT-NUMBER>mac-limit<MAC-LIMIT>
The number of ETHportMACaddresslearn specified in the configure service template
Eth-port<ETH-PORT-NUMBER>flow-control {enable | disable}
ETHport flow control enabled in the configure service template
Eth-port<ETH-PORT-NUMBER>gpon-traffic-limit-profile {upstream | downstream}
<PROFILE-ID>

232
KingType PONCommand 行参考
Manual
The ETHport upstream/downstream flow control template specified in the configure service
template implements the uplink and downlink speed limit function.
Eth-port<ETH-PORT-NUMBER> vlan mode {transparent | tag | trunk | translation |
aggregation |
The ETHportvlanMode specified in the configure service template is
pass/tag/trunk/translation/aggregation.
Eth-port<ETH-PORT-NUMBER>pvid<VLAN-ID> [ <PRIORITY> ]
The default vlan id of the ETHport specified in the configure service template, optional the
priority of configurevlan.
Eth-port<ETH-PORT-NUMBER> trunk {add < VLAN-LIST> | delete < VLAN-LIST> | clear}
Add the vlan list of the ETHporttrunk vlan specified in the configure service template/delete
the specified vlan/clear alltrunk vlan rule.
Eth-port<ETH-PORT-NUMBER>translation {add <VLAN-ID><VLANS-ID> | delete <VLAN-
LIST> | clear }
The addition of the ETHportvlan translation rule specified in the configure service template
(source vlan and destination vlan)/delete/clear alltranslation rules.
Eth-port<ETH-PORT-NUMBER>aggregation {add<VLAN-LIST><VLAN-ID> | delete
<VLAN-LIST> | clear }
The addition of the ETHportvlan aggregation rule specified in the configure service
template (source vlan list and destination vlan id)/delete/clear all aggregation rules.
Eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-type {ipv4 | arp |
pppoe | ipv6}
The qinq rule of the ETHport specified in the configure service template adds the specified
vid and priority to the untagged package according to the Ethernet type.
No eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-type {ipv4 |
arp | pppoe | ipv6}}
Delete the qinqconfigure of the specified port in the service template.
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive 1-65534 1
integer
PROFILE-NAME templateNa String null 100M
me
MAC-AGING- MAC Positive 10-1000000 300
TIME address integer
aging time
ETH-PORT- ETH port Positive 0-32 4
NUMBER number integer
VEIP-PORT- VEIP port Positive 0-1 1
NUMBER number integer
MAX-FRAME- Maximum Positive 1518-2000 1518
SIZE Ethernet integer
message

233
KingType PONCommand 行参考
Manual
frame
length
MAC-LIMIT MACaddres Positive 0-255 20
slearn integer
number
VLAN-ID Vlan id Positive 1-4094 100
integer
VLAN-LIST Vlan list Integer, [1-4094] 200-205
support for
operators ",",
"-"
PRIORITY priority Positive 0-7 1
integer

【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>gpon-service-profile 1
OLT (gpon-service-profile-1)>mac-aging-time 1000
OLT (gpon-service-profile-1)>mac-learning disable
OLT (gpon-service-profile-1)>port-number eth 5 veip 1
OLT (gpon-service-profile-1)>eth 1 max-frame-size 2000
OLT (gpon-service-profile-1)>eth 1 flow-control enable
OLT (gpon-service-profile-1)>eth 1 vlan mode tag
OLT (gpon-service-profile-1)>eth 1 vlan pvid 200
OLT (gpon-service-profile-1)>eth 2 vlan mode aggregation
OLT (gpon-service-profile-1)>eth 2 vlan aggregation add 301-308 1000
OLT (gpon-service-profile-1)>eth 3 vlan mode transparent
OLT (gpon-service-profile-1)>eth 4 vlan mode translation
OLT (gpon-service-profile-1)>eth 4 vlan translation add 100 200
OLT (gpon-service-profile-1)>eth 4 vlan translation add 200 300
OLT (gpon-service-profile-1)>eth 4 vlan translation add 1000 2000
OLT (gpon-service-profile-1)>eth 5 vlan mode trunk
OLT (gpon-service-profile-1)>eth 5 vlan trunk add 101-108

27.6.7 no
【Command】
no { gpon-dba-profile | gpon-traffic-limit-profile | gpon-vlan-profile | gpon-
multicast-acl-profile | gpon-multicast-profile |gpon-stream-profile } { <PROFILE-ID>
| <PROFILE-NAME> }
234
KingType PONCommand 行参考
Manual
【Functional description】
Delete the specified template according to IDorName
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null 100M
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)>no gpon-dba-profile 1
OLT (config)>no gpon-traffic-limit-profile 1
OLT (config)>no gpon-vlan-profile 1
OLT (config)>no gpon-multicast-acl-profile 1
OLT (config)>no gpon-multicast-profile 1
OLT (config)>no gpon-stream-profile 1

27.6.8 show gpon-dba-profile


【Command】
show gpon-dba-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-dba-profilePROFILE-ID Display template information of the
specified ID number
Show gpon-dba-profilePROFILE-NAME Display template information for the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null 100M
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-dba-profile 1

235
KingType PONCommand 行参考
Manual

27.6.9 show gpon-traffic-limit-profile


【Command】
show gpon-traffic-limit-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-traffic-limit-profilePROFILE-ID Display template information of the specified ID
number
Show gpon-traffic-limit-profilePROFILE-NAME Display template information for the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null 10M
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-traffic-limit-profile 1

27.6.10 show gpon-vlan-profile


【Command】
show gpon-vlan-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-vlan-profilePROFILE-ID Display template information of the
specified ID number
Show gpon-vlan-profilePROFILE-NAME Display template information for the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1

236
KingType PONCommand 行参考
Manual
PROFILE-NAME templateN String null 100M
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-vlan-profile all

27.6.11 show gpon-multicast-acl-profile


【Command】
show gpon-multicast-acl-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
show gpon-multicast-acl-profilePROFILE-ID 显示指定 ID 号的 template 信息
show gpon-multicast-acl-profilePROFILE-NAME 显示指定 Name 的 template 信

【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null preview1
ame

237
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-multicast-acl-profile 1

27.6.12 show gpon-multicast-profile


【Command】
show gpon-multicast-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-multicast-profilePROFILE-ID Display template information of the
specified ID number
Show gpon-multicast-profilePROFILE-NAME Display template information for the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null multicast1
ame

238
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
To create this template, you need to create gpon-multicast-acl-profile first.
【Example】
OLT (config)> show gpon-multicast-profile 1

27.6.13 show gpon-stream-profile


【Command】
show gpon-multicast-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-multicast-profilePROFILE-ID Display template information of the
specified ID number
Show gpon-multicast-profilePROFILE-NAME Display template information for the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null multicast1
ame
【Mode】
allMode
【Note】
To create this template, you need to create gpon-dba-profile first.
【Example】
OLT (config)> show gpon-stream-profile 1

239
KingType PONCommand 行参考
Manual

27.6.14 show gpon-service-profile


【Command】
show gpon-service-profile{ <PROFILE-ID> | <PROFILE-NAME> | all }
【Functional description】
Show gpon-service-profilePROFILE-ID Display template information of the
specified ID number
Show gpon-service-profilePROFILE-NAME Displays the template information of the
specified Name
【Parameter】

Parameter Name Format Range Example


PROFILE-ID templateID Positive integer 1-65534 1
PROFILE-NAME templateN String null multicast1
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-service-profile 1

240
KingType PONCommand 行参考
Manual

27.7 VLAN pool configure

27.7.1 vlan poolconfigure


【Command】
vlan pool {<POOL-ID><VLAN-LIST> | create {increase-by-onu | increase-by-uni |
loop-by-onu | loop-by-uni} <VLAN-LIST><POOL-ID> | delete<POOL-ID>}
【Functional description】
vlan pool <POOL-ID> <VLAN-LIST>
Modify the vlan list of the specified ID vlanpool
Vlan pool create increase-by-onu <VLAN-LIST><POOL-ID>
Create a vlanpool with the ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>.
The vlan allocation rule is: According to the onu id, the uni portvlan of the ONU is the same
as the vlan of the ONU.
Vlan pool create increase-by-uni <VLAN-LIST><POOL-ID>
Create a vlanpool with the ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>.

241
KingType PONCommand 行参考
Manual
The vlan allocation rule is: automatically incremented according to the onu and uni port
numbers. (For example: ONU1 and ONU2 have four uniports, then 8 different vlans will be
assigned after binding the vlanpool)
Vlan pool create loop-by-onu <VLAN-LIST><POOL-ID>
Create a vlanpool with ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>. The
vlan allocation rule is: according to the onu id and the given vlanrange automatic round-
robin allocation, the uni-end portvlan of the ONU is the same as the ONU-assigned vlan. .
(For example: ONU1~ONU5, vlan list range is 201-203, only three vlan, will assign vlan
201, 202, 203, 201, 202 to 5 ONUs respectively)
Vlan pool create loop-by-uni <VLAN-LIST><POOL-ID>
Create a vlanpool with the ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>.
The vlan allocation rule is: automatic cyclic allocation according to the onu and uni port
numbers. (For example: ONU1 has 4 uni-end ports, ONU2 has 2 uniports, vlan listrange1-
3, then binds vlanpool, ONU1 four uni ports respectively assign vlan 1,2,3,1 and ONU2 two
uniports allocate vlan 2,3)
Vlan pool delete<POOL-ID>
Delete the vlanpool of the specified ID that is not used
【Parameter】

Parameter Name Format Range Example


POOL-ID VLANpoolI Positive integer 1-64 1
D
VLAN-LIST Vlan list Integer, support for [1-4094] 200-205
operators ",", "-"
【Mode】
All modeconfigureMode
【Note】
1. vlan pool create increase-by-onu and vlan pool create increase-by-uniMode, if the vlan
list in the vlanpool is not enough, the ONU after the vlan is allocated will be assigned a
default vlan 1;
2. vlan pool create loop-by-onu and vlan pool create loop-by-uniMode, if the vlan list in
vlanpool is not enough, the vlan number starting from the vlan list will be reassigned after
a round of loops.
【Example】
OLT (config)>vlan pool create increase-by-onu 1-4094 1
OLT (config)>vlan pool create loop-by-uni 1-3 2

27.7.2 vlan pool bind


【Command】
vlan pool bind <POOL-ID>
【Functional description】
Vlan pool bind <POOL-ID> After the PONport is bound to the vlanpool, the VLAN will be
assigned to the ONU and its uni port on the PON port according to the vlanpool rules.

242
KingType PONCommand 行参考
Manual
No vlan pool bind Unbind vlanpool of the specified PONport
【Parameter】

Parameter Name Format Range Example


POOL-ID VLANpoolI Positive integer 1-64 1
D
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT(config-if-g2/1)>vlan pool bind 1
OLT(config-if-g2/1)>no vlan pool bind

27.8 VLAN Selective-QinQ

27.8.1 vlan selective-qinq


【Command】
vlan selective-qinq add OUTER-VLAN priority {copy-priority | PRIORITY} by
{ethernet-type {ipv4 | ipv6 | arp | rarp | ppp | mpls | pppoe-d | pppoe-s | lldp |
ETHERNET-TYPE} [vlan VLANS] | priority PRIORITY | vlan C-VLAN priority
PRIORITY}
vlan selective-qinq delete by {ethernet-type {ipv4 | ipv6 | arp | rarp | ppp | mpls |
pppoe-d | pppoe-s | lldp | ETHERNET-TYPE} [vlan VLANS] | priority PRIORITY |
vlan C-VLAN priority PRIORITY}
vlan selective-qinq clear
show vlan selective-qinq {all | PORT-GPON}
【Functional description】
vlan selective-qinq add OUTER-VLAN priority {copy-priority | PRIORITY }by
ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls | pppoe-d | pppoe-s | lldp |
ETHERNET-TYPE } vlan VLANS
Add flexible QinQ entries based on vlanrange and Ethernet type.
vlan selective-qinq add OUTER-VLAN priority {copy-priority | PRIORITY }by
ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls | pppoe-d | pppoe-s | lldp |
ETHERNET-TYPE }
Add a flexible QinQ entry based on the Ethernet type.
vlan selective-qinq add OUTER-VLAN priority {copy-priority | PRIORITY } by
priority PRIORITY
Add a priority-based flexible QinQ entry.
vlan selective-qinq add OUTER-VLAN priority {copy-priority | PRIORITY } by vlan

243
KingType PONCommand 行参考
Manual
C-VLAN priority PRIORITY
Add flexible QinQ entries based on vlan and vlan priority

vlan selective-qinq delete by ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls |
pppoe-d | pppoe-s | lldp | ETHERNET-TYPE } vlan VLANS
Delete a flexible QinQ entry based on the specified vlanrange and Ethernet type.
Vlan selective-qinq delete by ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls | pppoe-
d | pppoe-s | lldp | ETHERNET-TYPE }
Delete a flexible QinQ entry based on the specified Ethernet type.
Vlan selective-qinq delete by priority PRIORITY
Delete a flexible QinQ entry based on the specified priority.
Vlan selective-qinq delete by vlan C-VLAN priority PRIORITY
Delete flexible QinQ entries based on vlan and vlan priority
Vlan selective-qinq clear
Clear all flexible QinQ entries of configure on the PONport.
Show vlan selective-qinq {all | PORT-GPON}
Display all terminal portor to specify the flexible QinQ entry of configure on the
PONport.【Parameter】

Parameter Name Format Range Example

Integer
OUTER-VLAN VLAN ID [1,4094] 100

Ethernet Hexadecimal number


ETHERNET- [0x0,0xFFFF] 0x0800
protocol
TYPE
type
priority Integer
PRIORITY [0,7] 3

VLAN ID Integer
C-VLAN [1,4094] 1000

GPON port End port type + slot /


PORT-GPON GPON port g2/1
end port
VLANrang Integer, support
VLANS [1,4094] 100-1000
e operator "-"

【Note】
The priority in the specified OUTER-VLAN tag, which supports the tag copy or specified
value from the packet, each device supports the following
设备 Name priority copy-priority priority PRIORITY
GPT-F88B not support Support
GPT-C43BB Support Support
GPT-C43BB-01 Support Support
GPT-C448B not support Support
KTFSG-18FB VLAN selevtive-qinq is not No support VLAN selevtive-
supported qinq
244
KingType PONCommand 行参考
Manual

Flexible QinQ entries based on vlanrange and Ethernet type. Each device supports the
following.
设备 Name 状态
GPT-F88B No support
GPT-C43BB Support
GPT-C43BB-01 Support
GPT-C448B No support
KTFSG-18FB No support VLAN selevtive-
qinq

【Mode】
PONMode
【Example】
OLT(config-if-g2/1)> vlan selective-qinq add 1000 priority 5 by ethernet-type ipv4
OLT(config-if-g2/2)> vlan selective-qinq add 2000 priority copy-priority by priority 7
OLT(config-if-g2/3)> vlan selective-qinq add 3000 priority 3 by vlan 1000 priority 7
OLT(config-if-g2/4)> vlan selective-qinq delete by priority 7
OLT(config-if-g2/5)> vlan selective-qinq clear
OLT(config)> show vlan selective-qinq all
OLT(config)> show vlan selective-qinq g2/3

245

You might also like