CLI Fiberhome OLT
CLI Fiberhome OLT
CLI Fiberhome OLT
CLI Reference
Version: B
Code: MN000001060
April 2013
Thank you for choosing our products.
Related Documentation
Document Description
I
Document Description
II
Version
Version Description
Initial version.
A Corresponds to the AN5116-06B with the version number
GEPON V3.1.
Adds the commands related to the License functions, the
identification mode of the universal ONUs, the alarm
B filtering, and the fan control. .
Corresponds to the AN5116-06B with the version number
V3.2.
Intended Readers
u Commissioning engineers
u EPON principle
u GPON principle
u Basic operation methods for the command line network management system
III
Conventions
Terminology Conventions
Terminology Convention
Symbol Conventions
Cascading
→ Connects multi-level menu options.
menu
IV
Symbol Meaning Description
Bidirectional
↔ The service signal is bidirectional.
service
Unidirectional
→ The service signal is unidirectional.
service
V
Contents
Preface...................................................................................................................I
Version ..........................................................................................................III
Conventions ................................................................................................. IV
2 Common Command.....................................................................................2-1
2.6 Exit................................................................................................2-6
4.3 Configuring System Clock Mode for the TDM Card .........................4-4
4.4 Configuring the Clock Recovery Mode for the TDM Card ................4-5
4.6 Viewing the System Clock Mode of the TDM Card ..........................4-7
4.7 Viewing the Clock Recovery Mode of the TDM Card .......................4-7
5.4 Configuring the Threshold for the Line Card CPU / Memory Utilization
Ratio..............................................................................................5-7
5.5 Configuring the Alarm Thresholds for the OLT Optical Module ........5-8
5.6 Configuring User Defined Alarms for the PUBA Card ....................5-10
5.7 Viewing the Threshold for the Line Card CPU / Memory Utilization
Ratio............................................................................................5-11
5.17 Configuring the Link Recovery Mode for the Dual-Uplink Protection
Group ..........................................................................................5-20
5.23 Configuring the Interface Mode for the Uplink Port ........................5-25
5.24 Configuring the Learning Function for the Uplink Port ...................5-26
5.29 Viewing Reference Factors for the System Trunk Group ...............5-30
9.8 Configuring Rate Control for a Single Service at LAN Port ............9-13
10.21 Binding Alarm Threshold Profile to ONU and ONU Port ..............10-29
10.22 Viewing Alarm Threshold Profiles Bound to ONU and ONU Port .10-30
10.45 Limiting the Number of MAC Addresses on ONU LAN Port .........10-57
11.5 Applying Line Card PON Port Packet Suppression Function .........11-7
11.8 Viewing Alarm Profile Bound to Line Card and PON Port ..............11-9
11.16 Configuring Alarm Threshold for the Line Card CPU / Memory
Utilization Ratio.......................................................................... 11-17
11.24 Configuring the Alarm Thresholds for the Optical Module............ 11-24
11.29 Viewing the Line Card's CPU and Memory Utilization Ratio ........ 11-31
11.30 Viewing the Line Card's Multicast Address Table ........................ 11-32
15.9 Deleting a Sub VLAN from the Designated Super VLAN ............. 15-11
16.36 Configuring Lease Term of DHCP Server Global Address Pool ...16-33
The following introduces the authorization control, operation methods, and directory
list of the command line system.
Authority Control
Syntax
Intelligent Match
Function Key
Directory List
Version: B 1-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
u The command prompt User> indicates that the system is currently in the
common user mode. In this mode, users can only query system information.
u The command prompt Admin# indicates that the system is currently in the
administrator user mode. In this mode, users can perform various system
configurations for the equipment.
1.2 Syntax
u Range of value
When the content in < > are two figures connected by a hyphen, it means that
the value of the argument ranges between the two figures. For instance, <1-
255> indicates that users can enter any integer that is no less than 1 and no
more than 255. For example, 20 is a legal argument.
1-2 Version: B
1 General Introduction to Command Line System
u IP address
When the content in < > is A.B.C.D., the argument is an IP address. For
example, 192.168.8.80 is a valid IP address.
4 When the content in < > is e1list, the argument is an E1 link list. Enter the
sequence numbers of E1 links to form the E1 link list.
4 When the content in < > is slotlist, the argument is a slot list. Enter the
sequence numbers of slots to form the slot list.
4 When the content in < > is portlist, the argument is a port list. Enter the
sequence number of the slot for the card on which the port is located:
the sequence number of the port to form the port list.
All the aforesaid three lists can be expressed in the following three ways:
4 Separate the values with a comma. For example, 1, 2, 3 stands for the
cards in the slots 1, 2 and 3 or the E1 links 1, 2 and 3; 1:1, 1:3, 1:5 and 1:7
stands for the ports 1, 3, 5 and 7 of the card in slot 1.
4 Combine the aforesaid two formats. For example, 1, 3-5 stands for the
cards in the slot 1 and slots 3 to 5 or the E1 link 1 and E1 links 3 to 5; 1:1,
1:3-1:7 stands for the port 1 and ports 3 to 7 of the card in slot 1.
u Character string
When the content in < > is something else than the aforesaid, you may be
required to enter a character string. For detailed information about this
argument, type a question mark (?) in the angle bracket in the angle bracket.
For instance, <name> means that you need to enter a character string as the
name of a certain object.
Version: B 1-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Abbreviated command syntax allows users to type only the first one or several
letters of a command, as long as they are unique and distinguishable from the first
several letters of other commands. Under this condition, the CLI network
management system can identify the abbreviated command as well, and users can
press the <Enter> key directly to execute the command.
Example 1: Show the information on the CPU usage rate by entering an abbreviated
command. The complete command is show cpuusage, and its abbreviated form is
show c, as shown below.
Admin#show c
cpu usage: 2.57(%)
memory usage: 85.10(%)
Admin#
Example 2: Access a directory whose name begins with an s under the device
directory. Since two directories whose name begin with ans exist, the system will
give the corresponding notice as follows:
Admin\device#cd s
% Ambiguous command.
Admin\device#
The CLI network management system offers function key help. Entering a question
mark (?) after an incomplete command keyword will display the help information
(current available commands).
Example 1: Type s after the prompt Admin\vlan#, and then enter ?, all command
words beginning with s will be displayed together with their meanings, as shown
below:
1-4 Version: B
1 General Introduction to Command Line System
Admin\vlan#s
show Show running system information
save Save system info to flash.
set Config system's setting.
Admin\vlan#s
In this example, three command words beginning with s exist under the directory
Admin\device#: set, save and show. Set means setting the system parameters;
save means saving current system information to flash; and show means showing
current system information.
Users can also press the space key and enter ? after typing a keyword to view the
next keyword and meaning of the complete command.
Example 2: Enter show after the prompt Admin\vlan#, press the Space key, and
then enter ?, all commands beginning with show under this directory will be
displayed together with their meanings, as shown below.
Admin\vlan#show
vlan_slot slot bind vlan info.
history Display the session command history.
oltqinq_domain Show olt domain information.
pvlan Show pvlan information.
qinq_olt Show OLT QinQ information.
qinq_profile Show QinQ profile.
service Show service information.
sub-vlan Sub vlan.
super-vlan Super vlan.
Admin\vlan#show
In this example, nine commands beginning with show exist under the directory
Admin\vlan#.
When users enter an abbreviated command (the first one or several letters of the
command) and then press the <Tab> key, the CLI network management system will
identify and complete the command. If identical abbreviations exist, all possible
commands will be listed for users to choose.
Version: B 1-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Using the <Ctrl + P> key combination, users can recall the most recent command.
Pressing the keys for a second time will recall the second previous command.
Pressing the <↑> key will recall the most recent command, and pressing the key
again will recall the second previous command. When you have found the desired
command, press the <Enter> key to execute the command.
You can also use the <↓> key to look downward for the desired command. Press the
<Enter> key to execute the command when you have found the desired command.
See Table 1-1 for the list of command line directories in the CLI network
management system for the .
1-6 Version: B
1 General Introduction to Command Line System
Version: B 1-7
2 Common Command
Clearing Screen
Exit
Version: B 2-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to switch from the current directory to the root directory or
another subdirectory.
Command Format
cd
[.|device|fdb|gpononu|gponlinecard|igmp|ngn|qos|service|stp|uplink|
vlan|epononu|tdm|rip|ospf|route]
2-2 Version: B
2 Common Command
Description
Version: B 2-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Switch from the QoS directory to the VLAN directory. After the command is
executed, the command prompt changes from qos# to vlan#.
Admin\qos#cd vlan
Admin\vlan#
Command Format
clear
Command Example
Admin\vlan#clear
Admin\vlan#
This command is used to view the help information of the CLI network management
system.
Command Format
help
Command example
Admin\vlan#help
AN5516 provides help feature as described below.
2-4 Version: B
2 Common Command
This command is used to view all commands under the current directory.
Command Format
list
Command Example
Admin\stp#list
cd
0.cd[..|device|fdb|gpononu|gponlinecard|igmp|ngn|qos|service|stp|
uplink|vlan|epononu|tdm|rip|ospf|route]
1. clear
2. help
3. list { <search_string>}*3
4. save {[synchronation]}*1
5. set rstp [enable|disable]
6. set rstp port <portlist> pathcost <1-200000000>
7. set rstp port <portlist> priority <0-240>
8. set rstp priority <0-65535>
9. show history
10. show rstp {port <portlist>}*1
Admin\stp#
Version: B 2-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view all commands that have been executed in the CLI
network management system after the current login. The incorrect commands will
be displayed as well.
Command Format
show history
Command Example
Admin\stp#
2.6 Exit
Command Function
This command is used to exit from the current directory and return to an upper
directory or to log out directly.
Command Format
u exit
u cd ..
u quit
Command Example
2-6 Version: B
2 Common Command
Admin#exit
User>
u Exit from the current directory and return to an upper directory. Remember that
a space exists after cd.
Admin\vlan#cd ..
Admin#
This command is used to save current configuration data, so that the data will not be
lost in case of restart or power off of the computer.
Command Format
save {configuration}*1
Parameter Description
Command Example
Admin#save
Trying save configuration to flash, please wait ......
Preparing configuration data to save...Done.
Starting write configuration data to flash...Done.
Configuration saved to flash successfully.
Admin#
Version: B 2-7
3 Admin Directory Command
Resetting
Authorizing Cards
Deauthorizing
Version: B 3-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
3-2 Version: B
3 Admin Directory Command
Command Format
Command Example
Admin#
This command is used to download the system software from the FTP server to the
core switch card in the FTP mode. When upgrading the core switch card, you can
access the upgrade file on the FTP server by issuing the command of upgrading the
system file, so as to upgrade the system software to the same version as that of the
upgrade file.
Command Format
Version: B 3-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Compulsory
<username> The user name of the FTP server
parameter
Compulsory
<password> The user password of the FTP server
parameter
Command Example
Upgrade the software of the standby core switch card. The IP address of the FTP
server in which the system file is located is 10.92.20.223. The user name and
password for login to the FTP server are both 1. The file name is hswx.bin.
This command is used to upgrade the system file, import the configuration file and
upgrade the boot program. The command can also be used to obtain the file from a
specified server, upgrade the card software or import the configuration file.
Command format
3-4 Version: B
3 Admin Directory Command
Parameter description
Parameter
Parameter Parameter description
Property
File type.
u system: the command is used to upgrade the system file.
[system|config| u config: the command is used to import the configuration file.
Compulsory
script|ver_file| u script: the command is used to import the script file.
parameter
boot|hotfix] u ver_file: the command is used to import the version file.
u boot: the command is used to upgrade the boot file.
u hotfix: the command is used to upgrade the hotfix.
Compulsory
<A.B.C.D> The IP address of the FTP server
parameter
Compulsory
<username> The username of the FTP server
parameter
Compulsory
<password> The user password of the FTP server
parameter
Command example
The IP address of the FTP server in which the system file is located is
10.92.20.223. The user name and password for login to the FTP server are
both 1. The system file name is hswx.bin.
Admin#download ftp system 10.92.20.223 1 1 hswx.bin
Trying download file from ftp server, please wait...
Successfully finished receiving file.
Trying write file to flash......flash_flag = 1, size 3617564
Finished.
You've successfully download new image file
Now you can type reboot command to reboot system.
Admin#
The IP address of the FTP server in which the configuration file is located is
10.92.20.223. The user name and password for login to the FTP server are
both 1. The configuration file name is config.txt.
Version: B 3-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to clear all equipment configuration data saved in the FLASH
memory. When this command is executed, the original equipment configuration data
will be restored in the FLASH memory.
Caution:
Command Format
erase {[startup-config]}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
3-6 Version: B
3 Admin Directory Command
Admin#erase startup-config
Are you sure want to erase startup-config? [Y/N]Y
Trying erase all configuration from flash, please wait ...... finished.
Successfully erase all configuration info from flash.
Admin#
This command is used to configure the name of the AN5116-06B system. When the
configuration is completed, the former command prompt will be changed into the set
system name.
Command Format
hostname <hostname>
Parameter Description
Command Example
Admin#hostname fiberhome
fiberhome#
3.6 Resetting
Command Function
Version: B 3-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Caution:
Command Format
reboot {[<1-26>|system|backup]}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Admin#reboot 12
Admin#
This command is used to enable / disable the alarms on the power supply.
Command Format
3-8 Version: B
3 Admin Directory Command
Parameter Description
Command Example
Admin#
This command is used to set the threshold value for the alarm on the system
temperature.
Command Format
Parameter Description
Command Example
Version: B 3-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin#
Command Format
set card_all_auth
Command Example
Admin#set card_all_auth
Admin#
Command Format
3-10 Version: B
3 Admin Directory Command
Description
Command Example
3.11 Deauthorizing
Command Function
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Slot number
slot [<1-26>| Compulsory
u <1-26>: Stands for the card to be deauthorized.
all] parameter
u all: Means that all cards will be deauthorized.
Version: B 3-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Command Format
Parameter Description
Compulsory
debugip<A.B.C.D> The IP address for out-of-band management.
parameter
Command Example
Set the equipment IP address to 10.92.20.11, and the subnet mask to 255.255.0.0.
This command is used to configure the fan control mode, the fan speed settings in
the manual control mode, and the automatic control scheme.
3-12 Version: B
3 Admin Directory Command
Command Format
Description
Command Example
Configure the fan control mode as manual, and the fan speed as level 3.
This command is used to configure automatic fan control parameters in the old
scheme.
u When the current temperature is lower than the initial temperature, the fan
speed is level 0.
Version: B 3-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
u When the current temperature is equal to or higher than the initial temperature,
the fan speed is determined as follows: the fan speed = the initial speed +
(current temperature - initial temperature) / stepping value of temperature. The
largest fan speed is level 7.
Command Format
Parameter Description
Command Example
Configure the fan control parameters, setting the initial temperature to 30, the
stepping to 5, and the initial rotation speed to 0.
This command is used to configure automatic fan control parameters in the new
scheme.
3-14 Version: B
3 Admin Directory Command
Command Format
Parameter Description
Command Example
Configure the fan parameters as follows: The preset operating temperature is 50,
the variation value of the temperature is 5, and the modification value of the
temperature is 0.
Version: B 3-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Admin#
3-16 Version: B
3 Admin Directory Command
Command Format
Parameter Description
Command Example
Version: B 3-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
show debugip
Command Example
Admin#show debugip
Ethernet IP address : 10.92.244.200
Ethernet subnet mask : 255.255.0.0
MAC Address : 00-0a-c2-20-7d-7d
Admin#
Result Description
This command is used to view the fan control mode, the fan speed settings in the
manual control mode, and the automatic control scheme.
Command Format
show fan_contol_speed
Command Example
Admin#showfan_contol_speed
fan control mode:manual control fan speed, fan speed:3.
fan control scheme is old mode.
Admin#
3-18 Version: B
3 Admin Directory Command
Result Description
This command is used to view fan control parameters in the old scheme.
Command Format
showfan_contol_pra
Command Example
Admin#show fan_contol_pra
start temperature:30C, step:5C, fan start speed:0.
Admin#
Result Description
This command is used to view fan control parameters in the new scheme.
Version: B 3-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
showfan_sys_pra
Command Example
Admin#showfan_sys_pra
comm_temperature:50C, range_temperature:5C, modify_temperature:0C.
Admin#
Result Description
Command Format
show running-config
Command Example
View the current configuration information of the equipment. In this example, only
the beginning part and the result of the command are provided.
3-20 Version: B
3 Admin Directory Command
Version: B 3-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the configuration information of the equipment when
it is started up.
Command Format
show startup-config
Command Example
3-22 Version: B
3 Admin Directory Command
!Address : console
!Through : Cli
!End--------------------------------------------------------
Admin#
This command is used to view the information on current system logs, including the
system log switch, priority of system logs to be recorded, and automatic uploading
switch.
Command Format
Command Example
Admin#
Result Description
auto upload
The automatic uploading switch.
Version: B 3-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the current system time and how long the system has
been running.
Command Format
show time
Command Example
Admin#show time
Current Date is 2011-10-11
Current Time is 16:03:50
System running time is 0 day 07:30:05
Admin#
Result Description
Parameter Description
Current Date The current date.
Current Time The current time.
System running time The system running time.
This command is used to view the types and statuses of all cards in the current
system.
Command Format
showcard
3-24 Version: B
3 Admin Directory Command
Command Example
View the types and statuses of all cards in the current system.
Admin# showcard
--------------------AN5116-06B-----------------------
CARD EXIST CONFIG DETECT DETAIL
1 --- --- --- ---
2 --- --- --- ---
3 --- --- --- ---
4 --- --- --- ---
5 --- --- --- ---
6 --- --- --- ---
7 --- --- --- ---
8 --- --- --- ---
9 YES HSWA HSWA MATCH/M
10 YES HSWA HSWA MATCH/S
11 YES C155A C155A MATCH
12 --- --- --- ---
13 --- --- --- ---
14 YES GC8B GC8B MATCH
15 --- --- --- ---
16 --- --- --- ---
19 --- --- --- ---
20 YES GU6F GU6F MATCH
21 YES FAN FAN MATCH
22 YES --- POWER NO_MATCH
23 YES --- POWER NO_MATCH
------------------------------------------
Current temperature is 44 C.
Power 1 is ON.
FAN 1 is not online, FAN 2 is not online, FAN 3 is not online.
Admin#
Result Description
Parameter Description
CARD The slot number for the card.
EXIST Whether the card is present.
Version: B 3-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Whether the type of the card authorized matches the type of the card
DETAIL
detected.
This command is used to upgrade the ONU software, including the ONU_CPU
software, ONU firmware and IAD software.
Command Format
Parameter Description
3-26 Version: B
3 Admin Directory Command
Command Example
Upgrade the ONU_CPU file. The slot number corresponding to the ONU is 14; the
PON interface number is 1; the IP address of the FTP is 10.92.20.223; the user
name and the password for the FTP are both 1; and the FTP file name is gcxb.gz.
This command is used to upgrade the software of line cards, including the GC8B,
GC4B, EC4B, EC8B, XG2B, CE1B, C155A, and PUBA cards.
Command Format
Parameter Description
Command Example
Upgrade the software of the GC8B card. The IP address of the FTP is 10.92.20.223;
the FTP user name and password are both 1; the FTP file name is gcxb.gz; and the
slot number is 14.
Version: B 3-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
AAAAAAAAAAAAAAAAAAA5 LDU_SLOT_NUM 18
AAAAAAAAAAAAAAAAAAA6 strlen(fname) 7
card at slot 14 upgrade successfully, need rebooting to take effect!
upgrade success
Admin#
Command Format
Parameter Description
Command example
Upload the configuration file hswx.bin to the FTP server. The IP address of the
current FTP server is 10.92.20.223; the user name and password are both 1.
3-28 Version: B
3 Admin Directory Command
This command is used to view the information on the software and hardware
versions of the card in each slot.
Command Format
version
Command Example
Admin#version
-------------------------------------------------
CARD HARDVER SOFEVER
1 ---- ----
2 ---- ----
3 ---- ----
4 ---- ----
5 ---- ----
6 ---- ----
7 ---- ----
8 ---- ----
9 WKE2.115.331R1A RP0500
10 WKE2.115.331R1A RP0402
11 ---- ----
12 ---- ----
13 ---- ----
14 WKE2.200.012R1C RP0500
15 ---- ----
16 ---- ----
17 ---- ----
18 ---- ----
19 ---- ----
20 WKE2.170.855R1A RP0200
Admin#
Version: B 3-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
3-30 Version: B
4 TDM Directory Command
Version: B 4-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to delete the E1 service that has been configured on the
ONU.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the mapping between the E1 port of the ONU and the E1 port of the TDM
card.
4-2 Version: B
4 TDM Directory Command
Command Format
set e1_service slot [<1-8>|<11-18>] link <1-8> onu <1-128> e1 <1-4> tdm [<1-
8>|<11-18>] e1 <1-63> {remjit <4-64> lcljit <4-64>}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
slot[<1-8>|<11- The slot number for the PON interface card. Compulsory
18>] The value ranges from 1 to 8 and 11 to 18. parameter
Command Example
Set up the mapping between the first E1 port on the ONU with the authorization
number 1 under number 1 PON port in Slot 5 and the first E1 port on the TDM card
in Slot 2.
Version: B 4-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
set_onu_e1_service_cmd_fun ok!
Admin\tdm#
This command is used to configure the system clock mode for the TMD card.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Set the synchronization reference source of the TDM card to the external
synchronization reference source 1.
4-4 Version: B
4 TDM Directory Command
This command is used to configure the clock recovery mode for the TDM card.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Recovery mode.
u adaptive: the self-adaptive mode
mode [adaptive|
u loopback: the loopback mode
loopback| Compulsory
u differential: the differential mode
differential| parameter
u enhance: the enhanced mode
enhance]
When setting the clock recovery mode for the TDM card, make sure
that no E1 service has been configured for the TDM card.
Command Example
u If the E1 service has been configured, the system will give the prompt as
follows:
Admin\tdm#set tdm_rec slot 2 mode loopback
[ ERR -703 ] Tdm E1 is configured!
Admin\tdm#
u When no E1 service has been configured, you can configure the clock recovery
mode normally. This example is to set the clock recovery mode to the loopback
mode.
Admin\tdm#set tdm_rec slot 2 mode loopback
set tdm clock recovery mode ok!
Admin\tdm#
Version: B 4-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the mapping relationship between the E1 port that
has already been configured on the ONU and the E1 port on the TDM card.
Command Format
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the mapping relationship between the first E1 port on the ONU with the
authorization number of 1 at number 1 PON port in Slot 5 and the E1 port on the
TDM card .
Result Description
4-6 Version: B
4 TDM Directory Command
This command is used to view the system clock mode of the TMD card.
Command Format
Parameter Description
Command Example
Result Description
This command is used to view the clock recovery mode of the TDM card.
Command Format
Version: B 4-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Result Description
4-8 Version: B
5 Device Directory Command
Configuring the Threshold for the Line Card CPU / Memory Utilization Ratio
Viewing the Threshold for the Line Card CPU / Memory Utilization Ratio
Forced Switch
Configuring the Link Recovery Mode for the Dual-Uplink Protection Group
Version: B 5-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
5-2 Version: B
5 Device Directory Command
Version: B 5-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to disable urgent / non-urgent alarms of the cabinet top
indicator LEDs.
Command Format
Parameter Description
Command Example
Command Format
5-4 Version: B
5 Device Directory Command
Parameter Description
Command Example
----------------------------------------------------------
port:<19:1> 's Configuration Information
Link state : Up Port state : Enabled
AutoNegotiation : On
Speed : 100M
Duplex : Full
Learning : Enabled
Port VLAN ID : 4088 Port VLAN name :
PriEn : Off PriValue : 0
interface mode : SERDES
------------------------------------------------------------
Admin\device#
Result Description
Version: B 5-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
set epon perfswitch slot <1-18> pon <> onu <> type [port|opt|env|usage]
statistics [enable|disable]
Parameter Description
5-6 Version: B
5 Device Directory Command
Command Example
Set the performance type for the ONU with the authorization number 1 under
number 1 PON port in slot 12 to port performance statistics, and enable the
performance statistics.
Admin\device# set epon perfswitch slot 12 pon 1 onu 1 type port statistics enable
Admin\device#
This command is used to set the threshold for the line card CPU / memory utilization
ratio.
Command Format
Version: B 5-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command example
Set the threshold for the CPU utilization ratio of the line card in slot 12 to 6000, and
set the memory utilization ratio of the line card to 8000.
This command is used to set the alarm thresholds for the OLT optical module,
including the thresholds for temperature, voltage, bias current, Tx optical power and
Rx optical power.
Command Format
5-8 Version: B
5 Device Directory Command
Parameter Description
Version: B 5-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the alarm thresholds as follows: the maximum temperature threshold to 10000,
the minimum temperature threshold to -4000, the maximum voltage threshold to 360,
the minimum voltage threshold to 300, the maximum bias current threshold to 1000,
the minimum bias current threshold to 0, the maximum Tx optical power threshold to
800, the minimum Tx optical power threshold to 0, the maximum Rx optical power
threshold to -500, and the minimum Rx optical power threshold to -3200.
Admin\device#set olt optthresh 10000 -4000 360 300 1000 0 800 0 -500 -3200
Admin\device#
This command is used to configure user defined alarms for the PUBA card.
Command Format
Parameter Description
Command Example
Set the sequence number of the user defined alarm interface on the PUBA card to 1,
and set the conditions for triggering the alarm to high level.
5-10 Version: B
5 Device Directory Command
This command is used to view the threshold for the line card CPU / memory
utilization ratio.
Command Format
Parameter Description
Command Example
View the threshold for the CPU / memory utilization ratio of the line card in slot 12.
Result Description
mem thresh The threshold for the memory utilization ratio; 8000 stands for 80%.
Version: B 5-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to perform forced switch between the active and standby
core switch cards. Generally, the command of forced switch between the active and
standby core switch cards is executed when you are going to replace the active
core switch card or upgrade the software of the active core switch card.
Note:
Before executing this command, you should first conduct the save
command to save the configuration.
Command Format
force switch
Command Example
Implement forced switch of the number 9 card and the number 10 card.
Admin\device#force switch
Admin\device#
This command is used to disable the packet suppression at an uplink port. The
parameters concerned include the port number and packet type.
Command Format
5-12 Version: B
5 Device Directory Command
Parameter Description
Packet type
u broadcast: broadcast packets
[broadcast|multicast|
u multicast: multicast packets Compulsory parameter
unknown|all]
u unknown: unknown packets
u all: all packets
Command Example
This command is used to enable the packet suppression at an uplink port. The
related parameters include the port number, packet type and number of packets
suppressed. The switch chip in the core switch card is used to suppress the
broadcast packets, multicast packets and unknown packets sent to the CPU port,
so as to ensure the normal work of the CPU.
The uplink port packet suppression refers to the function of suppressing downlink
broadcast packets, multicast packets and unknown packets. Once the multicast
packets are suppressed, the multicast service will be interrupted as well.
Command Format
Version: B 5-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Packet type.
u broadcast: broadcast packets.
[broadcast|multicast|
u multicast: multicast packets. Compulsory parameter
unknown|all]
u unknown: unknown packets.
u all: all packets.
Command Example
Enable the broadcast packet suppression at the 19:1 port; set the rate limit to 64
packets / second.
This command is used to show the packet suppression information of the port,
including the packet type, the state of packet suppression being enabled and rate
limit.
Command format
5-14 Version: B
5 Device Directory Command
Parameter description
Packet type
u broadcast: broadcast packets
[broadcast|multicast|
u multicast: multicast packets Compulsory parameter
unknown|all]
u unknown: unknown packets
u all: all packets
Command example
Version: B 5-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
uplik port :20:4 unknown packet control :enable limit :100 pps
uplik port :20:5 multicast packet control :enable limit :100 pps
uplik port :20:5 unknown packet control :enable limit :100 pps
uplik port :20:6 broadcast packet control :enable limit :100 pps
uplik port :20:6 multicast packet control :enable limit :100 pps
uplik port :20:6 unknown packet control :enable limit :100 pps
Admin\device#
Result description
Command Format
Parameter Description
Command Example
5-16 Version: B
5 Device Directory Command
Admin\device#
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
<1-6> Number of the Trunk group.
parameter
Command Example
Set the Trunk group number to 1, and set the Trunk group to manual aggregation
mode.
Version: B 5-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the reference factors for the system Trunk group.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Reference factor.
u smac: the source MAC address
u dmac: the destination MAC address
[smac|dmac|sdmac| Compulsory
u sdmac: the source and destination MAC addresses
sip|dip|sdip] parameter
u sip: the source IP address.
u dip: the destination IP address.
u sdip: the source and destination IP addresses
Command Example
This command is used to configure the system Trunk group. The main function of
the Trunk group is to bind multiple physical ports together as a logical path. By
binding multiple physical links together, you can enhance the bandwidth of the entire
network. Meanwhile, the data are sent via multiple physical links bound together.
The links serve as redundant links to each other. When one or several links is (are)
broken due to the fault in network or other faults, the remaining links can still work.
5-18 Version: B
5 Device Directory Command
Command Format
Parameter Description
Command Example
Configure a Trunk group. Set the group number to 1, the master port number to 19:2,
and the member port number to 20:3.
Command Format
Parameter Description
Command Example
Version: B 5-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\device#
This command is used to configure the link recovery mode for the dual-uplink
protection group.
Command Format
Parameter Description
Command Example
Configure the link recovery mode for the dual-uplink protection group as automatic
recovery.
5-20 Version: B
5 Device Directory Command
The attributes of the master and slave ports should be set consistently.
Command Format
Parameter Description
Command Example
Configure the dual-uplink protection group 1; set the active port number to 19:1, and
the standby port number to 20:2.
Admin\device#
Version: B 5-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\device#
This command is used to configure the protection mode of uplink cards. The
available choices for protection modes include the load balancing protection mode,
active / standby protection mode, and disabled protection mode. After the uplink
card protection is configured, the ports on the uplink cards in Slot 19 and Slot 20 will
provide protection correspondingly. Each pair of ports can be considered as a
protection group.
Make sure that the two uplink cards of the same type are present when you are
configuring the protection.
Command Format
5-22 Version: B
5 Device Directory Command
Parameter Description
Parameter
Parameter Parameter Description
Property
Protection mode.
u loads_balance: the load balancing mode. In this mode, both of
the two ports corresponding to the protection mode have traffic
flow.
[loads_balance|
u master_standby: the active / standby protection mode. In this Compulsory
master_standby|
mode, only the active port corresponding to the protection parameter
disable]
mode has traffic flow, and there is no traffic flow in the standby
port.
u disable: the disabled protection mode. That is, disable the
protection function of the uplink card.
Command Example
Admin\device#
Command Format
Version: B 5-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
<portlist> The number of the uplink port.
parameter
Command Example
Admin\device#
This command is used to configure the basic attribute of an uplink port. The
configuration parameters include the auto-negotiation switch, port rate, and data
communication mode.
Command Format
5-24 Version: B
5 Device Directory Command
Parameter Description
Port rate.
speed [10m|100m|
The values available for choice include 10 Mbit/s, 100 Mbit/s, Optional
1000m|10000m]
1000 Mbit/s, and 10000 Mbit/s.
The data communication mode at the port.
[full|half] u full: full duplex. Optional
u half: half duplex.
Command Example
Enable the auto-negotiation function of the 19:1 port; set the port rate to 1000 Mbit/s,
and the data communication mode at the port to half duplex.
Admin\device#set uplink port 19:1 auto_negotiation enable speed 1000m duplex half
Admin\device#
This command is used to configure the interface mode for an uplink port.
Command Format
Version: B 5-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\device#
This command is used to enable / disable the learning function of an uplink port.
Command Format
Parameter Description
5-26 Version: B
5 Device Directory Command
Command Example
Admin\device#
This command is used to enable / disable the priority function of an uplink port.
Command Format
Parameter Description
Priority
priority [enable|
u enable: Enables the function. Compulsory parameter
disable]
u disable: Disables the function.
Command Example
Version: B 5-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Priority level.
privalue <0-7> Compulsory parameter
The value ranges from 0 to 7.
Command Example
Admin\device#
This command is used to configure the WAN / LAN mode for an uplink port,
applicable to the 10GE optical port only.
Command Format
5-28 Version: B
5 Device Directory Command
Parameter Description
Command Example
This command is used to view the configuration information of the system Trunk
group.
Command Format
show trunking
Command Example
Admin\device#show trunking
Sharing port group 1 information:
Master Port: 19:2 Group Ports: 19:2 20:3
Admin\device#
Version: B 5-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
Parameter Description
This command is used to view the reference factors for the system Trunk group.
Command Format
Command Example
Result Description
This command is used to view the information on the dual-uplink protection group.
Command Format
show upbak_group
5-30 Version: B
5 Device Directory Command
Command Example
Admin\device#show upbak_group
link recover mode : link automatic recover to master port
==============uplink backup group=============
Group :2
group attribute :port upbak
master port :19:3
slave port :19:4
active port :19:3
Admin\device#
Result Description
Parameter Description
Group The number of the dual-uplink protection group
group attribute Property of the group
master port The number of the active port
slave port The number of the standby port
active port The number of the activated port.
This command is used to view the information on the uplink card protection mode.
Command Format
Command Example
Version: B 5-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\device#
Result Description
This command is used to view the working mode of the PON port.
Command Format
Parameter Description
Command Example
View the working mode of the number 1 PON port of the card in slot 12.
Result Description
Parameter Description
pon 2.5g port state Enabling / disabling status of 2.5G for the PON port.
5-32 Version: B
5 Device Directory Command
This command is used to view the compensation for the OLT optical power.
Command Format
Parameter Description
Command Example
View the compensation information about the optical power of the OLT at number 1
PON port on the card in slot 12. In this example, the optical power compensation
value is 10. See below for the information displayed:
Result Description
Parameter Description
extern_byte The extended byte.
precision_byte The precision value.
adjustment value The optical power compensation value.
Version: B 5-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
VoipSwitch: 1
Admin\device#
Result Description
This command is used to view the traffic rate limit. It is applicable only to the XG2B
card.
5-34 Version: B
5 Device Directory Command
Command Format
Description
Command Example
View the traffic rate limit of number 1 PON port on the card in slot 12.
Result Description
Parameter Description
seqno The sequence number set for the traffic rate limit.
rate_limit The traffic rate limit.
0 Stream type value.
This command is used to view the ON / OFF status of legal ONU MAC addresses.
Command Format
Version: B 5-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot <1-18> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
Command Example
View the ON / OFF status of legal ONU MAC addresses of the card in slot 12.
Result Description
This command is used to configure the working mode of the PON port.
Command Format
5-36 Version: B
5 Device Directory Command
Parameter Description
Command Example
Configure the working mode of number 1 PON port of the card in slot 12 as enabled.
This command is used to configure the OLT optical power compensation value.
When the Tx optical power / Rx optical power of the OLT is over high / over low, use
this command to modify the optical power and keep it in a reasonable range.
Command Format
set epon slot <1-18> pon <1-8> extern_byte [0|1|2] precision_byte <1-7>
adjustment <value>
Parameter Description
The number of the PON port, i.e., the number of the PON in
pon <1-8> which the ONU is located. Compulsory
The value ranges from 1 to 8.
Version: B 5-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the OLT optical power compensation value for number 1 PON port on the
card in slot 12. Set the extended byte to 0, and the precision value to 2; then the
practical value of compensation for the optical power is 10.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
5-38 Version: B
5 Device Directory Command
Command Example
Admin\device#
Command Format
set epon slot <1-18> pon <1-2> seqno <1-1024> rate_limit [<0-10000000>|null]
{<streamtype> <value> <operator>}*4
Description
Version: B 5-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
The operator.
<operator> Optional
0 indicates =.
5-40 Version: B
5 Device Directory Command
Command Example
Set the traffic rate control number of PON port 1 on the card in Slot 12 to 1, the rate
limit to 1000, the stream type to based on SA MAC classification, the stream type
value to 111111111111, and the operator to 0.
This command is used to configure legal ONU MAC address switch and prevent
malicious users from attacking the network by forging MAC addresses.
Command Format
Parameter Description
Command Example
Enable the legal ONU MAC address switch of the card in slot 12.
Version: B 5-41
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to add or delete a bandwidth profile. You need only to
configure the bandwidth profile ID to delete the bandwidth profile.
Command Format
Parameter Description
Add or delete.
u add: add a bandwidth profile. The parameters below
are compulsory when you are adding a bandwidth
[add|del] profile. Compulsory parameter
u del: delete a bandwidth profile. Only the profile ID is
compulsory and you need not to configure the other
parameters when you are deleting a profile.
5-42 Version: B
5 Device Directory Command
Command Example
Add a bandwidth profile, and set the profile ID to 10, the profile name to aaa, the
maximum allowable uplink bandwidth to 1000000, the maximum allowable downlink
bandwidth to 1000000, the minimum assured uplink bandwidth to 640, the minimum
assured downlink bandwidth to 640, and the fixed allocated bandwidth to 0.
Admin\device#add bandwidth prf 10 name aaa up 1000000 down 1000000 up_min 640
down_min 640 up_fix 0
Admin\device#
This command is used to view a profile with designated ID or all bandwidth profiles
that have been configured.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Version: B 5-43
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result description
The bound ONU The slot number, PON number and ONU
ONU Banding Profile
authorization number for the ONU bound with the profile.
Command Format
5-44 Version: B
5 Device Directory Command
Parameter Description
Slot number.
<slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Bind the bandwidth profile with the profile ID of 10 to the ONU with the authorization
number of 1 under number 1 PON port in slot 14.
This command is used to view the bandwidth profile bound to the ONU.
Command Format
Version: B 5-45
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
bandwidth The bandwidth profile.
parameter
Command Example
View the bandwidth profile bound to the ONU with the authorization number 1 under
number 1 PON port in slot 14.
Result Description
5-46 Version: B
5 Device Directory Command
Command Format
Parameter Description
Version: B 5-47
AN5116-06B Optical Line Terminal Equipment CLI Reference
5-48 Version: B
5 Device Directory Command
Command Example
Add a threshold profile, and set the profile ID to 8, the profile name to test, the object
layer to1, the object type to 527, the alarm code to 1021, the alarm reporting switch
to 1, the precision of the alarm's trigger threshold to 2, the alarm's trigger threshold
to -12800, the precision of the alarm's clearance threshold to 2, and the alarm's
clearance threshold to -12800.
This command is used to view the threshold profile with the designated profile ID.
Command Format
Parameter Description
Command Example
Version: B 5-49
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\device#
Result Description
Parameter Description
This command is used to delete the threshold profile with designated profile ID.
Command Format
Parameter Description
5-50 Version: B
5 Device Directory Command
Command Example
Admin\device#
Command Format
create alarmshield profile id <> name <> objtype <> propertynum <>
Parameter Description
Compulsory
objtype <> The code of object type.
parameter
Compulsory
propertynum <> The number of alarm codes for this object.
parameter
Command Example
Create an alarm filtering profile as follows: Its ID is 1, name is aa, object type is the
EC4B card, and number of alarm codes is 9.
Version: B 5-51
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to set the alarm filtering profile property. This property
controls whether the alarms are reported.
Command Format
Parameter Description
Command Example
In the alarm filtering profile whose ID is 1, set the alarm 1077 to not reporting.
This command is used to bind a certain alarm filtering profile with the designated
object.
Command Format
bind alarmshield obj_type <> slot <> slot_port <> onu <> onu_port <>
profile_id <>
5-52 Version: B
5 Device Directory Command
Parameter Description
Command Example
Bind the alarm filtering profile whose ID is 1 with the EC4B card in slot 2.
Command format
Parameter Description
Command Example
Version: B 5-53
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to set the default alarm filtering property. This property
controls whether the local end / remote end alarms are reported.
Command Format
Parameter Description
Command example
Set the default alarm filtering property at the local end to not reporting, and the
default alarm filtering property at the remote end to reporting immediately.
5-54 Version: B
5 Device Directory Command
Command Format
Parameter Description
Command Example
For an AN5006-04C ONU, set its alarm filtering profile ID to 1, and filtering property
to reporting.
Command Format
apply onu_type_alarm_shield_prf
Command Example
Admin\device#apply onu_type_alarm_shield_prf
apply onu type alarm shield ok!
Admin\device#
Version: B 5-55
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\device#show onu_type_alarm_shield_prf id 1
ID: 1, ONU TYPE: AN5006-04C, SHIELD PROPERTY: 2
Admin\device#
Result Description
Command Format
clear onu_type_alarm_shield_prf
5-56 Version: B
5 Device Directory Command
Command Example
Admin\device#clear onu_type_alarm_shield_prf
delete onu type alarm shield ok!
Admin\device#
Version: B 5-57
6 FDB Directory Command
Version: B 6-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the system MAC address table aging time. The
time begins when an MAC address is added to the address table. If the ports fail to
receive the frames whose source address is the MAC address in the aging time, the
MAC address will be deleted from the dynamic MAC address table.
Command Format
Parameter Description
Command Example
Command Format
Command Example
6-2 Version: B
6 FDB Directory Command
Result Description
This command is used to show the OLT MAC address table, that is, to show the
MAC address learnt from a card or an uplink port and the VLAN which the MAC
address belongs to. Up to 65535 MAC addresses can be displayed.
Command format
Parameter description
slot <slotno> The slot number for the uplink card Compulsory parameter
Command example
Version: B 6-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
6-4 Version: B
6 FDB Directory Command
Result description
Version: B 6-5
7 EPONONU Directory Command
Resetting ONU
Authorizing ONU
Deauthorizing ONU
Version: B 7-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to enable the access to the ONU low level alarm. Once
detecting a low level, each access point will generate a low level alarm and report it
to the network management system.
Command Format
set epon slot <1-18> pon <1-8> onu <1-128> user_defined_alarm {interface_num
<1-5> alarm_condition <0-1> }*5
Parameter Description
Slot number.
slot <1-18> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Configure user defined alarms for the ONU with the authorization number of 1 under
number 1 PON port in slot 12. The sequence number of the user defined alarm
interface is 4, and the alarm is triggered by the low level.
7-2 Version: B
7 EPONONU Directory Command
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command example
View the user defined alarms of the ONU with the authorization number of 1 under
number 1 PON port in slot 12.
Result Description
Version: B 7-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the parameter information of the optical module on
an ONU.
The precondition is that the optical module of the ONU supports the query of optical
power.
Command Format
Parameter Description
Slot number.
slot <1-18> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the information on the optical module parameters of the ONU with the
authorization number 5 under number 1 PON port in slot 1.
7-4 Version: B
7 EPONONU Directory Command
Result Description
This command is used to view the limit on the MAC address number on an ONU
port.
Command Format
show epon slot <1-18> pon <1-8> onu <1-128> port <portno> mac_limit
Parameter Description
Command Example
View the limit on the number of MAC addresses on number 1 port of the ONU with
the authorization number of 1 under number1 PON port in slot 12.
Version: B 7-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
Parameter Description
slot Slot number.
onu The ONU authorization number.
port The ONU port number.
mac_limit_value The limit on the number of MAC addresses.
Command Format
Command Example
Result Description
7-6 Version: B
7 EPONONU Directory Command
Command Format
Parameter Description
Command Example
Reset the ONU with the authorization number of 1 at PON port 1 in slot 12.
Admin\epononu#
This command is used to configure the aging time for the ONU (the ONU should be
replaced when the aging time expires). For an unauthorized ONU, setting the aging
time for the EPON ONU will prevent the ONU from being authorized automatically in
the specified aging time.
Command Format
Version: B 7-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
This command is used to limit the number of MAC addresses on an ONU port. Only
a specified number of MAC addresses under each port are allowed to be on line.
Restrict the number of computers that use the port at the same time, so as to control
the network traffic and avoid congestion.
Command Format
set epon slot <1-18> pon <1-8> onu <1-128> port <portno> [enable|disable]
mac_num_limit <0-8191>
Parameter Description
Parameter
Parameter Parameter Description
Property
7-8 Version: B
7 EPONONU Directory Command
Parameter
Parameter Parameter Description
Property
Command Example
Disable the limit on the number of MAC addresses for port 1 on the ONU with the
authorization number of 1 at number 1 PON port in Slot 12. The number of MAC
addresses is limited at 64.
This command is used to configure the ONU bandwidth, including the uplink and
downlink bandwidth, assured uplink bandwidth and fixed uplink bandwidth.
Command format
set epon slot <slotlist> pon <ponlist> onu <onulist> bandwidth upstream_band
<256-1000000> downstream_band <downband> {upstream_assuredbandwidth
<upstreamassuredbandwidth> upstream_fixedbandwidth
<upstreamfixedbandwidth>}*1
Version: B 7-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the ONU with the authorization number of 1 under number 1 PON port in
Slot 12, setting the uplink bandwidth to 5000, the downlink bandwidth to 5000, the
assured uplink bandwidth to 1000, and the fixed uplink bandwidth to 1000.
7-10 Version: B
7 EPONONU Directory Command
Command format
Parameter description
Parameter
Parameter Parameter description
Property
Version: B 7-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command example
Set the ONU type in Slot 12 to 5006_4c, the MAC address to 544b00002222, the
authorization number to 18, the logical SN to 12345, and the logical password to
54321.
Command Format
Description
Command Example
7-12 Version: B
7 EPONONU Directory Command
Command Format
Description
Command Example
View the information on the authorization of the ONU with the authorization number
18 under number 1 PON port in slot 12.
Version: B 7-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
onu status:2
Admin\epononu#
Result Description
Parameter Description
onu sequence The ONU authorization number.
onu_type ONU type.
onu_mac MAC address.
logsn_id The logical SN of the ONU.
logsn_password The logical password of the ONU.
onu status The ONU authorization status.
This command is used to query the ONU authorization information according to the
MAC address.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Query the authorization information of the ONU with the MAC address of
544b00002222.
7-14 Version: B
7 EPONONU Directory Command
onu num:18
onu_type:AN5006_04C
onu_mac:54:4b:00:00:22:22
Admin\epononu#
Result Description
Version: B 7-15
8 Data Directory Command under
EPONONU
Version: B 8-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the QoS rule for an ONU port.
Command Format
show epon slot <1-18> pon <1-8> onu <onulist> port <portno> qos_rule
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the QoS rule for port 1 of the ONU with the authorization number 6 under
number 1 PON port in slot 12.
8-2 Version: B
8 Data Directory Command under EPONONU
Admin\epononu\data#
Result Description
This command is used to view the ACL rule for an ONU port.
Command Format
show epon slot <1-18> pon <1-8> onu <onulist> port <portno> acl_rule
Parameter Description
Slot number.
slot <1-18> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Version: B 8-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the ACL rule for port 1 of the ONU with the authorization number 6 at number 1
PON port in slot 12.
rule index :1
action : forward
Rule filed : source mac address
Rule value : 45:69:87:25:86:54
operator : equal
Admin\epononu\data#
Result Description
8-4 Version: B
8 Data Directory Command under EPONONU
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the ACL rule for the ONUs with the authorization number of 5 and 6 at
number 1 PON port in slot 12.
Command Format
Version: B 8-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the QoS rule for the ONU with the authorization number of 6 under PON port
1 in slot 12.
Admin\epononu\data#
This command is used to configure the Ethernet switch queue scheduling algorithm
for an ONU. You can configure the scheduling algorithms and the corresponding
weights used for each queue priority level of the ONU.
Command Format
set epon slot <1-18> pon <1-8> onu <1-128> queue_schedule mode[strict|weight|
hybrid] {arithmetic [weight|strict] <weight_value>}*8
8-6 Version: B
8 Data Directory Command under EPONONU
Parameter Description
The algorithm mode, i.e., the mode used by the scheduling algorithm.
u strict: strict priority. In this mode, the service with a higher priority is
always processed prior to the service with a lower priority.
u weight: the weighted priority, i.e. a weighted round robin scheduling
[strict|weight| mechanism. In this mode, the service with a higher priority is
Compulsory
hybrid] processed first. However, the services with lower priorities are not
completely blocked, but are processed as per a weighted proportion
at the same time.
u hybrid: hybrid priority, i.e., an algorithm combining the strict priority
and weighted priority.
The weight value for the priority of each queue. The bigger is the value,
<weight_value> the bigger is the weight. Optional
The value ranges from 1 to 55.
Command Example
Set the Ethernet switch queue scheduling algorithm for the ONU with the
authorization number of 6 at number 1 PON port in Slot 12 to strict priority algorithm,
and set the scheduling algorithm to weighted priority algorithm, with the weight
value of 20.
Version: B 8-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the ACL rule (the access control rule) for the
ONU LAN port. The LAN port will control the data flow according to the defined rule.
Command Format
set epon slot <1-18> pon <1-8> onu <onulist> port <portno> acl_rule_index <1-
8> action [deny|forward] {<rulefield> <rulevalue><operator>}*8
Parameter description
Parameter
Parameter Parameter description
Property
8-8 Version: B
8 Data Directory Command under EPONONU
Parameter
Parameter Parameter description
Property
Command Example
Configure Port 1 of the ONUs with the authorization numbers of 5 and 6 at No.1
PON port in Slot 12, setting the rule index to 1, the rule action to forward, the rule
type to the source MAC address, the rule domain value to 456987258654, and the
operator to 0.
Version: B 8-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the QoS rule for the ONU LAN port. The LAN
port will control the data flow according to the defined rule.
Command Format
set epon slot <1-18> pon<1-8> onu <onulist> port <portno> qos_rule_index <1-
8> rule_precedence <0-12> queuemapped <queuemap> priority <0-7>
{<rulefield> <rulevalue> <operator>}*8
Parameter description
Parameter
Parameter Parameter description
Property
rule_precedence The rule precedence, i.e., the priority for data flow QoS control rule. Compulsory
<0-12> The value ranges from 1 to 12. parameter
The queue mapped, i.e., the sequence numbers of queues set with
queuemapped<- priorities. Compulsory
queuemap> u The value ranges from 1 to 4 for an EPON ONU. parameter
u The value ranges from 1 to 8 for a 10GEPON ONU.
8-10 Version: B
8 Data Directory Command under EPONONU
Parameter
Parameter Parameter description
Property
The priority label, indicating the priority level of the data flow at the LAN
Compulsory
priority <0-7> port.
parameter
The value ranges from 0 to 7.
The rules defined, i.e., the data flow control rules defined for the LAN
port. Up to eight rules can be set.
u <rulefield>: the rule type
0: SA MAC, i.e. , the source MAC address.
1: DA MAC, i.e., the destination MAC address.
2: SA IP, i.e., the source IP address.
3: DA IP, i.e., the destination IP address.
4: VLAN ID, i.e. , the value of VLAN ID.
5: Ethernet type.
6: IP protocol type.
7: Ethernet priority.
8: IP TOS/DSCP, i.e., service type and DSCP.
{<rulefield><ru-
9: L4 source PORT, i.e., Layer 4 source port number. Compulsory
levalue><opera-
10: L4 destination PORT, i.e., Layer 4 destination port number. parameter
tor>}*8
The value ranges from 0 to 10.
u <rulevalue>: the rule domain value.
u <operator>: the operator.
0: (Never) (never match).
1: (=) (equal to).
2: (!=) (not equal to).
3: (<=) (smaller than or equal to).
4:(>=) (larger than or equal to).
5: (exist) (exist means match).
6: (no exist) (no exist means match).
7: (always) (always match).
The value ranges from 0 to 7.
Command example
Configure Port 1 of the ONU with the authorization numbers of 6 at No.1 PON port
in Slot 12, setting the rule index to 1, the rule precedence to 10, the queue mapped
to 2, the priority label to 5, the rule type to 0, the rule domain value to 987321159753,
and the operator to 1.
Version: B 8-11
9 QinQ Directory Command under
EPONONU
Version: B 9-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
Configuring CATV
9-2 Version: B
9 QinQ Directory Command under EPONONU
Version: B 9-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the WAN connection profile, including the
extension field of WAN connection (where the configured profile does not send
packets) used at the TL1 interface.
Command Format
Parameter Description
9-4 Version: B
9 QinQ Directory Command under EPONONU
The way to obtain the address for WAN connection. The DHCP
dsp {[dhcp]}*1 Optional
mode can be selected.
Version: B 9-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
The way to obtain the address for WAN connection. The PPPoE
mode can be selected.
u [enable|disable] : PPPoE proxy switch, enable / disable.
u username<name>: the user name for the PPPoE
connection. It is a character string with the maximum length
{[pppoe] proxy [enable| of 32 bytes. Figures, letters or the underlines are all
disable] <username> acceptable.
Optional
<password> <servname> u <password>: the password for the PPPoE connection. It is a
[auto|payload]}*1 character string with the maximum length of 32 bytes.
Figures, letters or the underlines are all acceptable.
u servname<name>: the PPPoE service name. It is a
character string with the maximum length of 32 bytes.
Figures, letters or the underlines are both acceptable.
u [auto|payload]: the PPPoE dialing mode: auto / payload.
Command Example
Configure the WAN connection for the ONU with the authorization number of 3
under PON port 1 in Slot 12, setting the WAN connection index to 1, the connection
mode to INTERNET, the connection type to route, the VLAN ID to 1000, the COS
value to 5, the NAT, QoS and translation functions to enabled, the VLAN mode to
transparent transmission, the translation VLAN ID to 2000, the translation COS
value to 5, and the DSP to DHCP.
Admin\epononu\qinq#set wancfg slot 12 1 3 index 1 mode internet type route 1000 5 nat
enable qos enable vlanmode transparent tvlan enable 2000 5 dsp dhcp
Admin\epononu\qinq#
9-6 Version: B
9 QinQ Directory Command under EPONONU
This command is used to bind the configured WAN connection service profile to a
designated ONU port.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command example
Configure the ONU with the authorization number 3 under PON port 1 in slot 12,
setting the WAN connection index to 1, the number of bound profile to 1, and the
bound port to FE1.
Version: B 9-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\epononu\qinq#
This command is used to deliver the WAN connection binding protocol packet to the
line card.
Command Format
Parameter Description
Slot number.
slot <slot_out> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Apply the WAN connection binding to the ONU with the authorization number of 3 at
PON port 1 in slot 12.
This command is used to delete the WAN connection profile (including the
extension field of WAN connection at the TL1 interface).
9-8 Version: B
9 QinQ Directory Command under EPONONU
Command Format
Parameter Description
Command Example
Delete the number 1 WAN connection profile from the ONU with the authorization
number of 3 under the number 1 PON port in slot 12.
Admin\epononu\qinq#
This command is used to view the information on ONU WAN connection profile
binding.
Command Format
Version: B 9-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the information on the WAN connection profile 1 binding of the ONU
(authorization number being 3) under number 1 PON port in slot 12.
Result Description
show wanbind Information on the WAN connection profile binding of the ONU.
This command is used to view the information on ONU WAN connection profiles.
Command Format
9-10 Version: B
9 QinQ Directory Command under EPONONU
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the information on the WAN connection profile with the index of 1 for the ONU
with the authorization number of 3 under number 1 PON port in slot 12.
Result Description
This command is used to bind the data service configuration profiles in a batch
manner.
Version: B 9-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
set batchserv_bind <1-18> <1-8> <onulist> <1-24> serv <1-16> mode <prf_id>
svlan <prf_id> diff <prf_id> diff_up <prf_id>
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the data service profiles for the ONUs with the authorization numbers of 1,
2 and 3 at number 1 PON port in Slot 12: setting the service sequence number to 1,
the service profile index to 1, the SVLAN profile index to 1, the downlink traffic
classification rule profile index to 1, and the uplink traffic classification rule profile
index to 2.
9-12 Version: B
9 QinQ Directory Command under EPONONU
Admin\epononu\qinq#
This command is used to configure the rate control for a single service at the LAN
port. The command is applicable to the rate control of ONU services in the FTTH
mode or the rate control of GPON standard-compliant MIB services.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Version: B 9-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter
Parameter Parameter Description
Property
Command Example
Configure the rate control at Port 1 of the ONU with the authorization number of 5 at
number 1 PON port in Slot 12: setting the service sequence number to 1, the
minimum assured uplink service bandwidth to 200, the maximum allowable uplink
service bandwidth to 100000, and the minimum assured downlink service
bandwidth to 6400.
Admin\epononu\qinq#set bandwid slot 12 pon 1 onu 5 port 1 service 1 upmin 200 upmax
100000 downstream 6400
Admin\epononu\qinq#
This command is used to configure the rate control at a LAN port, applicable to the
rate control at the LAN port of an ONU in the FTTB mode.
Command Format
set bandwid slot <slotNo> pon <ponNo> onu <onuNo> port <portNo> upmin <0-
1000000> upmax <256-1000000> downstream <0-1000000> {downmax <0-1000000>
upfix <0-1000000> }*1
9-14 Version: B
9 QinQ Directory Command under EPONONU
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the rate control at Port 1 of the ONU with the authorization number of 5 at
PON port 1 in Slot 12: setting the minimum assured uplink service bandwidth to 200,
the maximum allowable uplink service bandwidth to 100000, and the minimum
assured downlink service bandwidth to 6400.
Admin\epononu\qinq#set bandwid slot 12 pon 1 onu 5 port 1 upmin 200 upmax 100000
downstream 6400
Version: B 9-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\epononu\qinq#
This command is used to view the configuration of rate control at an ONU port.
Command Format
show bandwid slot <slot_out> pon <pon_no> onu <onu_no> port <port_no> service
<serv_no>
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the information on rate control of the service with the sequence number of 1 at
Port 1 of the ONU with the authorization number of 3 under number 1 PON port in
Slot 12.
9-16 Version: B
9 QinQ Directory Command under EPONONU
Result Description
slot 12 1 3 1 The slot number, PON port number, ONU number and port number.
This command is used to view the content of the traffic policing profile, packet
suppression profile, and Ethernet scheduling algorithm profile in the ONUBR.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Version: B 9-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
=== context===
quesche name default mode 2 num 0.
pri 0 sche 0 weight 50.
pri 1 sche 0 weight 50.
pri 2 sche 0 weight 50.
pri 3 sche 0 weight 50.
pri 4 sche 0 weight 50.
pri 5 sche 0 weight 50.
pri 6 sche 0 weight 50.
pri 7 sche 0 weight 50.
=== context===
....................................................
....................................................
prf 5 type 104 using 0 flush 0.
=== context===
quesche name test1 mode 3 num 1.
pri 7 sche 0 weight 10.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
pri 0 sche 0 weight 0.
=== context===
....................................................
Admin\epononu\qinq#
Result Description
9-18 Version: B
9 QinQ Directory Command under EPONONU
This command is used to configure the QinQ multicast VLAN parameters, including
the CVLAN and the SVLAN, for an ONU port.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onuNo> port <portNo> cvid <cvid> ccos
<cos> ctpid <ctpid> svid <svid> scos <cos> stpid <stpid>
Parameter Description
Slot number.
slot <slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
CVLAN ID.
cvid <cvid> Compulsory parameter
The value ranges from 1 to 4085.
CVLAN COS.
ccos <cos> Compulsory parameter
The value ranges from 0 to 7.
CVLAN TPID.
ctpid <ctpid> Compulsory parameter
The value ranges from 1 to 65534, or can be set to 0xffff.
SVLAN ID.
svid <svid> Compulsory parameter
The value ranges from 1 to 4085, or can be set to 0xffff.
SVLAN COS.
scos <cos> Compulsory parameter
The value ranges from 0 to 7, or can be set to 0xffff.
SVLAN TPID.
stpid <stpid> Compulsory parameter
The value ranges from 1 to 65534, or can be set to 0xffff.
Version: B 9-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the VLAN of Port 1 on the ONU with the authorization number of 2 under
number 1 PON port in Slot 12, setting the CVLAN ID to 10, CVLAN COS to 7,
CVLAN TPID to 100, SLVAN ID to 50, SVLAN COS to 7, and SVLAN TPID to 200.
Admin\epononu\qinq#set epon slot 12 pon 1 onu 2 port 1 cvid 10 ccos 7 ctpid 100 svid 50
scos 7 stpid 200
Admin\epononu\qinq#
This command is used to configure services at an ONU port, including service types
and enabling service flags.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-
16>serv_flag [enable|disable]
Parameter Description
Slot number.
slot <slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
9-20 Version: B
9 QinQ Directory Command under EPONONU
Command Example
Enable the service flag for service 1 at port 1 of the ONU with the authorization
number of 2 under number 1 PON port in slot 12.
This command is used to configure the service type at an ONU port, such as
enabling / disabling the TLS.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-16>
tls [enable|disable]
Parameter Description
Parameter
Parameter Parameter Description
Property
TLS function.
Compulsory
tls [enable|disable] u enable: Enables the function.
parameter
u disable: Disables the function.
Version: B 9-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Enable the TLS function with the service number of 1 at Port 1 of the ONU with the
authorization number of 2 at number 1 PON port in Slot 12.
This command is used to configure the ONU port services, including multicast or
unicast services.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-16>
type [multicast|unicast]
Parameter Description
Parameter
Parameter Parameter Description
Property
Service type.
type [multicast| Compulsory
u multicast: multicast service
unicast] parameter
u unicast: unicast service
9-22 Version: B
9 QinQ Directory Command under EPONONU
Command Example
Set the service type of service 1 at port 1 of the ONU with the authorization number
of 2 at number 1 PON port in slot 12 to multicast.
This command is used to configure the QinQ for ONU port services, including
enabling / disabling the QinQ profile, COS and SVLAN.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-
16>qinq [enable|disable] {<cos> <tpid> <profile> <service_nam>
<s_vlanlist>}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
Version: B 9-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter
Parameter Parameter Description
Property
Command Example
Enable the QinQ for Service 1 at Port 1 of the ONU with the authorization number of
3 under number 1 PON port in Slot 12; sets the COS value to 5, the SVLAN protocol
identifier to 1, the QinQ profile name to 1, the service name to fh, and the SVLAN to
2000.
This command is used to configure the VLAN translation for ONU port services,
including enabling / disabling the VLAN translation, COS and translation VLAN.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-
16>translate [enable|disable] {<cos> <tpid> <trans_vlanlist>}*1
9-24 Version: B
9 QinQ Directory Command under EPONONU
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Enable the VLAN translation for Service 1 at Port 1 on the ONU with the
authorization number of 3 under number 1 PON port in Slot 12. Set the COS to 5,
translation TPID to 1, and translation VLAN to 1.
Version: B 9-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the VLAN mode for ONU port services, including
TAG or transparent transmission, COS and CVLAN.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <port> service <1-
16>vlan_mode [tag|transparent] <cos> <tpid> <c_vlanlist>
Parameter Description
Slot number.
slot <slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
9-26 Version: B
9 QinQ Directory Command under EPONONU
Command Example
Configure the VLAN mode for Service 1 at Port 1 on the ONU with the authorization
number of 2 at number 1 PON port in Slot 12, setting the VLAN mode to transparent
transmission, the COS value to 7, the CVLAN TPID value to 2, and the CVLAN
number to 2.
Command Format
Parameter Description
Version: B 9-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Add the packet suppression profile, setting the profile index to 2, the profile name to
fh, the packet type to broadcast, and the rate limit to 640, and enable the packet
suppression profile.
This command is used to add or delete a traffic rate limit profile. The parameters
include enabling / disabling the traffic rate limit profile, the assured uplink / downlink
rate, the uplink burst size and the peak rate.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
name <name> The traffic rate limit profile name.
parameter
Compulsory
cir<cir> The assured uplink rate.
parameter
Compulsory
cbs<cbs> The uplink burst size.
parameter
9-28 Version: B
9 QinQ Directory Command under EPONONU
Parameter
Parameter Parameter Description
Property
Compulsory
ebs<ebs> The uplink excess burst size.
parameter
Compulsory
cir <cir> The assured downlink rate.
parameter
Compulsory
pir <pir> The downlink peak cell rate.
parameter
Command Example
Add a traffic rate limit profile, setting the profile index to 3, the profile name to fhtx,
the uplink limit rate profile to enabled, the uplink assured rate to 6400, the uplink
burst size to 10, the uplink excess burst size to 5, the downlink traffic rate limit
profile to enabled, the assured downlink rate to 100, and the downlink peak cell rate
to 640.
Admin\epononu\qinq# add policing profile index 3 name fhtx up enable cir 6400 cbs 10
ebs 5 down enable cir 100 pir 640
Admin\epononu\qinq#
This command is used to add or delete an ONU port attribute profile. The
parameters include enabling / disabling the auto-negotiation, rate, data
communication mode, and enabling / disabling the traffic control port.
Command Format
Version: B 9-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
name <name> The port attribute profile name.
parameter
Command Example
Add a port attribute profile, setting the profile index to 4, the profile name to test, the
auto-negotiation to enabled, the rate to 100m, the data communication mode to full
duplex, and the traffic control to enabled.
Admin\epononu\qinq# add portattr2 profile index 4 name test auto enable speed 100m
duplex full flow enable
Admin\epononu\qinq#
9-30 Version: B
9 QinQ Directory Command under EPONONU
Command Format
Parameter Description
name <name> The Ethernet switch queue scheduling profile name Compulsory
Version: B 9-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Add an Ethernet switch queue scheduling algorithm profile, setting the profile index
to 5, the profile name to test1, the Ethernet switch queue scheduling mode to hybrid
priority, the Ethernet switch queue priority identifier to 7, the scheduling algorithm to
weighted algorithm, and the weight value to 10.
Admin\epononu\qinq#add quesche profile index 5 name test1 mode hybrid pri 7 method
wrr weight 10
Admin\epononu\qinq#
This command is used to add or delete a service mode profile, including deleting the
translation VLAN and the QinQ profile.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
name <name> The service profile name
parameter
Service type.
type[unicast| u unicast: unicast service Compulsory
muliticast|multiup] u muliticast: multicast service parameter
u multiup: multicast uplink protocol
9-32 Version: B
9 QinQ Directory Command under EPONONU
Parameter
Parameter Parameter Description
Property
CVLAN mode.
cvlan[tag| Compulsory
u tag: the TAG identifier.
transparent] parameter
u transparent: transparent transmission.
Command Example
Add a service profile, setting the profile index to 6, profile name to test 2, service
type to multicast, CVLAN mode to transparent transmission, the translation function
and QinQ profile to enabled, and the QinQ profile name to 1.
This command is used to add or delete a traffic policing profile. The configuring
parameters include enabling ACL forwarding function, rate limit, and queue
mapping.
Command Format
Version: B 9-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
9-34 Version: B
9 QinQ Directory Command under EPONONU
Command Example
Add a traffic policing profile, setting the profile index to 6, the profile name to test6,
the traffic rule index to 1, the traffic rule priority identifier to 5, the AC, ACL
forwarding and rate limit functions to enabled, the assured rate to 640, the burst size
to 5, the excess burst size to 5, the peak cell rate to 7, the queue mapping identifier
to enabled, the queue mapping sequence number to1, the remark identifier to
enabled, and the COS value to 5.
Admin\epononu\qinq#add strpcy profile index 6 name test6 rule_index 1 pri 5 acl enable
forward enable limit enable cir 640 cbs 5 ebs 5 pir 7 queue enable map 1 remark enable cos
5
Admin\epononu\qinq#
Command Format
[add|delete] svlan profile index <0-128> {name <name> service <name> svlan
<vid> <tpid> <cos>}*1
Parameter Description
SVLAN ID.
svlan <vid> Compulsory parameter
The value ranges from 1 to 4085.
Version: B 9-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
SVLAN TPID
<tpid> Compulsory parameter
The value ranges from 0 to 65535.
SVLAN COS.
<cos> Compulsory parameter
The value ranges from 0 to 7.
Command Example
Add an SVLAN profile, setting the profile index to 7, profile name to test7, service
name to 1, SVLAN ID to 7, SVLAN TPID to 5, and SVLAN COS to 7.
This command is used to apply the ONU LAN port so that it can transmit packets to
the video card.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command example
Apply the LAN port on the ONU with the authorization number of 3 at PON interface
1 in slot 12.
9-36 Version: B
9 QinQ Directory Command under EPONONU
This command is used to delete the IP address(es) of one or all COM ports on the
ONU.
Command Format
del epon slot <slotNo> pon <ponNo> onu <onuNo> comip port [<portNo>|all]
Parameter Description
Command example
Delete the IP address of number 1 COM port on the ONU with the authorization
number of 4 under number 1 PON port in slot 12.
Version: B 9-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to delete the VLAN of one or all COM ports on a designated
ONU.
Command Format
del epon slot <slotNo> pon <ponNo> onu <onuNo> comvlan port [<portNo>|all]
Parameter Description
Command Example
Delete the VLAN of number 1 COM port on the ONU with the authorization number
of 4 under number 1 PON port in slot 12.
9-38 Version: B
9 QinQ Directory Command under EPONONU
Command Format
delete epon slot <1-18> pon <1-8> onu <1-128> port <1-24> onuveip <1-16>
Description
Command Example
Delete number 2 ONU VEIP service at Port 1 of the ONU with the authorization
number of 7 at number 1 PON port in Slot 14.
This command is used to configure the ONU VEIP at an ONU port. The
configuration parameters include the uplink / downlink bandwidth, VLAN and ONU
VEIP service flow rule, and the QinQ profile.
Command Format
set epon slot <1-18> pon <1-8> onu <1-128> port <1-24> onuveip <1-16> <ctpid>
<cvid> <ccos> <ttpid> <tvid> <tcos> <stpid> <svid> <scos> <tls> <servmode>
<svlan> {[qinq] <qinq> serdiff <servdiff>}*1 {[up_bandwidth] <upbandwidth>
down_bandwidth <down_bandwidth>}*1
Version: B 9-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
CVLAN ID.
<cvid> Compulsory
The value ranges from 1 to 4085.
CVLAN COS.
<ccos> Compulsory
The value can be set to 0 to 7 or 65535.
The translation VLAN tag protocol identifier.
<ttpid> Compulsory
The value ranges from 1 to 65535.
SVLAN ID.
<svid> Compulsory
The value ranges from 1 to 4085.
SVLAN COS.
<scos> Compulsory
The value can be set to 0 to 7 or 65535.
The TLS identifier.
<tls> u 0: non-TLS identifier Compulsory
u 1: TLS identifier
<servmode> The service profile sequence number. Compulsory
SVLAN ID.
<svlan> Compulsory
The value ranges from 1 to 4085.
[qinq] <qinq> The QinQ profile name. Compulsory
9-40 Version: B
9 QinQ Directory Command under EPONONU
Command Example
Configure the VEIP at Port 1 of the ONU with the authorization number of 7 at
number 1 PON port in Slot 14, setting the ONU VEIP service sequence number to 2,
CVLAN tag protocol identifier to 33024, CVLAN ID to 3, CVLAN COS to 7, the
translation VLAN tag protocol identifier to 33024, the translation VLAN ID to 20, the
translation VLAN COS to 0, the SVLAN tag protocol identifier to 33024, the SVLAN
ID to 40, the SVLAN COS to 65535, the TLS identifier to 0, the service profile
sequence number to 1, and the SVLAN ID to 7.
This command is used to view the specific service of the ONU VEIP.
Command Format
show epon slot <1-18> pon <1-8> onu <1-128> onuveip servindex {<1-16>}*1
Description
Version: B 9-41
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the information about the number 2 ONU VEIP service at port 1 of the ONU
with the authorization number of 7 at number 1 PON port in slot 14.
This command is used to configure the IP of an ONU COM port. The IP can be set
in a static or dynamic mode. The configuration parameters include the IP address,
gateway and IP type.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onuNo> port <portno> comip ipmode
[dhcp|static] {ip <value> gateway <value> <ipaddrtype>}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
9-42 Version: B
9 QinQ Directory Command under EPONONU
Parameter
Parameter Parameter Description
Property
Compulsory
ipmode [dhcp|static] The IP mode.
parameter
Command Example
Set the IP mode of number 1 COM port on the ONU with the authorization number
of 4 under number 1 PON port in slot 12 to DHCP.
This command is used to view the information on the IP configuration of the ONU
COM port.
Command format
show epon slot <slotNo> pon <ponNo> onu <onuNo> comip port {<portNo>}*1
Parameter Description
Version: B 9-43
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the information on the IP configuration of number 1 COM port on the ONU with
the authorization number of 4 under number 1 PON port in slot 12.
Result Description
This command is used to configure the VLAN of an ONU COM port, including the
SVLAN and CVLAN.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <portno> comvlan
{[svlan] <stpid> <svlan> <scos> }*1 {[cvlan] <ctpid> <cvlan> <ccos> }*1
9-44 Version: B
9 QinQ Directory Command under EPONONU
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the COM VLAN of port 1 on the ONU with the authorization number of 4
at number 1 PON port in slot 12, setting the SLVAN TPID to 10, SVLAN ID to 4085,
and SVLAN COS to 7.
This command is used to view the VLAN configuration of one or all COM ports on
an ONU.
Command Format
show epon slot <slotNo> pon <ponNo> onu <onuNo> comvlan port [<portNo>|all]
Version: B 9-45
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot <slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the VLAN of number 1 COM port on the ONU with the authorization number 4
under number 1 PON port in slot 12.
Result description
9-46 Version: B
9 QinQ Directory Command under EPONONU
This command is used to configure the ONU port. The configuration parameters
include auto-negotiation, rate, duplex and rate control.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <portno> {[enable|
disable]}*1 {[auto] [enable|disable]}*1 {[speed] [10M|100M|1000M]}*1
{[duplex] [full|half]}*1 {[flowcontrol] [enable|disable]}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
Optional
{[speed] [10M|100M|1000M]}*1 Rate
parameter
Version: B 9-47
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure Port 1 of the ONU with the authorization number of 3 at number 1 PON
port in Slot 12, setting the port function to enabled, the auto-negotiation function to
enabled, the rate to 100m, the data communication mode to full-duplex, and the rate
control to enabled.
Admin\epononu\qinq#set epon slot 12 pon 1 onu 3 port 1 enable auto enable speed 100m
duplex full flowcontrol enable
port 12:3:1 auto negotiation is enabled
port 12:3:1 auto negotiation is enabled
Admin\epononu\qinq#
This command is used to configure the service flow rule for the ONU port.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onu> port <port> [service]<1-16>{[up|
down][da|sa|dip|sip|vid|sport|dport|iptype|eth_type|tos|priority]
<value> <0-6> }*8
Parameter Description
Parameter
Parameter Parameter Description
Property
9-48 Version: B
9 QinQ Directory Command under EPONONU
Parameter
Parameter Parameter Description
Property
The service flow rule type for the uplink / downlink flow.
u da: the destination address
u sa: the source address
u dip: the destination IP address
[up|down] u sip: the source IP address
[da|sa|dip|sip|vid| u vid: VLAN ID Compulsory
sport|dport|iptype| u sport: the source port parameter
eth_type|tos|priority] u dport: the destination port
u iptype: the IP type
u eth_type: the Ethernet type
u tos: type of service
u priority: priority
Compulsory
<value> The identifier of the service flow rule type
parameter
Command Example
Configure the service flow rule for Port 1 of the ONU with the authorization number
of 4 at number 1 PON port in Slot 12, setting the service index to 1, the uplink
service flow rule type to priority type, the identifier to 6, and the priority to 5.
This command is used to configure the service number for the ONU port.
Command Format
set epon slot <slotNo> pon <ponNo> onu <onulist> port <portno> service number
<0-16>
Version: B 9-49
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot <slotNo> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Set the sequence number of the service at port 1 on the ONU with the authorization
number of 4 at number 1 PON port in slot 12 to 1.
This command is used to enable / disable the CATV for the ONU port.
Command Format
set epon slot <slot_out> pon <pon_no> onu <onu_64> catv [enable|disable]
Parameter Description
Parameter
Parameter Parameter Description
Property
9-50 Version: B
9 QinQ Directory Command under EPONONU
Parameter
Parameter Parameter Description
Property
Command Example
Enable the CATV function for the ONU with the authorization number of 3 at number
1 PON port in slot 12.
This command is used to configure the rate control and working mode of ONU data
ports. The configuration parameters include the status of port being enabled,
binding the ONU port rate control profile and the port attribute profile.
Command Format
Parameter Description
Slot number.
[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Version: B 9-51
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Enable the FE function of port 1 on the ONU with the authorization number of 3
under number 1 PON port in slot 12, setting the limit for the number of MAC
addresses to 64, the sequence number for the port attribute profile to 4, and the
sequence number for the rate control profile to 3.
This command is used to configure binding packet suppression profile in the ONU
Bridge management.
Command Format
set onubr [<1-8>|<11-18>] <1-8> <1-128> port <portlist> bind pkgcurb <index>
9-52 Version: B
9 QinQ Directory Command under EPONONU
Parameter Description
Slot number.
[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Set the index of the packet suppression profile at port 1 on the ONU with the
authorization number of 3 under number 1 PON port in slot 12 to 2.
This command is used to view the information on configuration of the ONU LAN port.
Command Format
Parameter Description
Slot number.
<1-18> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Version: B 9-53
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the configuration information related to the LAN port of the ONU with the
authorization number 3 at PON port 1 in Slot 12.
Admin\epononu\qinq#show onufe 12 1 3
9-54 Version: B
9 QinQ Directory Command under EPONONU
Result Description
Version: B 9-55
10 GPONONU Directory Command
Version: B 10-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
Restarting ONU
Authorizing an ONU
10-2 Version: B
10 GPONONU Directory Command
Version: B 10-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
10-4 Version: B
10 GPONONU Directory Command
This command is used to bind the ONU packet suppression profile to a port. The
command configures the data structure only, and you need to use the apply
command to apply the configuration.
Command Format
bind packet_control slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
prof_id <0-128>
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Bind the ONU packet suppression profile to port 1 of the ONU with the authorization
number 1 under number 1 PON port in slot 14, and set the number of the ONU
packet suppression profile to 1.
Version: B 10-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to apply the packet suppression function to one or more
ONU ports.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Apply the packet suppression function to port 1 of the ONU with the authorization
number of 1 under number 1 PON port in slot 14.
10-6 Version: B
10 GPONONU Directory Command
This command is used to view the ID of the packet suppression profile bound to the
ONU port.
Command Format
show packet_control slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the information on the packet suppression profile bound to Port 1 of the ONU
with the authorization number of 1 at number 1 PON port in Slot 14.
Result Description
Version: B 10-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the feed mode for one or more ONU ports. The
command configures the data structure only, and you need to use the apply
command to apply the configuration.
Command Format
set port_ps_mode_cfg slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
{[status] [enable|disable]}*1 {[pri] [low|medium|high|highest]}*1
{[power_min] <0-3>}*1 {[power_max] <0-3>}*1 {[mode] [force|normal]}*1
Parameter Description
Parameter
Parameter Parameter Description
Property
10-8 Version: B
10 GPONONU Directory Command
Parameter
Parameter Parameter Description
Property
Command Example
Enable the power supply at Port 1 of the ONU with the authorization number of 2 at
No.1 PON port in Slot 14, and set the power supply priority to low, the minimum
value for power supply to 0, the maximum value for the power supply to 3, and the
power supply mode to normal.
Admin\gpononu#set port_ps_mode_cfg slot 14 link 1 onu 2 port 1 status enable pri low
power_min 0 power_max 3 mode normal
set onu port ps mode cfg ok!
Admin\gpononu#
This command is used to apply the feed mode for one or more ONU ports.
Command Format
Version: B 10-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Apply the feed mode to port 1 of the ONU with the authorization number of 2 under
number 1 PON port in slot 14.
This command is used to view the feed mode for an ONU port.
Command Format
show [ps_mode_cfg] slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
10-10 Version: B
10 GPONONU Directory Command
Parameter Description
Command Example
View the feed mode for port 1 of the ONU with the authorization number of 2 under
number 1 PON port in slot 14.
Result Description
PS Standard Min Minimum power of the power supply / feed for the port.
PS Standard Max Maximum power of the power supply / feed for the port.
PS Mode The feed mode.
This command is used to obtain the information on the feed for an ONU port.
Version: B 10-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
show [ps_info] slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
Description
Slot number.
slot[<1-8>|<11-18>] Compulsory
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the information on the feed for port 1 on the ONU with the authorization
number of 2 under number 1 PON port in slot 14.
Result Description
Parameter Description
10-12 Version: B
10 GPONONU Directory Command
This command is used to configure the management VLAN for an ONU VEIP port.
Command Format
Description
Version: B 10-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
IP address.
u ipv4|ipv6|ipv4z|ipv6z: common INTERNET address
type.
u <ip_addr>: the IP address.
u <0-32>: length of the byte controlling the InetAddress.
{[ip_addr] [ipv4|ipv6|
For IPv4, the value is set to 4.
ipv4z|ipv6z] <ip_addr> Optional
For IPv6, the value is set to 16.
<0-32>}*1
For IPv4z, the value is set to 8.
For IPv6z, the value is set to 20.
The value ranges from 0 to 32. The default value is 0,
indicating that the length of the byte controlling the
InetAddress is 0.
The gateway.
u ipv4|ipv6|ipv4z|ipv6z: common INTERNET address
type.
u <ip_addr>: the IP address.
u <0-32>: length of the byte controlling the InetAddress.
{[gateway] [ipv4|ipv6|
For IPv4, the value is set to 4.
ipv4z|ipv6z] <gateway> Optional
For IPv6, the value is set to 16.
<0-32>}*1
For IPv4z, the value is set to 8.
For IPv6z, the value is set to 20.
The value ranges from 0 to 32. The default value is 0,
indicating that the length of the byte controlling the
InetAddress is 0.
The primary DNS
u ipv4|ipv6|ipv4z|ipv6z: common INTERNET address
type.
u <ip_addr>: the IP address.
u <0-32>: length of the byte controlling the InetAddress.
{[pri_dns] [ipv4|ipv6|
For IPv4, the value is set to 4.
ipv4z|ipv6z] <pri_dns> Optional
For IPv6, the value is set to 16.
<0-32>}*1
For IPv4z, the value is set to 8.
For IPv6z, the value is set to 20.
The value ranges from 0 to 32. The default value is 0,
indicating that the length of the byte controlling the
InetAddress is 0.
10-14 Version: B
10 GPONONU Directory Command
Priority.
{[priority] <0-63>}*1 Optional
The value ranges from 0 to 63. The default value is 0.
{[tag_type] [tag| The TAG attribute
Optional
untag]}*1 The default value is untag.
Version: B 10-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the VLAN for number1 VEIP port of the ONU with the authorization
number of 2 at number 1 PON port in slot 14, setting the management ID to 1, the
management VLAN name to test, the way to obtain the IP address to static, the IP
address type to IPv4, the IP address to 10.19.8.15, the length of the byte controlling
the InetAddress to 4, the IP address type of the gateway to IPv4, the gateway
address to 10.92.1.254, and the length of the byte controlling the InetAddress to 4.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
10-16 Version: B
10 GPONONU Directory Command
Parameter
Parameter Parameter Description
Property
Command example
Configure the management parameters for number 1 VEIP port of the ONU with the
authorization number of 2 under number 1 PON port in slot 14, setting the port type
to VEIP, the non-OMCI management channel to enabled, the management model to
TR069, and the number of the management VLAN item to 1.
This command is used to delete the management VLAN of a designated ONU port.
Command Format
Version: B 10-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the management VLAN with the management ID of 1 for number 1 VEIP port
of the ONU with the authorization number of 2 at number 1 PON port in slot 14.
This command is used to apply the management VLAN of the ONU VEIP.
Command Format
10-18 Version: B
10 GPONONU Directory Command
Parameter Description
Command Example
Apply the VEIP management VLAN of the ONU with the authorization number of 2
under number 1 PON interface in slot 14.
This command is used to view the management VLAN of the ONU VEIP.
Command Format
show [dos_attack_defend|vlan_mapping|fan_control|aging_time|fec_enable|
ps_mode_cfg|veip_mgr] slot [<1-8>|<11-18>] link <1-8> onu <1-128>
Parameter Description
Slot number
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Version: B 10-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command example
View the VEIP management VLAN of the ONU with the authorization number 2 at
PON port 1 in Slot 14.
Result Description
10-20 Version: B
10 GPONONU Directory Command
PRIORITY Priority
TAG The TAG attribute
SVLAN TPID The management SVLAN protocol identifier
Command Format
Version: B 10-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Set the rule domain of the ONU with the authorization number of 1 under number 1
PON port in slot 14 to 0x8100, and set the VLAN ID to 10.
Command Format
10-22 Version: B
10 GPONONU Directory Command
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Delete the VLAN mapping of the ONU with the authorization number of 1 at PON
port 1 in slot 14.
This command is used to apply the VLAN mapping function of the ONU.
Command Format
Parameter Description
Version: B 10-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Apply the VLAN mapping of the ONU with the authorization number of 1 at PON
port 1 in slot 14.
Command Format
show [dos_attack_defend|vlan_mapping|fan_control|aging_time|fec_enable|
ps_mode_cfg|veip_mgr] slot [<1-8>|<11-18>] link <1-8> onu <1-128>
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the VLAN mapping of the ONU with the authorization number of 1 under
number 1 PON port in slot 14.
10-24 Version: B
10 GPONONU Directory Command
Result Description
This command is used to bind an ONU port to designated traffic policies. After being
bound to the traffic policies, the ONU port will have its uplink service flow and
downlink service flow processed according to the traffic policies.
Command Format
bind acl_qos_rule slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
{uplink_profile <1-128> downlink_profile <1-128>}*8
Parameter Description
Version: B 10-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Bind uplink / downlink traffic policy 1 with Port 1 on the ONU with the authorization
number of 1 under number 1 PON port in slot 14.
This command is used to view the traffic policies bound to an ONU port.
Command Format
show acl_qos_rule slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <1-32>
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
10-26 Version: B
10 GPONONU Directory Command
Command Example
View the traffic policies bound to port 1 of the ONU with the authorization number of
1 under number 1 PON port in slot 14.
Result Description
The number of items, i.e., the number of items on the list of traffic policies bound
ITEM NO
to the port.
NOx The xth item.
UPLINK The ID of the traffic policy bound to the uplink service.
This command is used to bind the Ethernet queue scheduling algorithm to an ONU.
Command Format
Version: B 10-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Bind the Ethernet queue scheduling algorithm to the ONU with the authorization
number of 1 under number 1 PON port in slot 14. Set the ID of the Ethernet switch
queue scheduling algorithm profile to 2.
This command is used to view the Ethernet queue scheduling mechanism profile
bound to an ONU.
Command Format
10-28 Version: B
10 GPONONU Directory Command
Parameter Description
Command Example
View the the Ethernet queue scheduling mechanism profile bound to the ONU
whose authorization number is 1 under the number 1 PON port of slot 14.
Result Description
This command is used to bind the alarm threshold profile to ONU and ONU ports.
Command Format
Version: B 10-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command example
Bind the alarm threshold profile to port 1 of the ONU with the authorization number 1
under number 1 PON port in slot 14, and set the number of the ONU packet
suppression profile to 1.
This command is used to view alarm threshold profiles bound to the ONU and ONU
port.
10-30 Version: B
10 GPONONU Directory Command
Command Format
Parameter Description
Command Example
View the the alarm threshold profile bound to the ONU whose authorization number
is 1 under number 1 port of slot 14.
Result Description
Parameter Description
Version: B 10-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to configure the bandwidth allocation profile for manually
allocating bandwidth to the uplink service of each ONU. The bandwidth allocation
profile includes fixed bandwidth, assured bandwidth and maximum bandwidth.
Command Format
Parameter Description
Service type.
u iptv: IPTV.
u data: accessing Internet via broadband.
type [iptv|data| u voice: voice.
voice|tdm| u tdm: TDM.
Compulsory
integrated|data2| u integrated: hybrid data service.
data3|data4|com] u data2: accessing Internet via broadband 2.
u data3: accessing Internet via broadband 3.
u data4: accessing Internet via broadband 4.
u com: serial port service.
10-32 Version: B
10 GPONONU Directory Command
Command Example
Configure the ID of the service bandwidth profile as 1 and name as fh. The service
type is TDM and the fixed bandwidth is 6400 kbit/s; the assured bandwidth is 32
kbit/s; the maximum bandwidth is 10 000 kbit/s.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Service type.
u iptv: IPTV.
u data: Accessing Internet via broadband.
type [iptv|
u voice: voice.
data|voice|tdm|
u tdm: TDM. Compulsory
integrated|
u integrated: Hybrid data service. parameter
data2|data3|
u data2: Accessing Internet via broadband 2.
data4|com]
u data3: Accessing Internet via broadband 3.
u data4: Accessing Internet via broadband 4.
u com: serial port service.
Version: B 10-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Delete the service bandwidth profile whose profile ID is 1, name is fh, and service
type is TDM.
Command Format
set manage_vlan slot [<1-8>|<11-18>] link <1-8> onu <1-128> mgr_id <1-4>
{[name] <mgr_name>}*1 {[port] <0-3>}*1 {[tag_type] [tag|untag]}*1
{[svlan_label] <hexnum>}*1 {[svlanid] <1-4085>}*1 {[svlan_cos] [<0-7>|
null]}*1 {[cvlan_label] <hexnum>}*1 {[cvlanid] [<1-4085>|null]}*1
{[cvlan_cos] [<0-7>|null]}*1 {[ip] <A.B.C.D>}*1 {[mask] <1-32>}*1
{[gateway] <A.B.C.D>}*1
Parameter Description
The management ID
u 15 represents the AN5006-15. It supports one
management VLAN at present.
mgr_id <1-4> Compulsory
u 20 represents the AN5006-20. It supports four
management VLANs at most. .
The value ranges from 1 to 4.
10-34 Version: B
10 GPONONU Directory Command
IP address
{[ip] <A.B.C.D>}*1 The parameter value ranges between 0 and 4294967295, and Optional
should be a unicast address.
The mask.
{[mask] <1-32>}*1 Optional
The value ranges from 1 to 32. The default value is 32.
Gateway
{[gateway] <A.B.C.D>}*1 Optional
The value ranges from 0 to 4294967295.
Command Example
Version: B 10-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
del manage_vlan slot [<1-8>|<11-18>] link <1-8> onu <1-128> mgr_id <1-4>
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the management VLAN of the ONU whose authorization number is 4 under
number 1 PON port in slot 14. The management ID is 1.
10-36 Version: B
10 GPONONU Directory Command
Command Format
show [rstp_bridge|cpu_using|optic_module|multicast_table|onu_time|
manage_vlan|e1_status|rtt_value] slot [<1-8>|<11-18>] link <1-8> onu <1-
128>
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the management VLAN of the ONU with the authorization number 4 under
number 1 PON port in slot 14.
Version: B 10-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
IP :1.1.1.1/32
MASK :0.0.0.0
Admin\gpononu#
Result Description
Command Format
set service_bandwidth slot [<1-8>|<11-18>] link <1-8> onu <1-128> type [iptv|
data|voice|tdm|integrated|data2|data3|data4|com] fix <16-128000> assure
<0-128000> max <48-128000>
Parameter Description
10-38 Version: B
10 GPONONU Directory Command
Service type.
u iptv: IPTV.
u data: accessing Internet via broadband.
type [iptv|data| u voice: voice.
voice|tdm| u tdm: TDM.
Compulsory
integrated|data2| u integrated: hybrid data service.
data3|data4|com] u data2: accessing Internet via broadband 2.
u data3: accessing Internet via broadband 3.
u data4: accessing Internet via broadband 4.
u com: serial port service.
Command Example
Configure the service type of the ONU with authorization number 1 on PON port 1 in
slot 14 as voice, setting the fixed bandwidth to 6400 kbit/s, the assured bandwidth to
100 kbit/s, and the maximum bandwidth to 7000 kbit/s.
Admin\gpononu#set service_bandwidth slot 14 link 1 onu 1 type voice fix 6400 assure 100
max 7000
set onu service (voice) bandwidth ok.
Admin\gpononu#
Version: B 10-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
del service_bandwidth slot [<1-8>|<11-18>] link <1-8> onu <1-128> type [iptv|
data|voice|tdm|integrated|data2|data3|data4|com]
Parameter Description
Service type.
u iptv: IPTV.
u data: accessing Internet via broadband.
type [iptv|data| u voice: voice.
voice|tdm| u tdm: TDM. Compulsory
integrated|data2| u integrated: hybrid data service. parameter
data3|data4|com] u data2: accessing Internet via broadband 2.
u data3: accessing Internet via broadband 3.
u data4: accessing Internet via broadband 4.
u com: serial port service.
Command Example
Delete the voice service for the ONU with the authorization number of 1 under PON
port 1 in slot 14.
Admin\gpononu#
10-40 Version: B
10 GPONONU Directory Command
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the service bandwidth of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
Result Description
Version: B 10-41
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
set wifi_serv_wlan slot [<1-8>|<11-18>] link <1-8> onu <1-128> index <1-4>
ssid [enable|disable] <ssid> hide [enable|disable] authmode [open|shared|
wepauto|wpa_psk|wpa|wpa2psk|wpa2|wpa/wpa2|wpa_psk/wpa2psk] encrypt_type
[none|wep|tkip|aes|tkipaes] wpakey [<wpakey>|null] interval <0-4194303>
{[radius_serv] [unknown|ipv4|ipv6|ipv4z|ipv6z|dns] <radius_serv> port <0-
65535> pswd <pswd>}*1 {[wep_length] [40bit|104bit] key_index <1-4> wep_key
[<wep_key1>|null] [<wep_key2>|null] [<wep_key3>|null] [<wep_key4>|null]}
*1
Parameter Description
SSID enable.
Compulsory
ssid [enable|disable] u enable: Enabling.
parameter
u disable: Disabling.
10-42 Version: B
10 GPONONU Directory Command
WEP key length. When the key mode is WEP, the field is valid.
Applicable value:
[wep_length] [40bit| Optional
u 1: 40 bit.
104bit] parameter
u 2: 104 bit.
The default value is 1.
Version: B 10-43
AN5116-06B Optical Line Terminal Equipment CLI Reference
WEP key.
wep_key [<wep_key1>| u <wep_key1>: the first WEP key.
null] [<wep_key2>| u <wep_key2>: the second WEP key.
Optional
null] [<wep_key3>| u <wep_key3>: the third WEP key.
parameter
null] [<wep_key4>| u <wep_key4>: the fourth WEP key.
null] The value should be NULL or a character string with no more than
32 bytes.
Command Example
Configure the ONU with authorization number 2 of number 1 PON port in slot 14 as
follows: The SSID index is 1; enables SSID; the SSID is 1; hides the SSID; the
WLAN authorization mode is OPEN; the WLAN key type is NONE; the pre-shared
key of WPA encryption mode is NULL; the WPA key upgrade interval is 86400.
Admin\gpononu#set wifi_serv_wlan slot 14 link 1 onu 2 index 1 ssid enable 1 hide enable
authmode open encrypt_type none wpakey null interval 86400
set hg wifi config ok!
Admin\gpononu#
Command Format
del wifi_serv_wlan slot [<1-8>|<11-18>] link <1-8> onu <1-128> [index <1-4>|
all]
10-44 Version: B
10 GPONONU Directory Command
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Delete the ONU whose authorization number is 2 under number 1 PON port in slot
14. Delete the ONU WLAN service configuration whose SSID index is 1.
Command Format
Parameter Description
Version: B 10-45
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Restart all LAN ports of the ONU whose authorization number is 1 under number 1
PON port in slot 14.
The command is used to restart an ONU. After being restarted, the ONU will be re-
registered to the OLT.
Command Format
Parameter Description
10-46 Version: B
10 GPONONU Directory Command
Command Example
Restart the ONU with the authorization number of 1 under PON port 1 in slot 14.
This command is used to configure the ONU aging time. This command is used to
configure the ONU MAC address aging time. The aging time is counted from the
time a MAC address joining the MAC address table. If the ports fail to receive the
frames whose source address is the MAC address in the aging time, this MAC
address will be deleted from the dynamic MAC address table.
Command Format
set aging_time slot [<1-8>|<11-18>] link <1-8> onu <1-128> time <0-300>
Parameter Description
Command Example
Configure the MAC address aging time of the ONU whose authorization number is 1
under number 1 PON port in slot 14 as 300.
Version: B 10-47
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the ONU MAC address aging time.
Command Format
Parameter Description
Command Example
View the aging time of the ONU MAC address whose authorization number is 1
under number 1 PON port in slot 14.
Result Description
ONU MAC ADDRESS AGING TIME The ONU MAC address aging time.
10-48 Version: B
10 GPONONU Directory Command
Command Format
set auth_type slot [<1-8>|<11-18>] link <1-8> onu <1-128> type [mac|loid|
loidonceon|psw|pswonceon]
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the authorization mode of the ONU based on the MAC address
authentication. The ONU's authorization number is 1, under number 1 PON port in
slot 14.
Version: B 10-49
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
View the authorization type of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
Admin\gpononu#
Result Description
10-50 Version: B
10 GPONONU Directory Command
Command format
Parameter description
Compulsory
type […] ONU type
parameter
Version: B 10-51
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command example
Authorize a 5506-04-b2g type ONU at No.1 PON interface in Slot 14. The
authorization number is 1, the physical address is FHTT00030405, and the
password is NULL.
Admin\gpononu#
Command Format
10-52 Version: B
10 GPONONU Directory Command
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Deauthorize the number 1 ONU under number 1 PON port in slot 14.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Version: B 10-53
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the authorization table of the number 1 PON port in slot 14.
Result Description
Command Format
10-54 Version: B
10 GPONONU Directory Command
Parameter Description
Slot number.
slot[<1-8>|<11-18>] The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
link <1-8> Compulsory parameter
The value ranges from 1 to 8.
Command Example
View the ONU discovery table of number 1 PON port in slot 14. The ONU
authorization number is 1.
Result Description
Command Format
Version: B 10-55
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot[<1-8>|<11-18>] The value ranges from 1 to 8 and 11 to Compulsory parameter
18.
The number of the PON port.
link <1-8> Compulsory parameter
The value ranges from 1 to 8.
Command Example
View the ONU online table of number 1 PON port in slot 14.
Result Description
Command Format
set authstatus slot [<1-8>|<11-18>] link <1-8> onu <1-128> status [auth|
preauth|reserved]
10-56 Version: B
10 GPONONU Directory Command
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
This command is used to limit the number of MAC addresses on an ONU LAN port.
Only a specified number of MAC addresses under each port are allowed to be on
line. Limit the number of computers that use the port at the same time, so as to
control the network traffic and avoid congestion.
Version: B 10-57
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
set mac_limit slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <0-24> limit
<0-255>
Parameter Description
Command Example
Specify the maximum of MAC addresses of LAN port 1 on the following ONU as 64:
the ONU's authorization number is 1, under number 1 PON port in slot 14.
This command is used to view the maximum number of MAC addresses of the ONU
LAN port.
10-58 Version: B
10 GPONONU Directory Command
Command Format
Parameter Description
Command Example
View the maximum number of MAC addresses of the ONU whose authorization
number is 1 of number 1 LAN port in slot 14.
Result Description
Parameter Description
SLOT Slot number.
PON The number of the PON port.
ONU The ONU authorization number.
PORT The ONU LAN port number.
The limit to the number of authorized MAC addresses for the corresponding
MAC LIMIT NUM
port of the port number.
Version: B 10-59
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the MAC address table of the ONU LAN port.
Command Format
show mac_list slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <0-24> {lookup
<mac_address>}*1
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the MAC address table of LAN port 1 of the ONU whose authorization number
is 1 under number 1 PON port in slot 14.
Result Description
10-60 Version: B
10 GPONONU Directory Command
Command Format
set ps_mode_cfg slot [<1-8>|<11-18>] link <1-8> onu <1-128> mode [auto|
manual]
Parameter Description
Command Example
Configure the feed mode of the ONU whose authorization number is 1 under
number 1 PON port in slot 14 as auto.
Version: B 10-61
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
View the feed mode of the ONU whose authorization number is 1 under number 1
PON port in slot 14.
Admin\gpononu#
Result Description
10-62 Version: B
10 GPONONU Directory Command
Command Format
Parameter Description
Command Example
View the feed information of the ONU whose authorization number is 3 under
number 1 PON port in slot 5.
Admin\gpononu#
Result Description
Version: B 10-63
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to configure the ONU remote management, i.e., configure the
TR069 remote management function.
Command Format
Parameter Description
TR069 function.
[tr069] [enable|
u enable: Enabling. Optional
disable]
u disable: Disabling.
acs_url <acs_url> The URL of ACS server provided by the ISP. Optional
10-64 Version: B
10 GPONONU Directory Command
Middleware function.
[middleware] [enable|
u enable: Enabling. Optional
disable]
u disable: Disabling.
Command Example
Version: B 10-65
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the static route information from the ONU to the
destination network.
Command Format
set static_route slot [<1-8>|<11-18>] link <1-8> onu <1-128> {route <A.B.C.D>
mask <1-32> gateway <A.B.C.D>}*8
Parameter Description
The mask.
mask <1-32> Optional parameter
The value ranges from 1 to 32.
The gateway.
gateway <A.B.C.D> Optional parameter
The value ranges from 0 to 4294967295.
Command Example
Configure the items of the ONU whose authorization number is 2 under number 1
PON port in slot 14 as follows: The destination network address is 10.10.1.120, the
mask is 16 and the gateway is 10.10.1.254.
10-66 Version: B
10 GPONONU Directory Command
Admin\gpononu# set static_route slot 14 link 1 onu 2 route 10.10.1.120 mask 16 gateway
10.10.1.254
Admin\gpononu#
Command Format
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the static route of the ONU whose authorization number is 2 under number 1
PON port in slot 14.
Version: B 10-67
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\gpononu#
Result Description
The command is used to configure the ONU physical identifier authentication white
list. The ONU in the white list can be authorized only when the EPON ONU
authentication mode is the physical identifier authentication and the physical
address/logical identifier hybrid authentication or physical identifier/logical identifier
(without key) hybrid authentication and when the GPON ONU authentication mode
is physical identifier authentication or physical identifier plus key authentication.
Command Format
10-68 Version: B
10 GPONONU Directory Command
Description
ONU type.
type [......] The ONU types are EPON, GPON and OEM. Select NULL Optional
not to designate the ONU type.
Version: B 10-69
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the ONU physical address as FHTT00030405 and the password as null,
add the white list, and configure the ONU type whose authorization number is 1
under number 1 PON port in slot 14 as 5506-04-b2g.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
White list.
whitelist [phy_
u phy_addr: physical identifier white list. Compulsory
addr|password|
u password: password white list. parameter
logic_sn]
u logic_sn: pogical identifier white list.
Command Example
10-70 Version: B
10 GPONONU Directory Command
Admin\gpononu#
Result Description
Command Format
Parameter Description
Version: B 10-71
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Result Description
The command is used to configure the ONU Wi-Fi service, i.e., configure the Wi-Fi
service parameters of the ONU or HG.
Command Format
set wifi_serv_cfg slot [<1-8>|<11-18>] link <1-8> onu <1-128> wifi [enable|
disable] district [etsi|fcc] channel <0-13> {[standard] [802.11b|802.11g|
802.11b/g|802.11n|802.11bgn]}*1 {[txpower] <0-20>}*1
10-72 Version: B
10 GPONONU Directory Command
Parameter Description
Tx power.
{[txpower] <0-20>}
The value range is from 0 to 20. The default value is 20 and the Optional parameter
*1
unit is dBm.
Command Example
Configure the Wi-Fi enable wireless area as Europe of the ONU whose
authorization number is 2 under PON port 1 in slot 14.
Admin\gpononu#set wifi_serv_cfg slot 14 link 1 onu 2 wifi enable district etsi channel 10
standard 802.11bgn txpower 4
set hg wifi server config ok!
Admin\gpononu#
Version: B 10-73
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
View the activation status of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
onu 1 is active.
Admin\gpononu#
10-74 Version: B
10 GPONONU Directory Command
Result Description
Command Format
Description
Command Example
View the version information of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
Result Description
Parameter Description
ONU_ID The ONU authorization number.
CONFIG_TYPE ONU type.
Version: B 10-75
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
REAL_TYPE ONU actual type.
SOFT_VER The ONU software version.
HARD_VER The ONU hardware version.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the LAN port status of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
PORT ID = 1
PORT CONNECT : Not Linked
FLOW CONTROL : disable
PORT PHY STATE : enable
AUTO NEGOTIATE : enable
PORT RATE : 10M
10-76 Version: B
10 GPONONU Directory Command
PORT ID = 2
PORT CONNECT : Not Linked
FLOW CONTROL : disable
PORT PHY STATE : enable
AUTO NEGOTIATE : enable
PORT RATE : 10M
PORT CONNECT : half
LOOPBACK STATUS : normal
PORT ID = 3
PORT CONNECT : Not Linked
FLOW CONTROL : disable
PORT PHY STATE : enable
AUTO NEGOTIATE : enable
PORT RATE : 10M
PORT CONNECT : half
LOOPBACK STATUS : normal
PORT ID = 4
PORT CONNECT : Not Linked
FLOW CONTROL : disable
PORT PHY STATE : enable
AUTO NEGOTIATE : enable
PORT RATE : 10M
PORT CONNECT : half
LOOPBACK STATUS : normal
Admin\gpononu#
Result Description
PORT CONNECT LAN port connection status (full / half duplex status).
Version: B 10-77
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the performance threshold of the ONU LAN port.
Command Format
set crc_threshold slot [<1-8>|<11-18>] link <1-8> onu <1-128> port <portlist>
up_threshold <value> down_threshold <value>
Parameter Description
Command Example
The ONU's authorization number is 3 under number 1 PON port in slot 14.
Configure the uplink CRC threshold value of the ONU's port 1 as 100000 and the
downlink CRC threshold as 2000.
10-78 Version: B
10 GPONONU Directory Command
This command is used to view the ONU's CPU and memory utilization ratio.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
View the CPU and the memory utilization ratio of the ONU whose authorization
number is 1 under number 1 PON port in slot 14.
Version: B 10-79
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
This command is used to view the parameter information of the optical module on
an ONU.
Command Format
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the optical module parameter information of ONU 16 under number 2 PON
port in slot 11.
10-80 Version: B
10 GPONONU Directory Command
Result Description
OLT RECV POWER The optical power of the ONU optical module received by the OLT.
Command Format
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the multicast address table of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
Version: B 10-81
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
PORT The LAN port which the current multicast table entry belongs to.
Command Format
10-82 Version: B
10 GPONONU Directory Command
Parameter Description
Compulsory
onu_time The ONU's current time.
parameter
Command Example
View the current time of the ONU whose authorization number is 1 under number 1
PON port in slot 14.
Result Description
Command Format
Version: B 10-83
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
View the distance value of the ONU whose authorization number is 1 under number
1 PON port in slot 14.
Admin\gpononu#
Result Description
Parameter Description
ONU RTT VALUE The ONU distance value.
10-84 Version: B
11 GPONLINE Directory Command
Configuring Alarm Threshold for the Line Card CPU / Memory Utilization Ratio
Version: B 11-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
11-2 Version: B
11 GPONLINE Directory Command
This command is used to bind the QinQ profile to the line card and the PON port.
Command Format
Parameter Description
Slot number.
slot [<1-8>|<11-18>] The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
link <1-8> Compulsory parameter
The value ranges from 1 to 8.
Command Example
Bind the QinQ profile to the PON port 1 in slot 15 and the table ID is 1.
Admin\gponline#
This command is used to unbind the QinQ profile from the line card and the PON
port.
Version: B 11-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Unbind the QinQ profile whose table ID is 1 of number 1 PON port in slot 15.
The command is used to view the QinQ profile binding condition of the PON port in
the line card.
Command Format
Parameter Description
Slot number.
slot [<1-8>|<11-18>] The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
11-4 Version: B
11 GPONLINE Directory Command
Command Example
SLOT=15,PON=1,ACTION=1,ITEM=1
NO0001 PROF ID :1
SLOT=15,PON=2,ACTION=1,ITEM=1
NO0001 PROF ID :2
SLOT=15,PON=3,ACTION=1,ITEM=0
SLOT=15,PON=4,ACTION=1,ITEM=0
Admin\gponline#
Result Description
Version: B 11-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Status function.
u enable: Enables the function. Compulsory
status [enable|disable]
u disable: Disables the function. parameter
The default value is enable.
Rate control. The number of the data packets that pass the
PON port per second. The system discards the data packet
which exceeds the rate control.
rate [<1-262142>| Optional
The value range is from 1 to 262142,or 4 294 967 295. The
default]}*3 parameter
unit is packet per second. The default value is 150. When the
user status is disable, the field delivers the value of 4 294 967
295.
Command Example
Configure the packet suppression type of number 1 PON port in slot 14 as multicast
packet, enable status and the rate control is default.
Admin\gponline#set packet_control slot 14 link 1 type multicast status enable rate default
command execute ok!
Admin\gponline#
11-6 Version: B
11 GPONLINE Directory Command
This command is used to apply the packet suppression function to one or more line
card PON ports.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
This command is used to view the packet suppression status to one or more line
card PON ports.
Version: B 11-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Result Description
This command is used to bind the alarm profile to the line card and the PON port.
11-8 Version: B
11 GPONLINE Directory Command
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Bind the alarm profile to the number 1 PON port in slot 14 and the threshold ID is 2.
This command is used to view the alarm profile bound to the line card and PON port.
Command Format
Version: B 11-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
View the alarm profile bound to number 1 PON port in slot 14.
Result Description
PROF ID The alarm profile bound to the line card and PON port.
The command sets the active / standby PON port to the PON port protection group
and switches the active / standby PON port according to the PON port status, so as
to ensure the downlink line security.
Command Format
11-10 Version: B
11 GPONLINE Directory Command
Parameter Description
Command Example
Configure the PON protection group number as 3. Set the number 1 and number 2
PON ports respectively to master and slave ports of the PON protection group.
Admin\gponline#
Command Format
Version: B 11-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\gponline#
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
11-12 Version: B
11 GPONLINE Directory Command
Admin\gponline#
Result Description
SLOT[] PON[] The member slot number and PON port number of the PON protection group.
Command Format
Description
Command Example
Version: B 11-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
GROUP ID :3
GROUP STATUS :Stable
SLOT[14] PON[1], Master
SLOT[14] PON[2], Master
Admin\gponline#
Result Description
Parameter Description
The group status of the PON port protection group. Includes the stable status and
detect status.
GROUP STATUS
u When the PON port status is stable, the group status is stable.
u When the PON port status is detect, the group status is detect.
The PON port status of the PON port protection group. Includes: detect status and
stable active / standby status.
SLOT[] PON[]
u The stable status means the normal operating status.
u The detect status means the abnormal operating status.
This command is used to perform forced switch between the active and standby
PON ports in the PON port protection group.
Command Format
Parameter Description
11-14 Version: B
11 GPONLINE Directory Command
Command Example
Admin\gponline#set protection_switch id 3
switch pon protection group ok!
Admin\gponline#
This command is used to configure the uplink and downlink bandwidth of the PON
port.
Command Format
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Direction.
dir [upstream| u upstream: uplink.
Compulsory parameter
downstream|all] u downstream: downlink.
u all: uplink and downlink.
Bandwidth.
bandwidth <20000-
The value ranges between 20 000 and 1 250 000; the unit is Compulsory parameter
1250000>
kbit/s; and the default value is 125 000.
Command Example
Configure the uplink and downlink bandwidth of number 1 PON port in slot 14 as
200 000.
Version: B 11-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\gponline#
Command Format
Parameter Description
Command Example
Admin\gponline#
11-16 Version: B
11 GPONLINE Directory Command
Result Description
Parameter Description
This command is used to set the alarm threshold for the line card CPU / memory
utilization ratio.
Command Format
Parameter Description
Command Example
For the line card in slot 14, configure the alarm threshold of the CPU utilization ratio
as 60, and that of the memory utilization ratio as 50.
Version: B 11-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to check the alarm threshold of the line card CPU / memory
utilization ratio.
Command Format
Parameter Description
Slot number.
slot <1-18> Compulsory parameter
The value ranges from 1 to 18.
Command Example
View the alarm threshold of the memory utilization ratio for the line card 14.
Result Description
This command is used to switch on or shut off the ONU PON port.
11-18 Version: B
11 GPONLINE Directory Command
Command Format
Description
Command Example
This command is used to view the shutdown status of the PON port.
Command Format
Parameter Description
Version: B 11-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
ITEM(8) STATUS
--------------------------------
1 ON
2 OFF
3 ON
4 ON
5 ON
6 ON
7 ON
8 ON
Admin\gponline#
Result Description
Command Format
11-20 Version: B
11 GPONLINE Directory Command
Parameter Description
Command Example
Enable slot 14 to automatically discover the ONU and set the automatic discovery
aging time of the ONU to 120.
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Version: B 11-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
FLAG = 1
PERIOD = 120
Admin\gponline#
Result Description
Command Format
11-22 Version: B
11 GPONLINE Directory Command
Parameter Description
Command Example
Configure the optical module type of number 1 PON port in slot 14 as null.
Admin\gponline#
Command Format
Parameter Description
Version: B 11-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Admin\gponline#
Result Description
This command is used to configure the optical module alarm thresholds. The
parameters include temperature, voltage, bias current, Tx and Rx optical power.
Command Format
11-24 Version: B
11 GPONLINE Directory Command
Parameter Description
Version: B 11-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the module type to ONU, the maximum temperature threshold to 10000, the
minimum temperature threshold to -4000, the maximum voltage threshold to 360,
the minimum voltage threshold to 300, the maximum bias current threshold to 1000,
the minimum bias current threshold to 0, the maximum Tx optical power threshold to
-400, the minimum Tx optical power threshold to -800, the maximum Rx optical
power threshold to -300, and the minimum Rx optical power threshold to -3200.
Admin\gponline#
Command Format
11-26 Version: B
11 GPONLINE Directory Command
Parameter Description
Command Example
Admin\gponline#
Result Description
Parameter Description
Version: B 11-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
This command is used to configure the authentication mode of the PON port. The
interface card's each PON port has nine authentication modes.
Command Format
11-28 Version: B
11 GPONLINE Directory Command
Description
Command Example
This command is used to view the authentication mode of the PON port.
Command Format
Version: B 11-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Optional parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
Result Description
Command Format
Parameter Description
11-30 Version: B
11 GPONLINE Directory Command
Command Example
Result Description
This command is used to view the line card's CPU and memory utilization ratio.
Command Format
Parameter Description
Version: B 11-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
View the CPU and memory utilization ratio of the line card in slot 14.
Result Description
This command is used to view the line card's multicast address table.
Command Format
Parameter Description
Command Example
11-32 Version: B
11 GPONLINE Directory Command
Admin\gponline#
Result Description
Parameter Description
ITEM The number of multicast entries that the ONU adds.
PON The PON which the current multicast table entry belongs to.
ONU The ONU which the current multicast table entry belongs to.
This command is used to view the parameter information of the optical module on a
PON port.
Command Format
Version: B 11-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot[<1-8>|<11-18>] Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the optical module parameter information of the number 1 PON port in slot 11.
Result Description
TEMPERATURE Temperature.
VOLTAGE Voltage.
BIAS CURENT Bias current.
SEND POWER The Tx optical power.
ONU_NO The ONU authorization number.
RECV_POWER The Rx optical power.
11-34 Version: B
11 GPONLINE Directory Command
This command is used to view the PON port's MAC address table.
Command Format
Parameter Description
Command Example
View the MAC address table of the number 1 PON port in slot 14.
Result Description
Parameter Description
XX:XX:XX:XX:XX:XX The MAC address of the MAC address table of the PON port.
Vid The VLAN ID of the MAC address table of the PON port.
Version: B 11-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Slot number
slot[<1-8>|<11-18>] Compulsory
The value ranges from 1 to 8 and 11 to 18.
Command Example
CARD 11 TIMESHOW
Sys Date: 2009-1-10 22:0:55
Run Time: 9days 20h 59m 54s
Admin\gponline#
Result Description
Parameter Description
Sys Date The system time.
Run Time The in-service time.
11-36 Version: B
11 GPONLINE Directory Command
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the SFU recognition mode under PON port 1 in slot 6 as universal SFU.
This command is used to view the recognition mode of an ONU under a certain
PON interface card.
Version: B 11-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
View the recognition mode of the ONU under the PON interface card in slot 6.
Result Description
11-38 Version: B
12 IGMP Directory Commands
Version: B 12-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
12-2 Version: B
12 IGMP Directory Commands
Command Format
Parameter Description
Parameter
Parameter Parameter Description
Property
Compulsory
<name> The profile name.
parameter
Command Example
Admin\igmp#
Command Format
Version: B 12-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\igmp#
Command Format
Parameter Description
Command Example
Admin\igmp#
12-4 Version: B
12 IGMP Directory Commands
The command is used to add an IP address for the mapping source. Taking into
account some possible limitations considered in the SSM network, users can
configure the IGMP SSM Mapping function in the router to provide the SSM service
for the receivers' hosts that can only run the IGMPv1 or IGMPv2.
Command Format
Parameter Description
Command Example
Admin\igmp#
Version: B 12-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\igmp#
Command Format
Parameter Description
12-6 Version: B
12 IGMP Directory Commands
Command Example
Admin\igmp# set igmp group 224.0.1.0 bandwidth 1500 leave_delay 100 vlan 5
uplink_vlan 2
Admin\igmp#
This command is used to configure the maximum multicast bandwidth for an uplink
port.
Command Format
Version: B 12-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Parameter
Parameter Parameter Description
Property
Command Example
Configure the maximum multicast bandwidth for an uplink port as 60000 kbit/s.
Command Format
12-8 Version: B
12 IGMP Directory Commands
Description
Command Example
Version: B 12-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to add the multicast group in the created multicast profile and
configure the authority for subscribers to view multicast programs.
u In the controllable mode, bind the multicast profile to verify each subscriber's
authority level when subscribers view multicast programs.
u In the non-controllable mode, create the multicast profile first, then add the
designated multicast group to the multicast profile, and then configure the
parameter of designated multicast group.
Command Format
Description
Command Example
Add the multicast program whose IP address is 224.0.1.0 to the multicast profile
named test, and configure the authority for subscribers to view the program as
preview.
12-10 Version: B
12 IGMP Directory Commands
This command is used to configure the multicast proxy IP address as the source IP
address for the equipment to transmit the multicast protocol massage.
Command Format
Parameter Description
Command Example
Admin\igmp#
Version: B 12-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the designated multicast source address range.
The multicast stack performs some special processing to the multicast address in
the designated source multicast and source address to support the SSM (Source-
Specific Multicast), so as to provide a kind of transmission service in the client-side
designated multicast source.
Command Format
Parameter Description
Command Example
Configure the multicast address range of the mapping multicast source address as
232.0.0.0/8.
The command is used to configure the IGMP protocol version which the equipment
uses. The IGMP protocol version is v1 / v2 / v3. RFC1112 defines the IGMPv1,
RFC2236 defines IGMPv2, and RFC3376 defines IGMPv3.
Command Format
12-12 Version: B
12 IGMP Directory Commands
Description
Command Example
This command is used to configure the multicast default VLAN. If a multicast group
has not configured a designated VLAN, this multicast group will add the default
VLAN.
Command Format
Parameter Description
Command Example
Version: B 12-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\igmp#
Command Format
12-14 Version: B
12 IGMP Directory Commands
Description
Command Example
Result Description
Parameter Description
Group Address The group address.
Version: B 12-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Bandwidth Bandwidth.
Authorized ports Bound ports.
Total ports The total number of bound ports.
This command is used to view the related information of the multicast profile.
Command Format
Parameter Description
Command Example
12-16 Version: B
12 IGMP Directory Commands
Admin\igmp#
Result Description
Parameter Description
The ONU port bound with the profile (Slot number: PON port number:
Binded Ports
ONU authorization number: ONU port number).
Command Format
Description
None
Command Example
View the global configuration information of all authorized groups in the system.
Version: B 12-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Robustness :2
Last member query interval :1
Last member query count :2
Query response interval :10
Input buffer size :3072000 Bytes
Output buffer size :1500 Bytes
Admin\igmp#
Result Description
Parameter Description
The size of the Rx buffer area of the core control (core switch
Input buffer size
card) multicast protocol stack
The size of the Tx buffer area of the core control (core switch
Output buffer size
card) multicast protocol stack
Command Format
12-18 Version: B
12 IGMP Directory Commands
Parameter Description
Command Example
This command is used to configure multicast service's cascade port. When the
equipment is cascaded with other equipment's multicast service, the uplink port
connecting with the cascade equipment should be configured as the cascade port
Command Format
Parameter Description
Command Example
Version: B 12-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the multicast group information at the router side.
Command Format
Parameter Description
Command Example
12-20 Version: B
12 IGMP Directory Commands
TIB-A Count: 0
TIB-B Count: 2
Group source list: (R - Remote, M - SSM Mapping, S - Static)
Result Description
Parameter Description
Group Address The group address.
The report member of the last group, i.e., the source IP address of
Last Reporter
adding the message recently.
Group The group address.
Group mode The group mode.
Signal vlan VLAN of group packet.
IPv6 flag IPv6 flag.
TIB-A Count TIB-A count.
TIB-B Count TIB-B count.
Source Address The group source address.
v3 Exp Source timer time.
Fwd Whether to forward or not.
Flags Status flag.
This command is used to view the multicast group information at the host side.
Version: B 12-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Result Description
Parameter Description
Group Address The group address.
Interface The interface name is Interface29.
12-22 Version: B
12 IGMP Directory Commands
Parameter Description
Command Format
Description
Commissioning level.
u decode: Decodes the Rx packet project.
u encode: Encodes the Tx packet process.
[decode|encode| u fsm: Displays the state machine variation
fsm| u driver: Displays the protocol internal drive.
driver|event| u event: Displays the multicast event.
tib| u tib: Displays the multicast source address.
recieve_fsm| u recieve_fsm: Displays the received data packet level Compulsory
recieve_ 3.
driver|recieve_ u recieve_driver: Displays the received data packet
check| level 1.
send|all] u recieve_check: Displays the received data packet
level 2.
u send: Displays the Rx packet.
u all: Displays all above items.
Command Example
Version: B 12-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Commissioning level.
u decode: Decodes the Rx packet project.
[decode|encode|
u encode: Encodes the Tx packet process.
fsm|
u fsm: Displays the state machine variation
driver|event|
u driver: Displays the protocol internal drive.
tib|
u event: Displays the multicast event.
recieve_fsm| Compulsory
u tib: Displays the multicast source address.
recieve_
u recieve_fsm: Displays the received data packet level 3.
driver|recieve_
u recieve_driver: Displays the received data packet level 1.
check|
u recieve_check: Displays the received data packet level 2.
send|all]
u send: Displays the Rx packet.
u all: Displays all above items.
Command Example
12-24 Version: B
13 NGN Directory Command
Version: B 13-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
13-2 Version: B
13 NGN Directory Command
This command is used to configure the data for the three kinds of softswitch
protocols: MGCP, H.248 and SIP.
Command Format
See the following topics for the command parameters and examples according to
the protocol used.
Command Function
The command is used to configure the related parameters of the MGCP protocol, so
as to set up normal communication between the MG and the MGC..
Command Format
Version: B 13-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
13-4 Version: B
13 NGN Directory Command
Command Example
Configure the voice service named ngn_wuhan1. Use the MGCP protocol. The
active MGC serial number is 1 and the IP address is 192.168.1.100 and the protocol
port number is 2727.
Command Function
The command is used to configure the related parameters of the H.248 protocol, so
as to set up normal communication between the MG and the MGC.
Command Format
Version: B 13-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
13-6 Version: B
13 NGN Directory Command
Command Example
Configure the voice service named ngn_wuhan2. Use the H.248 protocol. The
active MGC serial number is 1 and the IP address is 192.168.1.101 and the protocol
port number is 2944.
Command Function
The command is used to configure the related parameters of the SIP server, so as
to set up normal communication between the MG and the softswitch platform.
Command Format
Version: B 13-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Configure the voice service named ngn_wuhan3. Use the SIP protocol. The IP
address of the SIP server is 192.168.1.103 and the protocol port number is 5060.
13-8 Version: B
13 NGN Directory Command
MD5 stands for message-digest algorithm 5 and is used widely in encryption and
decryption. The voice uses the MD5 authentication as a kind of mechanism for the
softswitch platform register, verifying the validity through the key from the register
signaling.
Command Format
Description
MD5 function.
md5_state [enable| u enable: Enables the proxy range.
Compulsory
disable] u disable: Disables the function.
The default setting is disable.
Command Example
Enable the MD5 function whose domain name is fiberhome. The MGID value is 100
and the MD5 public key is 100. The base g is 100 and the prime p is 100.
Version: B 13-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
varB <value> The start value of variable part of RTP source name. Compulsory
varE <value> The end value of variable part of RTP source name. Compulsory
step <value> The step of variable part of RTP source name. Compulsory
13-10 Version: B
13 NGN Directory Command
Command Example
Version: B 13-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
13-12 Version: B
13 NGN Directory Command
Command Format
Parameter Description
Command Example
Bind the ONU whose authorization number is 1 under number 1 PON port in slot 14
with the profile named protest.
Version: B 13-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the heartbeat interval and heartbeat timeout
times controlled by the media gateway (MG) in the ONU voice service.
Command Format
Description
Heartbeat interval.
The MG takes the configured time as the interval to
aliveinterval <1-
transmit the heartbeat packet. The value range is from 1 Compulsory
65535>
to 65535, the unit is second and the default value is 30
seconds.
Heartbeat timeout times.
If the MG transmits the configuration parameter for many
times and no response is received from the heartbeat, the
alivetimes <1-65535> Compulsory
connection with the MGC is interrupted. Create
connection with other MGCs. The value range is from 1 to
65535 and the unit is times, 3 is by default.
Command Example
Configure ngn to the name of the NGN heartbeat service. The service heartbeat
interval is 30 seconds and the heartbeat timeout times is 3.
13-14 Version: B
13 NGN Directory Command
Command Format
Parameter Description
Version: B 13-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
13-16 Version: B
13 NGN Directory Command
Version: B 13-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
13-18 Version: B
13 NGN Directory Command
Version: B 13-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure each parameter in the softswitch profile named ngn1. The fixed part of the
RTP source name is RTP/000. The RTP name fixed length is in the non-fixed mode.
Report immediately after totally matching any rules. Disable the VDB function. The
profile ID is 1. Other parameters use the default value.
Admin\ngn#set ngn_softswitch_para ngn1 fixed RTP/000 varb 4000 vare 9000 step 1
fixedlen unfixed begint 16 shortt 4 longt 16 matchem immediately switch disable txi 20 rxi
10 voicec nochange offhkwt unregiste flashthd 90 2833n disable 2833d 97 2198d 96 t38edm
default calleridm fsk onhkdt 600 dailtonett 60 noanstt 60 busytonett 60 rohtt 60 retrantt 25
ecm disable l english id 1
Admin\ngn#
13-20 Version: B
13 NGN Directory Command
This command is used to configure the ONU to obtain the voice service IP in the
mode of DHCP with the Option 60 identifier. The function uses DHCP SERVER and
DHCP CLIENT modes. The DHCP SERVER (MGC) end can plan the IP address
range section. The DHCP CLIENT (MG) end can be allocated the valid IP address
randomly.
Command Format
set ngn_uplink_dhcp slot <value> pon <value> onu <value> dhcp [enable|disable]
dhcp_option60 [enable|disable] {dhcp_value <value>}*1
Description
Version: B 13-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Enable the DHCP of the ONU whose authorization number is 1 under number 1
PON port in slot 14. Enable the DHCP Option60. The DHCP Option60 identifier
suffix is test.
This command is used to configure the ONU to use the PPPoE mode to dynamically
obtain the IAD IP.
Command Format
set ngn_uplink_pppoe slot <value> pon <value> onu <value> pppoe [enable|
disable] {name <name> password <pwd>}*1
Description
13-22 Version: B
13 NGN Directory Command
Command Example
Enable the PPPoE function of the ONU whose authorization number is 1 under
number 1 PON port in slot 14. The PPPoE user name is wuhan and the key is 123.
The command is used to configure the local media gateway parameter of the ONU
voice service.
Command Format
Description
Version: B 13-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the telephone number of the NGN service as 11111111. The ONU public
network IP is 10.10.10.101 and the ONU public network IP mask is 255.255.0.0.
The ONU public network IP gateway is 10.10.1.254. The end point domain name is
fiberhome. The ONU protocol port is 2944 and the end point user name is a1. The
user index is 1.
13-24 Version: B
13 NGN Directory Command
When you register or log out a signal port manually, this command can register or
log out the corresponding port according to the telephone number.
Command Format
Description
Command Example
The command is used to configure the ONU voice service parameters, including
speech encoding, fax mode, mute switch, echo suppression, input / output gain,
DTMF mode, etc.
Version: B 13-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
set ngn_voice_service slot <value> pon <value> onu <value> pots <portno>
phonenum <num> vid <vid> code_mode [G.711M|G.711A|G.723|G.729] fax_mode
[transparent|t.38] slience [enable|disable] echo_cancel [enable|disable]
input_gain <num> voice_value <value> dtmf [transparent|rfc2833]
{[heartbeat] [enable|disable]}*1 {[potsqinqstate] [enable|disable] svlanid
<0-4085>}*1 {[service_cos] <value>}*1 {[customer_cos] <value>}*1
{[fax_control] [passthrough|softswitch|autovbd]}*1
Parameter Description
13-26 Version: B
13 NGN Directory Command
Input gain.
input_gain <num> The value ranges between -32 and +32; the Compulsory parameter
unit is dB; and the default value is 0.
Output gain.
voice_value <value> The value ranges between -32 and +32; the Compulsory parameter
unit is dB; and the default value is 0.
DTMF mode. The transmission mode on the
client side, such as butter fax event.
u transparent: Transparent mode.DTMF
dtmf [transparent|
carried by the RTP flow. Compulsory parameter
rfc2833]
u rfc2833: The RFC2833 mode. Encode the
DTMF signal via the RFC2833 standard.
The transparent mode is used by default.
Heartbeat function.
{[heartbeat] [enable|
u enable: Enabling. Optional parameter
disable]} *1
u disable: Disabling.
Version: B 13-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the No.1 POTS port parameters of the ONU whose authorization number
is 1 of No.1 PON port in the slot 14. The phone number is 11111111 and the VID is
3022. The speech compression encoding mode is G.711A. The fax mode is
transparent transmission. The mute compression is disabled. The echo
compression is disabled. The input gain is 4 and the output gain is 0. The DTMF
mode is transparant transmission.
Admin\ngn#set ngn_voice_service slot 14 pon 1 onu 1 pots 1 phonenum 11111111 vid 3022
code_mode g.711a fax trans slience disable echo disable input_gain 4 voice_value 0 dtmf
transparent
Admin\ngn#
Command Format
13-28 Version: B
13 NGN Directory Command
Parameter Description
Slot number.
slot<value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
Command Example
******************************************************
port :1 phonenum : 11111111
vlan id :3022 code mode : G.711A
fax mode :transparent slienceSp : disable
echo cancel :disable input gain : 4
output gain : 0 dtmf mode : transparent
heartbeat :disable
potsqinqstate: disable.
service cos : disable.
customer cos : disable.
bind type : 0.
bind adv profile id: 0.
fax control mode : PassThrough
port activation : ACTIVE.
rms state :disable
******************************************************
port :2 phonenum : 0
vlan id :0 code mode : G.711A
fax mode :transparent slienceSp : enable
echo cancel :enable input gain: 0
output gain : 0 dtmf mode : transparent
heartbeat :disable
potsqinqstate: disable.
service cos : disable.
customer cos : disable.
bind type : 0.
bind adv profile id: 0.
fax control mode : PassThrough.
Version: B 13-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
The VLAN ID. The value is the uplink VLAN ID value of the port's
vlan id
voice data.
code mode Encoding mode.
fax mode Fax mode.
slienceSp Mute compression.
This command is used to view the domain name information of the MD5
authentication.
13-30 Version: B
13 NGN Directory Command
Command Format
Parameter Description
Command Example
View the MD5 authentication information with the domain name is fiberhome.
Result Description
Version: B 13-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Slot number.
slot<value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
Command Example
View the softswtich profile binding parameters of the ONU whose authorization
number is 1 under number 1 PON port in slot 14.
Result Description
The command is used to view the related parameters of the IAD softswitch profile.
13-32 Version: B
13 NGN Directory Command
Command Format
Parameter Description
Command Example
View the IAD sofswitch profile parameters with the profile name of protest.
Version: B 13-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\ngn#
Result Description
RTP name variable end The end value of variable part of RTP source name
RTP name variable step The step of variable part of RTP source name
RTP name fixed length The RTP name fixed length and unfixed / fixed mode.
digitmap begin timer The DigitMap start timer.
digitmap short timer The DigitMap short timer.
digitmap long timer The DigitMap long timer.
offhook warning tone timeout Does not register / Register howler tone time-out processing
13-34 Version: B
13 NGN Directory Command
Command Format
Parameter Description
None
Command Example
Version: B 13-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
13-36 Version: B
13 NGN Directory Command
Result Description
RTP name variable end The end value of variable part of RTP source name
RTP name variable step The step of variable part of RTP source name
RTP name fixed length The RTP name has the fixed length and unfixed/fixed mode.
digitmap begin timer The DigitMap start timer.
digitmap short timer The DigitMap short timer.
digitmap long timer The DigitMap long timer.
Version: B 13-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Slot number.
slot<value> Compulsory parameter
The value ranges from 1 to 8 and 11 to 18.
Command Example
View the uplink DHCP information of the ONU whose authorization number is 1
under number 1 PON port in slot 14.
Result Description
13-38 Version: B
13 NGN Directory Command
This command is used to view the configuration information of the NGN uplink port.
Command Format
Parameter Description
Command Example
View the NGN uplink port information with the name of ngn1.
Version: B 13-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
Command Format
Parameter Description
Slot number.
slot<value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
13-40 Version: B
13 NGN Directory Command
Command Example
View the PPPoE configuration information of the ONU whose authorization number
is 1 under number 1 PON port in slot 14.
Result Description
This command is used to configure the SIP protocol digitmap. In course of dialing,
the gateway matches the dialed digits against the numbering scheme in the
digitmap and reports to the MGC when a match is found.
Command Format
Version: B 13-41
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Digitmap.
The maximum character string in the digitmap is 1024. Each
<bitmap> command line can be enter 128 character strings and the value Compulsory parameter
range is from 0 to 9, A to F, X, S, L, . ︱, -, square brackets, and
parentheses.
Command Example
Admin\ngn#
Command Format
show ngn_bitmap
13-42 Version: B
13 NGN Directory Command
Parameter Description
None
Command Example
Admin\ngn#show ngn_bitmap
ac16 bitmap: x|xx|xxx
Admin\ngn#
Result Description
The command is used to configure the voice and fax parameters of the NGN voice
port, including fax mode, mute switch, echo suppression, input / output gain, etc.
Command Format
Parameter Description
Version: B 13-43
AN5116-06B Optical Line Terminal Equipment CLI Reference
Input gain.
input_gain <value> The value ranges between -32 and +32; Compulsory parameter
the unit is dB; and the default value is 0.
Output gain.
output_gain <value> The value ranges between -32 and +32; Compulsory parameter
the unit is dB; and the default value is 0.
DTMF mode. The transmission mode on
the client side, such as butter fax event.
u transparent: Transparent mode.
dtfm [transparent| DTMF carried by the RTP flow.
Compulsory parameter
rfc2833] u rfc2833: The RFC2833 mode.
Encode the DTMF signal via the
RFC2833 standard.
The transparent mode is used by default.
13-44 Version: B
13 NGN Directory Command
Command Example
Configure the profile ngn whose ID is 1. The speech compression encoding mode is
G.711A. The fax mode is transparent transmission. The mute compression is
enabled. The echo compression is enabled. The input gain is 0 and the output gain
is 0. The DTMF mode is transparent transmission. the fax control code is
passthrough.
This command is used to view the voice port's advanced profile parameters.
Command Format
Parameter Description
Command Example
Admin\ngn#show ngn_adv_profile id 1
----------------------port advance profile information--------------------
profileid: 1
profilename: ngn
codec: g.711a
fax mode: transparent
silence switch: enable
Version: B 13-45
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
Command Format
Parameter Description
13-46 Version: B
13 NGN Directory Command
Command Example
Admin\ngn#del ngn_adv_profile id 1
Admin\ngn#
This command is used to configure the OLT voice management mode. You can
manage the voice via configuring the line card or the PUBA card.
Command Format
Parameter Description
Command Example
Admin\ngn#
This command is used to view the current OLT voice management mode.
Version: B 13-47
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
show ngn_manager_mode
Parameter Description
None
Command Example
Admin\ngn#
Result Description
The command is used to configure the related parameters of the voice media
stream. These parameter include voice media stream service name, RTP
configuration function, service TPID, service VLAN ID, service COS and etc.
Command Format
set ngn_rtp_stream slot <value> pon <value> onu <value> servicename <value>
rtpcfg [enable|disable] {[svlan_tpid] <value> svlan_id <value> svlan_cos
<value>}*1 {[cvlan_tpid] <value> cvlan_id <value> cvlan_cos <value>}*1
{[rtp_ip] <A.B.C.D> rtp_mask <A.B.C.D> rtp_gateway <A.B.C.D>}*1
13-48 Version: B
13 NGN Directory Command
Parameter Description
Slot number
slot <value> The value ranges from 1 to 8 and 11 to Compulsory parameter
18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
Version: B 13-49
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure ngn to the service name of the ONU whose authorization number is 1 of
No.1 PON interface in slot 14. Enable the RTO configuration function and the
service TPID is 33024. The service VLAN ID is 600. The service COS is 5. The user
TPID is 33024. The user VLAN ID is 600 and the user COS is 5. The RTP IP
address is 10.10.10.201. The RTP mask is 255.255.0.0 and the RTP gateway is
10.10.1.254.
This command is used to view the configuration parameters of the voice media
stream.
Command Format
13-50 Version: B
13 NGN Directory Command
Parameter Description
Slot number.
slot <value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
Command Example
Configure the voice media stream parameters of the ONU whose authorization
number is 1 under number 1 PON port in slot 14.
******************onu(14 1 1)***************************
service name: ngn rtpenable:enable
svlantpid:33024 svlanid:600 svlancos:5
cvlantpid:33024 cvlanid:600 cvlancos:5
rtpip:10.10.10.201
rtpsubnet:255.255.0.0
rtpgateway:10.10.1.254
Admin\ngn#
Result Description
Version: B 13-51
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to query the uplink user parameters according to the uplink
port.
Command Format
Parameter Description
Command Example
Query uplink user parameters according to the uplink port name ngn .
13-52 Version: B
13 NGN Directory Command
Result Description
Command Format
Parameter Description
Command Example
Query the uplink user parameters according to the telephone number 11111111.
Version: B 13-53
AN5116-06B Optical Line Terminal Equipment CLI Reference
publicip :192.168.1.10
subnet :255.255.0.0
gateway :192.168.1.1
endpoint domain name :fiberhome
protocol portno :2427
the endpoint user name :a1
the sip user name :
the sip password :1
Admin\ngn#
Result Description
This command is used to configure the RTP activation status of the ONU voice port.
Command Format
set ngn_port_activation slot <value> pon <value> onu <value> port <1-24>
[active|inactive]
13-54 Version: B
13 NGN Directory Command
Description
Activation status.
[active|inactive] u active: Activated. Compulsory
u inactive: Non-activated.
Command Example
Configure the activation status of the ONU whose authorization number is 1 under
number 1 PON port in slot 14 as activated.
This command is used to view the RTP activation status of the ONU voice port.
Command Format
Version: B 13-55
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Slot number.
slot <value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon <value> Compulsory parameter
The value ranges from 1 to 8.
Command Example
View the activation status of the ONU whose authorization number is 1 under
number 1 PON port in slot 14.
Result Description
This command is used to view the MGC connection status which includes the MGC
server address and the registered ONU number.
Command Format
13-56 Version: B
13 NGN Directory Command
Parameter Description
Slot number.
slot <value> The value ranges from 1 to 8 and 11 Compulsory parameter
to 18.
The number of the PON port.
pon<value> Compulsory parameter
The value ranges from 1 to 8.
Command Example
View the MGC connection status of the ONU whose authorization number is 3
under number 1 PON port in slot 11.
Admin\ngn#
Result Description
Version: B 13-57
14 QoS Directory Command
Version: B 14-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\qos#
The command is used to configure the flow classification policy of the QoS profile.
Control the flow classification based on VLAN ID, data flow IP, Ethernet type and
CoS queues to provide different quality network services.
14-2 Version: B
14 QoS Directory Command
u Source IP, destination IP, protocol type, TCP / UDP source end point number
and TCP / UDP destination port number
u Source MAC address, destination MAC address, Ethernet type, Priority domain
and VLAN identifier.
u Source MAC address, source IP, Ethernet type, Priority domain and VLAN
identifier.
u Destination MAC address, destination IP, Ethernet type, Priority domain and
VLAN identifier.
Command Format
Description
Version: B 14-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
TOS domain.
{[tos][<0-7>|null]}*1 Optional
The value ranges from 0 to 7.
14-4 Version: B
14 QoS Directory Command
Command Example
Configure the flow classification policy of the QoS profile named aaa as follows: The
VLAN ID is 4000, and the source IP address is 1.1.1.100. The source IP mask is 16
bytes. The destination MAC address is 000000000011. The TCP/UDP destination
port number is 21.
Admin\qos#set qos access_profile aaa parameter vid 4000 sip 1.1.1.100 smask 16 da
000000000011 tcpudpsrc 21
Admin\qos#
The command is used to configure the routing policy of the QoS profile and it
includes rate threshold, priority level, flow mirroring and changing TOS domain.
Command Format
Description
Version: B 14-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the router policy of the QoS profile named aaa as follows: Forward
designated data flow. No rate threshold. The data flow priority is 2. Enable the flow
mirroring function. The destination port of the flow mirroring is 20:1.
Admin\qos#set qos access_profile aaa action cmd 0 ratelimit null queue 2 flowmirroring
enable port 20:1
Admin\qos#
The command is used to delete the QoS profile. The prerequisite is that no service
is bound to the profile.
Command Format
14-6 Version: B
14 QoS Directory Command
Parameter Description
Command Example
Admin\qos#
Command Format
Parameter Description
Command example
Version: B 14-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Port :
Macsa :N/A
Macda :00:00:00:00:00:11
vid :4000
sip :1.1.1.100
source ip mask :16
dip :N/A
destination ip mask :32
protocol type :N/A
priority :N/A
ethernet type :2048
ptcp/udp des port :N/A
tcp/udp src port :21
Dscp :0
TTL :N/A
physics destination port :N/A
cmd :N/A
ratelimitnum :N/A
queue :N/A
new TOS :N/A
flowmirror :Disable
flowmirrorport :N/A
new destination port :N/A
new destination port tag :N/A
new VID :N/A
Admin\qos#
Result Description
Slot The slot number which the QoS profile binds to.
Port The port number which the QoS profile binds to.
Macsa The source MAC address.
Macda The destination MAC address
vid VLAN ID.
sip The source IP address.
source ip mask Source IP mask.
dip Destination IP address.
destination ip mask Destination IP mask.
14-8 Version: B
14 QoS Directory Command
This command is used to bind or unbind the QoS profile with the line card.
Command Format
Description
u attach: Bind.
[attach|dettach] Compulsory
u detach: Unbind.
<name> The QoS profile name. Compulsory
Version: B 14-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Bind the line card in slot 1 to the QoS profile named a1.
This command is used to bind / unbind the uplink port and QoS profile.
Command Format
Parameter Description
u attach: Association.
[attach|dettach] Compulsory parameter
u detach: Disconnect association.
<name> The QoS profile name. Compulsory parameter
Command Example
Bind the 19:1 uplink port to the QoS profile named aaa.
The command is used to view names of all existing QoS profiles in the current
system.
14-10 Version: B
14 QoS Directory Command
Command Format
Parameter Description
None
Command Example
This command is used to refresh the QoS profile status. If modifying the bound QoS
profile parameters, users need to refresh the QoS profile status to make the
modified parameters valid.
Command Format
Parameter Description
Command Example
Admin\qos#
Version: B 14-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to configure or query the priority mode forwarded by the
switch chip data in the core switch card. Map the uplink and downlink service
according to the IEEE 802.1D User Priority identifier to different CoS queues and
groom. Each port supports 8 CoS queues.
u Strict priority guarantees that the service with a higher priority will be processed
before that with a lower priority.
u Weight priority is a weighted round robin scheduling. The higher priority is firstly
processed, meanwhile, the service with a lower priority is not completely
blocked but be processed in a certain ratio.
Command Format
14-12 Version: B
14 QoS Directory Command
Parameter Description
Command Example
Configure the equipment in the weight priority mode. Set 7 to the queue weight
value with the priority of 4. Set 3 to the queue weight value with the priority of 5.
Command Format
Version: B 14-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
None
Command Example
Result Description
14-14 Version: B
15 VLAN Directory Command
Version: B 15-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
15-2 Version: B
15 VLAN Directory Command
The command is used to configure the service VLAN ID range of the uplink port, so
as to set limitations to the uplink port's service VLAN.
Command Format
set service <name> vid_begin <vid> vid_end <vid> uplink <portNo> [untagged|
tagged] {service_type <1-8>}*1
Parameter Description
Version: B 15-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
15-4 Version: B
15 VLAN Directory Command
Command Example
Configure the service VLAN named fh. The strat VLAN ID is 1005 and the end
VLAN ID is 2000. The uplink port is 19:1 and the Tag attribute of the service VLAN
port is Tagged.
This command is used to configure the service VLAN of the Trunk group port.
Command Format
set service <name> vid_begin <vid> vid_end <vid> trunk <index> [untagged|
tagged] {service_type <1-7>}*1
Description
Version: B 15-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the service VLAN named fhtx. The start VLAN IS is 111 and the end
VLAN ID is 222. The Trunk group number is 1. The port Tag property of the service
VLAN is tagged. The service type is 1.
Admin\vlan#set service fhtx vid_begin 111 vid_end 222 trunk 1 tagged service_type 1
Admin\vlan#
This command is used to configure the downlink Sub VLAN. The configuration of
the start VLAN should be consistent with that of the end VLAN. The equipment does
not support the cross-range Sub VLAN configuration.
Command Format
15-6 Version: B
15 VLAN Directory Command
Parameter Description
Command Example
Configure the downlink Sub VLAN named fhkj and the start and end VLAN IDs are
100.
Command Format
Parameter Description
Command Example
***********************************************
Version: B 15-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
service name : fh
begin vid : 1005
end vid : 2000
uplink port : 19:1(tagged)
service type : iptv
***********************************************
service name : fhkj
begin vid : 1
end vid : 1
uplink port : NULL(tagged)
service type : downlink sub vlan
slot port : 1-16
Admin\vlan#
Result Description
Command Format
Parameter Description
15-8 Version: B
15 VLAN Directory Command
Command Example
This command is used to configure the Sub VLAN to join the designated Super
VLAN. The port status of the Super VLAN is enable. If this command is not
configured, the status of the Super VLAN is disable.
Command Format
Parameter Description
Command Example
Configure the Sub VLAN whose ID is 1 to join the Super VLAN whose ID is 3000.
Admin\vlan#
Version: B 15-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to configure the designated Super VLAN's IP. Before adding
the Sub VLAN to the Super VLAN, the configuration of the Super VLAN's IP address
should be completed.
Command Format
Parameter Description
Command Example
Configure the IP of the Super VLAN whose ID is 3000 as 10.1.1.20. The subnet
mask is 255.255.0.0.
Configures the MTU value of the designated Super VLAN. Users need to complete
the configuration of IP addresses for the Super VLAN.
Command Format
15-10 Version: B
15 VLAN Directory Command
Parameter Description
Command Example
Set the MTU value of the Super VLAN whose ID is 3000 to 600.
This command is used to delete a certain Sub VLAN from the designated Super
VLAN.
Command Format
Parameter Description
Sub VLAN ID
sub-vlan <vid> Compulsory
The value ranges from 1 to 4085.
Command Example
Delete the Sub VLAN whose VLAN ID is 1 from the Super VLAN.
Version: B 15-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is to delete the binding relationship between the Super VLAN and the
IP address.
Command Format
Parameter Description
Command Example
Delete the binding relationship between the Super VLAN whose ID is 3000 and the
IP address 10.1.1.20.
Command Format
15-12 Version: B
15 VLAN Directory Command
Description
Command Example
Command Format
Parameter Description
Command Example
Admin\vlan#
Version: B 15-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
Admin\vlan#show sub-vlan 1
-----------sub vlan info--------------
sub vlan id : 1
sub vlan property : downlink
tagged mode : tagged
slots : 1-16
Admin\vlan#
Result Description
Parameter Description
sub vlan id Sub VLAN ID.
sub vlan property Sub VLAN property.
tagged mode Configure the tag processing mode for the slot VLAN.
slots Slot number.
15-14 Version: B
15 VLAN Directory Command
Command Format
Description
Command Example
Result Description
Parameter Description
Super VLAN ID Super VLAN ID.
Sub VLAN ID Sub VLAN ID.
Arp agent ARP proxy function.
Mtu MTU value.
IP Address IP address.
IP Mask Subnet mask.
VLAN ARP SWITCH(ROUTER) VLAN's ARP proxy switch (in the routing mode).
VLAN ARP SWITCH(INNER-SUBVLAN) VLAN's ARP proxy switch (in the VLAN).
Version: B 15-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Admin\vlan#
This command is used to configure the service entry number in the QinQ domain.
Command Format
15-16 Version: B
15 VLAN Directory Command
Parameter Description
Command Example
This command is used to configure the service entry number in the QinQ domain.
Command Format
Description
Version: B 15-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure single to the service type of the second service of the domaintest1
domain.
The command is used to configure the QinQ domain's uplink rule clauses.
Command Format
set oltqinq_domain <name> <1-8> uprule {<1-21> <value> <op>}*4 {serv_id <1-
128>}*1
Parameter Description
15-18 Version: B
15 VLAN Directory Command
Uplink operator.
u 0: (Never) (never match).
u 1: (=) (equal to).
u 2: != (not equal to).
u 3: <= (smaller than or equal to).
<op> u 4: >= (larger than or equal to). Optional parameter
u 5: (exist) (exist means match).
u 6: (no exist) (no exist means match).
u 7: (always) (always match).
The value ranges from 0 to 7. The default value is
5.
Service ID.
{serv_id <1-128>}*1 Not entering it indicates using the service index as Optional parameter
the ID. The value ranges from 1 to 128.
Version: B 15-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the domaintest1 domain's uplink rule clauses. Configure the first service:
The uplink rule number is 1 and the rule type is 1, and the selection domain value is
value 1 and the uplink operator is 5. The service ID is 3.
The command is used to configure the QinQ domain's downlink rule clauses.
Command Format
Parameter Description
15-20 Version: B
15 VLAN Directory Command
Downlink operator.
u 0: (Never) (never match).
u 1: (=) (equal to).
u 2: != (not equal to).
u 3: <= (smaller than or equal to).
<op> u 4: >= (larger than or equal to). Optional parameter
u 5: (exist) (exist means match).
u 6: (no exist) (no exist means match).
u 7: (always) (always match).
The value ranges from 0 to 7. The default
value is 5.
Version: B 15-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Configure the domaintest1 domain's downlink rule clauses. Configure the first
service: The downlink rule number is 1 and the rule type is 1, and the selection
domain value is value 1 and the downlink operator is 5.
The command is used to configure the QinQ domain's VLAN service rules.
Command Format
Description
The Nth layer VLAN. The Nth layer of the VLAN. Configure
vlan <layer> 4 layers of VLAN service. Optional
The value ranges from 1 to 4.
15-22 Version: B
15 VLAN Directory Command
Command Example
Configure the QinQ domain's VLAN service rules as follows. Configure service 1.
The number of downlink rule entries is 1, the first layer VLAN is used, the old VID is
254, the old COS is 1, the transparent transmission mode is used, the TPID is
33024, the COS is NULL, and the new VID is NULL.
Command Format
Version: B 15-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\vlan#
This command is used to configure the rule domain of the ONU QinQ profile.
Command Format
15-24 Version: B
15 VLAN Directory Command
Parameter Description
The operator.
u 0: = (Equal to).
u 1: != (not equal to).
u 2: <= (smaller than or equal to).
<op> u 3: >= (larger than or equal to). Optional parameter
u 4: existing means match.
u 5: not existing means match.
u 6: always match.
The value ranges from 0 to 6.
Command Example
Configure the profiletest1 profile's rule domain. The type is 0, the domain value is
111111111111, and the operator is 4.
Version: B 15-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to delete the OLT QinQ domain. The prerequisite of deleting
a QinQ domain is that the QinQ domain exists and no binding operations are
performed.
Command Format
Parameter Description
Command Example
Admin\vlan#
The command is used to delete the QinQ profile. The prerequisite of deleting a
QinQ profile is that the QinQ profile exists.
Command Format
15-26 Version: B
15 VLAN Directory Command
Parameter Description
Command Example
Admin\vlan#
This command is used to bind / unbind the created QinQ domain with the ONU.
Command Format
set onu attach slot <1-18> pon <1-8> onu <1-128> [attach|detach] domain <name>
Parameter Description
Slot number.
slot <1-18> The slot number related to the binding / unbinding. Compulsory parameter
The value range is from 1 to 18.
Version: B 15-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Bind the domaintest1 domain with the the ONU whose authorization number is 1
under number 1 PON port in slot 14.
This command is used to bind / unbind the created QinQ domain with the PON port.
Command Format
set pon attach slot <1-18> pon <1-8> [attach|detach] domain <name>
Parameter Description
Slot number.
slot <1-18> The slot number related to the binding / Compulsory parameter
unbinding. The value range is from 1 to 18.
15-28 Version: B
15 VLAN Directory Command
Command Example
Bind the domaintest1 domain with number 1 PON port in slot 14.
Command Format
Parameter Description
Command Example
Version: B 15-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
15-30 Version: B
15 VLAN Directory Command
Result Description
Parameter Description
index Index.
servicenum Service entries number.
serviceType Service type.
serviceId Service ID.
service[1] upstream rule Uplink rules.
service[1]downstream rule Downlink rules.
service[1] vlan information VLAN information.
layer 4 Layer 4 VLAN.
Layer3 Layer 3 VLAN.
layer 2 Layer 2 VLAN.
layer 1 Layer 1 VLAN.
This command is used to view the OLT QinQ status. The default status is enable.
Command Format
Parameter Description
None
Command Example
Result Description
Version: B 15-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the ONU QinQ profile's configuration information.
Command Format
Parameter Description
Command Example
View the ONU QinQ profile information of the profile named profiletest1.
Result Description
15-32 Version: B
15 VLAN Directory Command
This command is used to add the slot VLAN. The prerequisite of this command is
that the line card's service VLAN whose service VLAN type is 8 has been
configured.
Command Format
Parameter Description
Command Example
Configure the VLAN ID of the uplink port Sub VLAN in slot 1 as 12. The TAG
property is Tagged.
Version: B 15-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
The command is used to check the added VLAN in the designated slot.
Command Format
Parameter Description
Command Example
Result Description
Parameter Description
slot ID Slot number.
vlan ID The VLAN ID of the Sub VLAN in the line card.
15-34 Version: B
16 Route Directory Command
Version: B 16-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
16-2 Version: B
16 Route Directory Command
Version: B 16-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the destination IP address, subnet mask of the
destination network, IP address of the gateway next hop and the metric for the static
route.
Command Format
Parameter Description
Hop number.
{metric <0-255>}*1 The value range is 0 to 255. No configuration Optional parameter
means the default value 0 is selected.
Command Example
In the static route configuration, set the destination IP address to 10.98.20.0, the
subnet mask to 255.255.255.0, the next hop IP address to 10.1.1.19 and the hop
number to 10.
16-4 Version: B
16 Route Directory Command
Command Format
Parameter Description
Hop number.
{metric <0-255>}*1 The value ranges from 0 to 255. The default Optional parameter
value is 0.
Command Example
Delete the static route whose destination IP address is 10.98.20.0, subnet mask is
255.255.255.0, next hop IP address is 10.1.1.19 and hop number is 10.
Admin\route#
Command Format
show ip route
Description
None
Version: B 16-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Admin\route#show ip route
DestNetwork DestMask Dis Met NextHop Status Protocol Interface
10.98.20.0 255.255.255.0 0 10 10.1.1.19 Pend static sv3000
10.1.0.0 255.255.0.0 0 0 10.1.0.0 Active connected sv3000
Admin\route#
Result Description
Parameter Description
DestNetwork IP address of the destination network.
DestMask Subnet mask of the destination network.
Dis The management distance.
Met The metric.
NextHop IP address of the gateway next hop.
This command is used to configure the key chain in the RIP or OSPF authentication.
Command Format
Parameter Description
Command Example
16-6 Version: B
16 Route Directory Command
Command Format
Parameter Description
Command Example
Command Format
Parameter Description
Version: B 16-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Command Format
Parameter Description
Command Example
Command Format
16-8 Version: B
16 Route Directory Command
Parameter Description
Key ID.
key <1-255> Compulsory parameter
The value ranges from 1 to 255.
Command Example
Set the key with ID 22 in the key chain named test to fh.
Command Format
Parameter Description
Key ID.
key <1-255> Compulsory parameter
The value ranges from 1 to 255.
Command Example
Version: B 16-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the receiving time (including the starting
receiving time and the ending receiving time) in the key chain.
Command Format
Parameter Description
Key ID.
key <1-255> Compulsory parameter
The value ranges from 1 to 255.
Command Example
Set the receiving starting time to 14:30:56, November 24, 2011 for the key chain
whose name is test and key ID is 22.
16-10 Version: B
16 Route Directory Command
This command is used to delete the receiving time in the key chain.
Command Format
Parameter Description
Command Example
Delete the receiving time for the key chain whose name is test and key ID is 22.
This command is used to configure the transmitting time (including the starting
transmitting time and the ending transmitting time) in the key chain.
Command Format
Version: B 16-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Key ID.
key <1-255> Compulsory parameter
The value ranges from 1 to 255.
Command Example
Set the transmitting starting time to 07:07:00, January 1, 2009 for the key chain
whose name is test and key ID is 22.
This command is used to delete the transmitting time in the key chain.
Command Format
16-12 Version: B
16 Route Directory Command
Parameter Description
Command Example
Delete the transmitting time for the key chain whose name is test and key ID is 22.
This command is used to configure the ACL name, i.e., the name of the access
control list.
Command Format
Parameter Description
Version: B 16-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the name of the access control list to fh and the matching sequence to
automatic sorting.
Admin\route#
Command Format
Parameter Description
Command Example
Admin\route#
This command is used to configure the Layer 3 ACL rule and designates the
matching rule, e.g., rejecting or accepting the objects with certain IP features.
16-14 Version: B
16 Route Directory Command
Command Format
Parameter Description
Command Example
Configure the access control list named fh, which rejects the data packets with the
IP address 10.92.20.61 and the mask 16. The matching accuracy is normal
matching.
Version: B 16-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\route#
Configure the access control list named fh, which allows the data packets with the
IP address 10.92.20.61 and the mask 16. The matching accuracy is accurate
matching.
Admin\route#
Configure the access control list named fh that accepts overall matching.
Admin\route#
This command is used to delete the access control list that rejects / accepts the
objects with designated IP features.
Command Format
16-16 Version: B
16 Route Directory Command
Parameter Description
Command Example
Delete the access control list named fh, which rejects the data packets with the IP
address 10.92.20.61 and the mask 16. The matching accuracy is normal matching.
Admin\route#
Delete the access control list named fh, which allows the data packets with the IP
address 10.92.20.61 and the mask 16. The matching accuracy is exact matching.
Version: B 16-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\route#
Delete the access control list named fh that accepts overall matching.
Admin\route#
Command Format
show ip access-list
Parameter Description
None
Command Example
Admin\route#show ip access-list
Zebra IP access list fh
deny 10.92.20.61/16
Admin\route#
Result Description
16-18 Version: B
16 Route Directory Command
Command Format
Description
Command Example
Command Format
Parameter Description
None
Version: B 16-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Result Description
Parameter Description
Command Format
show key-chain
Parameter Description
None
Command Example
Admin\route#show key-chain
key_chain:test
key_id key_string accept lifetime start accept lifetime end
send lifetime start send lifetime end
22 fh 2011:11:24:14:14:56 ifinate
2009:01:01:07:07:00 ifinate
Admin\route#
16-20 Version: B
16 Route Directory Command
Result Description
This command is used to view the current configuration information, which includes:
route configuration information, DHCP configuration information, ACL configuration
information, and ARP proxy ACL configuration information
Command Format
Parameter Description
None
Command Example
Version: B 16-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
This command is used to configure the printing debugging switch of the RCAL
module.
Command Format
16-22 Version: B
16 Route Directory Command
Description
Command Example
Command Format
Version: B 16-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Command Format
Parameter Description
None
Command Example
16-24 Version: B
16 Route Directory Command
Command Format
Parameter Description
Command Example
Set the times of the DHCP global Ping operations to 3 and the time interval of the
Ping operations to 1000.
Version: B 16-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
None
Command Example
Result Description
This command is used to configure the layer 3 interface DHCP mode for the
subscriber in the Super VLAN.
Command Format
16-26 Version: B
16 Route Directory Command
Description
Command Example
Set the DHCP function mode of the layer 3 interface whose Super VLAN is 3000 to
Server mode.
This command is used to view the DHCP function mode of the layer 3 interface.
Command Format
Description
Version: B 16-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Views the DHCP function mode of the Super VLAN layer 3 interface whose VLAN
ID is 3000.
Result Description
Parameter Description
show super-vlan id ID of the VLAN that has configured Super VLAN.
This command is used to configure the IP address of the server in the layer 3
interface DHCP Relay mode to provide the DHCP services for the subscribers in the
Super VLAN.
Command Format
Description
16-28 Version: B
16 Route Directory Command
Command Example
For the layer 3 interface whose Super VLAN is 3000, set the server IP address in
the DHCP Relay mode to 10.91.20.0.
This command is used to delete the IP address of the server in the layer 3 interface
DHCP Relay mode.
Command Format
Description
Command Example
For the layer 3 interface whose Super VLAN is 3000, delete all the server IP
addresses in the DHCP Relay mode.
Version: B 16-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the IP address of the server in the layer 3 interface
DHCP Relay mode.
Command Format
Description
Command Example
View the server IP address in the DHCP Relay mode of the layer 3 interface whose
Super VLAN is 3000.
Result Description
Parameter Description
show super-vlan id 3000 server The server IP address in the DHCP Relay mode.
16-30 Version: B
16 Route Directory Command
This command is used to configure the DHCP Server global address pool to
distribute the IP addresses for the subscribers in the Super VLAN.
Command Format
set dhcp server ip-pool <1-16> begin-ip <A.B.C.D> end-ip <A.B.C.D> mask <A.B.
C.D> gateway <A.B.C.D>
Parameter Description
Command Example
This command is used to delete the DHCP Server global address pool.
Version: B 16-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
This command is used to view the DHCP Server global address pool.
Command Format
Description
Command Example
16-32 Version: B
16 Route Directory Command
pool-id 1
begin-ip 10.92.20.1 end-ip 10.92.20.254 mask 255.255.0.0
gateway 10.92.1.254
lease 3000000 days, 0xffffffff for forever
dns server config:
10.20.1.18
forbidden ip config:
10.98.20.1
Admin\route#
Result Description
Parameter Description
pool-id Identifier of the address pool.
begin-ip The starting IP address.
end-ip The ending IP address.
mask Subnet mask.
gateway The gateway.
lease 3000000 days The lease term.
dns server config The IP address of the DNS server.
forbidden ip config The forbidden IP address.
This command is used to configure the lease term of the DHCP Server global
address pool.
Command Format
Version: B 16-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Set the lease term of the address pool whose identifier is 1 to 3000000 seconds.
This command is used to configure the DNS server, providing address and domain
name service for the DHCP client side.
Command Format
Parameter Description
16-34 Version: B
16 Route Directory Command
Command Example
Admin\route#
Command Format
Parameter Description
Command Example
delete all.
Admin\route#
Version: B 16-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to set the IP address that should not be configured for the
DHCP client side.
Command Format
Parameter Description
Command Example
Set the IP address that should not be allocated in the address pool whose identifier
is 1 to 10.98.20.1.
Admin\route#
This command is used to delete the IP address that should not be allocated.
Command Format
16-36 Version: B
16 Route Directory Command
Description
Command Example
Delete the all the IP addresses that should not be allocated in the address pool
whose identifier is 1.
This command is used to assign the fixed IP address for the DHCP client side.
Command Format
Parameter Description
Command Example
Assign the IP address 10.92.20.5 to the DHCP client side whose MAC address is
ff:02:00:00:00:02.
Version: B 16-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\route#
This command is used to delete the binding from the DHCP client side.
Command Format
Parameter Description
Command Example
Delete the binding relationship between the DHCP client side whose MAC address
is ff:02:00:00:00:02 and the IP address 10.92.20.5.
This command is used to view the record of the resources that the DHCP Server
allocates to the DHCP Client. The record includes the IP address, MAC address
and the lease term.
Command Format
16-38 Version: B
16 Route Directory Command
Parameter Description
None
Command Example
Result Description
Version: B 16-39
17 RIP Directory Command
Version: B 17-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
17-2 Version: B
17 RIP Directory Command
Command Format
Description
Command Example
Command Format
Parameter Description
Version: B 17-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Admin\rip#
Command Format
Parameter Description
Command Example
Delete the announced RIP network segment whose IP address is 10.92.20.61 and
subnet mask is 255.255.0.0.
This command is used to configure the timers for the RIP, so as to adjust the
performance of the routing protocol and meet the current network's demand.
17-4 Version: B
17 RIP Directory Command
Command Format
Description
Command Example
Set the update timer to 40, the time-out timer to 200 and the garbage-collection
timer to 150.
This command is used to configure the Distance value of the RIP routing protocol, i.
e., the shortest route overhead from the root node to the destination node.
Version: B 17-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
This command is used to configure the RIP route re-allocation, leading the external
routes into the RIP domain.
Command Format
Description
17-6 Version: B
17 RIP Directory Command
Command Example
Command Format
Description
Command Example
Version: B 17-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the protocol version of the messages received
by the RIP interface.
Command Format
Description
Command Example
Set the protocol version of the messages received by the interface whose Super
VLAN ID is 1 to 1.
17-8 Version: B
17 RIP Directory Command
Command Format
Description
Command Example
Set the protocol version of the messages transmitted by the interface whose Super
VLAN ID is 1 to 2.
This command is used to configure the RIP neighbor, including the IP address and
the mask.
Command Format
Parameter Description
Version: B 17-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the RIP neighbor's IP address to 10.98.20.1, and the subnet mask to
255.255.0.0.
Admin\rip#
Command Format
Description
Command Example
Delete the RIP neighbor whose IP address is 10.98.20.1 and subnet mask is
255.255.0.0.
17-10 Version: B
17 RIP Directory Command
Command Format
Parameter Description
Command Example
Command Format
Parameter Description
Command Example
Version: B 17-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to set the authentication mode of the RIP to simple password.
It means the unencrypted authentication information is transmitted with the
message. The authentication security is not guaranteed.
Command Format
Parameter Description
Command Example
Set the authentication mode of the RIP whose Super VLAN ID is 1 to simple
password, and the key to test.
This command is used to set the authentication mode of the RIP to MD5. It means
the authentication information is encrypted before transmission. Thus the
authentication security is guaranteed.
Command Format
17-12 Version: B
17 RIP Directory Command
Parameter Description
Command Example
Set the authentication mode of the RIP whose Super VLAN ID is 1 to MD5, and the
key chain to fh.
This command is used to delete the RIP authentication mode, which means the RIP
is not authenticated.
Command Format
Parameter Description
Command Example
Delete the authentication mode for the RIP whose Super VLAN ID is 1.
Version: B 17-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
None
Command Example
Admin\rip#
Result Description
Parameter Description
Routing Protocol Name of the routing protocol.
Sending updates every 30 seconds with +/-50% The time interval of the sending updates.
17-14 Version: B
17 RIP Directory Command
Command Format
Parameter Description
None
Command Example
Result Description
Metric Hop.
From The interface from which the route table information comes.
The valid period of the route. It records the existing time of the RIP route, i.
Time
e., records the timeout timer and the garbage-collection timer.
Version: B 17-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Result Description
Command Format
17-16 Version: B
17 RIP Directory Command
Parameter Description
None
Command Example
Admin\rip#
Result Description
Command Format
Version: B 17-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Set the printing level of the RIP Log information to the warning level.
Command Format
Parameter Description
None
Command Example
17-18 Version: B
17 RIP Directory Command
Note:
Please enable the Log information and set it to the info level at first when
you need to enable Debug.
Command Format
Description
Command Example
This command is used to enable the Debug information of the RIP packets.
Command Format
Version: B 17-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Set the Debug information of the RIP packets to the transmitting direction and
enable the detail printing.
This command is used to disable the Debug information of the RIP packet.
Command Format
Parameter Description
None
Command Example
17-20 Version: B
17 RIP Directory Command
This command is used to enable or disable the Zebra information of the RIP. The
Zebra information is the common printing information, and is a protocol stack.
Command Format
Description
Command Example
Command Format
Parameter Description
None
Command Example
Version: B 17-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
Command Format
Parameter Description
None
Command Example
17-22 Version: B
17 RIP Directory Command
Result Description
This command is used to view the current configured neighbor information of the
RIP.
Command Format
Parameter Description
None
Command Example
192.168.1.2 255.255.255.0
Admin\rip#
Version: B 17-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
This command is used to view the current network announced by the RIP.
Command Format
Parameter Description
None
Command Example
Result Description
17-24 Version: B
18 LACP Directory Command
Version: B 18-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
None
Command Example
Command Format
Parameter Description
None
Command Example
18-2 Version: B
18 LACP Directory Command
This command is used to configure the priority level of the LACP system.
Command Format
Parameter Description
Command Example
Command Format
Version: B 18-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\device\lacp#
This command is used to configure the port timers, including the long timer and the
short timer.
Command Format
Parameter Description
18-4 Version: B
18 LACP Directory Command
Command Example
Set the port timer to the short timer. The port is 19:1.
This command is used to view the information of the LACP aggregate group.
Command Format
Parameter Description
None
Command Example
Result Description
Version: B 18-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
Result Description
Parameter Description
System ID The system ID.
18-6 Version: B
18 LACP Directory Command
Parameter Description
Sys P The system priority.
Command Format
Parameter Description
None
Command Example
Result Description
000a.c220.ccf3 System ID
Version: B 18-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the operation key for the LACP port. The
operation key is a configuration combination generated during the port aggregation.
The parameters are derived from the configurations of the port (including rate,
duplex mode, basic configuration and management key) and should be consistent
at both the receiving and transmitting ends.
Command Format
Parameter Description
Command Example
Set the LACP port operation key of the 19:1 uplink port to 1.
18-8 Version: B
19 Service Directory Command
Version: B 19-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
Deleting User
Telnet Command
Ping Command
19-2 Version: B
19 Service Directory Command
Version: B 19-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Creating ESN
Displaying ESN
19-4 Version: B
19 Service Directory Command
Command Format
set manage vlan name <name> vid <vid> inputport <portlist> [untagged|tagged]
Description
Command Example
For the management VLAN, set the name to test, VLAN ID to 1000, port to 19:1 and
Tag property to Untagged.
Admin\service#set manage vlan name test vid 1000 inputport 19:1 untagged
Admin\service#
Version: B 19-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the IP address of the management VLAN, i.e.,
the IP address of the in-band NMS interface on the equipment.
Command Format
Parameter Description
Command Example
For the management VLAN named test, set the IP address to 10.98.20.1 and the
subnet mask bit number to 24.
This command is used to view the information of the configured management VLAN.
Command Format
19-6 Version: B
19 Service Directory Command
Description
Command Example
Result Description
Parameter Description
VLAN name The VLAN name.
VLAN ID The VLAN value.
IP Address IP address.
Mac address MAC address.
Tagged Ports The ports whose property is Tagged.
Untagged Ports The ports whose property is Untagged.
Command Format
Version: B 19-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\service#
Command Format
set manage vlan name <name> svid <svid> cvid <cvid> portlist <portlist>
Parameter Description
Command Example
Set the name of the double-tagged management VLAN to fh, the SVLAN ID to 666,
the CVLAN ID to 888 and the uplink port number to 19:2.
19-8 Version: B
19 Service Directory Command
Admin\service#set manage vlan name fh svid 666 cvid 888 portlist 19:2
Admin\service#
This command is used to modify the uplink port of the management VLAN.
Command Format
Parameter Description
Command Example
Modify the uplink port of the management VLAN named test to 19:1.
Command Format
Parameter Description
Version: B 19-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Modify the the VLAN ID value of the management VLAN named test to 1002.
This command is used to configure the MTU value of the management VLAN.
Command Format
Parameter Description
Command Example
Set the MTU value of the management VLAN named test to 1000.
This command is used to view the MTU value of the management VLAN.
Command Format
19-10 Version: B
19 Service Directory Command
Parameter Description
Command Example
Result Description
This command is used to configure the static route from the equipment to the
destination network. The configuration involves the IP address, the gateway and the
subnet mask of the destination network.
Command Format
Parameter Description
Version: B 19-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the IP address of the destination network in the static route to 10.92.20.2, the
gateway to 10.92.1.254 and the subnet mask to 255.255.0.0.
Admin\service#
Command Format
Parameter Description
Command Example
Delete the static routing whose destination network's IP address is 10.92.20.2 and
mask is 255.255.0.0.
Admin\service#
19-12 Version: B
19 Service Directory Command
Command Format
Parameter Description
None
Command Example
Admin\service#
Result Description
Version: B 19-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
This command is used to configure the information of the Trap receiver. The
equipment will send the Trap message to the NMS server that matches the
receiving address, including: IP address of the Trap receiver, SNMP version number
and the Trap community name.
Command Format
Parameter Description
19-14 Version: B
19 Service Directory Command
Command Example
Set IP address of the Trap receiver to 10.92.20.61, the SNMP version number to
V2C and the community name to ADSL.
This command is used to delete the Trap receiver with the designated IP address.
Command Format
Parameter Description
Command Example
Admin\service#
This command is used to configure the IP address and time calibration interval of
the SNMP automatic time calibration server.
Version: B 19-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Set the time interval of SNMP automatic time calibration to 3600 and the IP address
of the SNMP time calibration server to 10.92.20.1.
Command Format
Parameter Description
None
19-16 Version: B
19 Service Directory Command
Command Example
Result Description
This command is used to view the information of the SNMP Trap receiver, including:
IP address of the Trap receiver, the SNMP version number and the Trap community
name.
Command Format
Parameter Description
None
Command Example
Version: B 19-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
This command is used to view the information of the SNMP automatic time
calibration server.
Command Format
show snmp_time_cfg
Parameter Description
None
Command Example
Admin\service#show snmp_time_cfg
SNMP TIME CONFIG
INTERVAL=3600
SERV IP =10.92.20.1
Admin\service#
Result Description
19-18 Version: B
19 Service Directory Command
This command is used to configure the format of the Trap message. The format can
be either the standard format or the private format.
Command Format
Parameter Description
Command Example
Set the format of the messages transmitted to the Trap receiver whose IP address is
10.92.20.61 to standard format.
This command is used to add the ordinary user (including the user name and
password).
Command Format
Version: B 19-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Admin\service#
Command format
Parameter Description
19-20 Version: B
19 Service Directory Command
Command Example
Set the ordinary user test to the administrator and the admin-level password is
123456.
Command Format
Parameter Description
Command Example
Modify the password of the administrator test to 654321, a character string whose
length is between 6 to 20 characters.
Admin\service#
Version: B 19-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Command Format
Parameter Description
19-22 Version: B
19 Service Directory Command
Command Example
Modify the password of the ordinary user test to 987456, a character string whose
length is between 6 to 20 characters.
Admin\service#
This command is used to delete the ordinary user and the administrator.
Command Format
Parameter Description
Command Example
Version: B 19-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the current user and corresponding identity
information.
Command Format
user list
Parameter Description
None
Command Example
Admin\service#user list
UserName --------------- User_role ----------
GEPON ADMIN_USER
test ADMIN_USER
Total 2 users in system.
Admin\service#
Result Description
Command Format
19-24 Version: B
19 Service Directory Command
Description
Command Example
This command is used to enable or disable the Trap function of the SNMP. After the
Trap function is disabled, the NMS can no longer receive the alarm information
reported in the Trap mode (while the FiberHome's GUI based network management
system ANM2000 can obtain the equipment's alarm information via regular polling).
Command Format
Description
Command Example
Version: B 19-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\service#
Command Format
show services
Parameter Description
None
Command Example
Admin\service#show services
Service telnet is up.
Service snmp agent is up.
Admin\service#
Result Description
This command is used to access the object of the designated IP address in the
Telnet mode.
Command Format
19-26 Version: B
19 Service Directory Command
Parameter Description
Command Example
Trying 10.25.100.12...
Press Ctrl-Q or Ctrl-Y to abort connect.
Connected to 10.25.100.12.
Press Ctrl-Q or Ctrl-Y to force exit telnet.
Login:
This command is used to view the information of the user that sets up the session
with the host.
Command Format
who
Parameter Description
None
Command Example
View the information of the user that sets up the session with the host.
Version: B 19-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\service#who
SessionID. - UserName ----- LOCATION -------- MODE ----
3 console VIEW
19 10.92.244.200 VIEW (That's me.)
Total 2 sessions in current system.
Admin\service#
Result Description
Command Format
who am i
Parameter Description
None
Command Example
Admin\service#who am i
I am Session [3] : user connected from console.
Admin\service#
19-28 Version: B
19 Service Directory Command
Result Description
This command is used to check whether the network connection is normal or the
active-standby communication is normal.
Command Format
Parameter Description
{[-waittime] <1-255>}*1 Waiting time for the Ping response delay. Optional parameter
Command Example
Admin\service#ping 10.22.100.1
PING 10.22.100.1 : 56 data bytes.
Press Ctrl-c to Stop.
Reply from 10.22.100.1 : bytes=56: icmp_seq=0 ttl=64 time=20 ms
Reply from 10.22.100.1 : bytes=56: icmp_seq=1 ttl=64 time<10 ms
Version: B 19-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to configure the address for the host or server that can
access the equipment. After the ACL (Access Control List) is enabled, only the NMS
on the designated server can access the equipment or only the designated host can
Telnet to the equipment.
Command Format
Description
Command Example
Set the ACL number to 1, allow only the host or server whose IP address is
10.92.20.61 and mask is 255.255.0.0 to access the equipment, and enable the ACL
function.
19-30 Version: B
19 Service Directory Command
Command Format
Parameter Description
Command Example
Command Format
show syscontact
Parameter Description
None
Version: B 19-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Admin\service#show syscontact
456
Admin\service#
Command Format
Parameter Description
Command example
19-32 Version: B
19 Service Directory Command
Command Format
show syslocation
Parameter Description
None
Command Example
Admin\service#show syslocation
123
Admin\service#
This command is used to configure the address of the host that can Telnet to the
equipment. After this command is delivered, only the designated host can Telnet to
the equipment. You can configure the specific limiting range with this command.
Different from the previous configuring ACL parameters command, this command
restrains the external host or server from Telneting to the equipment rather than
restricts other kinds of communication such as Ping or SNMP.
Command Format
Description
Version: B 19-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the ACL number to 1, allow only the host or server whose IP address is
10.92.20.203 and mask is 255.255.0.0 to access the equipment, and enable the
ACL function.
Command Format
show acl
Parameter Description
None
Command Example
Admin\service#show acl
------------------- Access Control Label --------------------
No IP Mask Status
1 10.92.20.61 255.255.0.0 enable
2 0.0.0.0 0.0.0.0 disable
3 0.0.0.0 0.0.0.0 disable
4 0.0.0.0 0.0.0.0 disable
19-34 Version: B
19 Service Directory Command
Result Description
Command Format
Parameter Description
None
Command Example
Version: B 19-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
Result Description
This command is used to configure the number of rows displayed on the terminal
screen. This command is a project commissioning command that will not be
displayed in the window. The use of this command is restricted.
Command Format
Parameter Description
Command Example
This command is used to trace the routing path from the equipment to the
designated destination IP address.
19-36 Version: B
19 Service Directory Command
Command Format
Parameter Description
Command Example
Configures to trace the routing path from the equipment to the destination IP
address 10.92.1.254.
Admin\service#tracert 10.92.1.254
please wait minites....
Tracing route to 10.92.1.254 over a maximum of 10 hops
1 <1 ms <1 ms <1 ms 10.92.1.254
Trace complete.
Admin\service#
This command is used to configure the format of the line identifier or the remote end
identifier and confirm how to add user information and equipment information in the
data packets, so as to facilitate the higher-layer BRAS equipment's management.
Command Format
Version: B 19-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
This command is used to configure the identifier, cabinet number, and subrack
number of the line identifier access node.
Command Format
19-38 Version: B
19 Service Directory Command
Parameter Description
Command Example
Set the line identifier access node identifier to abcdefg, the cabinet number to 20,
the subrack number to 100.
Command Format
Description
Version: B 19-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Command Format
Description
Command Example
Command Format
19-40 Version: B
19 Service Directory Command
Description
Command Example
Command Format
Description
Command Example
Version: B 19-41
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
Configure the DHCP Snooping trusted port 20:1 and untrusted service end 10.1.1.1.
Command Format
Description
19-42 Version: B
19 Service Directory Command
Command Example
This command is used to view the line identifier / remote end identifier format.
Command Format
Description
Command Example
Result Description
Parameter Description
Circuit ID format The line identifier format.
Version: B 19-43
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the line identifier access node parameter value.
Command Format
Parameter Description
None
Command Example
Result Description
This command is used to view the record of the intercepted DHCP attackers.
Command Format
19-44 Version: B
19 Service Directory Command
Description
Command Example
Result Description
Parameter Description
Version: B 19-45
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the DHCP Snooping internal MAC address binding
table.
Command Format
Parameter Description
Command Example
View all the DHCP Snooping internal binding tables whose MAC address is
002186ef1ba6.
Result Description
MAC-IP BINDING TABLE [i] [i] represents the total number of MAC-IP bindings.
19-46 Version: B
19 Service Directory Command
This command is used to view the current DHCP Snooping operation configuration
information.
Command Format
Parameter Description
None
Command Example
Result Description
Version: B 19-47
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
19-48 Version: B
19 Service Directory Command
untrust server: 0
data lost: 0
msg lost: 0
========================================
Admin\service#
Result Description
Parameter Description
pkt all The total number of packets.
good pkt The legitimate packet.
dropped pkt The dropped packet.
Command Format
Version: B 19-49
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
None
Command Example
Admin\service#
Result Description
This command is used to view the status of the PPPoE Plus service.
Command Format
Parameter Description
None
19-50 Version: B
19 Service Directory Command
Command Example
Result Description
This command is used to configure the remote end identifier enabling switch.
Command Format
Description
Command Example
Version: B 19-51
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to download the License file to the equipment from the FTP
server.
Command Format
Parameter Description
Command Example
Download the License file 11.lic to the equipment from the FTP server whose IP
address is 10.11.12.13, user name is 1, and password is 1.
This command is used to upload the License file from the equipment to the FTP
server.
Command Format
19-52 Version: B
19 Service Directory Command
Parameter Description
Command Example
Upload the License file from the equipment to the FTP server whose IP address is
10.11.12.13, user name is 1, and password is 1. The name of the generated file is
11.lic.
Command Format
Parameter Description
None
Command Example
Version: B 19-53
AN5116-06B Optical Line Terminal Equipment CLI Reference
OSPF 1 0 0
I_Class_Onu_Num 32768 0 0
II_Class_Onu_Num 32768 7 7
III_Class_Onu_Num 32768 1 1
Valid Time 65535 0 0
Admin\service#
Result Description
Command format
Parameter Description
Command Example
19-54 Version: B
19 Service Directory Command
Command Format
show Esn
Parameter Description
None
Command Example
Admin\service#show Esn
ESN: 20.20.20.202-0
Admin\service#
Version: B 19-55
20 OSPF Directory Command
Configuring Router ID
Deleting Router ID
Version: B 20-1
AN5116-06B Optical Line Terminal Equipment CLI Reference
20-2 Version: B
20 OSPF Directory Command
Version: B 20-3
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
Command Format
20-4 Version: B
20 OSPF Directory Command
Parameter Description
Command Example
Command Format
Parameter Description
Version: B 20-5
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
This command is used to configure the ID of the OSPF router, which identifies the
uniqueness of the router.
Command Format
Parameter Description
Command Example
[mn_set_ospf_router_id]0xa0a0a0a 0xa0a0a0a
Admin\ospf#
20-6 Version: B
20 OSPF Directory Command
Command Format
Parameter Description
None
Command Example
Admin\ospf#
This command is used to configure the Distance value of the OSPF routing protocol,
i.e., the shortest route overhead from the root node to the destination node.
Command Format
Parameter Description
Version: B 20-7
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command example
This command is used to delete the Distance value of the OSPF routing protocol.
Command Format
Parameter Description
None
Command Example
Command Format
20-8 Version: B
20 OSPF Directory Command
Parameter Description
Command Example
Admin\ospf#
Command Format
Parameter Description
Command Example
Version: B 20-9
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\ospf#
Command Format
Parameter Description
Command Example
Set the NSSA domain ID to 10.20.10.20 and the Translator role to candidate.
Admin\ospf#
20-10 Version: B
20 OSPF Directory Command
Command Format
Parameter Description
Command Example
Admin\ospf#
This command is used to announce the default route for all NSSA domains.
Command Format
Version: B 20-11
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
The metric.
{metric <0-16777214>}*1 The value ranges from 0 to 16777214. The default Optional
value is 1.
Command Example
Set all the NSSA domains to announce the default routes and the external route
type to E1.
This command is used to configure the route re-allocation, leading the external
routes into the OSPF domain.
Command Format
20-12 Version: B
20 OSPF Directory Command
Description
The metric.
{metric <0-16777214>}*1 The value ranges from 0 to 16777214. The default Optional
value is 1.
Command Example
Command Format
Version: B 20-13
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Command Format
20-14 Version: B
20 OSPF Directory Command
Parameter Description
Command Example
Set the failure interval time of the interface whose Super VLAN is 2000 to 800
seconds.
This command is used to configure the Hello message interval of the interface, i.e.,
the time interval of transmitting the polling Hello messages in the OSPF protocol.
Command Format
Version: B 20-15
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command Example
Set the Hello message interval of the interface whose Super VLAN is 2000 to 50
seconds.
This command is used to configure the re-transmitting LSA interval of the interface.
Command Format
20-16 Version: B
20 OSPF Directory Command
Parameter Description
Command Example
Set the re-transmitting LSA interval time of the interface whose Super VLAN is 2000
to 20 seconds.
This command is used to configure the updating message time of the interface.
Command Format
Version: B 20-17
AN5116-06B Optical Line Terminal Equipment CLI Reference
Parameter Description
Command example
Set the updating message time of the interface whose Super VLAN is 2000 to 5
seconds.
Command Format
Parameter Description
20-18 Version: B
20 OSPF Directory Command
Command Example
Set the COST value of the interface whose Super VLAN is 2000 to 15.
Command Format
Parameter Description
Command Example
Set the priority level of the interface whose Super VLAN is 2000 to 2.
Version: B 20-19
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
Command Example
Set the MTU value of the interface whose Super VLAN is 2000 to 2000.
This command is used to configure the OSPF authentication modes, including the
simple password authentication mode and the MD5 authentication mode.
Command Format
20-20 Version: B
20 OSPF Directory Command
Description
Authentication mode.
authentication [simple|md5] u simple: the simple password authentication mode. Compulsory
u md5: the MD5 authentication mode.
u If the authentication mode is the simple password
mode, the item is the simple key, whose maximum
length is 8 characters.
<string> Compulsory
u If the authentication mode is the MD5 mode, the
item is the configured key chain name, whose
maximum length is 20 characters.
Command Example
Set the authentication mode of the OSPF whose Super VLAN is 2000 to the simple
password mode, and the key to wri.
Command Format
Parameter Description
Version: B 20-21
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Cancel the authentication mode for the OSPF whose Super VLAN ID is 2000.
Command Format
Parameter Description
None
Command Example
20-22 Version: B
20 OSPF Directory Command
Result Description
Parameter Description
Router ID The router ID.
Distance The management distance.
Number of areas attached to this router Number of domains that are bound to this router.
The domain ID. The domains include the NSSA domain,
Area ID
the OSPF domain, and the STUB domain.
Shortcutting mode The shortcut mode.
This command is used to view the neighbor status of the OSPF protocol.
Command Format
Parameter Description
None
Version: B 20-23
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Result Description
Pri Priority.
Neighbor State The neighbor status.
Interface State The interface status.
Dead Time The timeout period.
Address IP address of the interface.
Interface Interface name.
Command Format
Parameter Description
None
Command Example
20-24 Version: B
20 OSPF Directory Command
Result Description
This command is used to view the OSPF RIB (Routing Information Base).
Version: B 20-25
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Parameter Description
None
Command Example
Result Description
Command Format
20-26 Version: B
20 OSPF Directory Command
Parameter Description
Command Example
View the information of the OSPF interface whose Super VLAN ID is 2000.
Result Description
Version: B 20-27
AN5116-06B Optical Line Terminal Equipment CLI Reference
This command is used to view the authentication and password information of the
OSPF.
Command Format
Parameter Description
None
Command Example
Result Description
This command is used to view the authentication mode and the related key chain of
the OSPF interface.
20-28 Version: B
20 OSPF Directory Command
Command Format
Parameter Description
None
Command Example
View the authentication mode and the related key chain of the OSPF interface.
Result Description
Command Format
Description
Version: B 20-29
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
Set the printing level of the OSPF Log information to the warning level.
Command format
Parameter Description
None
Command Example
This command is used to enable the Debug information of the OSPF packets. (To
enable the Debug information, you should set the level of the Log information to info
at first.)
Command Format
20-30 Version: B
20 OSPF Directory Command
Description
The direction.
u send: the packet transmitting direction.
direction [send|rev|all] Compulsory
u rev: the packet receiving direction.
u all: both the receiving and transmitting directions.
Command Example
Set the type of the OSPF packets to all packets, the direction to transmitting
direction, and set to print the details.
This command is used to disable the Debug information of the OSPF packet.
Command Format
Parameter Description
None
Version: B 20-31
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Example
This command is used to enable the Debug information of the interface state
machine.
Command Format
Description
Command Example
20-32 Version: B
20 OSPF Directory Command
This command is used to disable the Debug information of the interface state
machine.
Command Format
Description
Command Example
This command is used to enable the Debug information of the neighbor state
machine.
Command Format
Version: B 20-33
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Enable the Debug information of the interface status of the neighbor state machine.
This command is used to disable the Debug information of the neighbor state
machine.
Command Format
Description
Command Example
Disable the Debug information of the interface status of the neighbor state machine.
20-34 Version: B
20 OSPF Directory Command
Admin\ospf#
This command is used to enable the Debug information of the LSA (Link State
Advertisement) state machine.
Command Format
Description
Command Example
This command is used to disable the Debug information of the LSA state machine.
Version: B 20-35
AN5116-06B Optical Line Terminal Equipment CLI Reference
Command Format
Description
Command Example
This command is used to view the enabling / disabling status of all Debug summary
information.
Command Format
Parameter Description
None
Command Example
20-36 Version: B
20 OSPF Directory Command
Admin\ospf#
Result Description
This command is used to view the current configuration of the OSPF protocol.
Command Format
Parameter Description
None
Command Example
Version: B 20-37
AN5116-06B Optical Line Terminal Equipment CLI Reference
Admin\ospf#
Result Description
Command Format
Description
Command Example
Configure the OSPF route filtering function whose name of the access control list is
name and the filtering strategy is IP address.
20-38 Version: B
20 OSPF Directory Command
Command Format
Description
Command Example
Cancel the OSPF route filtering function whose name of the access control list is
name and the filtering strategy is IP address.
Command Format
Version: B 20-39
AN5116-06B Optical Line Terminal Equipment CLI Reference
Description
Command Example
Configure the network type of the OSPF interface whose Super VLAN ID is 2000 as
broadcast type.
Command Format
Parameter Description
None
Command Example
20-40 Version: B
20 OSPF Directory Command
Result Description
Version: B 20-41
Product Documentation Customer Satisfaction Survery
Thank you for reading and using the product documentation provided by FiberHome. Please take a moment to
complete this survey. Your answers will help us to improve the documentation and better suit your needs. Your
responses will be confidential and given serious consideration. The personal information requested is used for
no other purposes than to respond to your feedback.
Name
Phone Number
Email Address
Company
To help us better understand your needs, please focus your answers on a single documentation or a complete
documentation set.
Documentation Name
Code and Version
12. Additional comments about our documentation or suggestions on how we can improve:
Thank you for your assistance. Please fax or send the completed survey to us at the contact information
included in the documentation. If you have any questions or concerns about this survey please email at
edit@fiberhome.com.cn