Вы находитесь на странице: 1из 169

KingType PON command manual

KINGTYPE
PON
CLI manual

1
KingType PON command manual

Content
Content ............................................................................................................................................ 2
Chapter 1 configuration preparation .................................................................................. 11
1.1device connect ...................................................................................................................... 11
Chapter 2 basic .......................................................................................................................... 12
2.1 Summary .................................................................................................................................. 12
2.2 Operation mode ..................................................................................................................... 12
2.3 Command .................................................................................................................................. 12
2.3.1 enable......................................................................................................................... 12
2.3.2 configure terminal ................................................................................................. 13
2.3.3 interface................................................................................................................... 13
2.3.4 vlan............................................................................................................................. 14
2.3.5 access-list............................................................................................................... 15
2.3.6 uni............................................................................................................................... 15
2.3.7 igmp proxy................................................................................................................. 16
2.3.8 end............................................................................................................................... 16
2.3.9 exit............................................................................................................................. 17
2.3.10 quit........................................................................................................................... 17
2.4 terminal command ................................................................................................................ 17
2.4.1 command language ..................................................................................................... 17
2.4.2 show command language ........................................................................................... 18
2.4.3 command history ....................................................................................................... 18
2.4.4 show command-history ............................................................................................. 19
2.4.5 command paging ......................................................................................................... 19
2.4.6 ping............................................................................................................................. 19
2.4.7 timeout....................................................................................................................... 20
2.4.8 clear........................................................................................................................... 20
Chapter 3 system command ........................................................................................................ 21
3.1 summary .................................................................................................................................. 21
3.2 basic information .............................................................................................................. 21
3.2.1 show system............................................................................................................... 21
3.2.2 show device runtime ............................................................................................... 21
3.2.3 reboot......................................................................................................................... 22
3.3 Clock ...................................................................................................................................... 22
3.3.1 date............................................................................................................................. 22
3.3.2 timezone..................................................................................................................... 22
3.3.3 show date................................................................................................................... 23
3.4 power ...................................................................................................................................... 23
3.4.1 power shutdown ......................................................................................................... 23
3.4.2 show power................................................................................................................. 23
3.5 temperature ........................................................................................................................... 24
3.5.1 show temperature ..................................................................................................... 24
2
KingType PON command manual

3.6 fan .......................................................................................................................................... 24


3.6.1 fan control............................................................................................................... 24
3.6.2 fan speed................................................................................................................... 25
3.6.3 show fan..................................................................................................................... 25
Chapter 4 Board configuration .............................................................................................. 26
4.1 summary .................................................................................................................................. 26
4.2 command .................................................................................................................................. 26
4.2.1 board add................................................................................................................... 26
4.2.2 board delete............................................................................................................. 26
4.2.3 board slot................................................................................................................. 27
4.2.4 show board................................................................................................................. 27
Chapter 5 configuration file ................................................................................................ 28
5.1 summary .................................................................................................................................. 28
5.2 command .................................................................................................................................. 28
5.2.1 write........................................................................................................................... 28
5.2.2 clear config-file ................................................................................................... 28
5.2.3 boot-load config-file ........................................................................................... 29
5.2.4 show config-file .......................................................................................................... 29
5.2.5 show running-config ................................................................................................... 29
Chapter 6 upgrade configuration .......................................................................................... 31
6.1 summary .................................................................................................................................. 31
6.2 command .................................................................................................................................. 31
6.2.1 tftp download ........................................................................................................... 31
6.2.2 usb downdoad............................................................................................................. 31
6.2.3 tftp upload............................................................................................................... 32
6.2.4 usb upload................................................................................................................. 32
Chapter 7 Alarm configuration .............................................................................................. 34
7.1 summary .................................................................................................................................. 34
7.2 command .................................................................................................................................. 34
7.2.1 alarm........................................................................................................................... 34
7.2.2 no alarm enable ....................................................................................................... 34
7.2.3 show alarm enable ................................................................................................... 35
7.2.4 alarm device............................................................................................................. 35
7.2.5 no alarm device ....................................................................................................... 36
7.2.6 show alarm device ................................................................................................... 36
7.2.7 alarm board............................................................................................................... 36
7.2.8 no olt alarm board ................................................................................................. 37
7.2.9 show alarm board ..................................................................................................... 37
7.2.10 alarm power............................................................................................................. 38
7.2.11 no alarm power ....................................................................................................... 38
7.2.12 show alarm power ................................................................................................... 39
7.2.13 alarm fan................................................................................................................. 39
7.2.14 no alarm fan ........................................................................................................... 39
7.2.15 show alarm fan ....................................................................................................... 40

3
KingType PON command manual

7.2.16 alarm switch-port ................................................................................................. 40


7.2.17 no alarm switch-port ........................................................................................... 41
7.2.18 show alarm switch-port ....................................................................................... 41
7.2.19 alarm pon................................................................................................................. 41
7.2.20 no olt-alarm pon ................................................................................................... 42
7.2.21 show alarm pon ....................................................................................................... 43
7.2.22 alarm statistic ..................................................................................................... 43
7.2.23 no alarm statistic ............................................................................................... 44
7.2.24 show alarm statistic ........................................................................................... 45
7.2.25 onu alarm................................................................................................................. 45
7.2.26 no onu-alarm ........................................................................................................... 46
7.2.27 show onu alarm ....................................................................................................... 47
7.2.28 onu alarm pon ......................................................................................................... 47
7.2.29 no onu-alarm pon ................................................................................................... 48
7.2.30 show onu alarm pon ............................................................................................... 48
7.2.31 onu alarm uni ......................................................................................................... 49
7.2.32 no onu alarm uni ................................................................................................... 50
7.2.33 show onu alarm uni ............................................................................................... 51
7.2.34 alarm edfa............................................................................................................... 51
7.2.35 no alarm edfa ......................................................................................................... 53
7.2.36 show alarm edfa ..................................................................................................... 53
7.2.37 show alarm current ............................................................................................... 54
7.2.38 show alarm history ............................................................................................... 54
7.2.39 alarm delete history ........................................................................................... 55
Chapter 8 Log configuration ................................................................................................ 56
8.1 summary .................................................................................................................................. 56
8.2 command .................................................................................................................................. 56
8.2.1 clear log................................................................................................................... 56
8.2.2 log on......................................................................................................................... 56
8.2.3 log monitor............................................................................................................... 57
8.2.4 log rule..................................................................................................................... 57
8.2.5 log host..................................................................................................................... 58
8.2.6 log file..................................................................................................................... 59
8.2.7 log buffer................................................................................................................. 59
8.2.8 show log..................................................................................................................... 60
Chapter 9 Control board switching configuration .......................................................... 61
9.1 summary .................................................................................................................................. 61
9.2 command .................................................................................................................................. 61
9.2.1 system swap............................................................................................................... 61
9.2.2 show swap................................................................................................................... 61
Chapter 10 account configuration ........................................................................................ 62
10.1 summary ................................................................................................................................ 62
10.2 command ................................................................................................................................ 62
10.2.1 username ........................................................................................................... 62

4
KingType PON command manual

10.2.2 no username ..................................................................................................... 63


10.2.3 login................................................................................................................. 63
10.2.4 logout............................................................................................................... 63
10.2.5 show user ......................................................................................................... 64
Chapter 11 port configuration .............................................................................................. 65
11.1 summary ................................................................................................................................ 65
11.2 port configuration .......................................................................................................... 65
11.2.1 name........................................................................................................................... 65
11.2.2 admin-status ........................................................................................................... 65
11.2.3 combo......................................................................................................................... 66
11.2.4 auto-negotiation ................................................................................................... 66
11.2.5 flow-control ........................................................................................................... 67
11.2.6 crypto....................................................................................................................... 67
11.2.7 onu max-distance ................................................................................................... 68
11.2.8 p2p mode................................................................................................................... 69
11.2.9 show interface ....................................................................................................... 69
11.3 mirroe .................................................................................................................................. 70
11.3.1 mirror session ....................................................................................................... 70
11.3.2 show mirror............................................................................................................. 70
11.4 statistice .......................................................................................................................... 71
11.4.1 statistics m15 ....................................................................................................... 71
11.4.2 statistics h24 ....................................................................................................... 71
11.4.5 statistics max ....................................................................................................... 72
11.4.6 show statistics max ............................................................................................. 72
11.4.7 show statistics ..................................................................................................... 73
11.4.8 clear statistics ................................................................................................... 73
11.5 isolation ............................................................................................................................ 74
11.5.1 isolation................................................................................................................. 74
11.5.2 onu isolation ......................................................................................................... 74
11.5.3 show isolation ....................................................................................................... 75
11.5.4 show onu isolation ............................................................................................... 75
11.6 rate limit .......................................................................................................................... 76
11.6.1 rate-limit............................................................................................................... 76
11.6.2 show rate-limit ..................................................................................................... 76
11.7 storm control .................................................................................................................... 77
11.7.1 storm-control ......................................................................................................... 77
11.7.2 show storm-control ............................................................................................... 77
Chapter 12 aggregation configuration ................................................................................ 78
12.1 summary ................................................................................................................................ 78
12.2 command ................................................................................................................................ 78
12.2.1 trunk-group............................................................................................................. 78
12.2.2 trunk-group name ................................................................................................... 79
12.2.3 trunk-group psc ..................................................................................................... 79
12.2.4 trunk-group admin-status ................................................................................... 79

5
KingType PON command manual

12.2.5 show trunk-group ................................................................................................... 80


Chapter 13 VLAN configuration .............................................................................................. 81
13.1 summary ................................................................................................................................ 81
13.2 command ................................................................................................................................ 81
13.2.1 vlan........................................................................................................................... 81
13.2.2 vlan attribute q-in-q ......................................................................................... 81
13.2.3 name........................................................................................................................... 82
13.2.4 add............................................................................................................................. 82
13.2.5 remove....................................................................................................................... 83
13.2.6 vlan attribute ....................................................................................................... 83
13.2.7 vlan c-tpid............................................................................................................. 84
13.2.8 vlan s-tpid............................................................................................................. 84
13.2.9 vlan pool................................................................................................................. 85
13.2.10 vlan priority ....................................................................................................... 85
13.2.11 vlan pvid............................................................................................................... 86
13.2.12 vlan mode............................................................................................................... 86
13.2.13 vlan aggregation ................................................................................................. 88
13.2.14 vlan translation ................................................................................................. 88
13.2.15 vlan trunk............................................................................................................. 89
13.2.16 vlan qinq............................................................................................................... 89
13.2.17 show vlan............................................................................................................... 90
Chapter 14 MAC address ............................................................................................................ 92
14.1 summary ................................................................................................................................ 92
14.2 command ................................................................................................................................ 92
14.2.1 mac-address-table aging-time ........................................................................... 92
14.2.2 mac-address-table dynamic maximum ................................................................. 92
14.2.3 mac-address-table aging-time ........................................................................... 93
14.2.4 mac-address-table static ................................................................................... 93
14.2.5 clear mac-address-table dynamic ..................................................................... 94
14.2.6 show mac-address-table aging-time ................................................................. 94
14.2.7 show mac-address-table ....................................................................................... 95
Chapter 15 QOS configuration ................................................................................................ 96
15.1 summary ................................................................................................................................ 96
15.2 command ................................................................................................................................ 96
15.2.1 qos global ....................................................................................................... 96
15.2.2 show qos global ............................................................................................. 96
15.2.3 qos map............................................................................................................. 97
15.2.4 show qos map ................................................................................................... 97
15.2.5 qos scheduler ................................................................................................. 98
15.2.6 show qos policy ............................................................................................. 98
15.2.7 show qos ........................................................................................................... 99
Chapter 16 ACL .......................................................................................................................... 100
16.1 summary .............................................................................................................................. 100
16.2 command .............................................................................................................................. 100

6
KingType PON command manual

16.2.1 access-list........................................................................................................... 100


16.2.1.1 mac acl rule ............................................................................................. 100
16.2.1.2 standard acl rule ................................................................................... 101
16.2.1.3 extended acl rule ................................................................................... 101
16.2.1.4 no................................................................................................................. 102
16.2.1.5 show............................................................................................................. 102
16.2.2 no access-list ..................................................................................................... 103
16.2.3 show access-list ................................................................................................. 103
16.2.4 access-group ......................................................................................................... 103
16.2.5 no access-group ................................................................................................... 104
16.2.6 show access-group ............................................................................................... 104
Chapter 17 STP configuration .............................................................................................. 105
17.1 summary .............................................................................................................................. 105
17.2 command .............................................................................................................................. 105
17.2.1global configuration ........................................................................................... 105
17.2.1.1 spanning-tree ........................................................................................... 105
17.2.1.2 spanning-tree mode ................................................................................. 106
17.2.1.3 spanning-tree priority ......................................................................... 106
17.2.1.4 spanning-tree max-age ........................................................................... 107
17.2.1.5 spanning-tree hello-time ..................................................................... 107
17.2.1.6 spanning-tree forward-time ................................................................. 108
17.2.1.7 spanning-tree tx-hold-count ............................................................... 108
17.2.1.8 spanning-tree pathcost-method ........................................................... 109
17.2.1.9 spanning-tree mst max-hops ................................................................. 109
17.2.2 MST configuration ............................................................................................... 110
17.2.2.1 spanning-tree region-configuration ................................................. 110
17.2.2.2 spanning-tree mst name ......................................................................... 110
17.2.2.3 spanning-tree mst revision ................................................................. 111
17.2.2.4 spanning-tree mst instance ................................................................. 111
17.2.3 port configuration ............................................................................................. 112
17.2.3.1 spanning-tree enable ............................................................................. 112
17.2.3.2 spanning-tree port-priority ............................................................... 112
17.2.3.3 spanning-tree port-cost ....................................................................... 113
17.2.4 show......................................................................................................................... 114
17.2.4.1 show spanning-tree ................................................................................. 114
Chapter 18 Multicast configuration .................................................................................. 115
18.1 summary .............................................................................................................................. 115
18.2 command .............................................................................................................................. 115
18.2.1 igmp......................................................................................................................... 115
18.2.2 igmp mode............................................................................................................... 115
18.2.3 igmp protocol query-interval ......................................................................... 116
18.2.4 igmp protocol max-query-response-interval ............................................... 116
18.2.5 igmp protocol last-member-query-interval ................................................. 117
18.2.6 igmp protocol last-member-query-count ....................................................... 117

7
KingType PON command manual

18.2.7 igmp protocol robust ......................................................................................... 118


18.2.8 show igmp protocol ............................................................................................. 118
18.2.9 igmp ctc proxy ..................................................................................................... 119
18.2.10 igmp ctc package ............................................................................................... 119
18.2.11 show igmp ctc ..................................................................................................... 120
18.2.12 show igmp forwarding ....................................................................................... 120
18.2.13 onu igmp uni ......................................................................................................... 121
18.2.14 show onu igmp port ........................................................................................... 121
18.2.15 igmp proxy server-vlan ................................................................................... 122
18.2.16 show igmp proxy ................................................................................................. 122
18.2.17 enable................................................................................................................... 123
18.2.18 name....................................................................................................................... 123
18.2.19 hosts-vlan........................................................................................................... 123
18.2.20 igmp static-router-port ................................................................................. 124
18.2.21 show igmp proxy ................................................................................................. 124
Chapter 19 IPconfiguration .................................................................................................. 126
19.1 summary .............................................................................................................................. 126
19.2 IP INTERFACE .................................................................................................................... 126
19.2.1 interface vlan-interface ................................................................................. 126
19.2.2 ip-address............................................................................................................. 127
19.2.3 management in-band vlan ................................................................................... 127
19.2.4 vlan......................................................................................................................... 128
19.2.5 name......................................................................................................................... 128
19.2.6 show vlan-interface ........................................................................................... 129
19.2.7 show vlan interface ........................................................................................... 129
19.3 out band INTERFACE ...................................................................................................... 129
19.3.1 management out-band ip-address ..................................................................... 129
19.3.2 show management out-band ................................................................................. 130
19.4 PING .................................................................................................................................... 130
19.4.1 ping......................................................................................................................... 130
Chapter 20 SNTP ........................................................................................................................ 132
20.1 summary .............................................................................................................................. 132
20.2 command .............................................................................................................................. 132
20.2.1 sntp enable........................................................................................................... 132
20.2.2 sntp interval ....................................................................................................... 132
20.2.3 sntp server........................................................................................................... 133
20.2.4 show sntp............................................................................................................... 133
Chapter 21 SNMP ........................................................................................................................ 135
21.1 summary .............................................................................................................................. 135
21.2 command .............................................................................................................................. 135
21.2.1 snmp-community ............................................................................................. 135
21.2.2 show snmp-community ................................................................................... 135
21.2.3 snmp-host ....................................................................................................... 136
21.2.4 show snmp-host ............................................................................................. 136

8
KingType PON command manual

21.2.5 snmp-trap ....................................................................................................... 137


21.2.6 show snmp-trap ............................................................................................. 137
Chapter 22 BCMP ........................................................................................................................ 138
22.1 summary .............................................................................................................................. 138
22.2 command .............................................................................................................................. 138
22.2.1 bcmp status........................................................................................................... 138
22.2.2 bcmp relay............................................................................................................. 138
22.2.3 bcmp mode............................................................................................................... 139
22.2.4 bcmp server........................................................................................................... 139
22.2.5 bcmp vlan............................................................................................................... 140
22.2.6 show bcmp............................................................................................................... 140
22.2.7 show bcmp-device ................................................................................................. 140
Chapter 23 OLT configuration .............................................................................................. 142
23.1 summary .............................................................................................................................. 142
23.2 ONU management ................................................................................................................ 142
23.2.1 onu-bind................................................................................................................. 142
23.2.2 interface profile ............................................................................................... 142
23.2.3 name......................................................................................................................... 143
23.2.4 unbind..................................................................................................................... 143
23.2.5 profile-bind.............................................................................................................. 144
23.2.6 profile unbind all ..................................................................................................... 144
23.2.7 show onu-list-info ............................................................................................. 145
23.2.8 show onu-profile-list ....................................................................................... 145
23.2.9 show profile dev-info ....................................................................................... 145
23.3 ONU authority .................................................................................................................. 146
23.3.1 oam authority mode ............................................................................................. 146
23.3.2 oam authority ....................................................................................................... 146
23.3.3 oam authority loid ............................................................................................. 147
23.3.4 oam authority reject-list ............................................................................... 147
23.3.5 oam ext-support ................................................................................................... 147
23.3.6 show oam ext-support ......................................................................................... 148
23.3.7 show oam authority ............................................................................................. 148
23.4 DBA ...................................................................................................................................... 149
23.4.1 onu sla................................................................................................................... 149
23.4.2 show onu sla ......................................................................................................... 149
Chapter 24 ONU configuration .............................................................................................. 151
24.1 summary .............................................................................................................................. 151
24.2 ONUconfiguration ............................................................................................................ 151
24.2.1 onu dev-info ip ................................................................................................... 151
24.2.2 name......................................................................................................................... 151
24.2.3 onu dev-info cvlan ............................................................................................. 151
24.2.4 onu dev-info svlan ............................................................................................. 152
24.2.5 onu dev-info admin-priority ........................................................................... 152
24.2.6 onu fec................................................................................................................... 153

9
KingType PON command manual

24.2.7 onu recover-to-default ..................................................................................... 153


24.2.8 onu reboot............................................................................................................. 153
24.2.9 show onu dev-info ............................................................................................... 154
24.2.10 show onu capability ......................................................................................... 154
24.3 Port .................................................................................................................................... 155
24.3.1 uni admin-status ................................................................................................. 155
24.3.2 uni auto-negotiation ......................................................................................... 155
24.3.3 uni flow-control ................................................................................................. 155
24.3.4 loopback-detect ................................................................................................... 156
24.3.5 show uni................................................................................................................. 156
24.3.6 show onu uni ......................................................................................................... 156
24.4 rate limit ........................................................................................................................ 157
24.4.1 onu rate-limit ..................................................................................................... 157
24.4.2 show onu rate-limit uni ................................................................................... 157
24.4.3 show onu rate-limit ........................................................................................... 158
24.5 ONU storm control .......................................................................................................... 159
24.5.1 onu storm-control ............................................................................................... 159
24.5.2 show onu strom-control uni ............................................................................. 159
24.5.3 show onu strom-control ..................................................................................... 159
24.6 VLAN .................................................................................................................................... 160
24.6.1 onu vlan uni c-tpid ........................................................................................... 160
24.6.2 onu vlan uni priority ....................................................................................... 160
24.6.3 onu vlan uni pvid ............................................................................................... 160
24.6.4 onu vlan uni mode ............................................................................................... 161
24.6.5 onu vlan uni translation ................................................................................. 162
24.6.6 onu vlan uni aggregation ................................................................................. 162
24.6.7 onu vlan uni trunk ............................................................................................. 162
24.6.8 show onu vlan uni ............................................................................................... 163
24.6.9 show onu vlan ....................................................................................................... 163
24.8stram classification ...................................................................................................... 164
24.8.1 onu classification ..................................................................................... 164
24.8.2 show onu classification uni ................................................................... 164
24.8.3 show onu classification ........................................................................... 165
24.9upgrade ................................................................................................................................ 166
24.9.1 upgrade onu ................................................................................................... 166
24.9.2 upgrade onu switch ..................................................................................... 166
24.9.3 upgrade onu commit ..................................................................................... 166
24.9.4 show upgrade onu ......................................................................................... 167
24.10statistics ........................................................................................................................ 168
24.10.1 onu statistics uni ........................................................................................... 168
24.10.2 onu statistics pon ........................................................................................... 168
24.10.3 show statistics onu ......................................................................................... 169
24.10.4 show statistics current/history ................................................................. 169

10
KingType PON command manual

Chapter 1 configuration preparation

1.1device connect

parameter
Console Console port Baud rate115200
Data bits8
paritynone
stop bits1
flow controlnone
In band Uplink port IP192.168.10.5/24
VLAN1
Out band MGM port IP192.168.2.5/24

Username : admin
Password: admin

11
KingType PON command manual

Chapter 2 basic

2.1 Summary
This chapter mainly introduces the basic operation of PON KingType equipment
CLI

2.2 Operation mode


Command mode function Prompt mode Entry mode
monitor mode Execute the OLT> login
simplest command
Privileged mode Execute command OLT(pri)> Input: enable
in this mode
global OLT(config)> configure terminal
configuration
mode

2.3 Command

2.3.1 enable
command
enable
Function description
Enter Privileged mode
parameter
none
mode
monitor mode
Attention
none
e.g.
OLT> enable

12
KingType PON command manual

2.3.2 configure terminal


command
configure terminal
Function description
Global configuration mode
parameter
none
mode
privileged mode
Attention
none
e.g.
OLT(pri)> configure terminal

2.3.3 interface
command
interface { pPON-ID | sSNI-ID | onu ONU-ID | vlan-interface VLAN-ID | profile
PROFILE-ID }
no interface vlan-interface
Function description
interface pPON-ID enter pon port
interface sSNI-ID enter SNI port
interface onu ONU-ID enter ONU
interface vlan-interface VLAN-ID
interface profile PROFILE-ID Template mode
no interface vlan-interface Restoring the managed VLAN to the default
parameter

parameter Name e.g.


pPON-ID PON p2/1-p2.16
sSNI-ID SNI s1/1,s1/3
ONU-ID ONU ID 2/2:1-2/2:63
VLAN-ID VLAN ID 100
PROFILE-ID ID 10
e.g.

OLT(config)> interface pon


OLT(config-if-pon)>

13
KingType PON command manual

OLT(config)> interface p6/8


OLT(config-if-p6/8)>

OLT(config)> interface p6/3-p6/8


OLT(config-if-pon)>

OLT(config)> interface sni


OLT(config-if-sni)>

OLT(config)> interface s3/8


OLT(config-if-s3/8)>

OLT(config)> interface s3/1-s3/5,s3/8


OLT(config-if-sni)>

OLT (config)> interface onu 6/8:1


OLT (config-if-o6/8:1)>

OLT (config)> interface onu 6/8:1-6-8:10


OLT (config-if-onus)>

OLT (config)> interface vlan-interface 1

OLT (config)> interface profile 1

2.3.4 vlan
command
vlan VLAN-ID
Function description
If VLAN does not exist, then add VLAN; if already exists, then enter the vlan mode directly
parameter

parameter Name range e.g.


VLAN-ID VLAN ID [1,4094] 100

14
KingType PON command manual

mode
Global mode
Attention
none
e.g.

OLT(config)> vlan 100


OLT(config-if-100)>

OLT(config)> vlan 100-300


OLT(config-if-vlan)>

2.3.5 access-list
command
access-list { mac | standard | extended } ACL-NAME
Function description
access-list mac ACL-NAME
access-list standard ACL-NAME
access-list extended ACL-NAME
mode
Global mode
Attention
none
e.g.

OLT(config)> access-list mac mylist1


OLT(config-aclmac-mylist1)>

OLT(config)> access-list standard mylist2


OLT(config-aclstd-mylist2)>

OLT(config)> access-list extend mylist3


OLT(config-aclex-mylist3)>

2.3.6 uni
command
uni UNI-ID
Function description
Enter uni port

15
KingType PON command manual

mode
ONU mode
Attention
none
e.g.

OLT(config-if-o6/8:1)> uni 1
OLT(config-if-o6/8:1-uni:1)>

OLT(config-if-o6/8:1)> uni 1-3


OLT(config-if-o6/8:1-unis)>

OLT(config-if-profile-1)> uni 1
OLT(config-if-profile-1-uni:1)

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
igmp-proxy mode
parameter

parameter name range e.g.


VLAN-ID VLAN ID [1,4094] 100

mode
global configuration mode
Attention
none
e.g.
OLT(config)>igmp proxy server-vlan 100
OLT(config-if-igmp-proxy)>

2.3.8 end
command
end

16
KingType PON command manual

Function description
Back to privileged mode
parameter
none
Attention
none
e.g.
OLT(config)> end

2.3.9 exit
command
exit
Function description
parameter
none
Attention
none
e.g.
OLT(config-if-p6/1)> exit

2.3.10 quit
command
quit
parameter
none
mode
monitor modeprivileged modeglobal configuration mode
Attention
none
e.g.
OLT> quit

2.4 terminal command

2.4.1 command language


command

17
KingType PON command manual

command language { chinese | english }


Function description
command language chinese
command language english
parameter

mode
privileged mode
Attention
none
e.g.
OLT(pri)> command language chinese

2.4.2 show command language


command
show command language
Function description
parameter
none
mode
all mode
Attention
none
e.g.
OLT(config)> show command language

2.4.3 command history


command
command history max VALUE
parameter

parameter name format range e.g.


VALUE Number of integer [1, 40] 30
entries

mode
privileged mode
Attention
none
e.g.
OLT(pri)> command history max 40
18
KingType PON command manual

2.4.4 show command-history


command
show command-history
Function description
Show history command
parameter
none
mode
All mode
Attention
none
e.g.
OLT(config)> show command-history

2.4.5 command paging


command
command paging {enable|disable}
Function description
command paging enable
command paging enable
parameter

mode
Privileged mode
Attention
none
e.g.
OLT(pri)> command paging enable

2.4.6 ping
command
ping IP-ADDR [-t]
Function description
ping IP
mode
monitor modeprivileged mode
Attention
none
e.g.
19
KingType PON command manual

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
timeout 0 never expired
no timeout default time :5 mins
mode
monitor modeprivileged mode
Attention
none
e.g.
OLT(pri)> timeout 0
OLT(pri)> no timeout

2.4.8 clear
command
clear
Function description
Clear display
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> clear

20
KingType PON command manual

Chapter 3 system command

3.1 summary
Show system command

3.2 basic information

3.2.1 show system


command
show system
Function description
Display system version information: software version, hardware version, with inner and outer
management parameter
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show system

3.2.2 show device runtime


command
show device runtime
Function description
Display system running time
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show device runtime
21
KingType PON command manual

3.2.3 reboot
command
reboot
Function description
System reboot command
parameter
none
mode
privileged mode
Attention
none
e.g.
OLT(pri)> reboot

3.3 Clock

3.3.1 date
command
date yyyy-mm-dd HH:MM:SS
Function description
Current time
mode
global mode
Attention
none
e.g.
OLT(config)> date 2016-01-15 10:11:12

3.3.2 timezone
command
timezone TIMEZONE
Function description
timezone TIMEZONE
no timezone default time zone is 8
mode
global configuration mode
Attention

22
KingType PON command manual

none
e.g.
OLT(config)> timezone 8
OLT(config)> no timezone

3.3.3 show date


command
show date
Function description
Show current time
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show date
System date: 2016-01-15 101018 timezone 8

3.4 power

3.4.1 power shutdown


command

power shutdown SLOT-ID

mode
global mode
e.g.
OLT(config)> power shutdown 7

3.4.2 show power


command

show power

Function description

23
KingType PON command manual

Show power information


parameter
none
mode
all mode
e.g.
OLT(pri)> show power

3.5 temperature

3.5.1 show temperature


command

show temperature [slot-id SLOT-ID]

mode
all mode
e.g.
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
fan control auto
parameter

mode
global mode

e.g.
OLT(config)> fan control fixed-speed

24
KingType PON command manual

3.6.2 fan speed


command

fan speed LEVEL

mode
global mode
e.g.
OLT(config)> fan speed 2

3.6.3 show fan


command

show fan

Function description
Show fan information
parameter
none
mode
all mode
e.g.
OLT(pri)> show fan

25
KingType PON command manual

Chapter 4 Board configuration

4.1 summary
Board configuration command

4.2 command

4.2.1 board add


command
board add SLOT-ID { DL033414 | DM24GC | DM23GC | PTB82CDLE | PTB82CDME
|KTFSG_18FBDL}
Function description
board add SLOT-ID DL033414
board add SLOT-ID DM24GC
board add SLOT-ID DM23GC
board add SLOT-ID PTB82CDLE
board add SLOT-ID PTB82CDME
board add SLOT-ID KTFSG_18FBDL
mode
global mode
e.g.
OLT(config)> board add 3 DL033414

4.2.2 board delete


command
board delete SLOT-ID
Function description
Delete board
parameter
mode
global mode
e.g.
OLT(config)> board delete 3

26
KingType PON command manual

4.2.3 board slot


command
board slot SLOT-ID { reset | disable | enable | desc STRING }
Function description
board slot SLOT-ID reset
board slot SLOT-ID disable
board slot SLOT-ID enable
board slot SLOT-ID desc STRING
mode
global mode
e.g.
OLT(config)> board slot 3 reset
OLT(config)> board slot 3 disable
OLT(config)> board slot 3 enable
OLT(config)> board slot 3 desc ponboard1

4.2.4 show board


command
show board
show board slot SLOT-ID
Function description
show board
show board slot SLOT-ID
mode
all mode

e.g.
OLT(config)> show board
OLT(config)> show board slot 3

27
KingType PON command manual

Chapter 5 configuration file

5.1 summary
configuration file

5.2 command

5.2.1 write
command
write [ FILE-NAME ]
Function description
write kt_boot_usr_cfg
write
mode
global configuration mode
Attention
none
e.g.
OLT(config)> write

5.2.2 clear config-file


command
clear config-file [ FILE-NAME ]
Function description
clear config-file
clear config-file FILE-NAME
mode
global configuration mode
Attention
none
e.g.
OLT(config)> clear config-file

28
KingType PON command manual

5.2.3 boot-load config-file


command
boot-load config-file FILE-NAME
no boot-load config-file
Function description
boot-load config-file FILE-NAME
no boot-load config-file Restore the default boot load for the system file
configuration, the default file kt_boot_usr_cfg for configuration
parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> boot-load config-file my_config_file

5.2.4 show config-file


command
show config-file
Function description
Show list
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show config-file

5.2.5 show running-config


command
show running-config [PORT-GROUP | onu ONU-ID]
Function description
show running-config Displays the current running configuration
show config-file s1/1-s1/3
show config-file onu 1/2:3
mode
all mode

29
KingType PON command manual

Attention
none
e.g.
OLT(pri)> show running-config
OLT(pri)> show running-config s1/2,p1/5
OLT(pri)> show running-config onu 1/2:8

30
KingType PON command manual

Chapter 6 upgrade configuration

6.1 summary
OLT device support for the device to run the file to upgrade, including the kernel, file system,
device tree, configuration, logs, applications, etc..

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 restore configuration file by FTP
tftp download olt-image update OLT
tftp download onu-image download ONU Image to OLTfor update ONU
parameter
parameter name format range e.g.
FILE-NAME Source file name kt-olt.tar.gz
IP-ADDR Source IP xxx.xxx.xxx.xxx 192.168.2.199
mode
privileged mode
Attention
ctrl+ c can terminate file transfer and upgrade
e.g.
OLT(pri)> tftp download olt-image kt-olt.tar.gz 192.168.2.199

6.2.2 usb downdoad


command

usb download {config-file | olt-image | onu-image} FILE-NAME

Function description
usb download config-file restore configuration file by USB
usb download olt-image update olt by USB
31
KingType PON command manual

usb download onu-image use usb download ONU Image to OLT for ONU
parameter
parameter name format range e.g.
FILE-NAME Source file name kt-olt.tar.gz
mode
privileged mode
Attention
ctrl+c can terminate file transfer and upgrade
e.g.
OLT(pri)> usb download olt-image kt-olt.tar.gz

6.2.3 tftp upload


command

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

Function description
tftp upload config-file uoload configuration file to TFTP server
tftp upload log-file upload log files to tftp server
parameter
parameter name format range e.g.
FILE-NAME Destination file name system.log
IP-ADDR Destination IP xxx.xxx.xxx.xxx 192.168.2.199
mode
Privileged mode
Attention
ctrl+c can terminate file transfer and upgrade
e.g.
OLT(pri)> tftp upload log-file system.log 192.168.2.199

6.2.4 usb upload


command

usb upload{config-file | log-file} FILE-NAME

Function description
usb upload config-file Copy the system file USB to the configuration device
usb upload log-file Copy log files to USB settings
parameter
parameter name format range e.g.
FILE-NAME Destination file name system.log
mode
32
KingType PON command manual

Privileged mode
Attention
ctrl+c can terminate file transfer and upgrade
e.g.
OLT(pri)>usb upload log-file system.log

33
KingType PON command manual

Chapter 7 Alarm configuration

7.1 summary
Alarm management mainly completes the functions of alarm record, alarm setting, alarm
statistics, etc. through the alarm management, the equipment can be maintained to ensure its
normal and efficient operation.

7.2 command

7.2.1 alarm
command

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

Function description
alarm enable
alarm disable
mode
global configuration mode
Attention

e.g.
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
Restore alarm
mode
global configuration mode
e.g.
OLT(config)> no alarm enable global

34
KingType PON command manual

7.2.3 show alarm enable


command

show alarm enable

Function description
Display alarm enable
parameter
mode
all mode
e.g.
OLT(config)> show alarm enable

7.2.4 alarm device


command

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


memory {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | save_config {enable |
disable } | reboot {enable | disable }

Function description
alarm device cpu
alarm device memory
alarm device save_config
alarm device reboot
parameter
parameter name format range e.g.
MAJOR_LEVEL Main alarm integer 100
threshold
MINOR_LEVEL Sub alarm integer 80
threshold

mode
global configuration mode
Attention

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

35
KingType PON command manual

7.2.5 no alarm device


command

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

Function description
no alarm device cpu set CPU alarm default
no alarm device memory set memory alarm default
no alarm device save_config set save configuration file alarm default
no alarm device reboot set reboot alarm default
parameter

mode
global configuration mode
Attention

e.g.
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
Display threshold
parameter

mode
all mode
Attention

e.g.
OLT(config)> show alarm device

7.2.7 alarm board


command

alarm board BOARD_ID {push {enable | disable } | pull {enable | disable } |


temperature_high {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
36
KingType PON command manual

temperature_low {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL } | swap


{enable | disable }

Function description
alarm board BOARD_ID push
alarm board BOARD_ID pull
alarm board BOARD_ID swap
alarm board BOARD_ID temperature_high
alarm board BOARD_ID temperature_low
mode
global configuration mode
e.g.
OLT(config)> alarm board 1 pull enable
OLT(config)> alarm board 1 temperature_high threshold 60 50

7.2.8 no olt alarm board


command

no alarm board BOARD_ID {push | pull | temperature_high [threshold] |


temperature_low [threshold] | swap}

Function description
no alarm board BOARD_ID push
no alarm board BOARD_ID pull
no alarm board BOARD_ID swap
no alarm board BOARD_ID temperature_high
no alarm board BOARD_ID temperature_low
mode
global configuration mode
e.g.
OLT(config)> no alarm board 1 push
OLT(config)> no alarm board 1 temperature_high

7.2.9 show alarm board


command

show alarm board BOARD_ID

Function description
Display board threshold
mode
all mode
e.g.
OLT(config)> show alarm board 2
37
KingType PON command manual

7.2.10 alarm power


command

alarm power BOARD_ID {voltageHigh {enable | disable | threshold MAJOR_LEVEL


MINOR_LEVEL} | voltageLow {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} current {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
temperature {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | powerPop
{enable | disable } | powerPush {enable | disable }

Function description
alarm power BOARD_ID voltageHigh
alarm power BOARD_ID voltageLow
alarm power BOARD_ID current
alarm power BOARD_ID temperature
alarm power BOARD_ID powerPop
alarm power BOARD_ID powerPush

mode
global configuration mode
e.g.
OLT(config)> alarm power 7 voltageHigh enable
OLT(config)> alarm power 7 voltageHigh threshold 15 12

7.2.11 no alarm power


command

no alarm power BOARD_ID {voltageHigh [threshold] | voltageLow [threshold] |


current [threshold] | temperature [threshold] |powerPop | powerPush}

Function description
no alarm power BOARD_ID voltageHigh
no alarm power BOARD_ID voltageLow
no alarm power BOARD_ID current
no alarm power BOARD_ID temperature
no alarm power BOARD_ID powerPop
no alarm power BOARD_ID powerPush

parameter
mode
global configuration mode
e.g.
OLT(config)> no alarm power 7 voltageHigh
OLT(config)> no alarm power 7 voltageHigh threshold

38
KingType PON command manual

7.2.12 show alarm power


command

show olt-alarm power BOARD_ID

Function description
Display power threshold
parameter
mode
all mode
Attention
e.g.
OLT(config)> show alarm power 7

7.2.13 alarm fan


command

alarm fan {speed {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |


temperature {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | fanPop
{enable | disable } | fanPush {enable | disable }

Function description
alarm fan speed
alarm fan temperature
alarm fan fanPop
alarm fan fanPush
parameter
mode
global configuration mode
Attention
e.g.
OLT(config)> alarm fan speed enable
OLT(config)> alarm fan speed threshold 7 6

7.2.14 no alarm fan


command

no alarm fan {speed [threshold] | temperature [threshold] | fanPop | fanPush }

Function description
no alarm fan speed
no alarm fan temperature
no alarm fan fanPop
39
KingType PON command manual

no alarm fan fanPush


parameter

mode
global configuration mode
Attention
e.g.
OLT(config)> no alarm fan speed enable
OLT(config)> no alarm fan speed threshold

7.2.15 show alarm fan


command

show alarm fan

Function description
Set OLT fan alarm to default
parameter

mode
all mode
Attention
e.g.
OLT(config)> show olt-alarm fan

7.2.16 alarm switch-port


command

alarm switch-port PORTS-SWITCH {link_up {enable | disable } | link_down {enable |


disable } | portDisabled {enable | disable }}

Function description
alarm switch-port PORTS-SWITCH link_up
alarm switch-port PORTS-SWITCH link_down
alarm switch-port PORTS-SWITCH portDisabled

parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> alarm switch-port s1/1 link_up enable

40
KingType PON command manual

7.2.17 no alarm switch-port


command

no alarm switch-port PORTS-SWITCH {link_up | link_down | portDisabled }

Function description
no alarm switch-port PORTS-SWITCH link_up
no alarm switch-port PORTS-SWITCH link_down
no alarm switch-port PORTS-SWITCH portDisabled
mode
global configuration mode
Attention

e.g.
OLT(config)> no alarm switch-port s1/1 link_up

7.2.18 show alarm switch-port


command

show alarm switch-port PORTS-SWITCH

Function description
Diaplsy SNI port alarm parameter
parameter
mode
all mode
Attention

e.g.
OLT(config)> show alarm switch-port s1/1

7.2.19 alarm pon


command

alarm pon PORTS-EPON {link_up {enable | disable } | link_down {enable | disable }


portDisabled {enable | disable } | long_emit {enable | disable } | optical_faulty {enable |
disable } | llid_overflow {enable | disable } | rx_power_high {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rx_power_low {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} | tx_power_high {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} | tx_power_low {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}
| bias_current_high {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
bias_current_low {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
working_voltage_high {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
working_voltage_low {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} }
41
KingType PON command manual

Function description
alarm pon PORTS-EPON link_up
alarm pon PORTS-EPON link_down
alarm pon PORTS-EPON portDisabled
alarm pon PORTS-EPON long_emit
alarm pon PORTS-EPON optical_faulty
alarm pon PORTS-EPON llid_overflow
alarm pon PORTS-EPON rx_power_high
alarm pon PORTS-EPON rx_power_low
alarm pon PORTS-EPON tx_power_high
alarm pon PORTS-EPON tx_power_low
alarm pon PORTS-EPON bias_current_high
alarm pon PORTS-EPON bias_current_low
alarm pon PORTS-EPON working_voltage_high
alarm pon PORTS-EPON working_voltage_low

parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> alarm pon p2/1 link_up enable
OLT(config)> alarm pon p2/1 bias_current_low threshold 30 20

7.2.20 no olt-alarm pon


command

no olt-alarm pon PORTS-EPON {link_up | link_down | portDisabled | long_emit |


optical_faulty | llid_overflow | rx_power_high [threshold] | rx_power_low [threshold] |
tx_power_high [threshold] | tx_power_low [threshold]| bias_current_high [threshold] |
bias_current_low [threshold] | working_voltage_high [threshold] | working_voltage_low
[threshold]}

Function description
no alarm pon PORTS-EPON link_up
no alarm pon PORTS-EPON link_down
no alarm pon PORTS-EPON portDisabled
no alarm pon PORTS-EPON long_emit
no alarm pon PORTS-EPON optical_faulty
no alarm pon PORTS-EPON llid_overflow
no alarm pon PORTS-EPON rx_power_high
no alarm pon PORTS-EPON rx_power_low
no alarm pon PORTS-EPON tx_power_high

42
KingType PON command manual

no alarm pon PORTS-EPON tx_power_low


no alarm pon PORTS-EPON bias_current_high
no alarm pon PORTS-EPON bias_current_low
no alarm pon PORTS-EPON working_voltage_high
no alarm pon PORTS-EPON working_voltage_low
parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> no alarm pon p2/1 link_up
OLT(config)> no alarm pon p2/1 bias_current_low threshold

7.2.21 show alarm pon


command

show alarm pon PORTS-EPON

Function description
Display OLT PON all parameter
parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> show alarm pon 2/1

7.2.22 alarm statistic


command

alarm statistic PORT-ID {rxDropEvents {enable | disable | threshold MAJOR_LEVEL


MINOR_LEVEL} | txDropEvents {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}
| rxCRCErrorPkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
rxUndersizePkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
txUndersizePkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
rxOversizePkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
txOversizePkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | rxFragments
{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | rxJabbers {enable | disable |
threshold MAJOR_LEVEL MINOR_LEVEL} | rxCollisions {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rxDiscardPkts {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | txDiscardPkts {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} | rxErrorPkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}
43
KingType PON command manual

| txErrorPkts {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | rxSpeed {enable


| disable | threshold MAJOR_LEVEL MINOR_LEVEL} | txSpeed {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} }

Function description
alarm statistic PORT-ID rxDropEvents
alarm statistic PORT-ID txDropEvents
alarm statistic PORT-ID rxCRCErrorPkts
alarm statistic PORT-ID rxUndersizePkts
alarm statistic PORT-ID txUndersizePkts
alarm statistic PORT-ID rxOversizePkts
alarm statistic PORT-ID txOversizePkts
alarm statistic PORT-ID rxFragments
alarm statistic PORT-ID rxJabbers
alarm statistic PORT-ID rxCollisions
alarm statistic PORT-ID rxDiscardPkts
alarm statistic PORT-ID txDiscardPkts
alarm statistic PORT-ID rxErrorPkts
alarm statistic PORT-ID txErrorPkts
alarm statistic PORT-ID rxSpeed
alarm statistic PORT-ID txSpeed
parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> alarm statistic p2/1 txErrorPkts enable
OLT(config)> alarm statistic p2/1 txErrorPkts threshold 30 20

7.2.23 no alarm statistic


command

no alarm statistic PORT-ID {rxDropEvents [threshold] | txDropEvents [threshold] |


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

Function description
no alarm statistic PORT-ID rxDropEvents
no alarm statistic PORT-ID txDropEvents
no alarm statistic PORT-ID rxCRCErrorPkts
no alarm statistic PORT-ID rxUndersizePkts
44
KingType PON command manual

no alarm statistic PORT-ID txUndersizePkts


no alarm statistic PORT-ID rxOversizePkts
no alarm statistic PORT-ID txOversizePkts
no alarm statistic PORT-ID rxFragments
no alarm statistic PORT-ID rxJabbers
no alarm statistic PORT-ID rxCollisions
no alarm statistic PORT-ID rxDiscardPkts
no alarm statistic PORT-ID txDiscardPkts
no alarm statistic PORT-ID rxErrorPkts
no alarm statistic PORT-ID txErrorPkts
no alarm statistic PORT-ID rxSpeed
no alarm statistic PORT-ID txSpeed
parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> no alarm statistic p2/1 txErrorPkts
OLT(config)> no alarm statistic p2/1 txErrorPkts threshold

7.2.24 show alarm statistic


command

show alarm statistic PORT-GROUP

Function description
Display OLT Statistics parameter
parameter
mode
all mode
Attention

e.g.
OLT(config)> show alarm statistic p2/1

7.2.25 onu alarm


command

onu alarm {onuReg {enable | disable } | onuUnReg {enable | disable } | dyingGasp


{enable | disable } | equipmentAlarm {enable | disable } | powerAlarm {enable | disable } |
batteryMissing {enable | disable } | batteryFailure {enable | disable } | batteryVoltLow
{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | physicalInstruction {enable |
disable } | selfTestFailure {enable | disable } | tempHigh{enable | disable | threshold
45
KingType PON command manual

MAJOR_LEVEL MINOR_LEVEL} tempLow{enable | disable | threshold MAJOR_LEVEL


MINOR_LEVEL} | IADconnectionFailure {enable | disable } | ponIFSwitch {enable | disable }
| sleepStatusUpdate {enable | disable } }

Function description
onu alarm onuReg
onu alarm onuUnReg
onu alarm dyingGasp
onu alarm equipmentAlarm
onu alarm powerAlarm
onu alarm batteryMissing
onu alarm batteryFailure
onu alarm batteryVoltLow
onu alarm physicalInstruction
onu alarm selfTestFailure
onu alarm tempHigh
onu alarm tempLow
onu alarm IADconnectionFailure
onu alarm ponIFSwitch
onu alarm sleepStatusUpdate
parameter
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> onu alarm onuReg enable
OLT(config-if-o2/1:1)> onu alarm batteryVoltLow threshold 4 3

7.2.26 no onu-alarm
command

no onu alarm {onuReg | onuUnReg | dyingGasp | equipmentAlarm | powerAlarm |


batteryMissing | batteryFailure | batteryVoltLow [threshold] | physicalInstruction |
selfTestFailure | tempHigh [threshold] | IADconnectionFailure | ponIFSwitch |
sleepStatusUpdate }

Function description
onu alarm onuReg
onu alarm onuUnReg
onu alarm dyingGasp
onu alarm equipmentAlarm
onu alarm powerAlarm
46
KingType PON command manual

onu alarm batteryMissing


onu alarm batteryFailure
onu alarm batteryVoltLow
onu alarm physicalInstruction
onu alarm selfTestFailure
onu alarm tempHigh
onu alarm tempLow
onu alarm IADconnectionFailure
onu alarm ponIFSwitch
onu alarm sleepStatusUpdate
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)>no onu alarm onuReg enable
OLT(config-if-o2/1:1)> no onu alarm tempHigh threshold

7.2.27 show onu alarm


command

Show onu alarm

Function description
Display all onu alarm parameter
parameter
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> show onu alarm

7.2.28 onu alarm pon


command

onu alarm pon {rxPowerHigh {enable | disable | threshold MAJOR_LEVEL


MINOR_LEVEL} | rxPowerLow {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}
txPowerHigh {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} txPowerLow
{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} }

Function description

47
KingType PON command manual

onu alarm pon rxPowerHigh


onu alarm pon rxPowerLow
onu alarm pon txPowerHigh
onu alarm pon txPowerLow

mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> onu alarm pon rxPowerHigh enable
OLT(config-if-o2/1:1)> onu alarm pon rxPowerHigh threshold 8 6

7.2.29 no onu-alarm pon


command

no onu alarm pon {rxPowerHigh [threshold] | rxPowerLow [threshold] | txPowerHigh


[threshold] | txPowerLow [threshold] }

Function description
no onu alarm pon rxPowerHigh
no onu alarm pon rxPowerLow
no onu alarm pon txPowerHigh
no onu alarm pon txPowerLow

parameter
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> no onu alarm pon rxPowerHigh
OLT(config-if-o2/1:1)> no onu alarm pon rxPowerHigh threshold

7.2.30 show onu alarm pon


command

Show onu alarm pon

Function description
Display onu pon port alarm parameter
parameter
mode
ONU mode

48
KingType PON command manual

Attention

e.g.
OLT(config-if-o2/1:1)> show onu-alarm pon

7.2.31 onu alarm uni


command

onu alarm uni PORT-LIST {ethportAutonegFailure {enable | disable } | ethportLos


{enable | disable } | ethportFailure {enable | disable } | ethportLoopback {enable | disable }
| ethportCongestion {enable | disable } | rxDropEvents {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | txDropEvents {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rxCRCErrorFrames {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rxUndersizeFrames {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | txUndersizeFrames {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rxOversizeFrames {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | txOversizeFrames {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} | rxFragments {enable | disable | threshold MAJOR_LEVEL
MINOR_LEVEL} | rxJabbers {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
rxCollisions {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | rxDiscardFrames
{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} | txDiscardFrames {enable |
disable | threshold MAJOR_LEVEL MINOR_LEVEL} | rxErrorFrames {enable | disable |
threshold MAJOR_LEVEL MINOR_LEVEL} | statusChangeTimes {enable | disable } }

Function description
onu alarm uni PORT-LIST ethportAutonegFailure
onu alarm uni PORT-LIST ethportLos
onu alarm uni PORT-LIST ethportFailure
onu alarm uni PORT-LIST ethportLoopback
onu alarm uni PORT-LIST ethportCongestion
onu alarm uni PORT-LIST rxDropEvents
onu alarm uni PORT-LIST txDropEvents
onu alarm uni PORT-LIST rxCRCErrorFrames
onu alarm uni PORT-LIST rxUndersizeFrames
onu alarm uni PORT-LIST txUndersizeFrames
onu alarm uni PORT-LIST rxOversizeFrames
onu alarm uni PORT-LIST txOversizeFrames
onu alarm uni PORT-LIST rxFragments
onu alarm uni PORT-LIST rxJabbers
onu alarm uni PORT-LIST rxCollisions
onu alarm uni PORT-LIST rxDiscardFrames
onu alarm uni PORT-LIST txDiscardFrames
onu alarm uni PORT-LIST rxErrorFrames
onu alarm uni PORT-LIST statusChangeTimes

49
KingType PON command manual

parameter
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> onu alarm uni 3 statusChangeTimes enable
OLT(config-if-o2/1:1)> onu alarm uni 3 rxErrorFrames threshold 100 80

7.2.32 no onu alarm uni


command

no onu-alarm uni PORT-LIST {ethportAutonegFailure | ethportLos | ethportFailure |


ethportLoopback | ethportCongestion | rxDropEvents [threshold] | txDropEvents [threshold]
| rxCRCErrorFrames [threshold] | rxUndersizeFrames [threshold] | txUndersizeFrames
[threshold] | rxOversizeFrames [threshold] | txOversizeFrames [threshold] | rxFragments
[threshold] | rxJabbers [threshold] | rxCollisions [threshold] | rxDiscardFrames [threshold] |
txDiscardFrames [threshold] | rxErrorFrames [threshold] | statusChangeTimes }

Function description
no onu alarm uni PORT-LIST ethportAutonegFailure
no onu alarm uni PORT-LIST ethportLos
no onu alarm uni PORT-LIST ethportFailure
no onu alarm uni PORT-LIST ethportLoopback
no onu alarm uni PORT-LIST ethportCongestion
no onu alarm uni PORT-LIST rxDropEvents
no onu alarm uni PORT-LIST txDropEvents
no onu alarm uni PORT-LIST rxCRCErrorFrames
no onu alarm uni PORT-LIST rxUndersizeFrames
no onu alarm uni PORT-LIST txUndersizeFrames
no onu alarm uni PORT-LIST rxOversizeFrames
no onu alarm uni PORT-LIST txOversizeFrames
no onu alarm uni PORT-LIST rxFragments
no onu alarm uni PORT-LIST rxJabbers
no onu alarm uni PORT-LIST rxCollisions
no onu alarm uni PORT-LIST rxDiscardFrames
no onu alarm uni PORT-LIST txDiscardFrames
no onu alarm uni PORT-LIST rxErrorFrames
no onu alarm uni PORT-LIST statusChangeTimes

parameter
mode

50
KingType PON command manual

ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> no onu alarm uni 3 statusChangeTimes
OLT(config-if-o2/1:1)> no onu alarm uni 3 rxErrorFrames threshold

7.2.33 show onu alarm uni


command

show onu alarm uni PORT-LIST

Function description
display onu uni alarm parameter
parameter
mode
ONU mode
Attention

e.g.
OLT(config-if-o2/1:1)> show onu-alarm uni 3

7.2.34 alarm edfa


Set EDFA parameter

command

alarm edfa{tempHigh {enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |


tempLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
outputOpticalPowerHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
outputOpticalPowerLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
inputOpticalPowerHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
inputOpticalPowerLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump1BIASHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump1BIASLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump2BIASHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump2BIASLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump1TECHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump1TECLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump2TECHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump2TECLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL} |
pump1TempHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}|
pump1TempLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}|
51
KingType PON command manual

pump2TempHigh{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}|


pump2TempLow{enable | disable | threshold MAJOR_LEVEL MINOR_LEVEL}}

Function description
alarm edfa tempHigh
alarm edfa tempLow
alarm edfa outputOpticalPowerHigh
alarm edfa outputOpticalPowerLow
alarm edfa inputOpticalPowerHigh
alarm edfa inputOpticalPowerLow
alarm edfa pump1BIASHigh
Set EDFA laser pump 1 bias current high alarm enable and alarm threshold
alarm edfa pump1BIASLow
Set the EDFA laser pump 1 bias current too low alarm enable and alarm threshold
alarm edfa pump2BIASHigh
Set EDFA laser pump 2 bias current high alarm enable and alarm threshold
alarm edfa pump2BIASLow
Set the EDFA laser pump 2 bias current too low alarm enable and alarm threshold
alarm edfa pump1TECHigh
Set the EDFA 1 laser cooling pump current is too high and alarm threshold
alarm edfa pump1TECLow
Set the EDFA 1 laser pump cooling current is too low and alarm threshold
alarm edfa pump2TECHigh
Set the EDFA 2 laser cooling pump current is too high and alarm threshold
alarm edfa pump2TECLow
Set the EDFA 2 laser pump cooling current is too low and alarm threshold
alarm edfa pump1TempHigh
Set the EDFA laser pump 1 temperature too high alarm enable and alarm threshold
alarm edfa pump1TempLow
Set EDFA laser pump 1 temperature too low alarm enable and alarm threshold
alarm edfa pump2TempHigh
Set the EDFA laser pump 2 temperature too high alarm enable and alarm threshold
alarm edfa pump2TempLow
Set EDFA laser pump 2 temperature too low alarm enable and alarm threshold
parameter
mode
global configuration mode
Attention
Only for EDFA
e.g.
OLT(config)> alarm edfa tempHigh enable
OLT(config)> alarm edfa tempHigh threshold 100 80

52
KingType PON command manual

7.2.35 no alarm edfa


command

no alarm edfa{tempHigh [threshold] | tempLow [threshold]} |


outputOpticalPowerHigh [threshold] | outputOpticalPowerLow [threshold] |
inputOpticalPowerHigh [threshold] | inputOpticalPowerLow [threshold] | pump1BIASHigh
[threshold] | pump1BIASLow [threshold] | pump2BIASHigh [threshold] | pump2BIASLow
[threshold] | pump1TECHigh [threshold] | pump1TECLow [threshold] | pump2TECHigh
[threshold] | pump2TECLow [threshold] | pump1TempHigh [threshold]| pump1TempLow
[threshold]| pump2TempHigh [threshold]| pump2TempLow [threshold]}

Function description
no alarm edfa tempHigh
no alarm edfa tempLow
no alarm edfa outputOpticalPowerHigh
no alarm edfa outputOpticalPowerLow
no alarm edfa inputOpticalPowerHigh
no alarm edfa inputOpticalPowerLow
no alarm edfa pump1BIASHigh
no alarm edfa pump1BIASLow
no alarm edfa pump2BIASHigh
no alarm edfa pump2BIASLow
no alarm edfa pump1TECHigh
no alarm edfa pump1TECLow
no alarm edfa pump2TECHigh
no alarm edfa pump2TECLow
no alarm edfa pump1TempHigh
no alarm edfa pump1TempLow
no alarm edfa pump2TempHigh
no alarm edfa pump2TempLow

parameter

mode
global configuration mode
Attention
Only for EDFA
e.g.
OLT(config)> no alarm edfa tempHigh
OLT(config)> no alarm edfa tempHigh threshold

7.2.36 show alarm edfa


command

53
KingType PON command manual

show alarm edfa

Function description
display EDFA alarm parameter
parameter

mode
all mode
Attention
Only for EDFA
e.g.
OLT(config-if-o2/1:1)> show alarm edfa

7.2.37 show alarm current


command

show alarm current [olt | onu | edfa]

Function description
show alarm current
show alarm current olt
show alarm current onu
show alarm current edfa
parameter

mode
all mode
Attention

e.g.
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.38 show alarm history


command

show alarm history [olt | onu | edfa]

Function description
show alarm history
show alarm history olt
54
KingType PON command manual

show alarm history onu


show alarm history edfa
parameter

mode
all mode
Attention

e.g.
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.39 alarm delete history


command

alarm delete history {olt [START_SEQ END_SEQ] | onu [START_SEQ END_SEQ] | all
[ START_SEQ END_SEQ] }

Function description
alarm delete history olt
alarm delete history onu
alarm delete history
parameter
mode
global configuration mode
Attention

e.g.
OLT(config)> alarm delete history
OLT(config)> alarm delete history olt
OLT(config)> alarm delete history onu 10 20

55
KingType PON command manual

Chapter 8 Log configuration

8.1 summary
This chapter describes the system log related configuration operation command, support log
view, log switch, log control, log output control, etc.

8.2 command

8.2.1 clear log


command
clear log [file|buffer]
Function description
clear log
clear log file
clear log buffer
parameter
none
mode
global configuration mode
Attention
none
e.g.
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
log on
no log on
56
KingType PON command manual

parameter
none
mode
global configuration mode
Attention
none
e.g.
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
log monitor console
log monitor terminal
log monitor buffer
log monitor file
log monitor host
no log monitor
no log monitor all
no log monitor console
no log monitor terminal
no log monitor buffer
no log monitor file
no log monitor host
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)> log monitor terminal

8.2.4 log rule


command

57
KingType PON command manual

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
Function description
log rule {FACILITY} on enable appointed facility log
log rule {FACILITY} monitor all enable appointed facility all log
log rule {FACILITY} monitor console enable appointed facility console log
log rule {FACILITY} monitor terminal enable appointed facility terminal log
log rule {FACILITY} monitor buffer enable appointed facility bufferlog
log rule {FACILITY} monitor file enable appointed facility filelog
log rule {FACILITY} monitor host enable appointed facility hostlog
log rule {FACILITY} priority {emerg|alert|crit|err|warning|notice|inof|debug}

log monitor buffer enable buffer global


no log rule {FACILITY} on disable appointed facility
no log rule {FACILITY} monitor restore appointed facility
no log rule {FACILITY} monitor all disable appointed facility
no log rule {FACILITY} monitor console disable appointed facility consolelog
no log rule {FACILITY} monitor terminal disable appointed facility terminallog
no log rule {FACILITY} monitor buffer disable appointed facility bufferlog
no log rule {FACILITY} monitor file disable appointed facility filelog
no log rule {FACILITY} monitor host disable appointed facility hostlog
no log rule {FACILITY} priority restore appointed facility

parameter
mode
global configuration mode
Attention
e.g.
OLT(config)> log rule local0 priority warning

8.2.5 log host


command
log host A.B.C.D
no log host [A.B.C.D]
Function description
log host A.B.C.D add log server
no log host restore server list
no log host A.B.C.D delete server

58
KingType PON command manual

parameter
mode
global configuration mode
Attention
e.g.
OLT(config)> log host 192.168.1.1

8.2.6 log file


command
log file size MAX-SIZE
no log file size
Function description
log file size MAX-SIZE set log file max size
no log file size

parameter name format range e.g.


MAX-SIZE KB 1-32768 KB

mode
global configuration mode
Attention
e.g.
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
no log buffer size
parameter

parameter name format range e.g.


MAX-SIZE KB 1-32768 KB

mode
global configuration mode

59
KingType PON command manual

Attention
e.g.
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 [ include| exclude| begin|end|between]
show log buffer [ include| exclude| begin|end|between]
Function description
show log
show log global
show log file
show log buffer
show log [file|buffer] include PATTERN
show log [file|buffer] exclude PATTERN
show log [file|buffer] begin PATTERN
show log [file|buffer] end PATTERN
show log [file|buffer] between PATTERN1 PATTERN2

parameter

parameter name format range e.g.


PATTERN Ascii 32Bytes message

mode
all mode
Attention
e.g.
OLT(pri)> show log

60
KingType PON command manual

Chapter 9 Control board switching configuration

9.1 summary
For dual control board OLT

9.2 command

9.2.1 system swap


command
system swap
Function description
Execute manual switchover
parameter
none
mode
global configuration mode
Attention
Only for PT-D12G
e.g.
OLT(pri)> system swap

9.2.2 show swap


command
show swap
Function description
Display swap status
parameter
none
mode
all mode
Attention
Only for PT-D12G
e.g.
OLT(pri)> show swap
61
KingType PON command manual

Chapter 10 account configuration

10.1 summary
OLT device support multi user management

10.2 command

10.2.1 username
command
username
username NAME {password|level}
Function description
username login one user
username password
username level
username NAME password
username NAME level
parameter

parameter name format range e.g.


NAME Username Ascii <15Bytes
PASSWORD password Ascii <15Bytes
LEVEL level integer LEVEL >=1 && LEVEL <=7

mode
privileged mode
Attention
Max 15 user. 5user is default .can create 10 user
e.g.
OLT(pri)> username
OLT(pri)> username password
OLT(pri)> username level
OLT(pri)> username zhangsan password
OLT(pri)> username zhangsan level

62
KingType PON command manual

10.2.2 no username
command

no username NAME

Function description
Delete user
parameter

parameter name format range e.g.


NAME username Ascii <32Bytes

mode
Privileged mode
Attention
Can not delete default user
e.g.
OLT(pri)> no username myname

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


y

This user has been deleted success!

10.2.3 login
command

login

Function description

parameter
mode
privileged mode
Attention
e.g.
OLT(pri)> login

10.2.4 logout
command

logout
63
KingType PON command manual

Function description
logout
parameter

mode
Privileged mode
Attention

e.g.
OLT(pri)> logout

10.2.5 show user


command

show user {all | NAME}

Function description
show user all
show user NAME
parameter
mode
privileged mode
Attention
none
e.g.
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

64
KingType PON command manual

Chapter 11 port configuration

11.1 summary
About PORT

11.2 port configuration

11.2.1 name
command
name STRING
no name
Function description
name STRING set Port description
no name del Port description
parameter

parameter name format range e.g.


STRING name Ascii <32Bytes Sni123

mode
SNImodePONmode
Attention
none
e.g.
OLT(config-if-s3/1)> name sni1
OLT(config-if-p4/1)> no name

11.2.2 admin-status
command
admin-status {up | dowm}
no admin-status
Function description
admin-status up enable port
admin-status down disable port
65
KingType PON command manual

no admin-status restore to default


parameter
none
mode
SNImodePONmode
Attention
none
e.g.
OLT(config-if-s3/1)> admin-status up
OLT(config-if-p4/1)> admin-status down
OLT(config-if-p4/1)> no admin-status

11.2.3 combo
command
combo mode {copper | fiber | auto}
no combo mode
Function description
combo mode copper set sni to electric port
combo mode fiber set sni to optical port
combo mode auto set sni to auto detect
no combo mode set default
parameter
none
mode
SNImode
Attention
Only for combo port
e.g.
OLT(config-if-s3/1)> combo mode copper
OLT(config-if-s3/1)>no combo mode

11.2.4 auto-negotiation
command
auto-negotiation {auto | half-10 | full-10 | half-100 | full-100 | full-1000}
no auto-negotiation
Function description
auto-negotiation auto set sni self-adaption
auto-negotiation half-10
auto-negotiation full-10
auto-negotiation half-100

66
KingType PON command manual

auto-negotiation full-100
auto-negotiation full-1000
no auto-negotiation defautl
parameter
none
mode
SNImode
Attention
none
e.g.
OLT(config-if-s3/5)> auto-negotiation auto
OLT(config-if-s3/5)>no auto-negotiation

11.2.5 flow-control
command
flow-control {enable | disable}
no flow-control
Function description
flow-control enable
flow-control disable
no flow-control
parameter
none
mode
SNImode
Attention
none
e.g.
OLT(config-if-s3/5)> flow-control enale
OLT(config-if-s3/5)>no flow-control

11.2.6 crypto
command
crypto {enable | disable}
no crypto
crypto mode {triple-churning | aes32 | aes48 | aes128}
no crypto mode
crypto triple-churning key-update-period MILLI-SECONDS
no crypto triple-churning key-update-period
Function description

67
KingType PON command manual

crypto enable
crypto disable
no crypto
crypto mode triple-churning
crypto mode aes32
crypto mode aes48
crypto mode aes128
no crypto mode
crypto triple-churning key-update-period MILLI-SECONDS
Update period
no crypto triple-churning key-update-period

parameter

parameter name format range e.g.


MILLI-SECONDS period integerms [774,786426] 1000

mode
PONmode
Attention
none
e.g.
OLT(config-if-p4/5)> crypto enale
OLT(config-if-p4/5)> no crypto
OLT(config-if-p4/5)> crypto mode triple-churning
OLT(config-if-p4/5)> crypto triple-churning key-update-period 1000

11.2.7 onu max-distance


command
onu max-distance {20 | 30 | 40 | 50}
no onu max-distance
Function description
onu max-distance 20 set pon 20km
onu max-distance 30 set pon 30km
onu max-distance 40 set pon 40km
onu max-distance 50 set pon 50km
no onu max-distance
parameter
none
mode
PONmode
Attention

68
KingType PON command manual

none
e.g.
OLT(config-if-p4/5)> onu max-distance 30
OLT(config-if-p4/5)>no onu max-distance

11.2.8 p2p mode


command
p2p mode {disable | full}
no p2p mode
Function description
p2p mode full set pon onu interworking
p2p mode disable disable Interworking
no p2p mode restore
parameter
none
mode
PONmode
Attention
none
e.g.
OLT(config-if-p4/5)> p2p mode full
OLT(config-if-p4/5)>no p2p mode

11.2.9 show interface


command
show interface brief
show interface PORT-GROUP
Function description
show interface brief
show interface brief PORT-GROUP
parameter
mode
all mode
Attention
none
e.g.
OLT(config)> show interface brief
OLT(config)> show interface p4/5

69
KingType PON command manual

11.3 mirroe

11.3.1 mirror session


command
mirror name SESSION-ID NAME
mirror session SESSION-ID { destination SNI-PROT | source PORT-SWITCH {both | tx |
rx} }
no mirror session SESSION-ID
Function description
mirror name SESSION-ID NAME set name
mirror session SESSION-ID destination SNI-PROT
mirror session SESSION-ID source PORT-SWITCH both
mirror session SESSION-ID source PORT-SWTICH tx
mirror session SESSION-ID source PORT-SWITCH rx
no mirror session SESSION-ID

parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> mirror session 1 destination s3/6
OLT(config)> mirror session 1 source s3/7 both
OLT(config)> mirror name 1 mirror1
OLT(config)> no mirror session 1

11.3.2 show mirror


command
show mirror
Function description
display
e.g.
OLT(pri)> show mirror

70
KingType PON command manual

11.4 statistice

11.4.1 statistics m15


command
statistics m15 { enable | disable }
no statistics m15
Function description
statistics m15 enable enable sni 15mins Performance statistics
statistics m15 disable disable
no statistics m15 restore
parameter
none
mode
SNImodePONmode
Attention
none
e.g.
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

11.4.2 statistics h24


command
statistics h24 { enable | disable }
no statistics h24
Function description
statistics h24 enable enable sni24hours Performance statistics
statistics h24 disable disable
no statistics h24 restore
parameter
none
mode
SNImodePONmode
Attention
none
e.g.

71
KingType PON command 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

11.4.5 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 15 minutes of the maximum number of records
statistics h24 max H24-COUNT set 24 hours of the maximum number of records
no statistics m15 max
no statistics h24 max
parameter
mode
global mode
Attention
none
e.g.
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.6 show statistics max


command
show statistics max
Function description
show statistics max
parameter
none
mode
all mode
Attention
none
e.g.
OLT(config)> show statistics max

72
KingType PON command manual

11.4.7 show statistics


command
show statistics {current | m15 | h24} PORT-ID
Function description
show statistics current PORT-ID
show statistics m15 PORT-ID
show statistics h24 PORT-ID
parameter

mode
all mode
Attention
none
e.g.
OLT(config)> show statistics current s3/5
OLT(config)> show statistics m15 s3/5
OLT(config)> show statistics h24 s3/5

11.4.8 clear statistics


command
clear statistics {current | m15 | h24} PORT-ID
Function description
clear statistics current PORT-ID
clear statistics m15 PORT-ID
clear statistics h24 PORT-ID
parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> clear statistics current s3/5
OLT(config)> clear statistics m15 s3/5
OLT(config)> clear statistics h24 s3/5

73
KingType PON command manual

11.5 isolation

11.5.1 isolation
command
isolation { enable | disable }
no isolation
Function description
isolation enable SNI isolation enable
isolation disable disable
no isolation
parameter
none
mode
SNImodePONmode
Attention
none
e.g.
OLT(config-if-p2/1)> isolation enable
OLT(config-if-p2/1)> isolation disable
OLT(config-if-p2/1)> no isolation

11.5.2 onu isolation


command
onu isolation { enable | disable }
no onu isolation
Function description
onu isolation enable enable onu islolation
onu isolation disable disable
no onu-isolation
parameter
none
mode
Onu mode
Attention

e.g.
OLT(config-if-o2/8:1)> onu isolation enable

74
KingType PON command manual

11.5.3 show isolation


command
show isolation [PORTS]
show isolation
Function description
show isolation s1/2
show isolation
parameter
mode
all mode
Attention
none
e.g.
OLT(config-if-pon)> show isolation

11.5.4 show onu isolation


command
show onu isolation ONUS
Function description
show onu isolation 2/8:1
parameter
mode
all mode
Attention
none
e.g.
OLT(config-if-pon)> show onu isolation onu 2/8:1

75
KingType PON command manual

11.6 rate limit

11.6.1 rate-limit
command
rate-limit {rx | tx} RATE
no rate-limit {rx | tx}
Function description
rate-limit rx RATE
rate-limit tx RATE
no rate-limit rx
no rate-limit tx
parameter
mode
SNImodePONmode
Attention
none
e.g.
OLT(config-if-pon)> rate-limit rx 10000

11.6.2 show rate-limit


command
show rate-limit PORTS
show rate-limit
Function description
show rate-limit PORTS
show rate-limit

parameter

mode
Any mode
Attention
none
e.g.
OLT(config)> show rate-limit s1/1

76
KingType PON command manual

11.7 storm control

11.7.1 storm-control
command
storm-control STORM-MODE PACKET-RATE
no storm-control STORM-MODE
Function description
storm-control STORM-MODE PACKET-RATE set SNI rx rate
no storm-control STORM-MODE
parameter

parameter name format range e.g.


STORM-MODE mode U or m or bor ub or m
u Unknown ub
b or um or ubm
Unicast

mMulticast

bbroadcast
PACKET-RATE rate integer kbps [641000000] 100

mode
SNImode, PONmode
Attention
none
e.g.
OLT(config-if-sni)> storm-control u,b 100
OLT(config-if-sni)> no storm-control u,m

11.7.2 show storm-control


command
show storm-control PORTS
show storm-control
Function description
show storm-control PORTS
parameter
mode
Any mode
77
KingType PON command manual

Attention
none
e.g.
OLT(config)> show storm-control s1/1

Chapter 12 aggregation configuration

12.1 summary
PORT aggregation configuration IEEE802.3ad

12.2 command

12.2.1 trunk-group
command
trunk-group {GROUP-ID}
no trunk-group {GROUP-ID }
trunk-group {group-id } add {PORTS}
trunk-group {group-id} delete {all | { PORTS }
Function description
trunk-group {GROUP-ID} creat trunk group
no trunk-group {GROUP-ID} del trunk group
trunk-group {GROUP-ID } add {PORTS}
trunk-group {GROUP-ID} delete all
trunk-group {GROUP-ID} delete {PORTS}
parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> trunk-group 1
OLT(config)> trunk-group 1 add s3/1,s3/2

78
KingType PON command manual

12.2.2 trunk-group name


command
Trunk-group {GROUP-ID} name {GROUP-NAME}
no trunk-group {GROUP-ID} name
Function description
trunk-group {GROUP-ID} name {GROUP-NAME}
no trunk-group {GROUP-ID} name
parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> trunk-group 1 name trunk-group1

12.2.3 trunk-group psc


command
Trunk-group {GROUP-ID} psc {psc-id}
no trunk-group {GROUP-ID} psc
Function description
trunk-group {GROUP-ID} psc <PSC-ID> set trunk allocation policy
no trunk-group {GROUP-ID} psc
parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> trunk-group 1 psc src_mac

12.2.4 trunk-group admin-status


command
trunk-group {GROUP-ID} admin-status {up | down}
no trunk-group {GROUP-ID} admin-status
Function description
trunk-group {GROUP-ID} admin-status {up}
trunk-group {GROUP-ID} admin-status {down}
no trunk-group {GROUP-ID} admin_status

79
KingType PON command manual

parameter
mode
global configuration mode
Attention
none
e.g.
OLT(config)> trunk-group 1 admin-status up

12.2.5 show trunk-group


command
show trunk-group [GROUP-ID]
Function description
show trunk-group
show trunk-group [GROUP-ID]
parameter
parameter name format range e.g.

GROUP-ID Trunk id integer [14] 1

mode
all mode
Attention
none
e.g.
OLT(config)> show trunk-group

80
KingType PON command manual

Chapter 13 VLAN configuration

13.1 summary
Vlan configuration

13.2 command

13.2.1 vlan
command
vlan <VLANS>
Function description
vlan <VLANS>
no vlan <VLANS>
parameter

parameter name format range e.g.


<VLANS> Vlan Integer [1 - 4094] 1-10

mode
global configuration mode
Attention
none
e.g.
OLT (config)> vlan 1-10
OLT (config-if-vlan)>

13.2.2 vlan attribute q-in-q


command
vlan attribute q-in-q
no vlan attribute
Function description
vlan attribute q-in-q
no vlan attribute
81
KingType PON command manual

parameter
none
mode
Vlan mode
Attention
none
e.g.
OLT (config-if-1)> vlan attribute q-in-q

13.2.3 name
command
name VLAN-NAME
No name
Function description
name VLAN-NAME
no name
parameter

parameter name format range e.g.

VLAN-NAME VLAN Ascii 32Bytes cctv1

mode
Vlan mode
Attention
none
e.g.
OLT (config-if-1)> name cctv1

13.2.4 add
command

add { tag | untag} <PORTS>

Function description
add tag <PORTS> add tag port to vlan
add untag <PORTS> add untag port to vlan
parameter

parameter name format range e.g.

PORTS Vlan port S1/3,P2/3

82
KingType PON command manual

mode
Vlan mode
Attention
none
e.g.

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


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

13.2.5 remove
command
remove <PORTS>
Function description
remove <PORTS>
parameter

parameter name format range e.g.

PORTS Vlan S1/3,P2/3

mode
Vlan mode
Attention
none
e.g.
OLT(config-if-2)> remove s1/1

13.2.6 vlan attribute


command
vlan attribute <VLANS> q-in-q
no vlan attribute <VLANS>
Function description
vlan attribute <VLANS> q-in-q
no vlan attribute <VLANS>
parameter

parameter name format range e.g.


VLANS Vlan integer [1 - 4094] 1-10

83
KingType PON command manual

mode
global configuration mode
Attention
none
e.g.
OLT (config)> vlan attribute 2-5 q-in-q

13.2.7 vlan c-tpid


command
vlan c-tpid TPID
no vlan c-tpid
Function description
vlan c-tpid TPID cvlan tpid
no vlan c-tpid
parameter

parameter name format range e.g.

TPID Hex integer [0x0, 0xFFFF] 0x1234

mode
global configuration mode
Attention
none
e.g.
OLT (config)> vlan c-tpid 0x8100

13.2.8 vlan s-tpid


command
vlan s-tpid TPID
no vlan s-tpid
Function description
vlan s-tpid TPID svlan tpid
no vlan s-tpid
parameter

parameter name format range e.g.

TPID Hex integer [0x0, 0xFFFF] 0x1234

mode
84
KingType PON command manual

global configuration mode


Attention
none
e.g.
OLT (config)> vlan s-tpid 0x88A8

13.2.9 vlan pool


command
vlan pool { create {increase-by-onu | increase-by-uni | loop-by-uni } <VLANS>
[POOL-ID] [DESC] | delete POOL-ID | bind POOL-ID |POOL-ID{<VLANS> |DESC } }
Function description
vlan pool create {increase-by-onu | increase-by-uni | loop-by-uni }
<VLANS> [POOL-ID] [DESC]
vlan pool delete POOL-ID
vlan pool POOL-ID {<VLANS>|DESC}
vlan pool bind POOL-ID
no vlan pool bind
parameter

parameter name format range e.g.

POOL-ID Vlan pool id integer [1,64] 1

VLANS Vlan list integer [1 - 4094] 1-10

DESC Vlan Ascii 33Bytes Pool1

mode
global configuration mode
Attention

e.g.
OLT (config)> vlan pool create increase-by-onu 1-10

13.2.10 vlan priority


command
vlan priority PRIORITY
no vlan priority
Function description
vlan priority PRIORITY
no vlan priority
parameter
85
KingType PON command manual

parameter name format range e.g.

PRIORITY Vlan integer [0, 7] 0

mode
PON mode and SNI mode
Attention
none
e.g.
OLT(config-if-s1/1)> vlan priority 0
OLT(config-if-s1/1)>

13.2.11 vlan pvid


command
vlan pvid PV-ID
no vlan pvid
Function description
vlan pvid PV-ID set vlan id
no vlan pvid
parameter

parameter name format range e.g.

PV-ID vlan id integer [1, 4094] 100

mode
PONmode and SNImode
Attention
none
e.g.
OLT(config-if-s1/1)> vlan pvid 100
OLT(config-if-s1/1)>

13.2.12 vlan mode


command
vlan mode { access | trunk }
no vlan mode
Function description
vlan mode trunk
vlan mode access
86
KingType PON command manual

no vlan mode
parameter
none
mode
SNImode
Attention

e.g.

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


OLT(config-if-s1/1)>

87
KingType PON command manual

13.2.13 vlan aggregation


command
vlan aggregation { add OLD-VLAN-LIST NEW-VLAN-ID | delete VLAN-LIST }
vlan aggregation clear
Function description
vlan aggregation add OLD-VLAN-LIST NEW-VLAN-ID
vlan aggregation delete VLAN-LIST
vlan aggregation clear
parameter
mode
PONmode
Attention
none
e.g.
OLT(config-if-p2/1)> vlan aggregation add 2 3
OLT(config-if-p2/1)> vlan aggregation delete 2
OLT(config-if-p2/1)> vlan aggregation clear
OLT(config-if-p2/1)>

13.2.14 vlan translation


command
vlan translation { add OLD-VLAN-ID NEW-VLAN-ID | delete OLD-VLAN-LIST }
vlan translation clear
Function description
vlan translation add OLD-VLAN-ID NEW-VLAN-ID
vlan translation delete VLAN-LIST
vlan translation clear
parameter

parameter name format range e.g.

OLD-VLAN-ID Before integer [1, 4094] 200


vlan_id

NEW-VLAN-ID After integer [1, 4094] 100


vlan_id

mode
PONmode
Attention

88
KingType PON command manual

none
e.g.
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

13.2.15 vlan trunk


command
vlan trunk { add { tag |untag } TRUNK-VLAN-LIST | delete TRUNK-VLAN-LIST }
vlan trunk clear
Function description
vlan trunk add untag TRUNK-VLAN-LIST add untag TRUNK-VLAN-LIST
vlan trunk add tag TRUNK-VLAN-LIST add tag TRUNK-VLAN-LIST
vlan trunk delete TRUNK-VLAN-LIST
vlan trunk clear
parameter

parameter name format range e.g.

TRUNK-VLAN-LIST Vlan Integer [1, 4094] 10,20-50

mode
PONmode or SNImode
Attention
none
e.g.
OLT(config-if-p2/1)> vlan trunk add tag 10
OLT(config-if-p2/1)> vlan trunk add untag 11-20,21
OLT(config-if-p2/1)> vlan trunk del 10-21,11
OLT(config-if-p2/1)> vlan trunk del 10-21,11

13.2.16 vlan qinq


command
vlan qinq { add {VLANS} <VLAN-ID> [PRIORITY] | delete {VLANS}}
vlan qinq clear
Function description
vlan qinq add untag {VLANS} <VLAN-ID> [PRIORITY]
vlan qinq delete {VLANS}
vlan qinq clear
parameter
89
KingType PON command manual

parameter na format range e.g.


me

VLANS Vlan integer , [1, 4094] 10,20-50


list -

VLAN-ID vlan-id integer [1,4094] 1000

PRIORITY integer [0,7] 7

mode
PONmode
Attention
none
e.g.
OLT(config-if-p2/1)> vlan qinq add 100-1000 2000 6
OLT(config-if-p2/1)> vlan qinq delete 100-1000
OLT(config-if-p2/1)> vlan qinq clear

13.2.17 show vlan


command
show vlan { brief | global | id <VLANS> | port <PORTS> | pool [bind { global | pon
<PORTS> | profile [PROFILE-ID]} | id POOL-ID | onu [ONUS]] }
Function description
show vlan brief
show vlan global
show vlan id VLANS
show vlan port PORTS
show vlan pool
show vlan pool bind global
show vlan pool pon PORTS
show vlan pool profile [PROFILE-ID]
show vlan pool id POOL-ID
show vlan pool onu [ONUS]
parameter

parameter name format range e.g.

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

90
KingType PON command manual

PORTS Port id S1/3 or P2/3

PROFILE-ID Profile id integer [1,64] 1

POOL-ID Vlan pool integer [1,64] 1


id

ONUS Onu list [1,64] p2/1:1-p2/1:


5

mode
any mode
Attention
none
e.g.
OLT(config-if-p2/1)> show vlan global

91
KingType PON command manual

Chapter 14 MAC address

14.1 summary
Mac Address Table

14.2 command

14.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 no limit
mac-address-table aging-time AGING-TIME
no mac-address-table aging-time
parameter

parameter name format range e.g.


AGING-TIME Mac integers [101000000] 300
mode
global configuration mode
Attention
none
e.g.
OLT(config)> mac-address-table aging-time 100

14.2.2 mac-address-table dynamic maximum


command
mac-address-table dynamic maximum MAX-VALUE
no mac-address-table dynamic maximum
Function description
mac-address-table dynamic maximum MAX-VALUE
no mac-address-table dynamic maximum

92
KingType PON command manual

parameter

parameter name format range e.g.


MAX-VALUE Mac integer [ 18192 ] 300
mode
SNImode PONmode
Attention
none
e.g.
OLT(config-if-sni)> mac-address-table dynamic maximum 100

14.2.3 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
mac-address-table aging-time AGING-TIME
no mac-address-table aging-time
parameter

parameter name format range e.g.


AGING-TIME Mac integers 0, [1, 458] 300

mode
ONUmode
Attention
none
e.g.
OLT(config-if-o2/8:1)> mac-address-table aging-time 100

14.2.4 mac-address-table static


command
mac-address-table static MAC-ADDR VLAN-ID PORT-ID
no mac-address-table static MAC-ADDR VLAN-ID PORT-ID
Function description
mac-address-table static MAC-ADDR VLAN-ID PORT-ID add MAC
no mac-address-table static MAC-ADDR VLAN-ID PORT-ID del MAC
parameter

93
KingType PON command manual

parameter name format range e.g.


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

XX-XX-XX-XX-XX-XX
VLAN-ID VLAN id integer [1, 4094] 100
PORT-ID Sni id s1/2
mode
global configuration mode
Attention
none
e.g.
OLT(config)> mac-address-table static 0000.4567.ABCD 100 s1/2

14.2.5 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 mac-address-table dynamic address MAC-ADDR
clear mac-address-table dynamic interface PORTS
clear mac-address-table dynamic vlan VLANS
mode
global configuration mode
Attention
none
e.g.
OLT(config)> clear mac-address-table dynamic

14.2.6 show mac-address-table aging-time


command
show mac-address-table aging-time
Function description
display MAC age time
parameter
none
mode
ONUmode
Attention
none
94
KingType PON command manual

e.g.
OLT(config-if-o2/8:1)> show mac-address-table aging-time

14.2.7 show mac-address-table


command
show mac-address-table [{aging-time | address MAC-ADDR | static | interface PORTS |
dynamic [{interface PORTS [maximum] | vlan VLANS }] | onu-interface ONUS }]
Function description
show mac-address-table
show mac-address-table aging-time
show mac-address-table address MAC-ADDR
show mac-address-table static
show mac-address-table interface PORTS
show mac-address-table dynamic
show mac-address-table dynamic interface PORTS
show mac-address-table dynamic interface PORTS maximum
show mac-address-table dynamic vlan VLANS
show mac-address-table onu-interface ONUS mode
all mode
Attention
none
e.g.
OLT(config)> show mac-address-table static

95
KingType PON command manual

Chapter 15 QOS configuration

15.1 summary
OLT support QOS

15.2 command

15.2.1 qos global


command
qos global-based { device | port }
no qos global-based
Function description
qos global-based device base on device
qos global-based port base on port
no qos global-based default base on port
parameter
none
mode
global configuration mode
Attention

e.g.
OLT(config)> qos global-based device

15.2.2 show qos global


command
show qos global
Function description
display QoSglobal parameter
parameter
none
mode
all mode
Attention
96
KingType PON command manual

none
e.g.
OLT(config)> show qos global

15.2.3 qos map


command
qos map { cos | diffserv } QUEUE-ID PRIORITY-LIST
no qos map
Function description
qos map cos QUEUE-ID PRIORITY-LIST
qos map diffserv QUEUE-ID PRIORITY-LIST
no qos map
parameter

parameter name format range e.g.


QUEUE-ID integer <1-8> 2
PRIORITY-LIST integer cos<1-8> 3,5-7
diffserv<1-64>

mode
global configuration mode
Attention
e.g.
OLT(config)> qos map cos 2 3,5-7

15.2.4 show qos map


command

show qos map [ port PORTS ]

Function description
display QoS table
parameter
mode
all mode
Attention
none
e.g.
OLT(config)> show qos map

97
KingType PON command manual

15.2.5 qos scheduler


command

qos scheduler { policy { sp | wrr | spwrr } | weight WEIGHT-LIST }

no qos scheduler { policy | weight }

Function description
qos scheduler policy sp set Qos to SP
qos scheduler policy wrr weight WEIGHT-LIST set Qos toWRR
qos scheduler policy spwrr weight WEIGHT-LIST set Qos to SPWRR
no qos scheduler policy
no qos scheduler weight s
parameter

parameter name format range e.g.


WEIGHT-LIST Integer wrr<1-93> 10,20,30,40,0,0,0,0
spwrr <1-97> 0

mode
global configuration mode PONSNI mode
Attention
When parameter QoSglobal is based on the device, the command can only be used under the
configuration mode global, will affect the all port of the OLT port of the entire device priority
queue.
When the QoSglobal parameter is based on the port, the use of the command in global
configuration mode, all will configure the port priority queue; and configure the command port
configuration in mode, will only affect the current port priority queue.
e.g.
OLT(config)> qos scheduler policy spwrr
OLT(config)> qos scheduler weight 10,20,30,40,0,0,0,0

15.2.6 show qos policy


command

show qos policy [ PORTS ]

Function description
display QoS
parameter

noneparamet name format range e.g.


er

98
KingType PON command manual

PORTS Port id s3/5p5/6

mode
all mode
Attention
none
e.g.
OLT(config)> show qos policy

15.2.7 show qos


command

show qos [PORTS]

Function description
display QoS
parameter

nonepar name format range e.g.


ameter
PORTS Port id s3/5p5/6

mode
all mode
Attention
none
e.g.
OLT(config)> show qos port s3/5,s3/4

99
KingType PON command manual

Chapter 16 ACL

16.1 summary
Can be used for traffic classification of parameter include: MAC DA, MAC SA,
EthernetType (such as PPPoE, IPoE, IPv6oE, VLAN), destination IPv4 address, IPv4 source
address, IP protocol type (such as TCP, UDP, ICMPv4, ICMPv6, IGMP, MLD), IP (DSCP, L4)
objective priority protocol L4 protocol source port, port.

16.2 command

16.2.1 access-list
command
access-list { mac | standard | extended } ACL-NAME
Function description
access-list mac ACL-NAME create ACL base on MAC
access-list standard ACL-NAME create standard ACL
access-list extended ACL-NAME create extended ACL
parameter

parameter name format range e.g.


ACL-NAME ACLname Ascii <32Bytes m200

mode
global configuration mode
Attention

e.g.
OLT(config)> access-list mac m200
OLT(config-aclmac-m200)>

16.2.1.1 mac acl rule


command
{permit | deny} [ ethernet-type { ETHERNET-TYPE-NAME | ETHERNET-CODE } ] [ vlan
VLAN-ID ]{ source SOURCE-MAC [SOURCE-MAC-WILDCARD ] | any } { destination
DEST-MAC [DEST-MAC-WILDCARD ]| any }

100
KingType PON command manual

Function description
Add or deny one rule in ACL
parameter
mode
MAC AC mode
Attention
none
e.g.
OLT(config)> access-list mac m200
OLT(config-aclmac-m200)> deny vlan 100 any destination 0011.2233.4455 ffff.ffff.0000

16.2.1.2 standard acl rule


command
{permit | deny} { SOURCE-IP [SOURCE-IP-WILDCARD] | any }
Function description
Add or deny rule in ACL
parameter

parameter name format range e.g.


SOURCE-IP A.B.C.D 192.168.0.1
SOURCE-IP-WILDCA A.B.C.D 255.255.255.0
RD

mode
Acl mode
Attention
none
e.g.
OLT(config)> access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1

16.2.1.3 extended acl rule


command
{permit | deny} [ ip-protocol {PROTOCOL-TYPE | PROTOCOL-CODE}] {source
SOURCE-IP [SOURCE-IP-WILDCARD]| any } [ port SRC-PORT-NUM ] { destination DST-IP
[DEST-IP-WILDCARD] | any } [ port DST-PORT-NUM ] [ dscp DSCP ]
Function description
Add or deny rule in ACL
parameter
mode
Extended ACLmode
Attention

101
KingType PON command manual

none
e.g.
OLT(config)> access-list extended e100
OLT(config-aclex-e100)> deny any destination 192.168.0.1 255.255.255.0

16.2.1.4 no
command
no RULE-INDEX
Function description
Del one of rule in ACL
parameter

paramete name format range e.g.


r
RULE-INDEX ACL rule index integer <1-16> 1
id

mode
MACstandardexended ACL mode
Attention
none
e.g.
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

16.2.1.5 show
command
show
Function description
display ACL
parameter
none
mode
MACstandardexended ACL mode
Attention
none
e.g.
OLT(config)> access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
OLT(config-aclstd-s1)> show

102
KingType PON command manual

16.2.2 no access-list
command
no access-list ACL-INDEX-LIST
Function description
Del ACL
parameter

parameter name format range e.g.


ACL-INDEX-LIST ACLindex id integer <1-299> 200-220

mode
global configuration mode
e.g.
OLT(config)> no access-list 200

16.2.3 show access-list


command
show access-lists [ ACL-INDEX -LIST | ACL-NAME ]
Function description
display acreated ACL
parameter

parameter name format range e.g.


ACL-INDEX-LIST ACL ID integer <1-299> 200-205
ACL-NAME ACLname Ascii <32Bytes m200

mode
all mode
Attention
none
e.g.
OLT(config)> show access-lists

16.2.4 access-group
command
access-group { ACL-INDEX -LIST | ACL-NAME }
Function description

103
KingType PON command manual

Add rule by ACL id or ACL name to port


parameter

parameter name format range e.g.


ACL-INDEX-LIST ACLid Integer <1-299> 200210
ACL-NAME ACLname Ascii <32Bytes m200

mode
PONSNI mode
Attention
none
e.g.
OLT(config)>interface s3/5
OLT(config-if-s1/2)>access-group 200
OLT(config-if-s1/2)>access-group m200

16.2.5 no access-group
command
no access-group { ACL-INDEX -LIST | ACL-NAME }
Function description
Del ACL index
parameter

parameter name format range e.g.


ACL-INDEX-LIST ACL ID Integer <1-299> 200
ACL-NAME ACLname Ascii <32Bytes m200

mode
PONSNI mode
Attention
none
e.g.
OLT(config)>interface s3/5
OLT(config-if-s1/2)>no access-group 200
OLT(config-if-s1/2)> no access-group m200

16.2.6 show access-group


command
show access-group [PORTS]
Function description
display ACL of PORT

104
KingType PON command manual

parameter

parameter name format range e.g.


PORTS Port PONSNI s3/5p5/6

mode
all mode
Attention
none
e.g.
OLT(config)> show access-group

Chapter 17 STP configuration

17.1 summary
SSTP RSTP MSTP

17.2 command

17.2.1global configuration

17.2.1.1 spanning-tree

command
spanning-tree
no spanning-tree [ forward ]

Function description
spanning-tree enable Spanning Tree
no spanning-tree [forward] disable Spanning Tree
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)# spanning-tree
105
KingType PON command manual

17.2.1.2 spanning-tree mode

command
spanning-tree mode { sstp | rstp | mstp }
no spanning-tree mode

Function description
spanning-tree mode sstp set stp to sstp
spanning-tree mode rstp set stp to rstp
spanning-tree mode mstp set stp to mstp
no spanning-tree mode set default to mstp
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)# spanning-tree mode rstp

17.2.1.3 spanning-tree priority

command
spanning-tree [ mst instance INSTANCE-ID ] priority PRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] priority

Function description
spanning-tree priority PRIORITY
no spanning-tree priority
spanning-tree mst instance INSTANCE-ID priority PRIORITY c
no spanning-tree mst instance INSTANCE-ID priority

parameter
mode
global configuration mode
e.g.
OLT(config)# spanning-tree priority 9

106
KingType PON command manual

17.2.1.4 spanning-tree max-age

command
spanning-tree max-age AGING-TIME
no spanning-tree max-age

Function description
spanning-tree max-age AGING-TIME
no spanning-tree max-age default time is 20s

parameter
parameter name format range e.g.

AGING-TIME integers [ 640 ] 10

mode
global configuration mode
Attention

e.g.
OLT(config)# spanning-tree max-age 25

17.2.1.5 spanning-tree hello-time

command
spanning-tree hello-time HELLO-TIME
no spanning-tree hello-time

Function description
spanning-tree hello-time HELLO-TIME
no spanning-tree hello-time default is 2s

parameter

parameter name format range e.g.

HELLO-TIME integers [ 110 ] 10

mode
global configuration mode
Attention
107
KingType PON command manual

e.g.
OLT(config)# spanning-tree hello-time 10

17.2.1.6 spanning-tree forward-time

command
spanning-tree forward-time FORWARD-DELAY
no spanning-tree forward-time

Function description
spanning-tree forward-time FORWARD-DELAY
no spanning-tree forward-time default time is 15s
parameter

parameter name format range e.g.

FORWARD-DELAY integers [ 430 ] 10

mode
global configuration mode
Attention

e.g.
OLT(config)# spanning-tree forward-time 20

17.2.1.7 spanning-tree tx-hold-count

command
spanning-tree tx-hold-count NUMBER
no spanning-tree tx-hold-count

Function description
spanning-tree tx-hold-count NUMBER max number
no spanning-tree tx-hold-count default is 6

parameter

parameter name format range e.g.

NUMBER integers [1, 10] 5

108
KingType PON command manual

mode
global configuration mode
Attention
none
e.g.
OLT(config)# spanning-tree tx-hold-count 8

17.2.1.8 spanning-tree pathcost-method

command
spanning-tree pathcost-method { long | short }
no spanning-tree pathcost-method

Function description
spanning-tree pathcost-method { long | short } configuration
no spanning-tree pathcost-method
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)# spanning-tree pathcost-method long

17.2.1.9 spanning-tree mst max-hops

command
spanning-tree mst max-hops MAX-HOPS
no spanning-tree mst max-hops

Function description
spanning-tree mst max-hops MAX-HOPS
no spanning-tree mst max-hops default is 20
parameter
parameter name format range e.g.

MAX-HOPS integer [1, 40] 20

mode
global configuration mode
Attention

109
KingType PON command manual

none
e.g.
OLT(config)# spanning-tree mst max-hops 30

17.2.2 MST configuration

17.2.2.1 spanning-tree region-configuration

command
spanning-tree region-configuration
no spanning-tree region-configuration

Function description
spanning-tree region-configuration
no spanning-tree region-configuration

parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)# spanning-tree region-configuration

17.2.2.2 spanning-tree mst name

command
spanning-tree mst name NAME
no spanning-tree mst name

Function description
spanning-tree mst name NAME
no spanning-tree mst name

parameter

param name format range e.g.


eter

NAME Name Ascii 32Bytes V1000ist1

110
KingType PON command manual

mode
MST configurationmode
Attention
none
e.g.
OLT(config)# spanning-tree mst name v1000ist1

17.2.2.3 spanning-tree mst revision

command
spanning-tree mst revision REVISION-LEVEL
no spanning-tree mst revision

Function description
spanning-tree mst revision REVISION-LEVEL
no spanning-tree mst revision

parameter

parameter name format range e.g.

REVISION-LEVEL integer [ 065535] 100

mode
MST configurationmode
Attention
none
e.g.
OLT(config)# spanning-tree mst revision 1001

17.2.2.4 spanning-tree mst instance

command
spanning-tree mst instance INSTANCE-ID vlan VLAN-LIST
no spanning-tree mst instance INSTANCE-ID [ vlan VLAN-LIST ]

Function description

spanning-tree mst instance INSTANCE-ID vlan VLAN-LIST

no spanning-tree mst instance INSTANCE-ID vlan VLAN-LIST

no spanning-tree mst instance INSTANCE-ID

111
KingType PON command manual

parameter

parameter name format range e.g.

INSTANCE-ID integer [ 115 ] 8

VLAN-LIST Vlan integer ,- [1, 4094] 10,20-50

mode
MST configurationmode
Attention
none
e.g.
OLT(config)# spanning-tree mst instance 1 vlan 1000

17.2.3 port configuration

17.2.3.1 spanning-tree enable

command
spanning-tree { enable | disable }
Function description
spanning-tree enable
spanning-tree disable
parameter
none
mode
SNImode
Attention
none
e.g.
OLT(config)# interface s3/1
OLT(config-if-s3/1)# spanning-tree enable

17.2.3.2 spanning-tree port-priority

command
spanning-tree [ mst instance INSTANCE-ID ] port-priority PRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] port-priority
112
KingType PON command manual

Function description
spanning-tree port-priority PRIORITY
no spanning-tree port-priority
spanning-tree mst instance INSTANCE-ID port-priority PRIORITY
no spanning-tree mst instance INSTANCE-ID port-priority
parameter

parameter name format range e.g.

PRIORITY Integer [ 015] 5

INSTANCE-ID integer [ 115 ] 8

mode
SNI mode
Attention

e.g.
OLT(config-if-s3/1)# spanning-tree port-priority 6

17.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
Function description
spanning-tree port-cost PORT-COST
no spanning-tree port-cost
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
parameter
parameter name format range e.g.

PORT-COST integer [ 1200000000 ] 300000

INSTANCE-ID integer [ 115 ] 8

mode
SNImode
Attention

113
KingType PON command manual

e.g.
OLT(config-if-s3/1)# spanning-tree port-cost 200000

17.2.4 show

17.2.4.1 show spanning-tree


command
show spanning-tree [ interface PORT-ID | forward-time | hello-time | max-age |
tx-hold-count | pathcost-method | brief ]
show spanning-tree mst { max-hops | region-configuration | instance brief | instance
INSTANCE-ID [ priority | interface PORT-ID ] }
Function description
show spanning-tree d
show spanning-tree interface PORT-ID
show spanning-tree forward-time
show spanning-tree hello-time
show spanning-tree max-age
show spanning-tree tx-hold-count
show spanning-tree pathcost-method
show spanning-tree brief
show spanning-tree mst max-hops
show spanning-tree mst region-configuration
show spanning-tree mst instance INSTANCE-ID
show spanning-tree mst instance INSTANCE-ID priority
show spanning-tree mst instance INSTANCE-ID interface PORT-ID
show spanning-tree mst instance brief mode
all mode
Attention
none
e.g.
OLT(config-if-s3/1)# show spanning-tree interface s3/1

114
KingType PON command manual

Chapter 18 Multicast configuration

18.1 summary
IGMP

18.2 command

18.2.1 igmp
command
igmp {enable | disable}
Function description
igmp enable
igmp disable
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)> igmp enable
OLT(config)> igmp disable

18.2.2 igmp mode


command
igmp mode {protocol | ctc}
no igmp mode
Function description
igmp mode protocol
igmp mode ctc
no igmp mode
parameter
none
mode
115
KingType PON command manual

global configuration mode


Attention
none
e.g.
OLT(config)>igmp mode protocol
OLT(config)>igmp mode ctc
OLT(config)>no igmp mode

18.2.3 igmp protocol query-interval


command
igmp protocol query-interval INTERVAL
no igmp protocol query-interval
Function description
igmp protocol query-interval INTERVAL
no igmp protocol query-interval
parameter

parameter name format range e.g.


INTERVAL integers [10,15360] 100

mode
global configuration mode
Attention
none
e.g.
OLT(config)>igmp protocol query-interval 100

18.2.4 igmp protocol


max-query-response-interval
command
igmp protocol max-query-response-interval INTERVAL
no igmp protocol max-query-response-interval
Function description
igmp protocol max-query-response-interval INTERVAL
no igmp protocol max-query-response-interval
parameter

parameter name format range e.g.


INTERVAL integer 100ms [10,125] 100

116
KingType PON command manual

mode
global configuration mode
Attention
none
e.g.
OLT(config)> igmp protocol max-query-response-interval 100

18.2.5 igmp protocol last-member-query-interval


command
igmp protocol last-member-query-interval INTERVAL
no igmp protocol last-member-query-interval
Function description
igmp protocol last-member-query-interval INTERVAL
no igmp protocol last-member-query-interval
parameter

parameter name format range e.g.


INTERVAL integers [10,125] 100

mode
global configuration mode
Attention
none
e.g.
OLT(config)> igmp protocol last-member-query-interval 100

18.2.6 igmp protocol last-member-query-count


command
igmp protocol last-member-query-count REPEAT-COUNT
no igmp protocol last-member-query-count
Function description
igmp protocol last-member-query-count INTERVAL
no igmp protocol last-member-query-count
parameter

parameter name format range e.g.


REPEATE-COUNT integer [2,7] 2

mode
117
KingType PON command manual

global configuration mode


Attention
none
e.g.
OLT(config)> igmp protocol last-member-query-count 2

18.2.7 igmp protocol robust


command
igmp protocol robust RANGE
no igmp protocol robust
Function description
igmp protocol robust RANGE
no igmp protocol robust
parameter

parameter name format range e.g.


RANGE integer [2,7] 2

mode
global configuration mode
Attention
none
e.g.
OLT(config)> igmp protocol robust 2

18.2.8 show igmp protocol


command
show igmp protocol
Function description
show igmp protocol
parameter
none
mode
all mode
Attention
none
e.g.
OLT(config)> show igmp protocol

118
KingType PON command manual

18.2.9 igmp ctc proxy


command
igmp ctc proxy create PROXY-NAME MULTICAST-IP-ADDRESS VALN-ID
igmp ctc proxy delete {PROXY-NAME | PROXY-LIST}
Function description
igmp ctc proxy create PROXY-NAME MULTICAST-IP-ADDRESS VALN-ID
igmp ctc proxy delete {PROXY-NAME | PROXY-LIST}
mode
global configuration mode
Attention
none
e.g.
OLT(config)> igmp ctc proxy create ktolt 224.1.1.1 100
OLT(config)> igmp ctc proxy delete ktolt

18.2.10 igmp ctc package


command
igmp ctc package PACKAGE-NUM [{name PACKAEG-NAME | proxy {add PROXY-LIST |
delete PROXY-LIST | clear} | user-authority {permit | preview | deny} | max-request-channel
RANGE | single-preview-time SINGLE-TIME | total-preview-time TOTAOL-TIME |
preview-reset-time RESET-TIME | preview-interval-time INTERVAL | preview-count
REPEAT-COUNT} ]
no igmp ctc package PACKAGE-NUM [{name | user-authority | max-request-channel
| single-preview-time | total-preview-time | preview-reset-time | preview-interval-time |
preview-count } ]
Function description
igmp ctc package PACKAGE-NUM name PACKAEG-NAME
igmp ctc package PACKAGE-NUM proxy add PROXY-LIST
igmp ctc package PACKAGE-NUM proxy delete PROXY-LIST y
igmp ctc package PACKAGE-NUM proxy clear
igmp ctc package PACKAGE-NUM user-authority permit
igmp ctc package PACKAGE-NUM user-authority preview
igmp ctc package PACKAGE-NUM user-authority deny
igmp ctc package PACKAGE-NUM max-request-channel CHANNEL-COUNT
igmp ctc package PACKAGE-NUM single-preview-time SINGLE-TIME
igmp ctc package PACKAGE-NUM total-preview-time TOTAOL-TIME
igmp ctc package PACKAGE-NUM preview-reset-time RESET-TIME
igmp ctc package PACKAGE-NUM preview-interval-time INTERVAL
igmp ctc package PACKAGE-NUM preview-count REPEAT-COUNT
no igmp ctc package PACKAGE-NUM name
no igmp ctc package PACKAGE-NUM user-authority
no igmp ctc package PACKAGE-NUM max-request-channel

119
KingType PON command manual

no igmp ctc package PACKAGE-NUM single-preview-time


no igmp ctc package PACKAGE-NUM total-preview-time
no igmp ctc package PACKAGE-NUM preview-reset-time
no igmp ctc package PACKAGE-NUM preview-interval-time
no igmp ctc package PACKAGE-NUM preview-count
e.g.
OLT(config)> igmp ctc package 6 name package1
OLT(config)> igmp ctc package 6 proxy add 2
OLT(config)> igmp ctc package 6 user-authority permit
OLT(config)> igmp ctc package 6 max-request-channel 256
OLT(config)> igmp ctc package 6 preview-count 15
OLT(config)> no igmp ctc package 6 user-authority
OLT(config)> no igmp ctc package 6 preview-count

18.2.11 show igmp ctc


command
show igmp ctc{proxy [PROXY-NAME | PROXY-LIST] | package {PACKAGE-NUM | all}}
Function description
show igmp ctc proxy PROXY-NAME
show igmp ctc proxy PROXY-LIST
show igmp ctc package PACKAGE-NUM
show igmp ctc package all
e.g.
OLT(config)> show igmp ctc proxy cctv_proxy
OLT(config)> show igmp ctc proxy 1,3,9
OLT(config)> show igmp ctc package pack9
OLT(config)> show igmp ctc package all

18.2.12 show igmp forwarding


command
show igmp forwarding
Function description
show igmp forwarding
mode
all mode
Attention
none
e.g.
OLT(config)> show igmp forwarding

120
KingType PON command manual

18.2.13 onu igmp uni


command
onu igmp uni UNI-PORT-LIST {controlled-multicast{package{add PACKAGE_LIST |
delete PACKAGE_LIST | clear} | bandwidth RANGE} | ctc{mcast{tag-stripe{enable | disable} |
mc-vlan{add VLANS | delete VLANS | clear}}}}
no onu igmp uni UNI-PORT-LIST {controlled-multicast{bandwidth} | ctc {mcast
tag-stripe}}
Function description
onu igmp uni UNI-PORT-LIST controlled-multicast package add PACKAGE_LIST
onu igmp uni UNI-PORT-LIST controlled-multicast package delete PACKAGE_LIST
onu igmp uni UNI-PORT-LIST controlled-multicast package delete PACKAGE_LIST
onu igmp uni UNI-PORT-LIST controlled-multicast package bandwidth RANGE
onu igmp uni UNI-PORT-LIST ctc tag-stripe enable
onu igmp uni UNI-PORT-LIST ctc tag-stripe disable
onu igmp uni UNI-PORT-LIST ctc mc-vlan add VLANS
onu igmp uni UNI-PORT-LIST ctc mc-vlan delete VLANS
onu igmp uni UNI-PORT-LIST ctc mc-vlan clear
no onu igmp uni UNI-PORT-LIST controlled-multicast bandwidth
no onu igmp uni UNI-PORT-LIST ctc mcast tag-stripe
parameter
e.g.
OLT(config-if-o5/6:1)> onu igmp uni 1-4 controlled-multicast package add 1,3,9
OLT(config-if-o5/6:1)> onu igmp uni 1-2 controlled-multicast package bandwidth 10240
OLT(config-if-o5/6:1)> onu igmp uni 1-3 ctc tag-stripe enable
OLT(config-if-o5/6:1)> onu igmp uni 1-3 ctc mc-vlan add 100-200
OLT(config-if-o5/6:1)> no onu igmp uni 1-2 controlled-multicast bandwidth
OLT(config-if-o5/6:1)> no onu igmp uni 1-2 ctc mcast tag-stripe

18.2.14 show onu igmp port


command
show onu igmp port UNI-PORT-LIST [controlled-multicast]
Function description
show onu igmp port UNI-PORT-LIST
show onu igmp port UNI-PORT-LIST controlled-multicast
mode
ONUmode
Attention
none
e.g.
OLT(config-if-o5/6:1)> show onu igmp port 1-3

121
KingType PON command manual

18.2.15 igmp proxy server-vlan


command
igmp proxy server-vlan VLAN-ID
no igmp proxy server-vlan VLAN-ID
Function description
igmp proxy server-vlan VLAN-ID
no igmp proxy server-vlan VLAN-ID
parameter

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 100

mode
global configuration mode
Attention
none
e.g.
OLT(config)>igmp proxy server-vlan 100
OLT(config)>no igmp proxy server-vlan 100

18.2.16 show igmp proxy


command
show igmp proxy PROXY-ID
Function description
show igmp proxy PROXY-ID
parameter

parameter name format range e.g.


PROXY-ID integer [1,128] 1

mode
all mode
Attention
none
e.g.
OLT(config)> show igmp proxy 8

122
KingType PON command manual

18.2.17 enable
command
{enable | disable}
Function description
enable enable IGMP proxy
disable disable IGMP proxy
parameter

mode
IGMP proxyconfigurationmode
Attention
none
e.g.
OLT(config-if-igmp-proxy)>enable
OLT(config-if-igmp-proxy)>disable

18.2.18 name
command
name PROXY-NAME
Function description
name PROXY-NAME set proxy name
parameter

parameter name format range e.g.


PROXY-NAME name ASCI size <=32 Proxy1

mode
IGMP proxyconfigurationmode
Attention
none
e.g.
OLT(config-if-igmp-proxy)>name proxy1

18.2.19 hosts-vlan
command
hosts-vlan{add VLANS | delete VLANS | clear}
Function description
hosts-vlan add VLANS add proxy vlan
hosts-vlan delete VLANS del proxy vlan
123
KingType PON command manual

hosts-vlan clear
parameter

parameter name format range e.g.


VLANS VLAN integer [1,4094] 10-200
-

mode
IGMP proxyconfigurationmode
Attention
none
e.g.
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

18.2.20 igmp static-router-port


command
igmp static-router-port
no igmp static-router-port
Function description
igmp static-router-port
no igmp static-router-port
parameter

mode
IGMP proxyconfigurationmode
Attention
none
e.g.
OLT(config-if-igmp-proxy)>igmp static-router-port
OLT(config-if-igmp-proxy)>no igmp static-router-port

18.2.21 show igmp proxy


command
show igmp proxy{server-vlan VLAN-ID | name PROXY-NAME}
Function description
show igmp proxy server-vlan VLAN-ID
show igmp proxy name PROXY-NAME
parameter

124
KingType PON command manual

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 200
PROXY-NAME name ASCI size <=32 Proxy1

mode
all mode
Attention
none
e.g.
OLT(config-if-igmp-proxy)>show igmp proxy server-vlan 200
OLT(config-if-igmp-proxy)>show igmp proxy name proxy1

125
KingType PON command manual

Chapter 19 IPconfiguration

19.1 summary
IP management

19.2 IP INTERFACE

19.2.1 interface vlan-interface


command
interface vlan-interface {< VLAN-ID> | < NAME>}
no interface vlan-interface {< VLAN-ID > | < NAME >}
Function description
interface vlan-interface VLAN-ID
interface vlan-interface NAME
no interface vlan-interface VLAN-ID
no interface vlan-interface NAME
parameter

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 200
NAME vlan-interfacename ASCI size <=32 Proxy1

mode
global configuration mode
Attention
none
e.g.
OLT(config)> interface vlan-interface 100
OLT(config)> no interface vlan-interface 100

126
KingType PON command manual

19.2.2 ip-address
command
{ ip-address IP-ADDR [IP-MASK] | gate-way IP-GATEWAY }
no ip-address
Function description
ip-address IP-ADDR
ip-address IP-ADDR IP-MASK
gate-way IP-GATEWAY
no ip-address
parameter

parameter name format range e.g.


IP-ADDR IP A.B.C.D 192.168.0.100
IP-MASK IP,mask A.B.C.D 255.255.0.0
IP-GATEWAY IP gate way A.B.C.D 192.168.0.1

mode
vlan-interface mode
Attention
none
e.g.
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

19.2.3 management in-band vlan


command
management in-band vlan VLAN-ID
no management in-band vlan
Function description
management in-band vlan VLAN-ID
no management in-band vlan
parameter

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 200

mode
global configuration mode
Attention
none
127
KingType PON command manual

e.g.
OLT (config)> management in-band vlan 2

19.2.4 vlan
command
vlan < VLAN-ID >
Function description
vlan VLAN-ID
parameter

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 200

mode
vlan-interface mode
Attention
none
e.g.
OLT (config-if-vlan-interface-1)> vlan 2

19.2.5 name
command
name < NAME >
Function description
change inferface name
parameter

parameter name format range e.g.


NAME vlan-interfacename ASCI size <=32 Proxy1

mode
vlan-interface mode
Attention
none
e.g.
OLT (config-if-vlan-interface-1)> name KT_INTF1

128
KingType PON command manual

19.2.6 show vlan-interface


command
show vlan-interface {< VLANS > | <brief> | <all> | < NAME >}
Function description
show vlan-interface VLANS
show vlan-interface brief
show vlan-interface all
show vlan-interface NAME
parameter

parameter name format range e.g.


VLAN-ID VLAN ID integer [1,4094] 200
NAME vlan-interfacename ASCI size <=32 Proxy1

mode
all mode
Attention
none
e.g.
OLT(pri)> show vlan-interface all

19.2.7 show vlan interface


command
show vlan interface
Function description
display VLANmode IP INTERFACE
parameter
none
mode
vlan-interface mode
Attention
none
e.g.
OLT (config-if-vlan-interface-1)> show vlan interface

19.3 out band INTERFACE

19.3.1 management out-band ip-address


129
KingType PON command manual

command
management out-band {ip-address IP-ADDR [IP-MASK] | gate-way IP-GATEWAY }
no management out-band ip
Function description
management out-band ip-address IP-ADDR
management out-band ip-address IP-ADDR IP-MASK
management out-band gate-way IP-GATEWAY
no management out-band ip
parameter

parameter name format range e.g.


IP-ADDR IP A.B.C.D 192.168.0.100
IP-MASK IP mask A.B.C.D 255.255.0.0
IP-GATEWAY IP gate way A.B.C.D 192.168.0.1

mode
global configuration mode
Attention
none
e.g.
OLT(config)> management out-band ip-address 192.168.2.5 255.255.255.0
OLT(config)> no management out-band ip

19.3.2 show management out-band


command
show management out-band
Function description
display
parameter
none
mode
all mode
Attention
none
e.g.
OLT(config)> show management out-band

19.4 PING

19.4.1 ping
130
KingType PON command manual

command
ping IP-ADDR [ -t ]
Function description
ping IP-ADDR
ping IP-ADDR -t
parameter

parameter name format range e.g.


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

mode
enable mode
Attention
none
e.g.
OLT(pri)> ping 192.168.2.100

131
KingType PON command manual

Chapter 20 SNTP

20.1 summary
OLT support SNTP

20.2 command

20.2.1 sntp enable


command
sntp { enable | disable }
no sntp
Function description
sntp enable
sntp disable
no sntp
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)> sntp enable
OLT(config)> sntp disable
OLT(config)> no sntp

20.2.2 sntp interval


command
sntp interval SYN-INTERAVL
no sntp interval
Function description
sntp interval SYN-INTERAVL
no sntp interval
parameter
132
KingType PON command manual

parameter name format range e.g.


SYN-INTERAVL integer 5

mode
global configuration mode
Attention
none
e.g.
OLT(config)> sntp interval 60
OLT(config)> no sntp interval

20.2.3 sntp server


command
sntp server IP-ADDR
no sntp server
Function description
sntp server IP-ADDR
no sntp server
parameter

parameter name format range e.g.


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

mode
global configuration mode
Attention
none
e.g.
OLT(config)> sntp server 192.168.2.100
OLT(config)> no sntp server

20.2.4 show sntp


command
show sntp
Function description
display sntp
parameter
none
mode

133
KingType PON command manual

all mode
Attention
none
e.g.
OLT(config)> show sntp

134
KingType PON command manual

Chapter 21 SNMP

21.1 summary
About SNMP and parameter

21.2 command

21.2.1 snmp-community
commandpermission
snmp-community COMMUNITY {ro | rw}
no snmp-community COMMUNITY
Function description
snmp-community COMMUNITY ro add ro community
snmp-community COMMUNITY rw add rw community
no snmp-community COMMUNITY del community
parameter

parameter name format range e.g.


COMMUNITY size <=32 public

mode
global configuration mode
Attention

e.g.
OLT(config)> snmp-community public ro
OLT(config)> snmp-community public wr
OLT(config)> no snmp-community public

21.2.2 show snmp-community


command
show snmp-community
Function description
135
KingType PON command manual

display SNMP community


parameter

mode
all mode
Attention

e.g.
OLT(config)> show snmp-community

21.2.3 snmp-host
command
snmp-host TRAP-IP COMMUNITY
no snmp-host TRAP-IP
Function description
snmp-host TRAP-IP COMMUNITY add trap
no snmp-host TRAP-IP del trap
parameter

parameter name format range e.g.


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

mode
global configuration mode
Attention

e.g.
OLT(config)> snmp-host 192.168.0.1 public
OLT(config)> no snmp-host 192.168.0.1

21.2.4 show snmp-host


command

Show snmp-host

Function description
display Trap host
parameter

mode
all mode

136
KingType PON command manual

e.g.
OLT(config)> show snmp-host

21.2.5 snmp-trap
command
snmp-trap {count COUNT_VAL | interval INTERVAL_VAL }
no snmp-trap {count | interval }
Function description
snmp-trap count COUNT_VAL
snmp-trap interval INTERVAL_VAL
no snmp-trap count
no snmp-trap interval
parameter

parameter name format range e.g.


COUNT_VAL Trap frequency integer 0
INTERVAL_VAL Trap interval integer 300

mode
global configuration mode
Attention

e.g.
OLT(config)> snmp-trap count 5
OLT(config)> snmp-trap interval 200
OLT(config)> no snmp-trap count
OLT(config)> no snmp-trap interval

21.2.6 show snmp-trap


command
show snmp-trap
Function description
display SNMP trapparameter
parameter

mode
all mode
e.g.
OLT(config)> show snmp-trap

137
KingType PON command manual

Chapter 22 BCMP

22.1 summary
Support BCMP

22.2 command

22.2.1 bcmp status


command
bcmp status {enable|disable}
Function description
bcmp status enable enable BCMP
bcmp status disable disable BCMP
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(pri)> bcmp status enable

22.2.2 bcmp relay


command
show relay port {UDP-PORT}
Function description
bcmp relay port UDP-PORT set BCMP port
parameter

parameter name format range e.g.


UDP-PORT UDP 0-65535 5000
mode
global configuration mode
Attention
138
KingType PON command manual

e.g.
OLT(config)> bcmp relay port 5000

22.2.3 bcmp mode


command
show mode {normal|chutian|fujian}
Function description
bcmp mode normal set BCMP to common mode

parameter
none
mode
global configuration mode
Attention

e.g.
OLT(config)> bcmp mode normal

22.2.4 bcmp server


command
bcmp server ip {IP-ADDR }
bcmp server port {UDP-PORT }
Function description
bcmp server ip RELAY-IP-ADDR
bcmp server port RELAY-PORT-NUM
parameter

parameter name format range e.g.


IP-ADDR Bcmp A.B.C.D none 192.168.1
0.100
UDP-PORT UDP 0-65535 5000
mode
global configuration mode
Attention

e.g.
OLT(config)> bcmp server ip 192.168.10.100
OLT(config)> bcmp server port 5000

139
KingType PON command manual

22.2.5 bcmp vlan


command
bcmp vlan {VLAN-ID }
Function description
bcmp vlan VLAN-ID set BCMP VLAN ID
parameter

parameter name format range e.g.


VLAN-ID Vlan 1-4094 4041

mode
global configuration mode
Attention

e.g.
OLT(config)> bcmp vlan 4041

22.2.6 show bcmp


command
show bcmp
Function description
display BCMP configuration
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show bcmp

22.2.7 show bcmp-device


command
show bcmp-device
Function description
display BCMP device
parameter

140
KingType PON command manual

none
mode
all mode
Attention
none
e.g.
OLT(pri)> show bcmp-device

141
KingType PON command manual

Chapter 23 OLT configuration

23.1 summary
OLT management

23.2 ONU management

23.2.1 onu-bind
command
onu-bind <MAC_ADDR>
onu-bind <MAC_ADDR> <LLID>
no onu-bind <MAC_ADDR>
no onu-bind llid <MAC_ADDR> <LLID>
Function description
onu-bind MAC_ADDR
onu-bind MAC_ADDR LLID
no onu-bind MAC_ADDR
no onu-bind llid MAC_ADDR LLID
parameter
parameter name format range e.g.
MAC_ADDR Onu H.H.H, H-H-H-H-H-H 0-9 a-f abcd.ef12.3456
LLID onu llid 7
mode
PON mode
Attention
none
e.g.
OLT(config-if-p2/6)> onu bind 000f.ef12.0011
OLT(config-if-p2/6)> onu bind 000f.ef12.3456 7
OLT(config-if-p2/6)> no onu bind 000f.1ea0.2131
OLT(config-if-p2/6)> no onu bind 000f.1ef2.9812 7

23.2.2 interface profile


command
142
KingType PON command manual

inerface profile {<PROFILE-NAME> | <PROFILE-ID>}


Function description
inerface profile PROFILE-NAME
inerface profile PROFILE-ID
no inerface profile PROFILE-NAME
no inerface profile PROFILE-ID
parameter
parameter name format range e.g.
PROFILE-NAME profile1
PROFILE-ID 1-256 6
mode
global configuration mode
Attention
1-256
e.g.
OLT(config)> interface profile profile1
OLT(config)> interface profile 5
OLT(config)> no interface profile profile1
OLT(config)> no interface profile 5

23.2.3 name
command
name <PROFILE-NAME>
Function description
name PROFILE-NAME
parameter
parameter name format range e.g.
PROFILE-NAME profile7
Attention
none
e.g.
OLT(config-if-profile-1)> name profile7

23.2.4 unbind
command
unbind {all | ONUS}
Function description
unbind all
unbind ONUS
parameter
143
KingType PON command manual

parameter name format range e.g.


ONUS 2/1:8-2/1:59
mode

Attention
none
e.g.
OLT(config-if-profile-1)>unbind all
OLT(config-if-profile-1)>unbind 2/1:8-2/1:59

23.2.5 profile-bind
command
profile-bind {<PROFILE-NAME> | <PROFILE-ID>}
profile-bind {<PROFILE-NAME> | <PROFILE-ID>} <LLIDS>
no profile-bind
no profile-bind LLIDS
Function description
profile-bind PROFILE-NAME
profile-bind PROFILE-ID
profile-bind PROFILE-NAME LLIDS
profile-bind PROFILE-ID LLIDS
no profile-bind
no profile-bind LLIDS
mode
ONUmodePONmode
Attention
e.g.
OLT (config-if-o2/6:1)> profile-bind profile1
OLT (config-if-p2/6)> profile-bind profile1 1-32
OLT (config-if-o2/6:1)> no profile-bind
OLT (config-if-p2/6)> no profile-bind 1-64

23.2.6 profile unbind all


command
profile <PROFILE-LIST> unbind all
mode
all mode
Attention
none
e.g.

144
KingType PON command manual

OLT (config)> profile 2,5 unbind all

23.2.7 show onu-list-info


command
show onu-list-info
show onu-list-info <PON-ID>
Function description
show onu-list-info
show onu-list-info PON-ID
parameter
e.g.
OLT(config-if-p2/6)> show onu-list-info
OLT(config-if-p2/6)> show onu-list-info p2/1

23.2.8 show onu-profile-list


command
show onu-profile-list
Function description
display profile
parameter
none
mode
all mode
Attention
none
e.g.
OLT(config-if-p2/6)> show onu-profile-list

23.2.9 show profile dev-info


command
show profile dev-info <PROFILE-ID>
Function description
show profile dev-info PROFILE-ID
parameter
Attention
none
e.g.
OLT(config-if-p2/6)> show profile dev-info 5

145
KingType PON command manual

23.3 ONU authority

23.3.1 oam authority mode


command
oam authority mode { disable | white | black | loid | loid-pwd | white-loid |
white-loid-pwd }
Function description
oam authority mode disable disable authority all is enable
oam authority mode white set ONU authority to white list
oam authority mode black set ONU authority to black list
oam authority mode loid authority LOIDmode
oam authority mode loid-pwd authority LOID+PASSWORDmode
oam authority mode white-loid authority modeWHITE-LOID
oam authority mode white-loid-pwd authority mode WHITE-LOID-PASSWORD
Attention
none
e.g.
OLT(config-if-p6/1)> oam authority mode white
OLT(config-if-p6/2)> oam authority mode loid

23.3.2 oam authority


command
oam authority { white | black } { add MAC-ADDR | delete MAC-ADDR | clear }
Function description
oam authority white add MAC-ADDR
oam authority black add MAC-ADDR
oam authority white delete MAC-ADDR
oam authority black delete MAC-ADDR
oam authority white clear
oam authority black clear
Attention
none
e.g.
OLT(config-if-p6/1)> oam authority white add 000f.1ea0.ad12
OLT(config-if-p6/6)> oam authority black add 000f.1ea0.ad19
OLT(config-if-p6/1)> oam authority white clear
OLT(config-if-p6/6)> oam authority black clear

146
KingType PON command manual

23.3.3 oam authority loid


command
oam authority loid { add LOID [PASSWORD] | delete LOID [PASSWORD] | clear }
Function description
oam authority loid add LOID
oam authority loid add LOID PASSWORD
oam authority loid delete LOID
oam authority loid delete LOID PASSWORD
oam authority loid clear
parameter

parameter name format range e.g.


LOID LOID ASCI size<=24 000f1e987632
PASSWORD password ASCI size <=16 KT11289123

mode
PONmode
Attention
none
e.g.
OLT(config-if-p6/1)> oam authority loid add 000f1ea0ad12
OLT(config-if-p6/1)> oam authority loid add 000f1ea0ad12 11112222
OLT(config-if-p6/1)> oam authority loid clear

23.3.4 oam authority reject-list


command
oam authority reject-list { delete MAC-ADDR | clear }
Function description
oam authority reject-list delete
oam authority reject-list clear
e.g.
OLT(config-if-p6/1)> oam authority reject-list delete 000f.1e1a.2312
OLT(config-if-p6/1)> oam authority reject-list clear

23.3.5 oam ext-support


command
oam ext-support h3c
no oam ext-support h3c
Function description
147
KingType PON command manual

oam ext-support h3c Support specific vendor ONU registration


no oam ext-support h3c
parameter
none
mode
global configuration mode
Attention
none
e.g.
OLT(config)> oam ext-support h3c
OLT(config)> no oam ext-support h3c

23.3.6 show oam ext-support


command
show oam ext-support
Function description
show oam ext-support
parameter
none
mode
all mode
Attention
none
e.g.
OLT(pri)> show oam ext-support

23.3.7 show oam authority


command
show oam authority { mode [PON-ID] | config [PON-ID] | record-list | reject-list
[PON-ID] }
Function description
show oam authority mode
show oam authority mode PON-ID
show oam authority config
show oam authority config PON-ID
show oam authority record-list
show oam authority reject-list
show oam authority reject-list PON-ID
e.g.
OLT(config-if-p2/6)> show oam authority mode
OLT(pri)> show oam authority config

148
KingType PON command manual

23.4 DBA

23.4.1 onu sla


command
onu sla { pir PIR-KBPS | cir CIR-KBPS | fir FIR-KBPS }
onu sla pir PIR-KBPS cir CIR-KBPS fir FIR-KBPS
no onu sla
Function description
onu sla pir PIR-KBPS set ONU DBA PIR
onu sla cir CIR-KBPS set ONU DBA CIR
onu sla fir FIR-KBPS set ONU DBA FIR
onu sla pir PIR-KBPS cir CIR-KBPS fir FIR-KBPS set ONU DBA PIRCIRFIR
no onu sla set DBAparameter default
parameter

nonepa name format range e.g.


rameter
PIR-KBPS integer Kbps <512-1000000> 1000000
CIR-KBPS integer Kbps <1-min(PIR, 950000)> 50000
FIR-KBPS integer Kbps <0-min(CIR, 950000)> 1000

Attention
pircirfir
e.g.
OLT(config)> interface onu 5/6:1
OLT(config-if-o5/6:1)> onu sla pir 1000000 cir 50000 fir 1000
OLT(config-if-o5/6:1)> no onu sla

23.4.2 show onu sla


command
show onu sla
show onu sla { mac-address MAC-ADDR | <ONUS> }
Function description
show onu sla
show onu sla mac-address MAC-ADDR
show onu sla ONUS
e.g.

149
KingType PON command manual

OLT(config)> show onu sla interface 5/6:1


OLT(config)> interface onu 5/6:1-5/6:8
OLT(config-if-o5/6:1)> show onu sla

150
KingType PON command manual

Chapter 24 ONU configuration

24.1 summary
ONU configuration

24.2 ONUconfiguration

24.2.1 onu dev-info ip


command
onu dev-info ip address <IP-ADDRESS> <IP-MASK>
onu dev-info ip gate-way <IP-ADDRESS>
no onu dev-info ip
Function description
onu dev-info ip address IP-ADDRESS
onu dev-info ip address IP-ADDRESS IP-MASK
onu dev-info ip gate-way IP-ADDRESS
no onu dev-info ip
e.g.
OLT (config-if-o2/6:1)> onu dev-info ip address 192.168.10.10 255.255.255.0
OLT (config-if-o2/6:1)> onu dev-info ip gate-way 192.168.10.1
OLT (config-if-o2/6:1)> no nu dev-info ip

24.2.2 name
command
name <ONU_NAME>
Function description
name ONU_NAME
e.g.
OLT (config-if-o2/6:1)> name kintype

24.2.3 onu dev-info cvlan


command
151
KingType PON command manual

onu dev-info cvlan <VLAN-ID>


no onu dev-info cvlan
Function description
onu dev-info cvlan VLAN-ID set ONU cvlan
no onu dev-info cvlan
parameter
parameter name format range e.g.
VLAN-ID VLAN ID integer [1,4094] 1010
e.g.
OLT (config-if-o2/6:1)> onu dev-info cvlan 1000
OLT (config-if-o2/6:1)> no onu dev-info cvlan

24.2.4 onu dev-info svlan


command
onu dev-info svlan <VLAN-ID>
no onu dev-info svlan
Function description
onu dev-info svlan VLAN-ID set ONU svlan
no onu dev-info svlan
parameter
parameter name format range e.g.
VLAN-ID VLAN ID integer [1,4094] 1010
e.g.
OLT (config-if-o2/6:1)> onu dev-info svlan 2000
OLT (config-if-o2/6:1)> no onu dev-info svlan

24.2.5 onu dev-info admin-priority


command
onu dev-info admin-priority <PRIORITY>
no onu dev-info admin-priority
Function description
onu dev-info admin-priority PRIORITY
no onu dev-info admin-priority
parameter
parameter name format range e.g.
PRIORITY onu priority integer [0,7] 5
Attention
Default is 1
e.g.
152
KingType PON command manual

OLT (config-if-o2/6:1)> onu dev-info admin-priority 5


OLT (config-if-o2/6:1)> no onu dev-info admin-priority

24.2.6 onu fec


command
onu fec {enable | disable}
Function description
onu fec enable
onu fec disable
parameter
none
mode
ONUmode
Attention
none
e.g.
OLT (config-if-o2/6:1)> onu fec enable
OLT (config-if-o2/6:1)> onu fec disable

24.2.7 onu recover-to-default


command
onu recover-to-default
onu recover-to-default <ONUS>
Function description
onu recover-to-default
onu recover-to-default ONUS
e.g.
OLT (config-if-o2/6:1)> onu recover-to-default
OLT (config-if-o2/6:1)> onu recover-to-default 2/3:1-2/3:64

24.2.8 onu reboot


command
onu reboot
onu reboot mac-address <MAC-ADDR>
onu reboot onus <ONUS>
Function description
onu reboot
onu reboot mac-address MAC-ADDR

153
KingType PON command manual

onu reboot onus ONUS


e.g.
OLT (config-if-o2/6:1)> onu reboot
OLT (config)> onu reboot mac-address 000f.1ea1.0102
OLT (config)> onu reboot onus 2/3:1-2/3:64

24.2.9 show onu dev-info


command
show onu dev-info
show onu dev-info <ONUS>
Function description
show onu dev-info
show onu dev-info <ONUS>
parameter
e.g.
OLT (config-if-o2/6:1)> show onu dev-info
OLT(config)> show onu dev-info 2/6:1-2/6:46

24.2.10 show onu capability


command
show onu capability
show onu capability <ONUS>
Function description
show onu capability
show onu capability ONUS
e.g.
OLT (config-if-o2/6:1)> show onu capability
OLT(config)> show onu capability 2/6:1,2/6:5,2/6:18

154
KingType PON command manual

24.3 Port

24.3.1 uni admin-status


command
onu uni PORTS-UNI admin-status {up | down}
no onu uni PORTS-UNI admin-status
Function description
onu uni PORTS-UNI admin-status up
onu uni PORTS-UNI admin-status down
no onu uni PORTS-UNI admin-status
e.g.
OLT(config-if-o5/6:1)> onu uni uni 1-3 admin-status up
OLT(config-if-o5/6:1)> no onu uni uni 1-3 admin-status

24.3.2 uni auto-negotiation


command
onu uni PORTS-UNI auto-negotiation {enable | disable}
no onu uni PORTS-UNI auto-negotiation
Function description
onu uni PORTS-UNI auto-negotiation enable
onu uni PORTS-UNI auto-negotiation disable
no onu uni PORTS-UNI auto-negotiation
e.g.
OLT(config-if-o5/6:1)> onu uni 1-2 auto-negotiation enable
OLT(config-if-o5/6:1)> no onu uni 3 auto-negotiation

24.3.3 uni flow-control


command
onu flow-control uni PORTS-UNI {enable | disable}
no onu flow-control uni PORTS-UNI
Function description
onu flow-control uni PORTS-UNI enable
onu flow-control PORTS-UNI disable
no onu flow-control uni PORTS-UNI
e.g.

155
KingType PON command manual

OLT(config-if-o5/6:1)> onu flow-control uni 1 enable


OLT(config-if-o5/6:1)> no onu flow-control uni 1

24.3.4 loopback-detect
command
onu loopback-detect uni PORTS-UNI {enable | disable}
no onu loopback-detect uni PORTS-UNI
Function description
onu loopback-detect uni PORTS-UNI enable
oun loopback-detect uni PORTS-UNI disable
e.g.
OLT(config-if-o5/6:1)>onu loopback-detect uni 1 enable
OLT(config-if-o5/6:1)> no onu loopback-detect uni 1

24.3.5 show uni


command
show onu uni [PORTS-UNI]
Function description
show onu uni
e.g.
OLT(config-if-o5/6:1)> show onu uni
OLT(config-if-o5/6:1)> show onu uni 1-3

24.3.6 show onu uni


command
show onu uni <ONUS> [PORTS-UNI]
Function description
show onu uni ONUS
show onu uni ONUS PORTS-UNI
e.g.
OLT(config)> show onu uni 5/6:1
OLT(config)> show onu uni 5/6:1 1-3

156
KingType PON command manual

24.4 rate limit

24.4.1 onu rate-limit


command
onu rate-limit { tx RATE-LIMITE | uni PORTS-UNI { rx { enable | disable | cir
CIR-BANDWITCH cbs CBS-BANDWITCH ebs EBS-BANDWITCH } | tx { enable | disable |
pir CIR-BANDWITCH cir CIR-BANDWITCH } }
Function description
onu rate-limit tx RATE-LIMITE
onu rate-limit uni PORTS-UNI rx enable
onu rate-limit uni PORTS-UNI tx enable
onu rate-limit uni PORTS-UNI rx disable
onu rate-limit uni PORTS-UNI tx disable
no onu rate-limit uni PORTS-UNI rx
no onu rate-limit uni PORTS-UNI tx
onu rate-limit uni PORTS-UNI rx cir CIR-BANDWITCH cbs CBS-BANDWITCH ebs
EBS-BANDWITCH
onu rate-limit uni PORTS-UNI tx pir CIR-BANDWITCH cir CIR-BANDWITCH
no onu rate-limit tx
e.g.
OLT(config-if-o2/8:1)> onu rate-limit tx 102400
OLT(config-if-o2/8:1)> onu rate-limit uni 1 rx enable
OLT(config-if-o2/8:1)> onu rate-limit uni 1-2 tx enable
OLT(config-if-o2/8:1)> onu rate-limit uni 1,3 rx cir 102400 cbs 1528 ebs 1522
OLT(config-if-o2/8:1)> onu rate-limit uni 1-4 rx pir 102400 cir 100000
OLT(config-if-o2/8:1)>no onu rate-limit uni PORTS-UNI rx
OLT(config-if-o2/8:1)>no onu rate-limit uni PORTS-UNI tx
OLT(config-if-o2/8:1)>no onu rate-limit tx

24.4.2 show onu rate-limit uni


command
show onu rate-limit { tx | uni [PORTS-UNI] }
Function description
show onu rate-limit tx
show onu rate-limit uni
show onu rate-limit uni [PORTS-UNI]
e.g.

157
KingType PON command manual

OLT(config-if-o2/1:1)> show onu rate-limit tx


OLT(config-if-o2/1:1)> show onu rate-limit 2/8:1 uni
OLT(config-if-o2/1:1)> show onu rate-limit 2/8:1 uni 1-3

24.4.3 show onu rate-limit


command
show onu rate-limit ONUS { tx | uni [PORTS-UNI] }
Function description
show onu rate-limit ONUS tx
show onu rate-limit ONUS uni
show onu rate-limit ONUS uni PORTS-UNI
e.g.
OLT(config)> show onu rate-limit 2/8:1 tx
OLT(config)> show onu rate-limit 2/8:1 uni
OLT(config)> show onu rate-limit 2/8:1 uni 1,3

158
KingType PON command manual

24.5 ONU storm control

24.5.1 onu storm-control


command
onu storm-control uni PORTS-UNI STORM-MODE PACKET-RATE
no onu storm-control uni PORTS-UNI STORM-MODE
Function description
onu storm-control PORTS-UNI STORM-MODE PACKET-RATE
no onu storm-control uni PORTS-UNI STORM-MODE
e.g.
OLT(config-if-o2/8:1)> onu storm-control uni 1 u,b 1000
OLT(config-if-o2/8:1)> no onu storm-control uni 1 u

24.5.2 show onu strom-control uni


command
show onu strom-control uni [PORTS-UNI]
Function description
show onu strom-control uni
show onu strom-control uni [PORTS-UNI]
e.g.
OLT(config-if-o2/8:1)> show onu storm-control uni
OLT(config-if-o2/8:1)> show onu storm-control uni 1-2

24.5.3 show onu strom-control


command
show onu strom-control [ONUS] uni [PORTS-UNI]
Function description
show onu strom-control ONUS uni
show onu strom-control ONUS uni PORTS-UNI
e.g.
OLT(config)> show onu storm-control 2/3:6 uni 1-2
OLT(config)> show onu storm-control 2/3:6 uni

159
KingType PON command manual

24.6 VLAN

24.6.1 onu vlan uni c-tpid


command
onu vlan uni <PORTS-UNI> c-tpid TPID
no onu vlan uni <PORTS-UNI> c-tpid TPID
Function description
onu vlan uni <PORTS-UNI> c-tpid TPID cvlan tpid
no onu vlan uni <PORTS-UNI> c-tpid TPID
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 c-tpid 0x8100
OLT(config-if-o2/4:1)> no onu vlan uni 1-2 c-tpid

24.6.2 onu vlan uni priority


command
onu vlan uni <PORTS-UNI> priority VLAN-PRIORITY
no onu vlan uni <PORTS-UNI> priority
Function description
onu vlan uni <PORTS-UNI> priority VLAN-PRIORITY
no onu vlan uni <PORTS-UNI> priority
parameter
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 priority 1
OLT(config-if-o2/4:1)> no onu vlan uni 1-2 priority

24.6.3 onu vlan uni pvid


command
onu vlan uni <PORTS-UNI> pvid PV-ID
no onu vlan uni <PORTS-UNI> pvid
Function description
onu vlan uni <PORTS-UNI> pvid PV-ID
no onu vlan uni <PORTS-UNI> pvid
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 pvid 2
OLT(config-if-o2/4:1)> no onu vlan uni 1-2 pvid

160
KingType PON command manual

24.6.4 onu vlan uni mode


command
onu vlan uni <PORTS-UNI> mode { transparent | tag | tag pool}
no onu vlan uni <PORTS-UNI> mode
Function description
onu vlan uni <PORTS-UNI> mode transparent
onu vlan uni <PORTS-UNI> mode tag
onu vlan uni <PORTS-UNI> mode tag pool
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 mode tag
OLT(config-if-o2/4:1)> onu vlan uni 1-2 mode tag pool

161
KingType PON command manual

24.6.5 onu vlan uni translation


command
onu vlan uni <PORTS-UNI> translation { add OLD-VLAN-LIST NEW-VLAN-ID | delete
OLD-VLAN-LIST }
onu vlan uni <PORTS-UNI> translation clear
Function description
onu vlan uni <PORTS-UNI> translation add OLD-VLAN-LIST NEW-VLAN-ID
onu vlan uni <PORTS-UNI> translation delete OLD-VLAN-LIST
onu vlan uni <PORTS-UNI> translation clear
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 translation add 2 3
OLT(config-if-o2/4:1)> onu vlan uni 1-2 translation del 2
OLT(config-if-o2/4:1)> onu vlan uni 1-2 translation clear

24.6.6 onu vlan uni aggregation


command
onu vlan uni <PORTS-UNI> aggregation { add OLD-VLAN-LIST NEW-VLAN-ID | delete
OLD-VLAN-LIST }
onu vlan uni <PORTS-UNI> aggregation clear
Function description
onu vlan uni <PORTS-UNI> aggregation add OLD-VLAN-LIST NEW-VLAN-ID
onu vlan uni <PORTS-UNI> aggregation delete OLD-VLAN-LIST
onu vlan uni <PORTS-UNI> aggregation clear
e.g.
OLT(config-if-o2/4:1)> onu vlan uni 1-2 aggregation add 2 3
OLT(config-if-o2/4:1)> onu vlan uni 1-2 aggregation del 2
OLT(config-if-o2/4:1)> onu vlan uni 1-2 aggregation clear

24.6.7 onu vlan uni trunk


command
onu vlan uni <PORTS-UNI> trunk { add TRUNK-VLAN-LIST | delete
TRUNK-VLAN-LIST }
onu vlan uni <PORTS-UNI> trunk clear
Function description
onu vlan uni <PORTS-UNI> trunk add TRUNK-VLAN-LIST
onu vlan uni <PORTS-UNI> trunk delete TRUNK-VLAN-LIST
onu vlan uni <PORTS-UNI> trunk clear
e.g.

162
KingType PON command manual

OLT(config-if-o2/4:1)> onu vlan uni 1-2 trunk add 2-5,50


OLT(config-if-o2/4:1)> onu vlan uni 1-2 trunk del 2
OLT(config-if-o2/4:1)> onu vlan uni 1-2 trunk clear

24.6.8 show onu vlan uni


command
show onu vlan uni [<PORTS-UNI>]
Function description
show onu vlan uni
show onu vlan uni PORTS-UNI
parameter
e.g.
OLT(config-if-o2/4:1-uni:1)> show onu vlan uni
OLT(config-if-o2/4:1-uni:1)> show onu vlan uni 1

24.6.9 show onu vlan


command
show onu vlan ONUS uni [<PORTS-UNI>]
Function description
show onu vlan ONUS uni
show onu vlan ONUS uni PORTS-UNI
e.g.
OLT(config-if-o2/4:1-uni:1)> show onu vlan 2/3:6 uni
OLT(config-if-o2/4:1-uni:1)> show onu vlan 2/3:6 uni 1-3

163
KingType PON command manual

24.8stram classification

24.8.1 onu classification


command
onu classification uni <PORTS-UNI> precedence <P-NUM> queMapped <QM-NUM>
ethernet-priority <PRIORITY> [ethernet-type { ETHERNET-TYPE-NAME |
ETHERNET-CODE }] | [vlan VLAN-ID] | [src-mac SRC-MAC] | [dst-mac DST-MAC] |
[ip-protocol {PROTOCOL-TYPE | PROTOCOL-CODE}] | [src-ip SRC-IP] | [src-port
SRC-PORT-NUM ]| [dst-ip DST-IP] | [dst-port DST-PORT-NUM] | [dscp DSCP] }
no onu-classification uni <PORTS-UNI> precedence <P-NUM>
Function description
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY ethernet-type ETHERNET-TYPE-NAME
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY vlan VLAN-ID
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM>
ethernet-priority PRIORITY src-mac SRC-MAC
conu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY dst-mac DST-MAC
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY ip-protocol PROTOCOL-TYPE
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY src-ip SRC-IP
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY src-port SRC-PORT-NUM
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY dst-ip DST-IP
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY dst-port DST-PORT-NUM
onu classification uni PORTS-UNI precedence P-NUM queMapped QM-NUM
ethernet-priority PRIORITY dscp DSCP
no onu-classification uni <PORTS-UNI> precedence <P-NUM>
e.g.
OLT(config-if-o5/6:1)> onu classification uni 1-3 precedence 1 quemaped 2 ethernet-priority
5 vlan 100

24.8.2 show onu classification uni


command
164
KingType PON command manual

show onu classification uni <PORTS-UNI>


Function description
show onu classification uni PORTS-UNI
e.g.
OLT(config-if-o5/6:1)> show onu classification uni 1

24.8.3 show onu classification


command
show onu classification onu <ONUS> uni <PORTS-UNI>
Function description
show onu classification onu ONUS uni PORTS-UNI
e.g.
OLT(config)> show onu classification onu 5/6:1 uni 1-3

165
KingType PON command manual

24.9upgrade

24.9.1 upgrade onu


command
upgrade onu [LLIDS]
upgrade onu [ONUS]
Function description
upgrade onu upgrade all
upgrade onu LLIDS
upgrade onu ONUS
mode
PONmodeprivileged mode
e.g.
OLT(config-if-p5/6)> upgrade onu
OLT(config-if-p5/6)> upgrade onu 1-64
OLT(pri)> upgrade onu
OLT(pri)> upgrade onu 2/3:1-2/3:56

24.9.2 upgrade onu switch


command
upgrade onu switch [LLIDS]
upgrade onu switch [ONUS]
Function description
upgrade onu switch
upgrade onu switch LLIDS
upgrade onu switch
upgrade onu switch ONUS
parameter
e.g.
OLT(config-if-p5/6)>upgrade onu switch
OLT(config-if-p5/6)>upgrade onu switch 1-32
OLT(pri)>upgrade onu switch
OLT(pri)>upgrade onu switch 2/3:1-2/3:56

24.9.3 upgrade onu commit


command
166
KingType PON command manual

upgrade onu commit [LLIDS]


upgrade onu commit [ONUS]
Function description
upgrade onu commit
upgrade onu commit LLIDS
upgrade onu commit
upgrade onu commit ONUS
e.g.
OLT(config-if-p5/6)> upgrade onu commit
OLT(config-if-p5/6)> upgrade onu commit 1-32
OLT(pri)> upgrade onu commit
OLT(pri)> upgrade onu commit 2/3:1-2/3:56

24.9.4 show upgrade onu


command
show upgrade onu all
Function description
show upgrade onu all
parameter

mode
all mode
Attention

e.g.
OLT(config)> show upgrade onu all

167
KingType PON command manual

24.10statistics

24.10.1 onu statistics uni


command
onu statistics uni PORTS-UNI {m15 {enable | disable} | h24 {enable | disable}}
no onu statistics uni PORTS-UNI {m15 | h24}
Function description
onu statistics uni PORTS-UNI m15 enable
onu statistics uni PORTS-UNI m15 disable
onu statistics uni PORTS-UNI h24 enable
onu statistics uni PORTS-UNI h24 disable
no onu statistics uni PORTS-UNI m15
no onu statistics uni PORTS-UNI h24
e.g.
OLT(config-if-o5/6:1)> onu statistics uni 1-3 m15 enable
OLT(config-if-o5/6:1)> onu statistics uni 1-3 h24 disable
OLT(config-if-o5/6:1)> no onu statistics uni 1,3 m15
OLT(config-if-o5/6:1)> no onu statistics uni 1,3 h24

24.10.2 onu statistics pon


command
onu statistics pon {m15 {enable | disable} | h24 {enable | disable}}
no onu statistics pon {m15 | h24}
Function description
onu statistics pon m15 enable
onu statistics pon m15 disable
onu statistics pon h24 enable
onu statistics pon h24 disable
no onu statistics pon m15
no onu statistics pon h24
e.g.
OLT(config-if-o5/6:1)> onu statistics pon m15 enable
OLT(config-if-o5/6:1)> onu statistics pon h24 disable
OLT(config-if-o5/6:1)> no onu statistics pon m15
OLT(config-if-o5/6:1)> no onu statistics pon h24

168
KingType PON command manual

24.10.3 show statistics onu


command
show statistics onu {pon | uni {PORTS-UNI }}
Function description
show statistics onu pon
show statistics onu uni PORTS-UNI
e.g.
OLT(config)> show statistics onu pon
OLT(config)> show statistics onu uni 1-3

24.10.4 show statistics current/history


command
show statistics onu ONUS {pon {current | history} | uni {PORTS-UNI {current |
history}}}
show statistics onu {pon {current | history} | uni {PORTS-UNI {current | history}}}
Function description
show statistics onu ONUS pon current
show statistics onu ONUS pon history
show statistics onu ONUS uni PORTS-UNI current
show statistics onu ONUS uni PORTS-UNI history
show statistics onu pon current
show statistics onu pon history
show statistics onu uni PORTS-UNI current
show statistics onu uni PORTS-UNI history
e.g.
OLT(config)> show statistics onu 5/6:1 pon current
OLT(config)> show statistics onu 5/6:1 uni 1-3 current
OLT(config-if-o5/6:1)> show statistics onu pon current
OLT(config-if-o5/6:1)> show statistics onu uni 1,3 history

169

Оценить