Professional Documents
Culture Documents
Gpon Cli Manual-V1.01
Gpon Cli Manual-V1.01
GPON-CLI Manual
Indoor/Outdoor GPON OLT
Version: V01.02
Code: KT_Oversea_GPON_02
Date:30/09/2018
Statement
Copyright ©2016 All rights reserved by Chengdu KT Electronic Hi-tech Co., Ltd.
Without the written permission of the company, any unit or individual may not extract or
copy part or all of the contents of this book without any form of dissemination.
The contents of this manual will be updated from time to time due to product version
upgrades or other reasons. Unless otherwise agreed, this manual is intended as a guide
only. All statements, information and recommendations in this manual do not constitute any
warranty, express or implied. If you need to get the latest manual, please log in
http://www.ktcatv.com/
Technical Support
Chengdu KT Electronic Hi-tech Co., Ltd. provides customers with comprehensive technical
support。
If you purchase products through the agent of Chengdu KT Electronic Hi-tech Co., Ltd.,
please contact the sales agent directly.
Users who purchase products directly from Chengdu KT Electronic Hi-tech Co., Ltd. can
contact the nearest Kangte office or directly contact the company headquarters.
P.O. Box:610045
Website:http://www.ktcatv.com
1 / 257
GPON OLT CLI Manual
Preface
Overview
Applicable Device
Stipulation
Font Stipulation
Content Font
Title 0,1 and subtitle Black body
Title 0,1 Font size No. 2
subtitle Font size smaller No. 2
Title 0,1 and subtitle blod fonts
Text Song typeface
Text Font size No.5
CLI Stipulation
Font Meaning
blod font Command line keywords (the part of the command that
remains unchanged and must be transposed) is
represented in bold font
Italic Command line arguments (the part of the command that
must be replaced by the actual value) is italicized
[] Indicates that the part placed in "[" and "]" is optional when
2 / 257
GPON OLT CLI Manual
used by the command.
{x|y|…} Indicates to choose one of two or more options
[x|y|…] Indicates to choose one of two or more options, or choose
none
{x|y|…}* Indicates that multiples are selected from two or more
options, at least one is selected, and all options are
selected at most
[x|y|…]* Indicates to choose one of two or more options, or choose
none
<x-y> Represents one of the numbers from x to y
3 / 257
GPON OLT CLI Manual
For KingType OLT, you can log in to the device for maintenance and management
through the following connection methods.:
4 / 257
GPON OLT CLI Manual
2.1 Overview
This section mainly introduces the basic operation of CLI on KingType PON device.
5 / 257
GPON OLT CLI Manual
configuration vlan xxx command, for
command. example: igmp proxy server-
vlan 200
VLAN- Execute the OLT(config-if-vlan- In global configuration mode,
INTERFACE command to interface-1)> enter the interfacevlan-
Mode configure the interface xx command, for
VLAN- example: interface vlan-
INTERFACE interface 1
function.
ONU Mode Execute OLT(config-if-o6/8:1)> In global configuration mode,
commands to OLT(config-if-onus)> enter the interface onu xxx
configure command, for example:
functions in interface onu 6/8:1 or
ONU mode interface onu 6/8:1,
onu6/8:16
Template Execute the OLT(config-if-profile- In global configuration mode,
mode command to 1)> enter the interfaceprofile xx
configure the command, for example:
template interface profile 1
UNI Mode Execute the OLT(config-if-o6/8:1- In ONU mode, enter the uni
command to uni:1)> xx command, for example:
configure the OLT(config-if-o6/8:1- uni 1 or uni 1-4
UNI port. unis)>
Template UNI Command to OLT(config-if-p:1- In template mode, enter the
mode execute the UNI uni:1)> uni xx command, for
port of the OLT(config-if-p:1- example: uni 1 or uni1-3
configuration unis)>
template
2.3 CLI
2.3.1 enable
【Command】
enable
【Function Description】
Put command mode from monitor mode to privileged mode
【Parameter】
Null
【Mode】
Monitoring mode
6 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT>enable
2.3.3 interface
【Command】
interface { gPON-ID | sSNI-ID | gpon-onuONU-ID | vlan-interface VLAN-ID | profile
PROFILE-ID }
no interface vlan-interface
【Function Description】
interface gPON-ID Enter the pon mode from the global configuration
interface sSNI-ID Enter the sni mode from the global configuration
interface gpon-onuONU-ID Enter the onu mode from the global configuration or
PON port configuration
interface vlan-interface VLAN-ID Enter the vlan-interface mode from the global
configuration, that is, set the management vlan to VLAN-ID.
interface profile PROFILE-ID Enter the template mode from the global configuration
no interface vlan-interface Restore in-band management vlan to default
value
【Parameter】
7 / 257
GPON OLT CLI Manual
operators ",", "-"
sSNI-ID SNI port Port type + slot Determine the s1/1,s1/3
number/port range according to
number, supports the equipment
operators ",", "-"
ONU-ID ONU ID Slot number/port The port 2/2:1-2/2:63
number: LLID, determines the
supports the range according to
operators ",", "-" the device, LLID:
[1,64]
VLAN-ID VLAN ID The port [1,4094] 100
determines the
range according to
the device, LLID:
[1,64]
PROFILE-ID Template ID Integer [1,256] 10
【Mode】
Global configuration mode
【Note】
Only the vlan already exists to create the corresponding vlan-interface configuration mode.
The vlan-interface configuration mode is different from the vlan configuration mode. The
vlan-interface configuration mode is mainly used for in-band management. The vlan
configuration mode is mainly used to configure the vlan attribute.
【Example】
Command mode enters the 6-slot 8 pon port mode from the global configuration.
OLT(config)>interface g6/8
OLT(config-if-g6/8)>
Command mode enters the 6-slot 8 pon port mode from the global configuration.
OLT(config)> interface g6/3-g6/8
OLT(config-if-gpon)>
Command mode enters sni port mode by global configuration, indicating that all SNI port
operations are valid.
OLT(config)>interface sni
OLT(config-if-sni)>
Command mode is entered into the 3-slot 8 sni port mode by global configuration.
OLT(config)>interface s3/8
OLT(config-if-s3/8)>
Command mode is entered from global configuration to slot 3, 1 to 5, and 8 SNI port mode.
OLT(config)>interface s3/1-s3/5,s3/8
8 / 257
GPON OLT CLI Manual
OLT(config-if-sni)>
The Command mode is entered from the global configuration to the No. 1 onu mode of the
6-slot 8 pon port.
OLT (config)>interface gpon-onu6/8:1
OLT (config-if-gonu6/8:1)>
The Command mode is entered from the global configuration to the No. 1-10 onu mode of
the 6-slot 8 pon port.
OLT (config)>interface gpon-onu6/8:1-6-8:10
OLT (config-if-gonus)>
2.3.4 vlan
【Command】
vlanVLAN-ID
【Function Description】
Enable the Command mode from Global configuration mode to vlan mode (if vlan does
not exist, add vlan; if it already exists, enter the vlan mode directly)
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
Command mode is entered from the global configuration to the VLAN mode with VLAN
number 100.
OLT(config)>vlan 100
OLT(config-if-100)>
Command mode is entered from the global configuration to the VLAN mode with the VLAN
number being 100~300.
OLT(config)>vlan 100-300
OLT(config-if-vlan)>
9 / 257
GPON OLT CLI Manual
2.3.5 access-list
【Command】
access-list { mac | standard | extended | ipv6 } ACL-NAME
【Function Description】
access-list mac ACL-NAME Enter the MAC-based ACL configuration mode named
ACL-NAME.
access-list standard ACL-NAME Enter the standard ACL configuration mode
named ACL-NAME
access-list extended ACL-NAME Enter the extended ACL configuration mode
named ACL-NAME.
access-list ipv6 ACL-NAME Enter the extended ACL configuration mode named
ACL-NAME.
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
Enter MAC-based ACL configuration mode
OLT(config)>access-list mac mylist1
OLT(config-aclmac-mylist1)>
2.3.6 uni
【Command】
uniUNI-ID
【Function Description】
Enable Command mode from onu mode to uni mode; or from template mode to
template uni mode
【Parameter】
10 / 257
GPON OLT CLI Manual
【Mode】
ONU mode or template mode
【Note】
Null
【Example】
Command mode is entered from onu mode to uni mode with uni port number 1.
OLT(config-if-o6/8:1)> uni 1
OLT(config-if-o6/8:1-uni:1)>
Command mode is entered from onu mode to uni mode with uni port number 1~3.
OLT(config-if-o6/8:1)> uni 1-3
OLT(config-if-o6/8:1-unis)>
Command mode is entered from template mode to template uni mode with uni port number
1.
OLT(config-if-profile-1)> uni 1
OLT(config-if-profile-1-uni:1)
Command mode is entered from template mode to template uni mode with uni port number
1-4
OLT(config-if-profile-1)> uni 1-4
OLT(config-if-profile-1-unis)>
【Mode】
Global configuration mode
11 / 257
GPON OLT CLI Manual
【Note】
Actually available as [2,4093], vlan1 and vlan4094 are used internally.
【Example】
OLT(config)>igmp proxy server-vlan 100
OLT(config-if-igmp-proxy)>
2.3.8 end
【Command】
end
【Function Description】
Return Command mode from current mode to Privilege mode
【Parameter】
Null
【Mode】
All Command modes except Monitor, Privilege mode
【Note】
Null
【Example】
OLT(config)> end
2.3.9 exit
【Command】
exit
【Function Description】
Return Command mode from current mode to upper mode
【Parameter】
Null
【Mode】
All modes except monitor mode
【Note】
Null
【Example】
OLT(config-if-p6/1)> exit
2.3.10 quit
【Command】
quit
【Function Description】
Exit the Command line
12 / 257
GPON OLT CLI Manual
【Parameter】
Null
【Mode】
Monitoring mode、Privilege mode、Global configuration mode
【Note】
Null
【Example】
OLT>quit
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>command language chinese
13 / 257
GPON OLT CLI Manual
2.4.3 commandhistory
【Command】
command history max VALUE
【Function Description】
Set the history command entry to a maximum of VALUE
【Parameter】
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>commandhistory max 40
2.4.4 showcommand-history
【Command】
showcommand-history
【Function Description】
Show all history command
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>showcommand-history
14 / 257
GPON OLT CLI Manual
【Parameter】
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>command paging enable
2.4.6 ping
【Command】
pingIP-ADDR [-t]
【Function Description】
Ping the host whose IP address is "IP-ADDR"
【Parameter】
【Mode】
Monitoring Mode、Privilege mode
【Note】
Null
【Example】
OLT>ping 192.168.2.101
OLT(pri)>ping 192.168.2.101 -t
2.4.7 timeout
【Command】
timeout [ MINUTE ]
no timeout
【Function Description】
timeout MINUTE Set the timeout for logging in users to MINUTE minutes
timeout 0 Set the timeout to never time out
no timeout Set the timeout period for login users to the default value. The
default value is 5 minutes.
【Parameter】
15 / 257
GPON OLT CLI Manual
【Mode】
Monitering Mode、Privilege mode
【Note】
Null
【Example】
OLT(pri)> timeout 0
OLT(pri)>no timeout
2.4.8 clear
【Command】
clear
【Function Description】
Clear screen operation
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(pri)>clear
Many Commands have a Port Parameter input. This section describes the input format of
the port.
The port is divided into port input and port list input. Port input can only input a single port,
and port list input can input multiple ports.
Depending on the specific Command, the ports that are entered have specific requirements,
so the port and port list supports the following types:
Parameter Type Description
<port> The panel port of OLT can be inputted
<port-switch> Only SNI port can be inputted
<port-epon> Only EPON port can be inputted
16 / 257
GPON OLT CLI Manual
<port-gpon> Only GPON port can be inputted
<ports> The panel port list of the OLT device can
be inputted
<ports-switch> Can only input the SNI port list
<ports-epon> Can only input the EPON port list
<ports-gpon> Can only input the GPON port list
<port-uni> The ONU UNI port of EPON or GPON
<ports-uni> EPON ONU UNI port list
<ports-guni> GPON ONU UNI port list
17 / 257
GPON OLT CLI Manual
Chapter 3 SystemCommand
3.1 Overview
18 / 257
GPON OLT CLI Manual
3.2.3 reboot
【Command】
reboot
【Function Description】
System restart command
【Parameter】
Null
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>reboot
3.3 Clock
3.3.1 date
【Command】
dateyyyy-mm-dd HH:MM:SS
【Function Description】
Set the current time of the system
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>date 2016-01-15 10:11:12
19 / 257
GPON OLT CLI Manual
3.3.2 timezone
【Command】
timezoneTIMEZONE
【Function Description】
timezone TIMEZONE Set the system time zone value to TIMEZONE
no timezone Set the system time zone to the default time zone. The default time zone
is 8
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>timezone 8
OLT(config)>no timezone
20 / 257
GPON OLT CLI Manual
【Function Description】
Disable the power supply in the slot with the slot number SLOT-ID.
【Parameter】
【Mode】
Global Mode
【Note】
Use in PTD12G only
【Example】
OLT(config)>power shutdown 7
show power
【Function Description】
Display power information.
【Parameter】
Null
【Mode】
All Modes
【Note】
Used in PTD12G、PTFD8C
【Example】
OLT(pri)>show power
21 / 257
GPON OLT CLI Manual
3.5 Temperature
【Function Description】
Displays system temperature or temperature information of the board in a certain slot.
【Parameter】
【Mode】
All Modes
【Note】
PTD12G 中的 Command 为:show temperature slot-id SLOT-ID
PTB82C 中的 Command 为:show temperature
【Example】
OLT(pri)> show temp
OLT(pri)> show temp slot-id 5
3.6 Fan
【Function Description】
fan control fixed-speed Set the fan speed to run at a fixed rate.
fan control auto Set the fan speed to automatic speed control Mode
【Parameter】
【Mode】
Global Mode
【Note】
Used in PTD12G
【Example】
22 / 257
GPON OLT CLI Manual
OLT(config)> fan control fixed-speed
【Function Description】
Set the fan speed to automatic speed control Mode
【Parameter】
【Mode】
Global Mode
【Note】
Only used in PTD12G, and the setting is valid when the fan control mode is set to fixed-
speed.【Example】
OLT(config)> fan speed 2
show fan
【Function Description】
Display fan information.
【Parameter】
Null
【Mode】
All Mode
【Note】
Used only in PTD12G.
【Example】
OLT(pri)> show fan
3.7 Reset
3.7.1 Reset
【Command】
23 / 257
GPON OLT CLI Manual
reset [ without-ip ]
【Function Description】
reset Reset system or PON port
reset without-ip Reset system all configurations except in-band ip, out-of-band
ip address, and interface vlan
【Parameter】
【Mode】
Global Mode、PON Mode
【Note】
Null。
【Example】
OLT(config)> reset
24 / 257
GPON OLT CLI Manual
4.1 Overview
4.2 Command
【Mode】
Golobal Mode
【Note】
The board option in GPT-F88B is:{ GPT_F88B_DL | GPT_F88B_DM }
The board option in GPT-C43BB is:{ GPT_C43BB_DL | GPT_C43BB_DM }
The board option in GPT-C448B is:{ GPT_C448B_DL | GPT_C448B_DM }
The board option in KTFSG-18FB is:{ KTFSG_18FBDL }
25 / 257
GPON OLT CLI Manual
【Example】
OLT(config)>board add 1 GPT_F88B_DL
5.1 Overview
This chapter describes how to save, load, view, and clear configuration files.
5.2 Command
5.2.1 write
【Command】
write [ FILE-NAME ]
【Function Description】
write Save the user's current configuration information to the default file. The
default configuration file is kt_boot_usr_cfg.
write FILE-NAME Save the user's current configuration information to the file FILE-
NAME
【Parameter】
26 / 257
GPON OLT CLI Manual
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>write
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>clear config-file
27 / 257
GPON OLT CLI Manual
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)> config-file boot-load my_config_file
5.2.4 load
【Command】
Load FILE-NAME
【Function Description】
load FILE-NAME Load configuration file configuration
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>load my_config_file
5.2.5 showconfig-file
【Command】
show config-file
【Function Description】
Display profile list
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
28 / 257
GPON OLT CLI Manual
OLT(pri)>show config-file
5.2.6 showrunning-config
【Command】
show running-config [PORT-GROUP]
【Function Description】
show running-config Display the current running configuration of the entire
OLT system
show config-file s1/1-s1/3 Display the configuration file list information of the
specified port list saved by the system
【Parameter】
【Mode】
所有 Mode
【Note】
Null
【Example】
OLT(pri)>show running-config
OLT(pri)>show running-config s1/2,p1/5
29 / 257
GPON OLT CLI Manual
6.1 Overview
The OLT device supports upgrading files that depend on the device, including the kernel,
file system, device tree, configuration, logs, applications, and so on.
This chapter describes the kernel, file system, device tree, application, system
configuration, log download, system configuration, and log upload function in the OLT.
6.2 Command
【Function Description】
tftp download config-file Download system configuration file via tftp
tftp download olt-image Upgrade OLT application via tftp
tftp download onu-image Download the ONU Image file to the OLT device via tftp,
and upgrade the ONU.
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Source file name kt-olt.tar.gz
IP-ADDR Source ip xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>tftp download olt-image kt-olt.tar.gz 192.168.2.199
30 / 257
GPON OLT CLI Manual
NAME IP-ADDR
【Function Description】
ftp download config-file Download system configuration file via ftp
ftp download olt-image Upgrade OLT application via ftp
ftp download onu-image Download the ONU Image file to the OLT device via ftp,
and upgrade the ONU.
【Parameter】
Parameter Item Format Value Range Example
FILE-NAME Source file kt-olt.tar.gz
name
IP-ADDR Source ip xxx.xxx.xxx.xxx 192.168.2.199
address
USERNAME Ftp user
name
PASSWORD ftp password
【Mode】
Privilege mode
【Note】
Null
【Example】
OLT(pri)>ftp download olt-image kt-olt.tar.gz 192.168.2.199
【Function Description】
tftp upload config-file Upload the system configuration file to the front-end server
via tftp
tftp upload log-file Upload log files to the front-end server via tftp
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Destination file system.log
name
IP-ADDR Destination IP xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privileged configuration Mode
【Note】
Null
31 / 257
GPON OLT CLI Manual
【Example】
OLT(pri)>tftp upload log-file system.log 192.168.2.199
【Function Description】
ftp upload config-file Upload the system configuration file to the front-end server
via ftp
ftp upload log-file Upload log files to the front-end server via ftp
【Parameter】
Parameter Item Format Value Example
Range
FILE-NAME Destination file system.log
name
USERNAME ftp user name
PASSWORD ftp password
IP-ADDR Destination IP xxx.xxx.xxx.xxx 192.168.2.199
address
【Mode】
Privileged configuration Mode
【Note】
Null
【Example】
OLT(pri)>ftp upload log-file system.log 192.168.2.199
32 / 257
GPON OLT CLI Manual
7.1 Overview
The alarm management functions mainly include alarm records, alarm settings, and
alarm statistics. The alarm management allows the device to be maintained to ensure
normal and efficient operation.
The alarm is generated when the system detects a fault. After the alarm is generated,
the system broadcasts to each terminal according to the current configuration of the
terminal, including the NMS (Network Management System) user and the Command Line
Interface (CLI, Command Line). Interface) User. Alarms include fault alarms and recovery
alarms. The fault alarm persists after a certain time has elapsed until the fault is repaired,
so that the alarm is cleared. The user can customize the alarm according to the degree of
attention and actual needs of the alarm, including the custom alarm level, the output mode
of the alarm in the Command line, and the statistics of the alarm information.
7.2 Command
7.2.1 alarm
【Command】
【Function Description】
alarm enable Enable alarm
alarm disable Disable alarm
【Parameter】
Parameter Item Format Value Example
Range
global System alarm enumerate global
option
device Device alarm enumerate device
option
board Board alarm enumerate board
options
port Port alert option enumerate port
【Mode】
Global configuration mode。
33 / 257
GPON OLT CLI Manual
【Note】
Only the PT-D12G includes the board option.【Example】
OLT(config)>alarm enable global
OLT(config)>alarm disable global
【Function Description】
The alarm is enabled to restore the default value.
【Parameter】
Parameter Item Format Value Example
Range
global System alarm enumerate global
option
device Device alarm enumerate device
option
board Board alarm enumerate board
options
port Port alert option enumerate port
【Mode】
Global configuration mode。
【Note】
Only the PT-D12G includes the board option.
【Example】
OLT(config)>no alarm enable global
showalarmenable
【Function Description】
The alarm is enabled.
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
34 / 257
GPON OLT CLI Manual
OLT(config)>show alarm enable
【Function Description】
alarm device cpu CPU alarm enable and alarm threshold settings
alarm device memory Device memory alarm enable and alarm threshold
settings
alarm device save_config Configure alarm enable settings for the device.
alarm device reboot Device restart alarm enable setting
alarm device boxOpen Enable the device to open the alarm enable setting.
【Parameter】
Parameter Item Format Value Example
Range
MAJOR_LEVEL Main alarm Decimal integer According 100
threshold to the
specific
Parameter
MINOR_LEVEL Secondary Decimal integer According 80
alarm to the
threshold specific
Parameter
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm device cpu enable
OLT(config)>alarm device cpu threshold 80 60
OLT(config)>alarm device memory disable
OLT(config)>alarm device save_config enable
OLT(config)>alarm device reboot enable
35 / 257
GPON OLT CLI Manual
【Function Description】
no alarm device cpu Set the CPU alarm enable and alarm threshold to
restore the default value.
no alarm device memory Set the memory alarm enable and alarm threshold to
restore the default value.
no alarm device save_config Set the save profile alarm to enable the default
value.
no alarm device reboot Set the device restart alarm to enable the default
value.
no alarm device boxOpen Set the device to open the cover alarm to enable
the default value.
【Parameter】
Null
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm device cpu
OLT(config)>no alarm device cpu threshold
OLT(config)>no alarm device memory
OLT(config)>no alarm device save_config
OLT(config)>no alarm device reboot
【Function Description】
Displays the alarm enable and alarm threshold of the OLT device.
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm device
36 / 257
GPON OLT CLI Manual
portEnable} {enable | disable } }
【Function Description】
alarm switch-port PORTS-SWITCH linkUp Set the switch port link up alarm
enable.
alarm switch-port PORTS-SWITCH linkDown Set the switch port link down
alarm enable.
alarm switch-port PORTS-SWITCH portDisabled Set the switch port disable
alarm enable.
alarm switch-port PORTS-SWITCH portEnable Set the switch port enable
alarm enable.
【Parameter】
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm switch-port s1/1 linkUp enable
【Function Description】
noalarm switch-port PORTS-SWITCH linkUp
Set the switch port link up alarm to enable the default value.
noalarm switch-port PORTS-SWITCH linkDown
Set the switch port link down alarm to enable the default value.
noalarm switch-port PORTS-SWITCH portDisabled
Set the switch port port to disable the alarm enable to restore the default value.
noalarm switch-port PORTS-SWITCH portEnable
Set the switch port port to enable the alarm to enable the default value.
【Parameter】
37 / 257
GPON OLT CLI Manual
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm switch-port s1/1 linkUp
【Function Description】
Displays all alarm parameter alarms of the OLT SNI port or switch switch port.
【Parameter】
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm switch-port s1/1
38 / 257
GPON OLT CLI Manual
| rxSpeed | txSpeed | txBroadcastPkts| txMulticastPkts} {enable | disable | threshold
MAJOR_LEVEL MINOR_LEVEL} }
【Function Description】
alarm statistic PORT-ID rxDropEvents Set the trap alarm enable and alarm
threshold for receiving and dropping events.
alarm statistic PORT-ID txDropEvents Set the send and drop event alarm enable
and alarm threshold.
alarm statistic PORT-ID rxCRCErrorPkts Set the receive CRC check error alarm
enable and alarm threshold
alarm statistic PORT-ID rxUndersizePkts Set the receiving ultra-short packet alarm
enable and alarm threshold
alarm statistic PORT-ID txUndersizePkts Set the sending short packet alarm enable
and alarm threshold
alarm statistic PORT-ID rxOversizePkts Set the receiving long-length packet alarm
enable and alarm threshold
alarm statistic PORT-ID txOversizePkts Set the send long packet alarm enable and
alarm threshold.
alarm statistic PORT-ID rxFragments Set the number of received fragmentation
alarms and alarm thresholds.
Alarm statistic PORT-ID rxJabbers
Set the alarm enable and alarm threshold for receiving long error frames.
Alarm statistic PORT-ID rxCollisions
Set the alarm enable and alarm threshold for receiving collision collision frames.
Alarm statistic PORT-ID rxDiscardPkts
Set the number of received packet discards and alarm thresholds.
Alarm statistic PORT-ID txDiscardPkts
Sets the number of discarded packets and enables alarm thresholds.
Alarm statistic PORT-ID rxErrorPkts
Set the number of received error packets and enable alarm thresholds.
Alarm statistic PORT-ID txErrorPkts
Set the number of sent error packets and enable alarm thresholds.
Alarm statistic PORT-ID rxSpeed
Set the receive rate alarm enable and alarm threshold.
Alarm statistic PORT-ID txSpeed
Set the send rate alarm enable and alarm threshold.
【Parameter】
Parameter Item Format Value Range Example
PORT-ID Port No. Port type + Port SNI 、 PON s1/1,p3/5
No. PORT
MAJOR_LEVEL Main alarm Decimal integer According to the 100
threshold specific
Parameter
MINOR_LEVEL Secondary Decimal integer According to the 80
39 / 257
GPON OLT CLI Manual
alarm specific
threshold Parameter
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm statistic p2/1 txErrorPkts enable
OLT(config)>alarm statistic p2/1 txErrorPkts threshold 30 20
【Function Description】
no alarm statistic PORT-ID rxDropEvents
Set the trap alarm enable and alarm threshold for receiving and dropping
events.Restore Defaults
no alarm statistic PORT-ID txDropEvents
Set the send and drop event alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID rxCRCErrorPkts
Set the receive CRC check error alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID rxUndersizePkts
Set the receiving ultra-short packet alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID txUndersizePkts
Set the sending short packet alarm enable and alarm thresholdRestore Defaults
no alarm statistic PORT-ID rxOversizePkts
Set the receiving long-length packet alarm enable and alarm thresholdRestore
Defaults
no alarm statistic PORT-ID txOversizePkts
Set the send long packet alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID rxFragments
Set the number of received fragmentation alarms and alarm thresholds.Restore
Defaults
no alarm statistic PORT-ID rxJabbers
Set the alarm enable and alarm threshold for receiving long error frames.Restore
Defaults
no alarm statistic PORT-ID rxCollisions
Set the alarm enable and alarm threshold for receiving collision collision
40 / 257
GPON OLT CLI Manual
frames.Restore Defaults
no alarm statistic PORT-ID rxDiscardPkts
Set the alarm enable and alarm threshold for receiving discarded packets.Restore
Defaults
no alarm statistic PORT-ID txDiscardPkts
Set the number of discarded packets and enable alarm thresholds.Restore Defaults
no alarm statistic PORT-ID rxErrorPkts
Set the number of received error packets and enable alarm thresholds.Restore
Defaults
no alarm statistic PORT-ID txErrorPkts
Set the number of sent error packets and enable and alert thresholds.Restore Defaults
no alarm statistic PORT-ID rxSpeed
Set the receive rate alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txSpeed
Set the sending rate alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txBroadcastPkts
Set the broadcast packet alarm enable and alarm threshold.Restore Defaults
no alarm statistic PORT-ID txMulticastPkts
Set the sending multicast packet alarm enable and alarm threshold.Restore Defaults
【Parameter】
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>no alarm statistic p2/1 txErrorPkts
OLT(config)>no alarm statistic p2/1 txErrorPkts threshold
【Function Description】
Displays the statistics alarms and alarm thresholds of all the OLT ports.
【Parameter】
41 / 257
GPON OLT CLI Manual
【Mode】
所有 Mode。
【Note】
Null
【Example】
OLT(config)>show alarm statistic p2/1
【Function Description】
alarm edfa tempHigh Set the EDFA temperature too high alarm enable and
alarm threshold
alarm edfa tempLow Set the EDFA temperature too low alarm enable and
alarm threshold
alarm edfa outputOpticalPowerHigh Set the EDFA output optical power too high
alarm enable and alarm threshold
alarm edfa outputOpticalPowerLow Set the EDFA output optical power too low
alarm enable and alarm threshold
alarm edfa inputOpticalPowerHigh Set the EDFA input optical power too high
alarm enable and alarm threshold
alarm edfa inputOpticalPowerLow Set the EDFA input optical power low alarm
enable and alarm threshold
alarm edfa pump1BIASHigh
Set EDFA laser pump 1 bias current too high alarm enable and alarm threshold
alarm edfa pump1BIASLow
Set EDFA laser pump 1 bias current too low alarm enable and alarm threshold
alarm edfa pump2BIASHigh
Set EDFA laser pump 2 bias current too high alarm enable and alarm threshold
alarm edfa pump2BIASLow
Set EDFA laser pump 2 bias current too low alarm enable and alarm threshold
alarm edfa pump1TECHigh
42 / 257
GPON OLT CLI Manual
Set EDFA laser pump 1 low cooling current alarm enable and alarm threshold
alarm edfa pump1TECLow
Set EDFA laser pump 1 low cooling current alarm enable and alarm threshold
alarm edfa pump2TECHigh
Set EDFA laser pump 2 cooling current too high alarm enable and alarm threshold
alarm edfa pump2TECLow
Set EDFA laser pump 2 low cooling current alarm enable and alarm threshold
alarm edfa pump1TempHigh
Set EDFA laser pump 1 over temperature alarm enable and alarm threshold
alarm edfa pump1TempLow
Set EDFA laser pump 1 low temperature alarm enable and alarm threshold
alarm edfa pump2TempHigh
Set EDFA laser pump 2 over temperature alarm enable and alarm threshold
alarm edfa pump2TempLow
Set EDFA laser pump 2 low temperature alarm enable and alarm threshold
【Parameter】
【Mode】
Global configuration mode。
【Note】
Only available for devices with EDFA modules.
【Example】
OLT(config)>alarm edfa tempHigh enable
OLT(config)>alarm edfa tempHigh threshold 100 80
【Function Description】
The EDFA alarm parameter alarm is enabled and the alarm threshold is displayed.
【Parameter】
Null
【Mode】
All Modes
【Note】
43 / 257
GPON OLT CLI Manual
Only available for devices with EDFA modules.
【Example】
OLT(config-if-o2/1:1)>show alarm edfa
【Parameter】
44 / 257
GPON OLT CLI Manual
MINOR_LEVEL Secondary Decimal integer According to 80
alarm Parameter
threshold
【Mode】
Global configuration mode。
【Note】
Only available for devices with battery modules.
【Example】
OLT(config)>alarm batterytempHigh enable
OLT(config)>alarm batterytempHigh threshold 100 80
【Function Description】
Displays the battery alarm Parameter alarm enable and alarm threshold.
【Parameter】
Null
【Mode】
All Modes
【Note】
Only available for devices with battery modules.
【Example】
OLT(config-if-o2/1:1)>show alarm battery
【Function Description】
show alarm current Display all current alarm information
show alarm current olt Display current alarm information of the OLT
show alarm current onu Display current alarm information of the ONU
show alarm current edfa Display EDFA current alarm information
【Parameter】
Null
【Mode】
All Modes
【Note】
45 / 257
GPON OLT CLI Manual
Null
【Example】
OLT(config)>show alarm current
OLT(config)>show alarm current olt
OLT(config)>show alarm current onu
OLT(config)>show alarm current edfa
【Function Description】
show alarm history Display all historical alarm information
show alarm history olt Display OLT history alarm information
show alarm history onu Display ONU history alarm information
show alarm history edfa Display EDFA history alarm information
【Parameter】
Null
【Mode】
All Modes
【Note】
Null
【Example】
OLT(config)>show alarm history
OLT(config)>show alarm history olt
OLT(config)>show alarm history onu
OLT(config)>show alarm history edfa
【Function Description】
alarm delete history olt Delete OLT history alarms.
alarm delete history onu Delete ONU history alarms.
alarm delete history edfa Delete EDFA history alarms.
alarm delete history START_SEQ END_SEQ Delete historical alarms in the range
of serial numbers
alarm delete current olt Delete OLT history alarms
alarm delete current onu Delete ONU history alarms.
46 / 257
GPON OLT CLI Manual
alarm delete current edfa Delete EDFA history alarms
alarm delete current START_SEQ END_SEQ Delete historical alarms in the range
of serial numbers
【Parameter】
【Mode】
Global configuration mode。
【Note】
Null
【Example】
OLT(config)>alarm delete history
OLT(config)>alarm delete history olt
OLT(config)>alarm delete history onu 10 20
47 / 257
GPON OLT CLI Manual
8.1 Overview
This chapter describes the system log related configuration operations Command,
which supports log viewing, log switch, log record control, and log output control.
8.2 Command
8.2.2 log on
【Command】
log on
no log on
【Function Description】
48 / 257
GPON OLT CLI Manual
log on Enable log global switch
no log on Disable log global switch
【Parameter】
Null
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>log on
OLT(config)>no log on
【Parameter】
50 / 257
GPON OLT CLI Manual
【Mode】
Global configuration mode
【Note】
1. If need to record the specified facility related log, Please enable the private record
switch and global record switch.
2. If need to make the monitor recorder of the specified facility effective,Please enable
the private recorder and global recorder.
3. The log system only records logs that are not lower than the specified priority. That
is, the local0 record priority is warning, and the local0 logs with higher priority than
emerg, alert, crit, err, and warning are recorded.
【Example】
OLT(config)>log rule local0 priority warning
【Mode】
Global configuration mode
【Note】
1. If need to enable the log host function, please enable the global and private switches
of the host recorder.
51 / 257
GPON OLT CLI Manual
【Example】
OLT(config)>log host 192.168.1.1
【Mode】
Global configuration mode
【Note】
1. The maximum length of the log file is 2M by default. When the log file exceeds 2M,
the log system deletes the first half (first 1M) of the log file.
【Example】
OLT(config)>log file size 4096
【Mode】
Global configuration mode
【Note】
52 / 257
GPON OLT CLI Manual
1. The maximum log cache length is 2M by default. When the log cache exceeds 2M,
the log system deletes the log content of the first half (first 1M) of the log cache.
【Example】
OLT(config)>log buffer size 4096
【Parameter】
【Mode】
All modes
【Note】
1. if Pattern expression need to contain a space symbol (“”), then use the pound sign
in the command line(“#”). For example, if need to display a log containing "error message",
then the command display as "show log include error#message".
【Example】
53 / 257
GPON OLT CLI Manual
OLT(pri)>show log
54 / 257
GPON OLT CLI Manual
9.1 Overview
9.2 Command
9.2.1 username
【Command】
username
usernameNAME {password|level}
【Function description】
username Register one user
username password Set the current user login password
username level Set current user login permissions
username NAME password Set the login password of the specified user
username NAME level Set the login permission of the specified user
【Parameter】
【Mode】
Privilege mode
【Note】
Maximum of 15 users are allowed in the system, 5 of which are default users, and the
maximum number of users that can be created is 10.
【Example】
OLT(pri)>username
55 / 257
GPON OLT CLI Manual
OLT(pri)>username password
OLT(pri)>username level
OLT(pri)>username zhangsan password
OLT(pri)>username zhangsan level
9.2.2 no username
【Command】
no username NAME
【Function description】
Delete one user
【Parameter】
【Mode】
Privilege mode
【Note】
Only users who are not logged in can be deleted, and the system default user cannot
be deleted.
【Example】
OLT(pri)>no username myname
9.2.3 login
【Command】
login
【Function description】
Login user
【Parameter】
56 / 257
GPON OLT CLI Manual
PASSWORD Password Ascii code string Length ≤15Bytes
【Mode】
Privilege mode
【Note】
Log back in to the new user from the current state.
【Example】
OLT(pri)>login
9.2.4 logout
【Command】
logout
【Function description】
The user logs out.
【Parameter】
【Mode】
Privilege mode
【Note】
Exit from current user status。
【Example】
OLT(pri)>logout
【Function description】
show user all Display all user information in the system。
show user NAME Display user information specified in the system。
【Parameter】
【Mode】
Privilege Mode
【Note】
Null
57 / 257
GPON OLT CLI Manual
【Example】
OLT(pri)> show user all
there are 5 users.
id name level state connected
---- ---------------- -------- ------ ---------
0000 user basic idle 0
0001 admin factory online 1
0002 debug debug idle 0
0003 root1 admin idle 0
04 t2 admin idle 0
58 / 257
GPON OLT CLI Manual
10.1 Overview
This chapter describes the basic information of the sni, pon and switch ports, port
rate limit, port mirroring, port statistics, port isolation, and storm suppression.
10.2.1 name
【Command】
nameNAME
no name
【Function Description】
name NAME Set port description
no name Delete port description
【Parameter】
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/1)>name sni1
OLT(config-if-s3/1)>no name
10.2.2 admin-status
【Command】
admin-status { up | down }
no admin-status
【Function Description】
admin-status up Enable port
admin-status down Disable port
no admin-status Restore the default state of the port
59 / 257
GPON OLT CLI Manual
【Parameter】
Null
【Mode】
SNI Mode
【Note】
Null
【Example】
OLT(config-if-s3/1)>admin-status up
OLT(config-if-p4/1)>admin-status down
OLT(config-if-p4/1)>no admin-status
10.2.3 combo
【Command】
combo mode { copper | fiber | auto }
no combo mode
【Function Description】
combo mode copper Set the working mode of the spi port to the electrical
port
combo mode fiber Set the working mode of the spi port to optical
port.
combo mode auto Set the sni port working mode to automatically
recognize no combo mode Restore sni port working mode to default
value【Parameter】
Null
【Mode】
SNIMode
【Note】
Only valid for optical multiplexed ports
【Example】
OLT(config-if-s3/1)>combo mode copper
OLT(config-if-s3/1)>no combo mode
10.2.4 speed
【Command】
speed { auto | half-10 | full-10 | half-100 | full-100 | full-1000 | full-10000 }
no speed
【Function Description】
speed auto Set the sni port rate to auto-negotiation Mode.
speed half-10 Mode Set the sni port rate to forced 10M half-duplex
Mode
60 / 257
GPON OLT CLI Manual
speed full-10 Set the sni port rate to forced 10M full duplex mode
speed half-100 Restore the sni port rate to forced 100M half-duplex Mode
speed full-100 Restore the sni port rate to forced 100M full duplex
mode
speed full-1000 Restore the sni port rate to forced 1000M full duplex mode
speed full-10000 Restore the sni port rate to forced 10G full duplex mode
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)>speed auto
OLT(config-if-s1/2)>speed full-1000
OLT(config-if-s1/2)>no speed
10.2.5 auto-negotiation
【Command】
auto-negotiation { auto | half-10 | full-10 | half-100 | full-100 | full-1000 }
noauto-negotiation
【Function Description】
auto-negotiation auto Set the sni port adaptive ability to the default
ability
auto-negotiation half-10 Set the sni port adaptive ability to 10M half duplex
auto-negotiation full-10 Set the sni port adaptive ability to 10M full duplex
auto-negotiation half-100 Set the sni port adaptive ability to 100M half
duplex
auto-negotiation full-100 Set the sni port adaptive ability to 100M full
duplex
auto-negotiation full-1000 Set the sni port adaptive capability to Gigabit
full duplex
no auto-negotiation Set the sni port adaptive ability to the default
value
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/5)>auto-negotiation auto
61 / 257
GPON OLT CLI Manual
OLT(config-if-s3/5)>no auto-negotiation
10.2.6 flow-control
【Command】
flow-control { enable | disable }
noflow-control
【Function Description】
flow-control enable Open the flow control of the sni port
flow-control disable Turn off flow control on the sni port
no flow-control Restore the flow control of the sni port to the default value.
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s3/5)>flow-control enale
OLT(config-if-s3/5)>no flow-control
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show interface brief
62 / 257
GPON OLT CLI Manual
OLT(config)>show interface s1/3
63 / 257
GPON OLT CLI Manual
10.3 Mirror
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>mirror session 1 destination s1/6
OLT(config)>mirror session 1 source s1/7 both
64 / 257
GPON OLT CLI Manual
OLT(config)>mirror name 1 mirror1
OLT(config)>no mirror session 1
65 / 257
GPON OLT CLI Manual
10.4 statistics
66 / 257
GPON OLT CLI Manual
OLT(config-if-s3/1)> statistics h24 enable
OLT(config-if-s3/1)>no statistics h24
OLT(config-if-p5/1)> statistics h24 enable
OLT(config-if-p5/1)>no statistics h24
【Mode】
Global mode
【Note】
Null
【Example】
OLT(config)>statistics m15 max 60
OLT(config)>statistics h24 max 10
OLT(config)>no statistics m15 max
OLT(config)>no statistics h24 max
67 / 257
GPON OLT CLI Manual
show statistics max
【Function Description】
show statistics max Show the Maximum number of records of performance
statistics
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show statistics max
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show statistics current s3/5
OLT(config)>show statistics m15 s3/5
OLT(config)>show statistics h24 s3/5
68 / 257
GPON OLT CLI Manual
clear statistics {current | m15 | h24} PORTS
【Function Description】
clear statistics current PORTS Clear current performance statistics for a
port clear statistics m15 PORTS Clear port 15-minute period performance
statistics
clear statistics h24PORTS Clear port 24-hour period performance
statistics
【Parameter】
【Mode】
Global configuration mode
【Note】
Null
【Example】
OLT(config)>clear statistics current s3/5
OLT(config)>clear statistics m15 s3/5
OLT(config)>clear statistics h24 s3/5
69 / 257
GPON OLT CLI Manual
10.5 Isolation
10.5.1 isolation
【Command】
isolation{ enable | disable }
no isolation
【Function Description】
isolation enable Enable port isolation
isolation disable Disable port isolation
no isolation Restore the isolation function of the port to the default state.
【Parameter】
Null
【Mode】
SNIMode,PONMode
【Note】
After port isolation is enabled, the port will not communicate with the same type of port.
The PON port is isolated by default, and the SNI port is not isolated by default.
【Example】
OLT(config-if-p2/1)>isolation enable
OLT(config-if-p2/1)>isolation disable
OLT(config-if-p2/1)>no isolation
【Mode】
All Mode
【Note】
70 / 257
GPON OLT CLI Manual
Null
【Example】
OLT(config-if-pon)>show isolation
71 / 257
GPON OLT CLI Manual
10.6 Rate-limit
10.6.1 rate-limit
【Command】
rate-limit { rx { RATE-LIMIT | kbps RATE-LIMIT } | tx { RATE-LIMIT | kbps RATE-
LIMIT | pps SPEED-PPS } }
no rate-limit { rx { kbps } | tx { kbps | pps } }
【Function Description】
rate-limit rx RATE-LIMIT Set the port rx rate-limit
rate-limit rx kbps RATE-LIMIT Set the port rx rate-limit
rate-limit tx RATE-LIMIT Set the port tx rate-limit
rate-limit tx kbps RATE-LIMIT Set the port tx rate-limit
rate-limit tx pps SPEED-PPS Set the port tx packet rate
no rate-limit rx kbps Cancel the port rx rate limit
no rate-limit tx kbps Cancel the port tx rate limit
no rate-limit tx pps Cancel the port tx packet rate limit
【Parameter】
【Mode】
SNIMode、PONMode
【Note】
rate-limit tx pps SPEED-PPS and no rate-limit tx pps, only PT-D12G models
support【Example】
OLT(config-if-s1/1)> rate-limit rx 100000
OLT(config-if-p2/1)> rate-limit txkbps 100000
OLT(config-if-s1/1)> rate-limit tx pps 10000
OLT(config-if-s1/1)> no rate-limit rx kbps
72 / 257
GPON OLT CLI Manual
【Parameter】
Parameter Name Format Range Example
PORTS Port list Port type + slot number / Determined s1/1-s1/8
port number, support for according to
arithmetic symbols “,”、“-” different
equipment
【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config)>show rate-limit s1/1
73 / 257
GPON OLT CLI Manual
10.7 Storm-control
10.7.1 storm-control
【Command】
storm-controlSTORM-MODE { SPEED-KBPS | kbps SPEED-KBPS | pps SPEED-
PPS }
no storm-control STORM-MODE { kbps | pps }
【Function Description】
storm-controlSTORM-MODESPEED-KBPS Set port storm suppression
storm-controlSTORM-MODE kbps SPEED-KBPS Set port storm suppression
storm-controlSTORM-MODE pps SPEED-PPS Set port Message-based storm
suppression
no storm-controlSTORM-MODE kbps Restore Port storm suppression to the
default value
no storm-controlSTORM-MODE pps Restore Port storm suppression to the
default value【Parameter】
b:Broadcast And
broadcast
SPEED-KBPS rate integer,unit:kbps [64,10000000] 10000
SPEED-PPS Packet rate integer,unit:pps [1,1488095] 100
【Mode】
SNIMode, PONMode
【Note】
Null
【Example】
OLT(config-if-sni)>storm-control u,b kbps 10000
OLT(config-if-sni)>no storm-control u,m
74 / 257
GPON OLT CLI Manual
show storm-control PORTS Display port broadcast storm suppression
information
show storm-control Display broadcast storm suppression information
on all ports
【Parameter】
【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config)>show storm-control s1/1
75 / 257
GPON OLT CLI Manual
11.1 Overview
Port aggregation (also known as link aggregation) physically connects multiple SNI ports
on the OLT and logically bundles them together to form a port with a large bandwidth. This
implements load balancing and provides redundant links and improve link stability. This
chapter mainly describes the configuration, deletion, restoration and display of port
aggregation. The principle refers to IEEE802.1AX.
11.2 Command
11.2.1 trunk-group
【Command】
trunk-groupGROUP-ID [ mode { manual | lacp } ]
no trunk-group GROUP-ID
trunk-groupGROUP-ID add SNI-PORTS
trunk-groupGROUP-ID delete {all | SNI-PORTS }
【Function Description】
trunk-groupGROUP-ID Create trunk group,working mode is manual
turnk-groupGROUP-IDmodemanual Create trunk group,working mode is
manual
trunk-groupGROUP-IDmode lacp Create trunk group, working mode is LACP Mode
no trunk-groupGROUP-ID Delete trunk group
trunk-groupGROUP-IDaddSNI-PORTS Trunk group adds member ports.
trunk-groupGROUP-IDdelete all Delete all member ports of the trunk
group
trunk-groupGROUP-IDdelete SNI-PORTS Delete the specified member port in the
trunk group
【Parameter】
Parameter Name Format Range Exampl
e
SNI-PORTS SNI port Port type + slot number Port type:s S3/5
number / port number, support
for arithmetic symbols
76 / 257
GPON OLT CLI Manual
“,”、“-”
【Mode】
Global configuration Mode
【Note】
The working mode of the trunk group (manual/LACP) can only be selected at the time
of creation. After the trunk group is created, the working mode cannot be changed. If you
want to change the working mode, you need to delete the trunk group first and re-create
the trunk group with the corresponding working mode.
【Example】
OLT(config)>trunk-group 1manual
OLT(config)>trunk-group 1 add s3/1,s3/2
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 name trunk-group1
77 / 257
GPON OLT CLI Manual
【Function Description】
trunk-group GROUP-IDpsc src-mac Configure the trunk group src-mac traffic
allocation policy
trunk-group GROUP-IDpsc dest-mac Configure the trunk group dest-mac
traffic allocation policy
trunk-group GROUP-IDpsc both-mac Configure the trunk group both-
mactraffic allocation policy
【Parameter】
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 psc src-mac
78 / 257
GPON OLT CLI Manual
【Mode】
Global configuration Mode
【Note】
After the trunk group is enabled, the configuration information of the trunk group is
retained. However, the trunk group in the system has expired and its member ports become
independent ports.
【Example】
OLT(config)>trunk-group 1 admin-status up
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)>trunk-group 1 lacp max-active-port 4
OLT(config)>trunk-group 1 lacp timeout short
79 / 257
GPON OLT CLI Manual
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT(config)> lacp priority 10000
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)> lacp priority 10000
80 / 257
GPON OLT CLI Manual
11.2.8 showtrunk-group
【Command】
showtrunk-group [GROUP-ID ]
【Function Description】
show trunk-group show all trunk group information
show trunk-groupGROUP-ID show specified trunk group information
【Parameter】
Parameter Name Format Range Example
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show trunk-group
81 / 257
GPON OLT CLI Manual
12.1 overview
VLAN (Virtual Local Area Network) is an emerging data exchange technology that
logically divides LAN devices into network segments to implement virtual workgroups.
VLAN is a protocol proposed to solve the broadcast problem and security of Ethernet.
It adds a VLAN header based on the Ethernet frame, and divides the user into smaller
working groups by using VLAN ID, which limits the Users exchange visits between different
working groups, each workgroup is a VLAN. The benefit of VLAN is that they can limit the
broadcast range and form virtual workgroups to dynamically manage the network.
12.2.1 vlan
【Command】
vlanVLANS
no vlanVLANS
【Function Description】
vlanVLANS The command mode is entered from the global configuration to the
VLAN mode(After the command is used, if the VLAN list does not exist, add a VLAN
list. If it exists, enter the VLAN list mode.)
no vlanVLANS delete VLAN list
【Parameter】
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT (config)> vlan 1-10
OLT (config-if-vlan)>
82 / 257
GPON OLT CLI Manual
12.2.3 name
【Command】
nameVLAN-NAME
no name
【Function Description】
name VLAN-NAME configure VLAN name
no name Restore the default VLAN name
【Parameter】
【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT (config-if-1)> name cctv1
12.2.4 add
【Command】
83 / 257
GPON OLT CLI Manual
add { tag | untag}PORTS
【Function Description】
add tag PORTS add tag port to VLAN
add untagPORTS add untag port to VLAN
【Parameter】
【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
12.2.5 remove
【Command】
removePORTS
【Function Description】
remove PORTS delete the port from
【Parameter】
【Mode】
VLAN configuration Mode
【Note】
Null
【Example】
OLT(config-if-2)> remove s1/1
84 / 257
GPON OLT CLI Manual
【Mode】
Global configuration Mode
【Note】
Null
【Example】
OLT (config)>vlan attribute 2-5 q-in-q
12.2.7 vlanc-tpid
【Command】
vlan c-tpid TPID
no vlan c-tpid
【Function Description】
vlan c-tpid TPID set port C-VLAN TPID
no vlan c-tpid restore port C-VLAN TPID as default value
【Parameter】
【Mode】
Global configuration Mode
【Note】
Null
【Example】
85 / 257
GPON OLT CLI Manual
OLT (config)>vlan c-tpid 0x8100
12.2.8 vlans-tpid
【Command】
vlan s-tpid TPID
no vlan s-tpid
【Function Description】
vlan s-tpid TPID configure port S-VLAN TPID
no vlan s-tpid Restore port S-VLAN TPID to default value
【Parameter】
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan s-tpid 0x88A8
12.2.9 vlanpriority
【Command】
vlan priorityPRIORITY
no vlan priority
【Function Description】
vlan priorityPRIORITY Configure the VLAN priority of the port.
no vlan priority Restore the VLAN priority of the port to the
default value.
【Parameter】
【Mode】
SNIMode,PONMode
86 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config-if-s1/1)>vlan priority 0
OLT(config-if-s1/1)>
【Mode】
SNIMode,PONMode
【Note】
Null
【Example】
OLT(config-if-s1/1)>vlan pvid 100
OLT(config-if-s1/1)>
87 / 257
GPON OLT CLI Manual
Null
【Example】
12.2.12 vlantrunk
【Command】
vlan trunk add { tagVLANS |untag VLANS}
vlan trunk delete VLANS
vlan trunk clear
【Function Description】
vlan trunk add untagVLANS Add VLAN tag in VLAN trunkMode
vlan trunk add tag VLANS Add tag VLANV in LAN trunkMode
vlan trunk delete VLANS Delete VLAN in VLAN trunkMode
vlan trunk clear Clear all trunk list configuration data in VLAN trunkMode
【Parameter】
【Mode】
SNIMode,PONMode
【Note】
Null
【Example】
OLT(config-if-s1/1)> vlan trunk add tag 10
OLT(config-if-p2/1)> vlan trunk add untag 11-21
OLT(config-if-s1/1)> vlan trunk delete 10
OLT(config-if-p2/1)> vlan trunk delete11-21
88 / 257
GPON OLT CLI Manual
show vlan port PORTS
show vlan id VLANS
【Function Description】
show vlan global show VLANGlobal configuration
information
show vlan brief Display all VLAN summary information
show vlan port PORTS Display port VLAN configuration
information
show vlan id VLANS Display the configuration information of the specified
VLAN.
【Parameter】
【Mode】
Any Mode
【Note】
Null
【Example】
OLT(config-if-p2/1)> show vlan global
89 / 257
GPON OLT CLI Manual
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan forwarding 2 vlan-connect
OLT (config)> no vlanforwarding 2 vlan-connect
90 / 257
GPON OLT CLI Manual
vlan vlan-connect delete OUTER-VLAN INNER-VLANS
Delete forwarding entries based on OUTER-VLAN plus INNER-VLANS
vlan vlan-connect clear Delete all outer and inner VLAN forwarding
entries.
【Parameter】
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT (config)>vlan vlan-connect add 1 1-3 s1/1 s1/2
OLT (config)> vlan vlan-connect delete 1 2
91 / 257
GPON OLT CLI Manual
【Mode】
Any Mode
【Note】
Null
【Example】
OLT (config)>show vlan vlan-connect
OLT (config)> show vlan vlan-connect 1-4
【Mode】
PONMode,SNIMode
【Note】
Only KTFSG-18FB models support these commands under SNIMode
92 / 257
GPON OLT CLI Manual
Display the relevant configuration through show vlan port PORTSCommand
【Example】
OLT(config-if-p2/1)>vlan qinq add100-1000 2000 6
OLT(config-if-p2/1)>vlan qinq delete 100-1000
OLT(config-if-p2/1)>vlan qinq clear
12.5.1 vlantranslation
【Command】
vlan translationadd OLD-VLANNEW-VLAN
vlan translation delete OLD-VLANS
vlan translation clear
【Function Description】
vlan translation add OLD-VLANNEW-VLAN
In VLAN translation mode, add the VLAN ID translation relationship on the port.(If
there is a translation relationship of the same source VLAN ID in the existing
configuration data, it is configured in the overlay mode)
【Mode】
93 / 257
GPON OLT CLI Manual
PONMode,SNIMode
【Note】
Only KTFSG-18FB models support these commands under SNIMode
Display the relevant configuration through show vlan port PORTSCommand
【Example】
OLT(config-if-p2/1)>vlan translation add 2 3
OLT(config-if-p2/1)>vlan translation delete 2
OLT(config-if-p2/1)>vlan translation clear
94 / 257
GPON OLT CLI Manual
13.1 Overview
13.2 Command
95 / 257
GPON OLT CLI Manual
XX-XX-XX-XX-XX-XX
VLAN-ID VLAN ID integer [1,4094] 100
PORT-ID port number Port type + slot number / s1/2 or p2/2
port number
96 / 257
GPON OLT CLI Manual
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT(config)>mac-address-table static 0000.4567.ABCD 100 s1/2
XX-XX-XX-XX-XX-XX
PORTS port Port type + slot number / s1/2 或 p2/2
numberlist port numbersupport for
arithmetic symbols “,”、“-”
VLANS VLAN IDlist integersupport for [1,4094] 100
arithmetic symbols “,”、“-”
【Mode】
Global configurationMode
【Note】
Null
【Example】
OLT(config)>clear mac-address-table dynamic
97 / 257
GPON OLT CLI Manual
【Command】
show mac-address-table[{addressMAC-ADDR | static | interfacePORTS |
dynamic [{interfacePORTS[maximum] | vlanVLANS }] | location MAC-ADDR
[ MAC-MASK ] | aging-time }]
【Function Description】
show mac-address-table Display all L2 address forwarding
tables
show mac-address-tableaddressMAC-ADDR
Display the forwarding table of the specified MAC address
showmac-address-tablestatic Display all static MAC address forwarding
tables
show mac-address-tableinterface PORTS
Display the MAC address forwarding table on the specified port.
show mac-address-tabledynamic Display all dynamic MAC address forwarding
tables
show mac-address-tabledynamic interface PORTS
Display the dynamic MAC address forwarding table on the specified port.
show mac-address-tabledynamic interface PORTSmaximum
Display the maximum dynamic MAC address learning number of a specified port
showmac-address-tabledynamic vlan VLANS
Display the dynamic MAC address forwarding table on the specified VLAN.
showmac-address-table location MAC-ADDR [ MAC-MASK ]
Display the ONU information to which the specified MAC address belongs.
show mac-address-table aging-time
Display the aging time of the MAC address forwarding table.
【Parameter】
Parameter Name Format Range Example
MAC-ADDR MACaddres Unicast 0000.4567.ABCD
XXXX.XXXX.XXXX or
s MAC
XX-XX-XX-XX-XX-XX address
PORTS Port list Port type + slot number / s1/2,p1/1
port number,support for
arithmetic symbols “,”、“-”
VLANS VLANlist integer,support for [1,4094] 100
arithmetic symbols “,”、“-”
MAC-MASK MAC XXXX.XXXX.XXXX 或 FFFF.FFFF.FFFF
Address XX-XX-XX-XX-XX-XX
mask
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show mac-address-table static
98 / 257
GPON OLT CLI Manual
99 / 257
GPON OLT CLI Manual
14.1 Overview
The OLT device supports the QoS mechanism to ensure that the support management
of various priority services can be provided in both the uplink and downlink directions.
This chapter mainly describes QoS queue mapping and scheduling related commands.
14.2 Command
no qos global-based
【Function Description】
qos global-based device Configure QoS global parameters as device-based
qos global-based port Configure the QoS global parameter as a port-based
no qos global-based Restore QoS Global Parameter to default value, based on
port【Parameter】
Null
【Mode】
Global configurationMode
【Note】
The default is port-based. When the two modes switch to each other, the QoS queue
mapping is re-initialized and the scheduling is set to the default value.
【Example】
OLT(config)>qos global-based device
【Function Description】
Display QoS global parameters.
【Parameter】
Null
100 / 257
GPON OLT CLI Manual
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos global
【Function Description】
qos map cos Set the queue mapping to Cos
qos map cos QUEUE-ID PRIORITY-LIST
Set the queue mapping to Cos and set the mapping relationship
qos map diffserv Set the queue mapping to DSCP and set the mapping
relationship.
qos map diffserv QUEUE-ID PRIORITY-LIST
Set the queue mapping to DSCP and set the mapping relationship.
no qos map cos
Restore QoS cos queue mapping to default value, default {0,1, 2, 3, 4, 5, 6, 7}
no qos map diffserv Restore QoS DSCP queue mapping to default value, default
are
{0,1, 2, 3, 4, 5, 6, 7
8,9,10,11,12,13,14,15,
16,17,18,19,20,21,22,23,
24,25,26,27,28,29,30,31,
32,33,34,35,36,37,38,39,
40,41,42,43,44,45,46,47,
48,49,50,51,52,53,54,55,
56,57,58,59,60,61,62,63,}
no qos map Restore the QoS queue mapping to the default value. The default is
cos mapping.The mapping relationship is {0,1, 2, 3, 4, 5, 6, 7}
【Parameter】
101 / 257
GPON OLT CLI Manual
【Mode】
Global configuration Mode or PON、SNI port Mode
【Note】
【Example】
OLT(config)> qos map cos 2 3,5-7
【Function Description】
A map mapping table showing QoS queues and Ethernet priorities.
show qos map
Displays map mapping operation information of all port QoS queues and Ethernet
priorities.
show qos map config
Displays map mapping configuration information for all port QoS queues and Ethernet
priorities.
show qos map PORTS Displays map mapping operation information of
all specified port QoS queues and Ethernet priorities.
show qos map PORTSconfig Displays map mapping configuration information
of all specified port QoS queues and Ethernet priorities.
【Parameter】
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos map
102 / 257
GPON OLT CLI Manual
qos scheduler { policy { sp | wrr | spwrr } | weight WEIGHT-LIST }
【Function Description】
qos scheduler policy sp Set the Qos scheduling policy to SP.
qos scheduler policy wrr Set the QoS scheduling policy to WRR
qos scheduler policy spwrr Set the Qos scheduling policy to
SPWRR.
qos scheduler weight WEIGHT-LIST
Set the weight value of the current Qos scheduling policy.
no qos scheduler policy Set the QoS scheduling policy to restore the
default value.
no qos scheduler weight Set the QoS scheduling weight to restore the default value.
no qos scheduler weight wrr
Set the Qos scheduling WRR weight to restore the default value.
no qos scheduler weight spwrr Set the Qos scheduling SP WRR weight to
restore the default value.
【Parameter】
【Mode】
Global configurationMode or PON、SNI port Mode
【Note】
【Example】
OLT(config)> qos scheduler policy spwrr
OLT(config)> qos scheduler weight 10,20,30,40,0,0,0,0
【Function Description】
Displays the QoS scheduling policy.
show qos scheduler Display all port QoS scheduling running information。
show qos scheduler config Display all port QoS scheduling configuration
103 / 257
GPON OLT CLI Manual
information。
show qos schedulerPORTS Display specified port QoS scheduling operation
information。
show qos schedulerPORTS config
Display specified port QoS scheduling configuration information
【Parameter】
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> showqos scheduler
【Function Description】
Display QoS configuration information, including global parameters, queue mapping,
and scheduling policies.
【Parameter】
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos port s3/5,s3/4
【Function Description】
Display QoS device configuration information.
show qos device Display all configuration information of QoS
device。
show qos device map Display QoS device map configuration
information。
show qos device scheduler Display all configuration information of QoS
device scheduler.
【Parameter】
Null
【Mode】
All Mode
【Note】
Null。
【Example】
OLT(config)> show qos device
105 / 257
GPON OLT CLI Manual
15.1 Overview
The OLT device supports the classification of service flows and performs filtering
control on the port input data based on the traffic classifier. When an ACL rule is configured
on the port, the input data stream is controlled according to the ACL rule.
The parameters that can be used for service flow classification include: MAC DA, MAC
SA, EthernetType (such as PPPoE, IPoE, IPv6oE, etc.), VLAN, destination IPv4 address,
source IPv4 address, IP protocol type (such as TCP, UDP, ICMPv4, ICMPv6, IGMP). , MLD,
etc., IP precedence (DSCP), destination L4 protocol port, source L4 protocol port.
This section describes the ACL related commands.
15.2 Command
15.2.1 access-list
【Command】
access-list { mac | standard | extended | ipv6 } {ACL-NAME |ACL-NUMBER}
【Function Description】
access-list mac ACL-NAME Create a MAC-based ACL and enter the Mode (if
it exists, enter the ACL configuration mode directly)
access-list standard ACL-NAME Create a standard ACL and enter the Mode (if
it exists, enter the ACL configuration mode directly)
access-list extended ACL-NAME Create an extended ACL and enter the Mode
(if it exists, enter the ACL configuration mode directly)
access-list ipv6 ACL-NAME Create an ipv6 ACL and enter the Mode (if it
exists, enter the ACL configuration mode directly)
【Parameter】
【Mode】
Global configurationMode
【Note】
Different types of ACLs cannot use the same Name.
PTC88C does not support ipv6 acl due to resource issues;
106 / 257
GPON OLT CLI Manual
Standard ACL ID: 1~99
extended ACL ID: 100~199
MAC ACL ID: 200~299
IPV6 ACL ID: 300~399
【Example】
OLT(config)>access-list mac m200
OLT(config-aclmac-m200)>
【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】
【Mode】
MAC ACLcpnfiguration Mode
【Note】
PTC88Cdo not support inner-vlan。
【Example】
OLT(config)>access-list mac m200
OLT(config-aclmac-m200)> deny vlan 100 any destination 0011.2233.4455 ffff.ffff.0000
107 / 257
GPON OLT CLI Manual
【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】
【Mode】
Standard ACL configuration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】
108 / 257
GPON OLT CLI Manual
SRC-PORT-NUM Source protocol Decimal integer <0- 80
port number 65535>
DST-IP Destination ip A.B.C.D 192.168.0.2
address
DEST-IP-WILDCARD Destination ip A.B.C.D 255.255.255.0
address mask
DST-PORT-NUM Destination Decimalinteger <0- 80
protocol port 65535>
number
DSCP Dscp priority Decimal integer <0-63> 32
TIME-RANGE-NAME Time period Code string
【Mode】
Extended ACL configuration mode
【Note】
Null。
【Example】
OLT(config)>access-list extended e100
OLT(config-aclex-e100)> deny any destination 192.168.0.1 255.255.255.0
15.2.1.4 no
【Command】
No RULE-INDEX
【Function Description】
Delete an ACL rule from the current ACL list.
【Parameter】
【Mode】
MAC、standard、exended、ipv6 ACL configuration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
OLT(config-aclstd-s1)> show
OLT(config-aclstd-s1)>no 1
109 / 257
GPON OLT CLI Manual
15.2.1.5 show
【Command】
show
【Function Description】
Display rule information of the current ACL
【Parameter】
Null
【Mode】
MAC、standard、exended、ipv6 ACLconfiguration Mode
【Note】
Null。
【Example】
OLT(config)>access-list standard s1
OLT(config-aclstd-s1)> deny 192.168.0.1
OLT(config-aclstd-s1)> show
【Function Description】
Add an allow or deny rule to the current ACL.
【Parameter】
110 / 257
GPON OLT CLI Manual
number
DSCP Dscp priority Decimal integer <0-63> 32
TIME-RANGE-NAME period Code string
【Mode】
Ipv6 ACL configuration Mode
【Note】
PTC88C does not support ipv6 acl due to resource issues
【Example】
OLT(config)>access-list ipv6 ttt
OLT(config-aclex-e100)> deny any destination 2001::1/64
15.2.2 no access-list
【Command】
no access-list ACL-INDEX-LIST
【Function Description】
Delete ACL list
【Parameter】
【Mode】
Global configurationMode
【Note】
If the ACL has been applied to the port, it cannot be deleted.
【Example】
OLT(config)>no access-list 200
【Function Description】
Displays the created ACL information.
【Parameter】
111 / 257
GPON OLT CLI Manual
ACL-NAME ACLName Ascii Code length<32Bytes m200
string
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show access-lists
15.2.4 access-group
【Command】
access-group { ACL-INDEX-LIST | ACL-NAME }
【Function Description】
Load the ACL rule to the port through the ACL index number or ACLName.
【Parameter】
【Mode】
PON、SNI port Mode
【Note】
Null
【Example】
OLT(config)>interface s3/5
OLT(config-if-s1/2)>access-group 200
OLT(config-if-s1/2)>access-group m200
15.2.5 no access-group
【Command】
noaccess-group { ACL-INDE -LIST | ACL-NAME }
【Function Description】
Delete ACL rule list
【Parameter】
112 / 257
GPON OLT CLI Manual
【Mode】
PON、SNI port Mode
【Note】
Null。
【Example】
OLT(config)>interface s3/5
OLT(config-if-s1/2)>no access-group 200
OLT(config-if-s1/2)> no access-group m200
【Function Description】
Displays the ACL information loaded to the port.
【Parameter】
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show access-group
15.2.7 traffic-priority
【Command】
traffic-priority acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] {dscp
DSCP | cos-queue QUEUE-ID |traffic-class DSCP }
113 / 257
GPON OLT CLI Manual
no traffic-priority acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] {dscp
DSCP | cos-queue QUEUE-ID |traffic-class DSCP }
【Function Description】
Apply ACL priority marking to the rx of the port.
【Parameter】
【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】
OLT(config)>interface pon 6/5
OLT(config-if-6/5)>traffic-priority acl 1 rule 1 dscp 32
OLT(config-if-6/5)> no traffic-priority acl 1 rule 1 dscp 32
OLT(config-if-6/5)> show access-group 6/5
15.2.8 traffic-redirect
【Command】
traffic-redirect acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] interface
PORT
no traffic-redirect acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
interface PORT
【Function Description】
Apply ACL redirection to the rx interface, redirects the stream matching the acl rule to
the specified port.
【Parameter】
114 / 257
GPON OLT CLI Manual
【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】
15.2.9 traffic-mirror
【Command】
traffic-mirror acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] interface
PORT-SWITCH
no traffic-mirror acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
interface PORT-SWITCH
【Function Description】
Mirror the flow matching the acl rule to the switch port
【Parameter】
115 / 257
GPON OLT CLI Manual
【Mode】
PON、SNI port Mode
【Note】
Only permit rules can be applied
【Example】
15.2.10 traffic-limit
【Command】
traffic-limit acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE
no traffic-limit acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE
【Functional Description】
Ingress limit is set for the flow matching the acl rule.
【Parameter】
【Mode】
PON、SNI Port Mode
【Note】
Only the permit rule can be applied;
Due to limited resources,OLT cbs Ranges 为<1-134217>。
116 / 257
GPON OLT CLI Manual
【Example】
15.2.11 traffic-shape
【Command】
traffic-shape acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir CIR-
KBPS cbs BUCKET-SIZE
no traffic-shape acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ] cir
CIR-KBPS cbs BUCKET-SIZE
【Functional Description】
Exports the rate limit of the flow matching the acl rule.
【Parameter】
【Mode】
PON、SNI Port Mode
【Note】
Only the permit rule can be applied only to the known unicast;
Due to limited resources, OLT cbs Ranges is <1-134217>.
【Example】
117 / 257
GPON OLT CLI Manual
15.2.12 traffic-statistic
【Command】
traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
no traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
show traffic-statistic acl { ACL-NUMBER | ACL-NAME } [rule RULE-NUMBER ]
【Functional Description】
The statistics match the number of stream bytes and the number of packets of the
acl rule.
【Parameter】
【Mode】
PON、SNI Port Mode
【Note】
Due to limited resources, the OLT can only count the number of bytes.。
Only the permit rule can be applied;
【Example】
15.2.13 time-range
【Command】
time-rangeTIME-RANGE-NAME
【Functional Description】
time-range TIME-RANGE-NAME Create a time-range and enter the configuration
mode (if it exists, go directly to the configuration mode)
118 / 257
GPON OLT CLI Manual
no time-range { all | name TIME-RANGE-NAME } Delete time-range
【Parameter】
【Mode】
Global Configuration Mode
【Note】
The time-range being used cannot be deleted;
Allows creation of up to 16 time-ranges.
【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>show
OLT(config-time-range-test)>show
15.2.13.1 absolute
【Command】
absolute {[start YYYY-MM-DD HH:MM ] [end YYYY-MM-DD HH:MM ]}
【Functional Description】
Add an absolute time period:
absolute start YYYY-MM-DD HH:MM, Indicates the maximum time that can be
represented from start to system;;
【Parameter】
119 / 257
GPON OLT CLI Manual
HH:MM H:M Time 15:30
【Mode】
Time-range config Mode
【Note】
Allows the addition of up to 12 absolute absolute time rules; the absolute rules cannot be
crossed.【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show
15.2.13.2 periodic
【Command】
periodic { WEEKDAY | WEEK-LIST | weekdays | weekend | daily } from HH:MM
to HH:MM
【Functional Description】
Add a cycle time period:
【Parameter】
【Mode】
Time-range config Mode
【Note】
Periodic time segment can be merged automatically within the same day.
【Example】
OLT(config)>time-range test
120 / 257
GPON OLT CLI Manual
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show
15.2.13.3 show
【Command】
show [ periodic | absolute ]
【Functional Description】
Show current time-range info
【Parameter】
Null
【Mode】
Time-range config Mode
【Note】
Null
【Example】
OLT(config)>time-range test
OLT(config-time-range-test)>absolute end 2017-11-15 18:00
OLT(config-time-range-test)>show
121 / 257
GPON OLT CLI Manual
16.1 Overview
This chapter mainly describes the spanning tree STP, RSTP, MSTP global, Port
configuration, restore and Show.
16.2 Command
16.2.1.1 spanning-tree
【Command】
spanning-tree
no spanning-tree
【Functional Description】
spanning-tree Enable the Spanning Tree protocol
no spanning-tree Disable the Spanning Tree protocol
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree
【Command】
spanning-treemode { sstp | rstp | mstp }
no spanning-tree mode
【Functional Description】
spanning-tree mode sstp Set the STP running version to STP.
spanning-tree mode rstp Set the STP running version to RSTP.
spanning-tree mode mstp Set the STP running version to MSTP.
no spanning-tree mode Restore the STP running version to the
122 / 257
GPON OLT CLI Manual
default value
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree mode rstp
【Command】
spanning-tree [ mst instance INSTANCE-ID ] priority PRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] priority
【Functional Description】
spanning-tree priorityPRIORITY Configure the bridge priority of
STP and RSTP, or the bridge priority of MSTP in instance 0 (that is, the public
instance).
no spanning-tree priority Restore the bridge priority of STP,
RSTP, or the bridge priority of MSTP in instance 0 (ie: public instance) to the default
value of 32768, 32768÷4096=8
【Mode】
Global Configuration Mode
【Note】
123 / 257
GPON OLT CLI Manual
The priority parameter value entered here is the quotient of the actual bridge priority of
the protocol divided by 4096. That is, the actual bridge priority of the protocol operation is
the product of the input Parameter[0,15] multiplied by the step size 4096.
【Example】
OLT(config)# spanning-tree priority 9
【Command】
spanning-treemax-ageAGING-TIME
no spanning-treemax-age
【Functional Description】
spanning-tree max-ageAGING-TIME Configure the aging time of
the packets in the spanning tree.
no spanning-tree max-age Restore the aging time of the packets of the
spanning tree to the default value, 20 seconds.
【Parameter】
Parameter Name Format Ranges Exampl
e
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree max-age 25
【Command】
spanning-tree hello-timeHELLO-TIME
no spanning-tree hello-time
【Functional Description】
spanning-tree hello-timeHELLO-TIME Configure the interval for sending
packets in the spanning tree.
no spanning-tree hello-time Restore the packet sending interval of the
spanning tree to the default value, 2 seconds.
【Parameter】
124 / 257
GPON OLT CLI Manual
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree hello-time 10
【Command】
spanning-tree forward-timeFORWARD-DELAY
no spanning-tree forward-time
【Functional Description】
spanning-tree forward-timeFORWARD-DELAY Configure the forward
delay of the spanning tree
no spanning-tree forward-time Restore the spanning tree's forward
delay to the default value, 15 seconds
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree forward-time 20
125 / 257
GPON OLT CLI Manual
【Command】
spanning-tree tx-hold-countNUMBER
no spanning-tree tx-hold-count
【Functional Description】
spanning-tree tx-hold-countNUMBER Configure the maximum number of
packets sent per second in the spanning tree.
no spanning-tree tx-hold-count Restores the maximum number of
packets sent per second in the spanning tree to the default value of 6.
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree tx-hold-count 8
【Command】
spanning-tree pathcost-method { long | short }
no spanning-tree pathcost-method
【Functional Description】
spanning-tree pathcost-method { long | short } Configure the default
calculation method for the port path of the spanning tree. Set the value to long or
short.
no spanning-tree pathcost-method Restore the default
calculation method for the port path of the spanning tree to the default value, STP:
short; RSTP, MSTP: long
【Parameter】
Null
【Mode】
Global Configuration Mode
126 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config)# spanning-tree pathcost-method long
【Command】
spanning-tree mst max-hopsMAX-HOPS
no spanning-tree mst max-hops
【Functional Description】
spanning-tree mst max-hops MAX-HOPS Configure the maximum hops of
the MSTP spanning tree.
no spanning-tree mst max-hops Restore the maximum hop count
of the MSTP spanning tree to the default value, 20 hops.
【Parameter】
Parameter Name Format Ranges Examp
le
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree mst max-hops 30
【Command】
spanning-tree region-configuration
no spanning-tree region-configuration
【Functional Description】
spanning-tree region-configuration Enter the MST region configuration
mode of the MSTP spanning tree.
no spanning-tree region-configuration Restore the MST region configuration
of the MSTP spanning tree to the default value.
【Parameter】
127 / 257
GPON OLT CLI Manual
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)# spanning-tree region-configuration
OLT(config-mst-region)>
【Command】
spanning-tree mst nameNAME
no spanning-tree mst name
【Functional Description】
spanning-tree mst nameNAME Configure the MST domain name of the
MSTP spanning tree.
no spanning-tree mst name Restore the MST domain name of the
MSTP spanning tree to the default value.
【Parameter】
【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst name v1000ist1
【Command】
spanning-tree mst revisionREVISION-LEVEL
no spanning-tree mst revision
【Functional Description】
spanning-tree mst revisionREVISION-LEVEL Configure the revision level of
128 / 257
GPON OLT CLI Manual
the MSTP spanning tree.
no spanning-tree mst revision Restore the MSTP spanning
tree correction level to the default value, 0
【Parameter】
【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst revision 1001
【Command】
spanning-tree mst instanceINSTANCE-ID vlan VLAN-LIST
no spanning-tree mst instance INSTANCE-ID [ vlan VLAN-LIST ]
【Functional Description】
spanning-tree mst instance INSTANCE-ID vlanVLAN-LIST Map the VLAN
list to the INSTANCE-ID of the MSTP spanning tree.
Note: VLAN-LIST must be created.By default, all created VLANs are mapped to
instance 0 of the MSTP spanning tree.
no spanning-tree mst instance INSTANCE-ID vlanVLAN-LIST The VLAN-
LIST in the INSTANCE-ID mapped to the MSTP spanning tree is restored to the
default configuration, that is, in the INSTANCE-ID of the MSTP spanning tree, the
Delete VLAN list, and the deleted VLAN-LIST will be remapped into the instance 0.
no spanning-tree mst instance INSTANCE-ID The vlan list in
the INSTANCE-ID mapped to the MSTP spanning tree is restored to the default
configuration, that is, all VLANs mapped in the INSTANCE-ID of the MSTP spanning
tree are deleted, and all VLANs in the instance are remapped into the instance 0.
【Parameter】
129 / 257
GPON OLT CLI Manual
【Mode】
MST domain configuration Mode
【Note】
Null
【Example】
OLT(config-mst-region)>spanning-tree mst instance 1 vlan 1000
【Command】
spanning-tree { Enable | Disable }
【Functional Description】
spanning-tree Enable Enable the spanning tree function of the current
port
spanning-tree Disable Disable the spanning tree function of the current
port
【Parameter】
Null
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config)# interface s1/1
OLT(config-if-s1/1)# spanning-tree Enable
【Command】
spanning-tree [ mst instance INSTANCE-ID ] Port -priorityPRIORITY
no spanning-tree [ mst instance INSTANCE-ID ] Port -priority
【Functional Description】
spanning-tree Port -priorityPRIORITY Configure the port priority of
STP and RSTP, or the port priority of MSTP in instance 0 (that is, the public
130 / 257
GPON OLT CLI Manual
instance).
no spanning-tree Port -priority Restore the port priority of
STP and RSTP, or the port priority of MSTP in instance 0 (that is, the public
instance) to the default value of 128, 128÷16=8.
spanning-tree mst instanceINSTANCE-ID Port -priority PRIORITY
Configure the priority of the MSTP port in the INSTANCE-ID
no spanning-tree mst instanceINSTANCE-ID Port -priority Restore the
priority of the MSTP port in the INSTANCE-ID to the default value of 128, 128÷16=8
【Parameter】
【Mode】
SNIMode
【Note】
Null
【Example】
OLT(config-if-s1/1)# spanning-tree Port -priority 6
131 / 257
GPON OLT CLI Manual
no spanning-tree mst instanceINSTANCE-ID Port -cost Restore the path
cost of the MSTP port inside an instance to the default value....
【Parameter】
Parameter Name Form Ranges Example
at
【Mode】
SNI Mode
【Note】
This default value is automatically calculated based on the link rate of the port and the
path cost algorithm of the device.
【Example】
OLT(config-if-s1/1)# spanning-tree Port -cost 200000
16.2.4 Query
132 / 257
GPON OLT CLI Manual
methodParameter information show spanning-tree brief Show
summary of each port in STP, RSTP, or MSTP instance 0
show spanning-tree mst max-hops Show MSTP max hopsParameter
information
show spanning-tree mst region-configuration Show MSTP domain
configuration information, including the domain name, the revision level, and the
mapping between VLANs and instances.
show spanning-tree mst instance brief Show summary information for all
Ports of all instances of MSTP
show spanning-tree mst instance id INSTANCE-ID Show Port information in an
instance of MSTP
show spanning-tree mst instance id INSTANCE-IDpriority Show bridge
priority within an instance of MSTP
show spanning-tree mst instance id INSTANCE-ID interface PORT -ID
Show a Port information within an instance of MSTP
【Parameter】
Parameter Name Format Ranges Exa
mple
PORT -ID SNI Port Port type+ slot number/ Port type: s1/3
number Port number s
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config-if-s1/3)# show spanning-tree interface s1/3
133 / 257
GPON OLT CLI Manual
Chapter 17 Multicast
ConfigurationChapter
17.1 Overview
This chapter mainly describes the configuration, restore, and show of pon Port, onu
remote, switched port, and controllable multicast for IGMP multicast management.
17.2 Command
17.2.1 igmp
【Command】
igmp {Enable | Disable }
【Functional Description】
igmp Enable Enable igmp
igmp Disable Disable igmp
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp Enable
OLT(config)>igmp Disable
134 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT(config)>igmp l3mc Enable
OLT(config)>igmp l3mc Disable
【Mode】
135 / 257
GPON OLT CLI Manual
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol query-interval 10000
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol max-query-response-interval 10000
136 / 257
GPON OLT CLI Manual
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol last-member-query-interval 10000
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol last-member-query-count2
137 / 257
GPON OLT CLI Manual
no igmp protocol robust
【Functional Description】
igmp protocol robustRANGE Configuring igmp robustness variables
no igmp protocol robust Restore the igmp robustness variable
to the default value
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>igmp protocol robust 2
138 / 257
GPON OLT CLI Manual
last member query count : 2
version : v2.0
【Parameter】
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>showigmp forwarding
server vlan host vlan group Port s
----------- ----------- --------------- -------------------
Total: 0
139 / 257
GPON OLT CLI Manual
no igmp proxy server-vlan VLAN-ID Delete igmp proxy VLAN
【Parameter】
【Mode】
Global Configuration Mode
【Note】
The actual range is [2,4093],vlan1 and vlan4094 occupied internally
【Example】
OLT(config)>igmp proxy server-vlan 100
OLT(config)>no igmp proxy server-vlan 100
【Parameter】
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show igmp proxy
17.2.12 Enable
140 / 257
GPON OLT CLI Manual
【Command】
{Enable | Disable }
【Functional Description】
Enable Enable igmp proxy
Disable Disable igmp proxy
【Parameter】
【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>Enable
OLT(config-if-igmp-proxy)>Disable
17.2.13 name
【Command】
name PROXY-NAME
no name
【Functional Description】
namePROXY-NAME Set proxy Name
no name delete proxyName
【Parameter】
【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>name proxy1
OLT(config-if-igmp-proxy)>noname
17.2.14 hosts-vlan
【Command】
hosts-vlan{add VLANS | delete VLANS | clear}
141 / 257
GPON OLT CLI Manual
【Functional Description】
hosts-vlan add VLANS Add igmp proxy IGMP VLAN
hosts-vlan delete VLANS Delete igmp proxy IGMP VLAN
hosts-vlan clear Delete All igmp proxy IGMP VLAN
【Parameter】
【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>hosts-vlan add 10-200
OLT(config-if-igmp-proxy)>hosts-vlan delete 10-200
OLT(config-if-igmp-proxy)>hosts-vlan clear
【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
OLT(config-if-igmp-proxy)>igmp static-router- Port
OLT(config-if-igmp-proxy)>no igmp static-router- Port
142 / 257
GPON OLT CLI Manual
【Command】
auto-re Port Enable
auto-re Port Disable
auto-re Port interval INTERVAL
【Functional Description】
auto-re Port Enable auto re Port Enable
auto-re Port Disable auto re Port Disable
auto-re Port interval 1000 auto re Port delay config
【Parameter】
【Mode】
IGMP proxy config Mode
【Note】
Null
【Example】
143 / 257
GPON OLT CLI Manual
18.2 IP INTERFACE
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>interface vlan-interface 100
OLT(config)>no interface vlan-interface 100
144 / 257
GPON OLT CLI Manual
18.2.2 ip-address
【Command】
{ ip-address IP-ADDR [IP-MASK]| gate-way IP-GATEWAY }
no ip address [IP-ADDR]
append ip-address IP-ADDRIP-MASK
【Functional Description】
ip-address IP-ADDR configf IP address
ip-address IP-ADDRIP-MASK config IP address and mask
gate-way IP-GATEWAY config gateway
no ip addressIP-ADDR Delete added IP address
no ip-address Set IP, mask, and gateway to restore
defaults
append ip-address IP-ADDRIP-MASK Additional configuration of IP address and
mask
【Parameter】
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)> ip-address 192.168.10.10 255.255.255.0
OLT (config-if-vlan-interface-1)> gate-way 192.168.10.1
OLT (config-if-vlan-interface-1)>no ip address 192.168.20.10
OLT (config-if-vlan-interface-1)>no ip address
OLT (config-if-vlan-interface-1)>append ip-address 190.168.20.10 255.255.255.0
145 / 257
GPON OLT CLI Manual
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT (config)>management in-band vlan 2
18.2.4vlan
【Command】
vlan< VLAN-ID>
【Functional Description】
vlanVLAN-ID Modify the VLAN ID number corresponding to the inband IP
INTERFACE
【Parameter】
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>vlan 2
18.2.5 name
【Command】
name< NAME >
【Functional Description】
Modify the name of the IP INTERFACE.
【Parameter】
146 / 257
GPON OLT CLI Manual
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>name KT_INTF1
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show vlan-interfaceall
147 / 257
GPON OLT CLI Manual
148 / 257
GPON OLT CLI Manual
【Functional Description】
management out-band ip-address IP-ADDR Config IP Address
management out-band ip-address IP-ADDRIP-MASK Config IP Address
and Mask
management out-band gate-way IP-GATEWAY Config Gateway
no management out-band ip Set IP, mask, and gateway to
restore defaults
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>management out-band ip-address 192.168.2.5 255.255.255.0
OLT(config)>no management out-band ip
149 / 257
GPON OLT CLI Manual
18.4 PING
18.4.1 ping
【Command】
pingIP-ADDR[ -t ]
【Functional Description】
pingIP-ADDR PING IP Address (3 times)
pingIP-ADDR -t PING IP Address (Continuous ping)
【Parameter】
【Mode】
User Mode or Enable Mode
【Note】
Null
【Example】
OLT(pri)>ping 192.168.2.100
18.5 SSH
18.5.1 ssh-server
【Command】
ssh-server{Enable | Disable }
【Functional Description】
ssh-server Enable Enable ssh server function
ssh-server Disable Disable ssh server function
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ssh-server Enable
OLT(config)>ssh-server Disable
150 / 257
GPON OLT CLI Manual
18.6 TELNET
18.6.1 telnet
【Command】
telnetIP-ADDR [TCP- PORT ]
【Functional Description】
telnet IP-ADDR telnet IP Address
telnet IP-ADDR TCP- PORT Use the specified tcp Port number telnet
host Address
【Parameter】
【Mode】
Enable Mode
【Note】
Null
【Example】
OLT(pri)>telnet 192.168.2.100
OLT(pri)>telnet 192.168.2.100 5000
151 / 257
GPON OLT CLI Manual
18.6.2 telnet-server
【Command】
telnet-serverTCP- PORT
no telnet-server
【Functional Description】
telnet-server TCP- PORT Specifies the TCP Port number that the
server listens on.
no telnet-server Restore telnet server default configuration
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>telnet-server 5000
OLT(config)> no telnet-server
152 / 257
GPON OLT CLI Manual
Chapter 19 SNTP
19.1 Overview
The OLT supports the Simple Network Time Synchronization Protocol - SNTP. This
chapter is a description of the SNTP function.
19.2 Command
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp Enable
OLT(config)>sntp Disable
OLT(config)>no sntp
153 / 257
GPON OLT CLI Manual
synchronization
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp interval 60
OLT(config)>no sntp interval
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>sntp server 192.168.2.100
OLT(config)>no sntp server
154 / 257
GPON OLT CLI Manual
showsntp
【Functional Description】
Show sntp function info
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)>show sntp
155 / 257
GPON OLT CLI Manual
Chapter 20 SNMP
20.1 Overview
20.2 Command
20.2.1 snmpcommunity
【Command】permission
snmpcommunityCOMMUNITY {ro | rw}
no snmpcommunity COMMUNITY
【Functional Description】
snmpcommunity COMMUNITY ro Add a read-only SNMP community
snmpcommunity COMMUNITY rw Add a read-write SNMP community
no snmpcommunity COMMUNITY Delete community
【Parameter】
【Mode】
Global Configuration Mode。
【Note】
【Example】
OLT(config)> snmpcommunity public ro
OLT(config)> snmpcommunity public wr
OLT(config)> no snmpcommunity public
【Functional Description】
156 / 257
GPON OLT CLI Manual
Show SNMP community。
【Parameter】
【Mode】
All Mode。
【Note】
【Example】
OLT(config)> show snmpcommunity
20.2.3 snmphost
【Command】
snmphostTRAP-IPCOMMUNITY
no snmphost TRAP-IP
【Functional Description】
snmphost TRAP-IPCOMMUNITY add Trap host info
no snmphost TRAP-IP Delete Trap host info
【Parameter】
【Mode】
Global Configuration Mode。
【Note】
【Example】
OLT(config)> snmphost 192.168.0.1 public
OLT(config)> no snmphost 192.168.0.1
Show snmphost
【Functional Description】
Show Trap host info
【Parameter】
【Mode】
157 / 257
GPON OLT CLI Manual
All Mode。
【Example】
OLT(config)> show snmphost
20.2.5 snmptrap
【Command】
snmptrap{count COUNT_VAL| interval INTERVAL_VAL}
【Functional Description】
snmptrap count COUNT_VAL Set snmp trap send times
snmptrap interval INTERVAL_VAL Set snmp trap send interval
no snmptrap count Set snmp trap send times to restore
defaults
【Parameter】
【Mode】
Global Configuration Mode。
【Note】
Trap times,value of 0 means no limit ,Trap interval Unit is Second。
【Example】
OLT(config)> snmptrap count 5
OLT(config)> snmptrap interval 200
OLT(config)>no snmptrap count
OLT(config)>no snmptrap interval
【Functional Description】
Show SNMP trap Parameter。
【Parameter】
158 / 257
GPON OLT CLI Manual
【Mode】
All Mode。
【Note】
【Example】
OLT(config)> show snmptrap
159 / 257
GPON OLT CLI Manual
Chapter 21 BCMP
21.1 Overview
The BCMP protocol is supported on the OLT device to automatically discover network
devices and automatically configure the management information such as IP on the
discovered network devices so that they can be managed and monitored.
This section describes BCMP related commands.
21.2 Command
160 / 257
GPON OLT CLI Manual
value
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>bcmp relay Port 5000
OLT(config)>nobcmp relay Port
161 / 257
GPON OLT CLI Manual
number
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Match bcmp server management vlan
【Example】
OLT(config)>bcmp vlan 4041
21.2.6 showbcmp
【Command】
showbcmp
【Functional Description】
Show BCMP config info
【Parameter】
162 / 257
GPON OLT CLI Manual
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show bcmp
21.2.7 showbcmp-device
【Command】
showbcmp-device
【Functional Description】
Show BCMP Device Information
【Parameter】
Null
【Mode】
All Mode
【Note】
Null
【Example】
OLT(pri)>show bcmp-device
21.2.8 no bcmp-device
【Command】
nobcmp-deviceMAC-ADDR
【Functional Description】
Delete the BCMP device information recorded on the OLT by using the specified
MAC address.
【Parameter】
163 / 257
GPON OLT CLI Manual
Parameter Name Format Ranges Example
MAC-ADDR MAC Unicast mac 0000.4567.ABCD
XXXX.XXXX.XXXX
Address Address
or
XX-XX-XX-XX-XX-XX
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>no bcmp-device 0000.4567.ABCD
164 / 257
GPON OLT CLI Manual
22.1 Overview
This chapter is primarily a description of ARP and static routing and dynamic routing
(RIP) features.
22.2 ARP
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>arp static 192.168.2.5 0000.4567.ABCD 100 s1/5
OLT(config)>noarp 192.168.2.5
22.2.2 gratuitous-arp
165 / 257
GPON OLT CLI Manual
【Command】
gratuitous-arp {Enable | Disable }
【Functional Description】
gratuitous-arp Enable enable gratuitous arp function
gratuitous-arp Disable Disable gratuitous arp function
【Parameter】
Null
【Mode】
vlan-interface Mode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>gratuitous-arp Enable
OLT (config-if-vlan-interface-1)>gratuitous-arp Disable
166 / 257
GPON OLT CLI Manual
table
noip route subnet IP-ADDRIP-MASK Delete static routing table
【Parameter】
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ip route subnet add 192.168.0.100 255.255.255.0 10.2.18.1
OLT(config)>no ip route 192.168.0.100 255.255.255.0
【Mode】
Global Configuration Mode
【Note】
Null
【Example】
OLT(config)>ip route default 10.2.18.1
OLT(config)>no ip route default
167 / 257
GPON OLT CLI Manual
【Functional Description】
show ip route Show All route table
show ip route IP-ADDRIP-MASK By specifying the network segment show
routing table
【Parameter】
【Mode】
All Mode
【Note】
Null
【Example】
OLT(config)> show ip route
OLT(config)>show ip route 192.168.0.100 255.255.255.0
22.3.4 urpf
【Command】
urpf {Enable | Disable }
【Functional Description】
urpf Enable Enable unicast reverse path check
urpf Disable Disable unicast reverse path check
【Parameter】
Null
【Mode】
vlan-interfaceMode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>urpf Enable
OLT (config-if-vlan-interface-1)>urpf Disable
168 / 257
GPON OLT CLI Manual
22.4 RIP
22.4.1 rip
【Command】
rip {Enable | Disable }
【Functional Description】
rip Enable enable rip function
rip Disable Disable rip function
【Parameter】
Null
【Mode】
Global Configuration Mode,vlan-interface Mode
【Note】
Global Configuration ModeIs the global switch,vlan-interface Mode is Local switch
【Example】
OLT(config)> rip Enable
OLT(config)> rip Disable
OLT (config-if-vlan-interface-1)>rip Enable
OLT (config-if-vlan-interface-1)>rip Disable
169 / 257
GPON OLT CLI Manual
22.4.5 ripreceive
170 / 257
GPON OLT CLI Manual
【Command】
ripreceive {V1 [V2] | V2 [V1]}
no rip receive {V1 [V2] | V2 [V1]}
【Functional Description】
rip receive V1 Enable receiving end rip protocol version number v1
rip receive V2 Enable receiving end rip protocol version number v2
rip receive V1 V2 Enable receiving end rip protocol version number v1,v2
no rip receive V1 Disable receiving end rip protocol version number v1
no rip receive V2 Disable receiving end rip protocol version number v2
no rip receive V1 V2 Disable receiving end rip protocol version number v1,v2
【Parameter】
Null
【Mode】
vlan-interfaceMode
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>rip receive V1
OLT (config-if-vlan-interface-1)>rip receive V2
OLT (config-if-vlan-interface-1)>rip receive V1 V2
OLT (config-if-vlan-interface-1)>no rip receive V1
OLT (config-if-vlan-interface-1)>no rip receive V2
OLT (config-if-vlan-interface-1)>no rip receive V1 V2
【Mode】
All Mode
171 / 257
GPON OLT CLI Manual
【Note】
Null
【Example】
OLT (config-if-vlan-interface-1)>show rip INTF_1
22.4 OSPF
22.4.1 ospf
【Command】
ospf {Enable | Disable }
【Functional Description】
ospf Enable Enable ospf function
ospf Disable Disable ospf function
【Parameter】
Null
【Mode】
Global Configuration Mode
【Note】
【Example】
172 / 257
GPON OLT CLI Manual
【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf router-id 1.1.1.1
173 / 257
GPON OLT CLI Manual
【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf network 20.0.0.0 mask 255.255.255.0 area 0
GPT-F88B(config):GOD# no ospf network 20.0.0.0 mask 255.255.255.0 area 0
【Parameter】
【Mode】
Global Configuration Mode
【Note】
【Example】
GPT-F88B(config):GOD# ospf redistribute connected
GPT-F88B(config):GOD# no ospf redistribute connected
174 / 257
GPON OLT CLI Manual
【Mode】
Global Configuration Mode
【Note】
The virtual link command needs to be configured on the ABR. The ospf-area-id
represents the area ID of the transport area, and the ip-address is the router-id of the
peer ABR. For detailed introduction, please refer to the requirements specification
document.
【Example】
GPT-F88B(config):GOD# ospf area 9 virtual-link 1.1.1.1
GPT-F88B(config):GOD# no ospf area 9 virtual-link 1.1.1.1
【Mode】
VLAN Interface Mode
【Note】
默认值为 1.
【Example】
GPT-F88B(config-if-vlan-interface-1):GOD# ospf priority 4
GPT-F88B(config-if-vlan-interface-1):GOD# no ospf priority
175 / 257
GPON OLT CLI Manual
176 / 257
GPON OLT CLI Manual
【Command】
show ospf interface
【Functional Description】
show ospf interface Show ospf interface information
【Parameter】
【Mode】
All Mode
【Note】
【Example】
177 / 257
GPON OLT CLI Manual
178 / 257
GPON OLT CLI Manual
22.5 BGP
22.5.1 bgp
【Command】
bgp <bgp-as-id>
no bgp <bgp-as-id>
179 / 257
GPON OLT CLI Manual
【Functional description】
bgp <bgp-as-id> enter bgp mode,build bgp
no bgp <bgp-as-id> delete bgp
【Parameter】
【Mode 】
All modeconfigureModeAll mode configure
【Note】
【Example】
GPT-C448B(config)> bgp 100
GPT-C448B(config-bgp-100)>
【Mode】
BGP configure Mode
【Note】
【Example】
GPT-C448B(config-bgp-100)> bgp router-id 1.1.1.1
GPT-C448B(config-bgp-100)> no bgp router-id
180 / 257
GPON OLT CLI Manual
【Functional description】
bgp peer <ip-address> as-number <bgp-as-id> configurepeer
no bgp peer <ip-address> as-number <bgp-as-id> 删除 peer
【Parameter】
【Mode】
BGP configure Mode
【Note】
Since the loopback port is not supported, the ip-address is usually configured as the
ipaddress of the peer vlan-intf.
【Example】
GPT-C448B(config-bgp-100)> bgp peer 192.168.2.1 as-number 200
GPT-C448B(config-bgp-100)> no bgp peer 192.168.2.1 as-number 200
【Parameter】
【Mode】
BGPconfigureMode
【Note】
The existence of the routing table can be advertised by the network.
【Example】
GPT-C448B(config-bgp-100)>bgp network 192.168.2.1 mask 255.255.255.0 GPT-
C448B(config-bgp-100)> no bgp network 192.168.2.1 mask 255.255.255.0
【Command】
bgp redistribute {connected|static|rip|ospf}
no bgp redistribute {connected|static|rip|ospf}
【Functional description】
Bgp redistribute {connected|static|rip|ospf} configurebgp introduces other protocol routing
information
No bgp redistribute {connected|static|rip|bgp} Delete bgp to import other protocol routing
information
【Parameter】
【Mode】
BGPconfigureMode
【Note】
【Example】
GPT-F88B(config):GOD# bpg redistribute connected
GPT-F88B(config):GOD# no bgp redistribute connected
182 / 257
GPON OLT CLI Manual
【Functional description】
show bgp peer Display bgp neighbor information
【Parameter】
【Mode】
All Mode
【Note】
【Example】
183 / 257
GPON OLT CLI Manual
184 / 257
GPON OLT CLI Manual
Chapter 23 DHCPconfigure
This chapter is mainly a description of DHCP CLIENT and DHCP SNOOPING and
DHCP RELAY function。
23.2.1 dhcp
【Command】
dhcp {enable | disable}
【Functional description】
dhcp enable Enable dhcp clientfunction
dhcp disable disable dhcp clientfunction
【Parameter】
null
【Mode】
vlan-interface interface Mode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp enable
OLT (config-if-vlan-interface-1)>dhcp disable
185 / 257
GPON OLT CLI Manual
null
【Example】
OLT (config)>dhcp-client autoconfig enable
OLT (config)>dhcp-client autoconfig disable
23.3.1 dhcp-snooping
【Command】
dhcp-snooping {enable | disable}
【Functional description】
dhcp enable Enabledhcp snoopingfunction
dhcp disable disabledhcp snoopingfunction
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>dhcp- snooping enable
OLT (config)>dhcp- snooping disable
186 / 257
GPON OLT CLI Manual
【Mode】
187 / 257
GPON OLT CLI Manual
All modeconfigureMode
【Note】
null
【Example】
OLT (config)> dhcp-snooping option82 enable
OLT (config)> dhcp-snooping option82 disable
OLT (config)> dhcp-snooping option82 strategy drop
OLT (config)> dhcp-snooping option82 strategy keep
OLT (config)> dhcp-snooping option82 strategy replace
OLT (config)> dhcp-snooping option82 replace circuit-id hex 0x010f1e
OLT (config)> dhcp-snooping option82 replace circuit-id ascii kingtype
OLT (config)> dhcp-snooping option82 replace remote-id hex 0x010f1e
OLT (config)> dhcp-snooping option82 replace remote-id ascii kingtype
【Command】
ipv6 dhcp snooping {enable | disable}
【Functional description】
ipv6 dhcp snooping enable Enabledhcpv6 snoopingfunction
ipv6 dhcp snooping disable disabledhcpv6 snoopingfunction
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT (config)>ipv6 dhcp snooping enable
OLT (config)> ipv6 dhcp snooping disable
【Mode】
All modeconfigureMode
【Note】
null
【Example】
189 / 257
GPON OLT CLI Manual
23.4.1 dhcp-relay
【Command】
dhcp-relay {enable | disable | dhcp-server IP-ADDR}
【Functional description】
dhcp-relay enable Enabledhcp relayfunction
dhcp-relay disable disabledhcp relayfunction
190 / 257
GPON OLT CLI Manual
【Mode】
vlan-interfaceMode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp-relay enable
OLT (config-if-vlan-interface-1)> dhcp-relay disable
OLT (config-if-vlan-interface-1)> dhcp-relay dhcp-server 192.168.2.100
【Mode】
vlan-interface interface Mode
【Note】
null
【Example】
OLT (config-if-vlan-interface-1)>dhcp-relay option60 string msft interface-ip
191 / 257
GPON OLT CLI Manual
3.1.1.1dhcp-
server6.1.1.1
OLT (config-if-vlan-interface-1)> dhcp-relay option60 string default interface-ip 3.1.1.1
dhcp-
server 6.1.1.1
OLT (config-if-vlan-interface-1)> no dhcp-relay option60all
OLT (config-if-vlan-interface-1)> no dhcp-relay option60string default
OLT (config-if-vlan-interface-1)> no dhcp-relay option60string msft
192 / 257
KingType PONCommand 行参考
Manual
Chapter 24 PPPOEconfigure
24.2 PPPOE+
25.2 Command
25.2.1 showoptical-module
【Command】
Show optical-module brief
Show optical-module PORT
【Functional description】
Show optical-module brief Shows easy information about all in-position optical
modules inserted in PON port and SNI port
Show optical-module PORT shows the details of a single optical module inserted in
the PON port or SNI port.
【Parameter】
194
KingType PONCommand 行参考
Manual
26.2.1 batteryenergy-saving
【Command】
battery energy-saving {enable | disable}
【Functional description】
Battery energy-saving enable
Battery energy-saving disable
【Parameter】
null
【Mode】
All modeconfigureMode
【Note】
Only GPT-F88B use。
【Example】
OLT(config)> battery energy-saving enable
OLT(config)> battery energy-saving disable
26.2.2 showbatterysample
【Command】
Show battery sample
【Functional description】
Show battery sample Display battery basic information and sample
data【Parameter】
null
【Mode】
195
KingType PONCommand 行参考
Manual
All modeconfigureMode
【Note】
Only GPT-F88B use。
【Example】
OLT(config)>Show battery sample
197
KingType PONCommand 行参考
Manual
27.2.1 admin-status
【Command】
admin-status{up | down}
【Functional description】
Admin-status up EnablePON optical signal
Admin-status down disablePON optical signal
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)>admin-status up
OLT (config-if-g2/1)>admin-status down
27.2.2 auto-find
【Command】
auto-find { disable | enable [discover-interval [PON-DISCOVER-INTERVAL]] }
【Functional description】
auto-find enable EnablePONportONUdiscoverfunction
auto-find disable disablePONportONUdiscoverfunction
auto-find enable discover-intervalPON-DISCOVER-INTERVAL
EnablePONportONUdiscoverfunction and set
discover Intervals
198
KingType PONCommand 行参考
Manual
【Parameter】
27.2.3 auth-mode
【Command】
auth-mode { auto[offline-delete | offline-do-nothing] | loid | loid-pwd | sn }
【Functional description】
Auth-modeauto
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is not deleted.
Auth-modeautooffline-do-nothing
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is not deleted.
Auth-modeautooffline-delete
Set the ONU authentication mode to automatic authentication. When an ONU is offline, it
is automatically deleted.
Auth-mode loid Set the ONU authentication mode to logical ID authentication.
Auth-mode loid-pwd Set the ONU authentication mode to logical ID plus password
authentication.
Auth-mode sn Set ONU authentication mode to serial number authentication
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> auth-mode auto
OLT (config-if-g2/1)> auth-mode autooffline-do-nothing
OLT (config-if-g2/1)> auth-mode autooffline-delete
OLT (config-if-g2/1)> auth-mode loid
199
KingType PONCommand 行参考
Manual
OLT (config-if-g2/1)> auth-mode loid-pwd
OLT (config-if-g2/1)> auth-mode sn
27.2.4 rogue-onu-detect
【Command】
rogue-onu-detect { disable | enable }
【Functional description】
Rogue-onu-detectenable EnablePONport rogue ONU detection function
Rogue-onu-detectdisable disablePONport rogue ONU detection function
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
The rogue ONU detects the functionEnable and then uses the showCommand
interface to view the information. If the Rogue ONU Exist value is yes, there is a simple
long-lighting behavior of the ONU under the PONport, and the administrator needs to
manually check the fault. After the troubleshooting is completed, it is recommended that
the userogue-onu-detectdisableCommanddisable rogue ONU detect the function to avoid
system resource consumption.
【Example】
OLT (config-if-g2/1)> rogue-onu-detectenable
OLT (config-if-g2/1)> rogue-onu-detectdisable
27.2.5 showinterface
【Command】
show interface { PORT-GROUP] }
show interface brief
【Functional description】
show interface PORT-GROUP Display PONport related configure information
【Parameter】
200
KingType PONCommand 行参考
Manual
OLT (config)> show interface g2/1
27.2.6 showauth-mode
【Command】
showauth-mode
【Functional description】
show auth-mode 显示 PONportONU 认证 Mode
【Parameter】
null
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)> show auth-mode
203
KingType PONCommand 行参考
Manual
integer
【Mode】
PONportconfigureMode
【Note】
null
【Example】
OLT (config-if-g2/1)>onu reboot 1
OLT (config-if-g2/1)>onu reboot 1-5
OLT (config-if-g2/1)>onu reboot all
206
KingType PONCommand 行参考
Manual
27.3.10 upstream-fec
【Command】
upstream-fec {disable | enable}
【Functional description】
upstream-fec enable enable ONU upstream fecfunction
upstream-fec disable disableONU upstream fecfunction
207
KingType PONCommand 行参考
Manual
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
You should All modeconfigure or PONportconfigure enter ONUconfigureMode set
configure。
【Example】
OLT(config-if-gonu2/8:1)> upstream-fec enable (Single ONU situation)
OLT(config-if-gonu2/8:1)> upstream-fec disable
OLT(config-if-gonus)> upstream-fec enable (more ONU situation)
OLT(config-if-gonus)>upstream-fec disable
27.3.11 isolation
【Command】
isolation {disable | enable}
【Functional description】
isolationenable enableONU 的端 port 隔离 function
isolation disable disableONU 的端 port 隔离 function
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
All modeconfigure or PONportconfigure enter ONUconfigureMode set configure。
【Example】
OLT(config-if-gonu2/8:1)> isolation enable
OLT(config-if-gonu2/8:1)> isolation disable
OLT(config-if-gonus)> isolation enable
OLT(config-if-gonus)> isolation disable
27.3.12 unknown-mac
【Command】
unknown-mac {discard | forward}
【Functional description】
unknown-macdiscard 指定的 ONU 丢弃未知单播
unknown-mac forward 指定的 ONU 转发未知单播
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
208
KingType PONCommand 行参考
Manual
需要在 All modeconfigureorPONportconfigureenterONUconfigureMode 进行 configure。
【Example】
OLT(config-if-gonu2/8:1)>unknown-mac discard
OLT(config-if-gonu2/8:1)>unknown-mac forward
OLT(config-if-gonus)>unknown-mac discard
OLT (config-if-gonus)>unknown-mac forward
27.3.13 mac-aging-time
【Command】
mac-aging-time<MAC-AGING-TIME>
【Functional description】
mac-aging-time MAC-AGING-TIME 设置指定 ONU 的 MACaddress 老化时间
【Parameter】
27.3.14 mac-learning
【Command】
mac-learning{disable | enable}
【Functional description】
mac-learningenable enable ONU MACaddress learn function
mac-learningdisable disable ONU MACaddresslearnfunction
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
All mode configure or PONportconfigureenterONUconfigureMode set configure。
【Example】
OLT(config-if-gonu2/8:1)>mac-learning enable
OLT(config-if-gonu2/8:1)>mac-learning disable
OLT(config-if-gonus)>mac-learning enable
OLT(config-if-gonus)>mac-learning disable
209
KingType PONCommand 行参考
Manual
27.3.15 mac-limit
【Command】
mac-limit<MAC-LIMIT>
【Functional description】
mac-limit MAC-LIMIT Set the number of MACaddresslearns of the specified
ONU.
【Parameter】
27.3.16 multicast-config-mode
【Command】
multicast-config-mode<GPON-VERSION>
【Functional description】
multicast-config-mode GPON-VERSION Set the multicast configuration mode of the
specified ONU.
【Parameter】
VERSION version
【Mode】
ONUconfigureMode
【Note】
CTC: China Telecom Standard;
ITU-T-A0: International Telecommunication Union GPON OMCI Standard G.988 A0 (Basic
Message Format) version;
ITU-T-B3: GPON OMCI standard G.988 B3 (Support Extended Message Format) version
210
KingType PONCommand 行参考
Manual
of the International Telecommunication Union;
You need to configure in All modeconfigureorPONportconfigureenterONUconfigureMode.
【Example】
OLT(config-if-gonu2/8:1)>multicast-config-mode ctc
OLT(config-if-gonu2/8:1)>multicast-config-modeitu-t-a0
OLT(config-if-gonu2/8:1)>multicast-config-modeitu-t-b3
OLT(config-if-gonus)>multicast-config-modectc
OLT(config-if-gonus)>multicast-config-modeitu-t-a0
OLT(config-if-gonus)>multicast-config-modeitu-t-b3
27.3.17 optical-node
【Command】
optical-node {admin-status {down | up}| agc-power<AGC-POWER>| channel-
number<CHANNEL-NUMBER>}
【Functional description】
optical-node admin-status down disable optical receiver
optical-node admin-status up enable optical receiver
Optical-node agc-powerAGC-POWER Set the optical machine to control the
optical power
Optical-node channel-number Set the number of optical channels
【Parameter】
NUMBER
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT(config-if-gonu2/8:1)> optical-node admin-status up
OLT(config-if-gonu2/8:1)>optical-node admin-status down
OLT(config-if-gonu2/8:1)>optical-node agc-power -5
OLT(config-if-gonus)> optical-node admin-status up
OLT(config-if-gonus)> optical-node agc-power -5
OLT(config-if-gonus)> optical-node channel-number 40
211
KingType PONCommand 行参考
Manual
213
KingType PONCommand 行参考
Manual
214
KingType PONCommand 行参考
Manual
show gpon-onu optical-info { <GONUS> | all }
【Functional description】
Show gpon-onu optical-info<GONUS> Display information about the ONU
optical module
Show gpon-onu optical-info all Displays the optical module information of all ONUs
on the OLT.
【Parameter】
215
KingType PONCommand 行参考
Manual
216
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-onu software-info g2/1:1
217
KingType PONCommand 行参考
Manual
After the upgrade is complete, the ONU switches from mirror 1 to mirror 0, and the
corresponding mirror information changes.
218
KingType PONCommand 行参考
Manual
27.4.1 eth-portadmin-status
【Command】
eth-port<UNI-PORT>admin-status{disable | enable}
【Functional description】
eth-portUNI-PORTadmin-statusdisable disable specifies the ONU Ethernet port
eth-portUNI-PORT admin-statusenable enable specifies the ONU Ethernet port
【Parameter】
219
KingType PONCommand 行参考
Manual
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) >eth-port1gpon-multicast-profile 1
220
KingType PONCommand 行参考
Manual
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) >show gpon-uni info 1
27.5.1 eth-portstatistics
221
KingType PONCommand 行参考
Manual
【Command】
eth-port statistics {15minutes | 24hours}{disable | enable}
【Functional description】
Eth-port statistics 15minutes enable enableONUall Ethernet port15min interval
eth-port performance statistics function
Eth-port statistics 15minutes disable disableONUall Ethernet port15min interval eth-
port performance statistics function
Eth-port statistics 24hours enable enableONUall Ethernet port24hour interval eth-
port performance statistics function
Eth-port statistics 24hours disable disableONUall Ethernet port24hour interval eth-
port performance statistics function
【Parameter】
null
【Mode】
ONUconfigureMode
【Note】
null
【Example】
OLT (config-if-gonu2/1:1) > eth-port statistics 15minutes enable
OLT (config-if-gonu2/1:1) > eth-port statistics 15minutes disable
OLT (config-if-gonu2/1:1) > eth-port statistics 24hours enable
OLT (config-if-gonu2/1:1) > eth-port statistics 24hours disable
222
KingType PONCommand 行参考
Manual
OLT (config-if-gonu2/1:1) > gemport statistics 15minutes disable
OLT (config-if-gonu2/1:1) > gemport statistics 24hours enable
OLT (config-if-gonu2/1:1) > gemport statistics 24hours disable
223
KingType PONCommand 行参考
Manual
224
KingType PONCommand 行参考
Manual
Show gemport statistics < UNI-PORT> 24hour-current Displays statistics for the
specified gemport within 24 hours
Show gemport statistics < UNI-PORT> 24hour-history Display statistics for the
specified 24-hour period before the specified gemport
Show gemport statistics < UNI-PORT> accumulated Shows performance statistics
for the specified gemport until now
[Parameter]
27.6.1 gpon-dba-profile
【Command】
gpon-dba-profile{<PROFILE-ID> | <PROFILE-NAME>}
type1 fix <uint 256-1152000>
225
KingType PONCommand 行参考
Manual
type2 assured <uint 256-1152000>
type3 assured <uint 256-1152000> max <uint 256-1152000>
type4 max <uint 256-1152000>
type5 fix <uint 256-1152000>assured <uint 256-1152000> max <uint 256-
1152000>
【Functional description】
Gpon-dba-profile PROFILE-ID type1 fix <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets a fixed bandwidth.
Gpon-dba-profile PROFILE-ID type2 assured <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the guaranteed
bandwidth.
Gpon-dba-profile PROFILE-ID type3assured <uint 256-1152000>max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the guaranteed
bandwidth and maximum bandwidth.
Gpon-dba-profile PROFILE-ID type4 max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets the maximum
bandwidth.
Gpon-dba-profile PROFILE-ID type5 fix <uint 256-1152000>assured <uint 256-1152000>
max <uint 256-1152000>
Create an upstream dynamic bandwidth allocation template that sets fixed bandwidth,
guaranteed bandwidth, and maximum bandwidth.
【Parameter】
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>gpon-dba-profile 1 type1 fix 51200
OLT(config)> gpon-dba-profile 2 type2 assured 51200
OLT(config)> gpon-dba-profile 3 type3 assured 51200 max 102400
OLT(config)> gpon-dba-profile 4 type4 max 115200
OLT(config)> gpon-dba-profile 5 type5 fix 1024 assured 10240 max 20480
27.6.2 gpon-traffic-limit-profile
【Command】
226
KingType PONCommand 行参考
Manual
gpon-traffic-limit-profile{<PROFILE-ID> | <PROFILE-NAME>} cir <uint 256-
1024000> pir <uint 256-1024000>type1 fix <uint 256-1152000>
【Functional description】
gpon-traffic-limit-profile<PROFILE-ID> cir <uint 256-1024000> pir <uint 256-
1024000>
Create a flow control template identified by id, cir is the guaranteed rate, and pir is the peak
rate.【Parameter】
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)> gpon-traffic-limit-profile 1 cir 102400 pir 115200
27.6.3 gpon-multicast-acl-profile
【Command】
gpon-multicast-acl-profile<PROFILE-ID>
gpon-multicast-acl-profile<PROFILE-NAME>
【Functional description】
gpon-multicast-acl-profile<PROFILE-ID>
Entergpon multicast access control list templateconfigureMode, if the template whose ID
is <PROFILE-ID>orName is <PROFILE-NAME> does not exist, create the template after
configure is completed, if the template already exists, modify the content of the template
After the entergpon multicast multicast access control list templateconfigureMode can be
configured as follows:
Add-rule<MULTICAST-ACL-RULE-ID> [gemport <GEM-PORT-ID>] vid <VLAN-ID> group-
start {<IP-ADDR> | < IPV6-ADDR> } group-end {<IP -ADDR> | < IPV6-ADDR>}
The Command indicates that a multicast access control rule is added according to the input
Parameter.
Delete-rule<MULTICAST-ACL-RULE-ID>
The Command indicates that the specified multicast acl rule is deleted.
Preview<MULTICAST-ACL-RULE-ID> time<PREVIEW-TIME> interval <PREVIEW-
INTERVAL-TIME> repeat-times<PREVIEW-REPEAT-TIME> reset-time <RESET-TIMES>
Create a preview rule for a TV channel based on the multicast acl rule
【Parameter】
227
KingType PONCommand 行参考
Manual
27.6.4 gpon-multicast-profile
【Command】
228
KingType PONCommand 行参考
Manual
gpon-multicast-profile<PROFILE-ID>
gpon-multicast-profile<PROFILE-NAME>
【Functional description】
gpon-multicast-profile<PROFILE-ID>
Entergpon multicast templateconfigureMode, if the template whose ID is <PROFILE-
ID>orName is <PROFILE-NAME> does not exist, create the template after configure is
completed, and modify the content of the template if the template already exists.
After entergpon multicasttemplateconfigureMode can be configured as follows:
Igmp-version{ igmp-v2 | igmp-v3 | mld-v1-igmp-v2 | mld-v2-igmp-v3 }
Gmp-versionigmp-v2configure multicast version is igmp-v2
Gmp-versionigmp-v3configure multicast version is igmp-v3
Gmp-versionmld-v1-igmp-v2configure multicast supports both mld-v1 and igmp-v2
Gmp-versionmld-v2-igmp-v3configure multicast supports both mld-v2 and igmp-v3
Igmp-function{snooping-only | snooping-proxy-report | proxy}
Igmp-functionsnooping-only only supports snooping
Igmp-functionsnooping-proxy-report supports snooping and proxy reports
Igmp-functionproxy supports proxy
Fast-leave{disable | enable}
Fast-leave enable enable fast off-function
Fast-leave disable disable fast off-function
Dynamic-acl-profile<PROFILE-ID>
Bind the dynamic access control list template
Static-acl-profile<PROFILE-ID>
Bind static access control list template
Upstream-vlan{add <VLAN-ID> | replace <VLAN-ID> | transparant }
Upstream-vlan add VLAN-ID multicast add uplink vlan
Upstream-vlan replace multicast replacement upstream vlan
Upstream-vlan transparent Multicast upstream vlan is set to transparent mode
Downstream-vlan{strip | add <VLAN-ID> | replace <VLAN-ID> | transparant}
Downstream-vlan add VLAN-ID multicast add downlink vlan
Downstream-vlan replace multicast replacement downstream vlan
Downstream-vlan transparent Multicast downlink vlan is set to transparent mode
Downstream-vlanstrip multicast downlink vlan is stripped
【Parameter】
229
KingType PONCommand 行参考
Manual
【Note】
null
【Example】
OLT(config)>gpon-multicast-profile 1
OLT(config)>dynamic-acl-profile 1
OLT(config)>igmp-version igmp-v3
OLT(config)>fast-leave enable
OLT(config)>upstream-vlan replace 71
OLT(config)>downstream-vlan strip
OLT(config)> exit
27.6.5 gpon-stream-profile
【Command】
gpon-stream-profile<PROFILE-ID>
gpon-stream-profile<PROFILE-NAME>
【Functional description】
gpon-stream-profile<PROFILE-ID>
Enter the stream templateconfigureMode, if the template whose ID is <PROFILE-
ID>orName is <PROFILE-NAME> does not exist, create the template after configure is
completed, and modify the content of the template if the template already exists.
After entering the stream templateconfigureMode, you can do the following configure:
Mapping-mode{transparent | vlan | priority | vlan-priority}
Mapping-mode transparentconfigure stream template is transparent mode
Mapping-mode vlanconfigure stream template is vlanMode
Mapping-mode priorityconfigure stream template is the priority mode
Mapping-mode vlan-priorityconfigure stream template is vlan+priority Mode
Add{tcont {<TCONT-ID>gpon-dba-profile {<PROFILE-ID> | <PROFILE-NAME>}
| gemport {<GEMPORT-ID>tcont<TCONT-ID>}}
Create a tcont and bind an existing upstream dbatemplate to the uplink speed limit.
Create a gemport and bind the upstream tcont. Optionally set the vlan and priority mask.
Gem-mapping<GEMPORT-ID><MAPPING-ID>[vlan<VLAN-ID>] [priority<PRIORITY>]
No gem-mapping<GEMPORT-ID><MAPPING-ID>
Traffic-limit-profilegemport<GEMPORT-ID> {upstream | downstream} <PROFILE-ID>
Gemport binding flow control template implements gemport-based uplink and downlink
speed limit
Qinq-vlangemport <GEMPORT-ID> vlan <VLAN-ID> [priotity <VLAN-PRIORITY>]
Gemport sets qinq vlan, optional configurevlan priority
Modify tcont <TCONT-ID> dba-profile {<PROFILE-ID> | <PROFILE-NAME>}
Modify the dbatemplate of the tcont binding
Delete { tcont <TCONT-ID> | gemport <GEMPORT-ID> }
Delete the created gemportortcont
【Parameter】
230
KingType PONCommand 行参考
Manual
27.6.6 gpon-service-profile
【Command】
gpon-service-profile{<PROFILE-ID> | <PROFILE-NAME>}
onu-type {adaptive | sfu | hgu}
mac-aging-time< MAC-AGING-TIME>
mac-learning {enable | disable}
port-number eth-port <ETH-PORT-NUMBER>veip< VEIP-PORT-NUMBER>
eth-port <ETH-PORT-NUMBER> {
flow-control {enable | disable} |
max-frame-size<MAX-FRAME-SIZE> |
231
KingType PONCommand 行参考
Manual
mac-limit<MAC-LIMIT> |
gpon-traffic-limit-profile {upstream | downstream} <PROFILE-ID> |
vlan{
mode {transparent | tag | trunk | translation | aggregation | pool |
qinq} |
pvid<VLAN-ID> [ <PRIORITY> ] |
trunk {add < VLAN-LIST> | delete < VLAN-LIST> | clear} |
translation {add <VLAN-ID><VLANS-ID> | delete <VLAN-LIST> |
clear } |
aggregation {add<VLAN-LIST><VLAN-ID> | delete <VLAN-LIST> |
clear }
qinq {<VLAN-ID>by untagged ethernet-type {ipv4 | arp | pppoe |
ipv6} }
}
}
no eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-
type {ipv4 | arp | pppoe | ipv6}}
【Functional description】
gpon-service-profile PROFILE-ID
Enter service templateconfigureMode, if the template whose ID is <PROFILE-ID>orName
is <PROFILE-NAME> does not exist, create the template after configure is completed, and
modify the content of the template if the template already exists.
After entering the stream templateconfigureMode, you can do the following configure:
Onu-type {adaptive | sfu | hgu}
The type of configureONU, the default is adaptive, when the user wants to use the HGU
as SFU to configure, or when the type reported by the ONU is incorrect, the configure can
be forced to a fixed type SFUorHGU;
Mac-aging-time MAC-AGING-TIME
MAC address aging time of the configuretemplate
Mac-learning {enable | disable}
Configuretemplate's MACaddresslearnfunction
Port-number eth-port<ETH-PORT-NUMBER>veip< VEIP-PORT-NUMBER>
Specify the number of ETHports and VEIPports of the template. 0 means that the port type
is not selected.
Eth-port<ETH-PORT-NUMBER>flow-control {enable | disable}
ETHport flow control enabled in the configure service template
Eth-port<ETH-PORT-NUMBER>max-frame-size<MAX-FRAME-SIZE>
Maximum frame length of the ETHport packet specified in the configure service template
Eth-port<ETH-PORT-NUMBER>mac-limit<MAC-LIMIT>
The number of ETHportMACaddresslearn specified in the configure service template
Eth-port<ETH-PORT-NUMBER>flow-control {enable | disable}
ETHport flow control enabled in the configure service template
Eth-port<ETH-PORT-NUMBER>gpon-traffic-limit-profile {upstream | downstream}
<PROFILE-ID>
232
KingType PONCommand 行参考
Manual
The ETHport upstream/downstream flow control template specified in the configure service
template implements the uplink and downlink speed limit function.
Eth-port<ETH-PORT-NUMBER> vlan mode {transparent | tag | trunk | translation |
aggregation |
The ETHportvlanMode specified in the configure service template is
pass/tag/trunk/translation/aggregation.
Eth-port<ETH-PORT-NUMBER>pvid<VLAN-ID> [ <PRIORITY> ]
The default vlan id of the ETHport specified in the configure service template, optional the
priority of configurevlan.
Eth-port<ETH-PORT-NUMBER> trunk {add < VLAN-LIST> | delete < VLAN-LIST> | clear}
Add the vlan list of the ETHporttrunk vlan specified in the configure service template/delete
the specified vlan/clear alltrunk vlan rule.
Eth-port<ETH-PORT-NUMBER>translation {add <VLAN-ID><VLANS-ID> | delete <VLAN-
LIST> | clear }
The addition of the ETHportvlan translation rule specified in the configure service template
(source vlan and destination vlan)/delete/clear alltranslation rules.
Eth-port<ETH-PORT-NUMBER>aggregation {add<VLAN-LIST><VLAN-ID> | delete
<VLAN-LIST> | clear }
The addition of the ETHportvlan aggregation rule specified in the configure service
template (source vlan list and destination vlan id)/delete/clear all aggregation rules.
Eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-type {ipv4 | arp |
pppoe | ipv6}
The qinq rule of the ETHport specified in the configure service template adds the specified
vid and priority to the untagged package according to the Ethernet type.
No eth-port <ETH-PORT-NUMBER> qinq {<VLAN-ID>by untagged ethernet-type {ipv4 |
arp | pppoe | ipv6}}
Delete the qinqconfigure of the specified port in the service template.
【Parameter】
233
KingType PONCommand 行参考
Manual
frame
length
MAC-LIMIT MACaddres Positive 0-255 20
slearn integer
number
VLAN-ID Vlan id Positive 1-4094 100
integer
VLAN-LIST Vlan list Integer, [1-4094] 200-205
support for
operators ",",
"-"
PRIORITY priority Positive 0-7 1
integer
【Mode】
All modeconfigureMode
【Note】
null
【Example】
OLT(config)>gpon-service-profile 1
OLT (gpon-service-profile-1)>mac-aging-time 1000
OLT (gpon-service-profile-1)>mac-learning disable
OLT (gpon-service-profile-1)>port-number eth 5 veip 1
OLT (gpon-service-profile-1)>eth 1 max-frame-size 2000
OLT (gpon-service-profile-1)>eth 1 flow-control enable
OLT (gpon-service-profile-1)>eth 1 vlan mode tag
OLT (gpon-service-profile-1)>eth 1 vlan pvid 200
OLT (gpon-service-profile-1)>eth 2 vlan mode aggregation
OLT (gpon-service-profile-1)>eth 2 vlan aggregation add 301-308 1000
OLT (gpon-service-profile-1)>eth 3 vlan mode transparent
OLT (gpon-service-profile-1)>eth 4 vlan mode translation
OLT (gpon-service-profile-1)>eth 4 vlan translation add 100 200
OLT (gpon-service-profile-1)>eth 4 vlan translation add 200 300
OLT (gpon-service-profile-1)>eth 4 vlan translation add 1000 2000
OLT (gpon-service-profile-1)>eth 5 vlan mode trunk
OLT (gpon-service-profile-1)>eth 5 vlan trunk add 101-108
27.6.7 no
【Command】
no { gpon-dba-profile | gpon-traffic-limit-profile | gpon-vlan-profile | gpon-
multicast-acl-profile | gpon-multicast-profile |gpon-stream-profile } { <PROFILE-ID>
| <PROFILE-NAME> }
234
KingType PONCommand 行参考
Manual
【Functional description】
Delete the specified template according to IDorName
【Parameter】
235
KingType PONCommand 行参考
Manual
236
KingType PONCommand 行参考
Manual
PROFILE-NAME templateN String null 100M
ame
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-vlan-profile all
237
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
null
【Example】
OLT (config)> show gpon-multicast-acl-profile 1
238
KingType PONCommand 行参考
Manual
【Mode】
allMode
【Note】
To create this template, you need to create gpon-multicast-acl-profile first.
【Example】
OLT (config)> show gpon-multicast-profile 1
239
KingType PONCommand 行参考
Manual
240
KingType PONCommand 行参考
Manual
241
KingType PONCommand 行参考
Manual
The vlan allocation rule is: automatically incremented according to the onu and uni port
numbers. (For example: ONU1 and ONU2 have four uniports, then 8 different vlans will be
assigned after binding the vlanpool)
Vlan pool create loop-by-onu <VLAN-LIST><POOL-ID>
Create a vlanpool with ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>. The
vlan allocation rule is: according to the onu id and the given vlanrange automatic round-
robin allocation, the uni-end portvlan of the ONU is the same as the ONU-assigned vlan. .
(For example: ONU1~ONU5, vlan list range is 201-203, only three vlan, will assign vlan
201, 202, 203, 201, 202 to 5 ONUs respectively)
Vlan pool create loop-by-uni <VLAN-LIST><POOL-ID>
Create a vlanpool with the ID <POOL-ID>. The vlan list of the vlanpool is <VLAN-LIST>.
The vlan allocation rule is: automatic cyclic allocation according to the onu and uni port
numbers. (For example: ONU1 has 4 uni-end ports, ONU2 has 2 uniports, vlan listrange1-
3, then binds vlanpool, ONU1 four uni ports respectively assign vlan 1,2,3,1 and ONU2 two
uniports allocate vlan 2,3)
Vlan pool delete<POOL-ID>
Delete the vlanpool of the specified ID that is not used
【Parameter】
242
KingType PONCommand 行参考
Manual
No vlan pool bind Unbind vlanpool of the specified PONport
【Parameter】
243
KingType PONCommand 行参考
Manual
C-VLAN priority PRIORITY
Add flexible QinQ entries based on vlan and vlan priority
vlan selective-qinq delete by ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls |
pppoe-d | pppoe-s | lldp | ETHERNET-TYPE } vlan VLANS
Delete a flexible QinQ entry based on the specified vlanrange and Ethernet type.
Vlan selective-qinq delete by ethernet-type { ipv4 | ipv6 | arp | rarp | ppp | mpls | pppoe-
d | pppoe-s | lldp | ETHERNET-TYPE }
Delete a flexible QinQ entry based on the specified Ethernet type.
Vlan selective-qinq delete by priority PRIORITY
Delete a flexible QinQ entry based on the specified priority.
Vlan selective-qinq delete by vlan C-VLAN priority PRIORITY
Delete flexible QinQ entries based on vlan and vlan priority
Vlan selective-qinq clear
Clear all flexible QinQ entries of configure on the PONport.
Show vlan selective-qinq {all | PORT-GPON}
Display all terminal portor to specify the flexible QinQ entry of configure on the
PONport.【Parameter】
Integer
OUTER-VLAN VLAN ID [1,4094] 100
VLAN ID Integer
C-VLAN [1,4094] 1000
【Note】
The priority in the specified OUTER-VLAN tag, which supports the tag copy or specified
value from the packet, each device supports the following
设备 Name priority copy-priority priority PRIORITY
GPT-F88B not support Support
GPT-C43BB Support Support
GPT-C43BB-01 Support Support
GPT-C448B not support Support
KTFSG-18FB VLAN selevtive-qinq is not No support VLAN selevtive-
supported qinq
244
KingType PONCommand 行参考
Manual
Flexible QinQ entries based on vlanrange and Ethernet type. Each device supports the
following.
设备 Name 状态
GPT-F88B No support
GPT-C43BB Support
GPT-C43BB-01 Support
GPT-C448B No support
KTFSG-18FB No support VLAN selevtive-
qinq
【Mode】
PONMode
【Example】
OLT(config-if-g2/1)> vlan selective-qinq add 1000 priority 5 by ethernet-type ipv4
OLT(config-if-g2/2)> vlan selective-qinq add 2000 priority copy-priority by priority 7
OLT(config-if-g2/3)> vlan selective-qinq add 3000 priority 3 by vlan 1000 priority 7
OLT(config-if-g2/4)> vlan selective-qinq delete by priority 7
OLT(config-if-g2/5)> vlan selective-qinq clear
OLT(config)> show vlan selective-qinq all
OLT(config)> show vlan selective-qinq g2/3
245