OLT CLI User Manual
EPON OLT FD1108S CLI
User Manual
OLT CLI User Manual
Contents
CONTENTS...................................................................................................................................... 2
1 OVERVIEW ................................................................................................................................. 7
1.1 INTRODUCTION ............................................................................................................................. 7
1.2 COMMAND EXPLANATIONS IN EACH SECTION ..................................................................................... 7
1.3 COMMAND PRESENTATION IN EXAMPLES ........................................................................................... 7
1.4 COMMAND SYNTAX ....................................................................................................................... 8
1.5 EDITING FUNCTIONS, KEYSTROKES, AND ABBREVIATIONS ...................................................................... 8
2 COFIGURATION PREPARATION ................................................................................................... 9
2.1 CONSOLE PORT CONNECTION .......................................................................................................... 9
2.2 NETWORK CONNECTION................................................................................................................. 9
3 CLI COMMAND MODE .............................................................................................................. 10
3.1 USER LOGIN EPON CLI SYSTEM .................................................................................................... 10
3.2 CLI COMMAND HELP................................................................................................................... 10
3.3 CONFIGURE TERMINAL ................................................................................................................. 12
4 SYSTEM MANAGEMENT ........................................................................................................... 12
4.1 CHANGE SYSTEM USER AND PASSWORD ........................................................................................... 12
4.2 SYSTEM CONFIGURATION FILE ....................................................................................................... 13
Backup OLT Configuration File ........................................................................................................ 13
Restore OLT configuration from PC ................................................................................................. 13
Backup ONU Configuration File ...................................................................................................... 14
Restore ONU Configuration File from PC ........................................................................................ 14
4.3 CONFIGURATION MANAGEMENT.................................................................................................... 15
Factory Default Configuration ........................................................................................................ 15
Save Configuration ......................................................................................................................... 15
Show current running- configuration ............................................................................................. 15
Show current startup-configuration ............................................................................................... 16
Reboot System ................................................................................................................................ 16
4.4 SYTEM UPDATE FIRMWARE ............................................................................................................ 16
system update OLt ‘s firmware .................................................................................................... 16
upgrade all onu(s) by CTCS ............................................................................................................. 17
4.5 LOG MANAGEMENT .................................................................................................................... 17
Backup Log ..................................................................................................................................... 17
Flush log ......................................................................................................................................... 18
4.6 SNMP MANAGEMENT ................................................................................................................ 18
SNMP Read Community ................................................................................................................. 18
SNMP Write Community................................................................................................................. 18
OLT CLI User Manual
Trap IP Configuration ...................................................................................................................... 19
4.7 NETWORK ADDRESS MANAGEMENT ............................................................................................... 19
Network Parameter Configuration ................................................................................................. 19
Management VLAN Configuration .............................................................................................. 20
4.8 CONFIGURATION ......................................................................................................................... 20
Configure system time automatically by NTP ................................................................................. 20
Configure system time manually .................................................................................................... 20
4.9 SHOW SYSTEM CONFIGURATION ..................................................................................................... 21
Show system infor .......................................................................................................................... 21
Show system ipconfig ..................................................................................................................... 21
Show system log ............................................................................................................................. 22
Show system memory ..................................................................................................................... 23
Show system mgmt-vlan................................................................................................................. 23
Show system snmp ......................................................................................................................... 23
5 SWITCH CONTROL CARD CONFIGURATION ............................................................................... 24
5.1 STORM CONTROL ........................................................................................................................ 24
Enable/Disable Storm Control ........................................................................................................ 24
Storm Control Configuration .......................................................................................................... 24
5.2 PORT MANEGEMNET ....................................................................................................................... 25
enter switch port config mode........................................................................................................ 25
Port parameters ............................................................................................................................. 25
Add vlan list of port ........................................................................................................................ 27
Delete the vlan list of port .............................................................................................................. 28
Show swport current configuration information ............................................................................ 28
Configuration ingress-port rate ...................................................................................................... 29
Configuration egress-port rate ....................................................................................................... 29
5.3 CONFIGURE SWITCH MODE ........................................................................................................... 29
Show vlan state .............................................................................................................................. 29
Configure vlan enable/disable ........................................................................................................ 30
5.4 MAC ADDRESS MANAGEMENT ...................................................................................................... 30
Configure mac-address aging timeout ........................................................................................... 30
Show mac-address aging................................................................................................................ 30
5.5 VLAN CONFIGURATION MANAGEMENT ............................................................................................ 31
Creat vlan ....................................................................................................................................... 31
Add vlan port member.................................................................................................................... 31
Delete vlan port member................................................................................................................ 32
Delete vlan...................................................................................................................................... 32
Show vlan configuration of vlan ..................................................................................................... 32
5.6 RSTP CONFIGURATION MANAGEMENT ............................................................................................. 33
Enable/disable RSTP configuration ................................................................................................. 33
Configure Rstp bridge maxage aging time ..................................................................................... 33
Configure Rstp bridge delay time ................................................................................................... 34
Configure Rstp bridge prioprity ...................................................................................................... 34
Configure max counts of Rstp packet per second ........................................................................... 35
OLT CLI User Manual
Configure Rstp port piority ............................................................................................................. 35
Configure Rstp port path-cost ........................................................................................................ 35
Configure Rstp edge-port ............................................................................................................... 36
Configure Rstp p2p port ................................................................................................................. 36
Configure Rstp protocol version check ........................................................................................... 37
Show Rstp information ................................................................................................................... 37
5.7 TRUNK CONFIGURATION MANAGEMNET........................................................................................... 38
Enter trunk config mode ................................................................................................................. 38
Add port of trunk member.............................................................................................................. 39
Delete port of trunk member.......................................................................................................... 39
Delete trunklist configuraion .......................................................................................................... 39
Show trunk information ................................................................................................................. 40
5.8 RMON NETWORK MONITORING AND CONFIGURATION ........................................................................ 40
rmon history configration ............................................................................................................... 41
rmon event configuration ............................................................................................................... 42
rmon alarm configuration .............................................................................................................. 43
Show rmon statistics information ................................................................................................... 44
Show rmon history information ...................................................................................................... 44
show rmon event information ..................................................................................................... 45
Show rmon eventlog information ................................................................................................... 45
Show rmon alarm information ....................................................................................................... 46
5.9 MIRROR PORT CONFIGURATION MANEGEMENT ENABLE/DISABLE MIRROR FUCTION................................ 46
Configure mirror source_port ......................................................................................................... 47
Configure mirror dest_port............................................................................................................. 48
Add/delete vlan soure_port of in_packet ....................................................................................... 48
Show mirror information ................................................................................................................ 49
6 OLT MANAGEMENT .................................................................................................................. 49
6.1 OLT BASIC CONFIGURE MANAGEMENT ............................................................................................ 49
Enter OLT Management.................................................................................................................. 49
Enable/disable OLT port ................................................................................................................. 50
Long light checking Function .......................................................................................................... 50
Configure p2p Function .................................................................................................................. 51
Configure out-tpid Function ........................................................................................................... 51
6.2 OLT ACL CONFIGURE .................................................................................................................. 51
Delete One ACL ............................................................................................................................... 51
Delete Current OLT All ACL .............................................................................................................. 52
Add OLT ACL.................................................................................................................................... 52
6.3 OLT MAC MANAGEMENT ........................................................................................................... 53
Configure OLT MACAge Time ......................................................................................................... 53
Flush current olt’s mac table list ..................................................................................................... 54
Enable OLT MAC Learening function .............................................................................................. 54
Disable OLT MAC Learning Function ............................................................................................... 54
Enable MAC Move .......................................................................................................................... 54
Disable MAC Move ......................................................................................................................... 55
OLT CLI User Manual
6.4 OLT AUTH ................................................................................................................................ 55
Disable OLT Auth ............................................................................................................................ 55
Add/Delete/Show Whitelist ............................................................................................................ 55
Add/Delete/Show Blacklist ............................................................................................................. 56
OLT hybrid Auth Mode Configure ................................................................................................... 57
OLT Hybrid LOID Auth Mode Configure .......................................................................................... 58
OLT MAC Auth Mode Configure ...................................................................................................... 59
6.5 CONFIGURE PACKET_FILTER OF OLT ................................................................................................ 59
Packet_filter of OLT about DHCP function ...................................................................................... 59
EOC MME packet-filter function ..................................................................................................... 59
6.6 CONFIGURE TRAP ALARM AND MESSAGE ALARM FUNCTION OF ONU .................................................... 60
Configure message alarm about ONU off the electricity ............................................................ 60
Configure trap alarm about ONU off the electricity ....................................................................... 60
6.7 CONFIGURE QINQ FUNCTION ........................................................................................................ 60
Add QinQ configuration .................................................................................................................. 60
Delete QinQ configuration .............................................................................................................. 61
6.8 SHOW OLT CONFIGURATION INFORMATION ....................................................................................... 61
Show olt attribute information ....................................................................................................... 61
Show olt optical information .......................................................................................................... 62
Show olt online-onu information .................................................................................................... 62
Show olt acl information ................................................................................................................ 63
Show olt auth mode information ................................................................................................... 63
Show olt port staus information ..................................................................................................... 63
Show olt alarm information ........................................................................................................... 64
Show olt learning-mac information................................................................................................ 64
Show olt p2p information ............................................................................................................... 65
Show olt packet-filter information.................................................................................................. 65
Show olt tpid out-tpid ..................................................................................................................... 65
7 ONU MANAGEMENT ................................................................................................................ 66
7.1 SHOW ONU BASIC INFORMATION.................................................................................................. 66
Show Online ONU ........................................................................................................................... 66
Show ONU Version ......................................................................................................................... 66
Show ONU Capabilities ................................................................................................................... 67
Show ONU Optical .......................................................................................................................... 67
7.2 ONU MANAGEMENT MODE......................................................................................................... 67
7.3 ONU BASIC OPERATION AND MANAGEMENT ................................................................................... 68
Reboot ONU.................................................................................................................................... 68
Deregister ONU .............................................................................................................................. 68
Configure ONU FEC ......................................................................................................................... 68
Restore ONU to Default Settings .................................................................................................... 69
Configure ONU Sys Management IP ............................................................................................... 69
Save Current ONU Configuration .................................................................................................... 69
7.4 CONFIGURE ONU IGMP ............................................................................................................. 69
ONU IGMP Global Configuration .................................................................................................... 69
OLT CLI User Manual
Configure ONU UNI Port IGMP ....................................................................................................... 70
7.5 ENTER ONU LINK MODE ............................................................................................................. 71
Configure ONU Link Upstream SLA ................................................................................................. 71
Configure ONU Link Downstream SLA ............................................................................................ 72
Configure ONU Link Acl .................................................................................................................. 72
7.6 ENTER ONU UNI PORT MANAGEMENT MODE ................................................................................. 73
Configure ONU Uni Port Parameters .............................................................................................. 74
Configure ONU Uni Port Vlan Mode ............................................................................................... 76
7.7 ONU AUTHENTICATION MANAGEMENT MODE ................................................................................ 80
Configure ONU Blacklist Authentication mode............................................................................... 80
Configure ONU Whitelist Authentication mode ............................................................................. 80
Configure ONU LOID Authentication mode .................................................................................... 80
Disable ONUAuthentication ........................................................................................................... 81
8 EQUIPMENT DIAGNOSIS INFORMATION................................................................................... 81
8.1 PING COMMAND TEST .................................................................................................................. 81
8.2 TRACERT CHECKING THE DEVICE THE PATH OF THE HOST ...................................................................... 82
INCLUDING REMARKS ...................................................................................................................... 82
OLT CLI User Manual
1 Overview
1.1 Introduction
This document is for those who perform all tasks for the FD1108S once it has been
successfully installed. Users of this Guide should understand EPON technology and
have experience configuring EPON devices.
C-Data OLT FD1108s system could support inband and outband network management
mode and EMS network management based on SNMP.
The user can use several different network interfaces to do network management, such
as those listed below:
• SNMP Management
• CLI Management
This manual introduce CLI configuration function of EPON OLT.
In the initial setup step of OLT, there are two ways based on CLI management to login
system:
• Terminal Emulation of CONSOLE port (RJ-45)
• Telnet of management port (RJ-45)
1.2 Command Explanations in each Section
Commands are usually presented in the following ways:
• Tables for specific functions or features that include important parameters
• Specific commands that are part of examples
• A table at the end of each Section that includes all commands and descriptions of all
parameters.
1.3 Command Presentation in Examples
When a command is presented in an example, it follows the exact syntax and parameter
values that match the
example configuration. If a command is very long, a (->) is used to note the command
continues on the next line.
OLT CLI User Manual
1.4 Command Syntax
The syntax rules for a Command and its parameters use the following conventions
throughout this document:
• Blackface letter indicates command itself or command keyword
• “< >” The text inside it is the required parameters
• [] = Optional The text inside it is the optional parameters
• | = Option (OR) The multiple items which are divided are multi-select required
parameters, indicating that must select one of them.
• “<x-y>” Valus rang from x to y. One is selected.
1.5 Editing Functions, Keystrokes, and Abbreviations
The product supports line editing, line recall, and abbreviations, so that command line
input and editing can be done very quickly once command syntax and the line editing
commands are learned.
Action Key Sequence
Move cursor within command line left and right arrow
Delete character to left of cursor [Delete] or [Backspace]
Clear command line [Ctrl/U]
Recall previous command in command CTRL/P or up arrow
history
Recall next command in command history CTRL/N or down arrow
Automatically complete a partially entered [Tab] or [Ctrl/I]
command keyword
OLT CLI User Manual
2 Cofiguration Preparation
2.1 Console Port Connection
There is a Console port in the front panel of Switch Control Card .The command line
configuration interface is enabled via console port connecting to the NMS’s superior
terminal. Super terminal’s basic configuration is as follows:
2.2 Network Connection
FD1108S support inband management (CAT5 connect to ge1-ge8 port) and outband
management
(CAT4 cable to management port).After Telnet to CLI interface ,we can manage the
EPON products.
Defualt outband(inband) network management IP:192.168.1.100
OLT CLI User Manual
3 CLI Command Mode
OLT CLI use the layered command structure(Command mode). Every command mode
provides subset of CLI command. The available CLI command depends on those
command modes which have been activated currently.
3.1 User Login EPON CLI System
System provide two login accounts default as follows:
Username Password
admin admin
guest Null
After you log in successfully, the following interface pops up :
admin login
Username:admin
Password:*****
Entry level 2(manager) successfully!
epon#
----------------------------------------------------------------------
guest login
Username:guest
Entry level 1(visitor)
epon>
3.2 CLI Command Help
When the command lines shows : epon> or epon#, user can input the configuration
command to mange or inquire the configuration information .
OLT CLI command provides various help and shortcut keys. Next table lists main
shortcut keys of obtaining help and methods in CLI command.
CLI command Help
OLT CLI User Manual
Method Function
Type “?” in any CLI command level Show all available commands
Partial command+“?” Show the initial command list of the specific
character string(There is no space between the
command and the question mark)
Command+Space +“?” Show the completer syntax and the brief
instruction of command
Partial command +<tab> System will automatically complete the
command or keyword
Ctrl-P” or the up arrow key ↑ Invoke the executed command previously.
For example 1:
epon#?
debug - debug
logout - exit the CLI system
mac-address - ctrl-card dynamic mac address table management
olt - configure OLT
show - show system configuration
storm-ctrl - configure storm-control
swmode - set basic switch mode
swport - enter switch port config mode
system - configure systerm
vlan - enter vlan config mode
For example 2:
epon# s?
storm-ctrl swmode swport system
show
epon# s
For example 3:
epon#show + [ ? ]
mac-address - mac-address
olt - show olt's configuration
running-config - show current running-configuration
storm-ctrl - show storm-control configuration
swmode - show swmode
swport - display port attribute information
system - show system configuration
vlan - show vlan configuration
OLT CLI User Manual
3.3 Configure Terminal
The command mode allows the user to change equipment configuration. The changed
configuration can be saved into OLT flash memory and used when system is started next
time.
Configuration mode allows distributing and modifying each port separately for the
specific parameters (Optical Line Terminal).
For example1: epon# swport ge1
System prompt is epon(GE-1)#
For example2: epon# olt 1
System prompt is epon(olt-1)#
ONU configuration mode is the sub-mode of configuration command mode of olt, and is
used to configure the logical port parameters of ONU
For example: epon(olt-1)# onu 60
System prompt is epon(olt-1/onu-60)#
4 System Management
4.1 Change system user and password
Command epon#system user <old-password> <new-user>
Grammar <new-password> <comfirm-password>
Function Change system user and password
<old-password> Old password
<new-user> New username
<new-password> New password
<comfirm-passwor
Comfirm password
d>
OLT CLI User Manual
4.2 System Configuration File
Backup OLT Configuration File
Command
epon# system configurations backup olt <tftp-server>
Grammar
Backup OLT configuration File to PC, firstly, the tftp server
Function
should be ready.
<tftp-server> Tftp server ip address, eg: 192.168.1.130
【Example】
Example 1:Backup OLT configuration file to PC:
epon# system configurations backup olt 192.168.2.133
Backup olt configurations file to host 192.168.2.133.
Remote filename: olt_cfg_backup_20000101055726.tar.gz.
epon#
Restore OLT configuration from PC
Command epon# system configurations download olt <tftp-server>
Grammar <filename>
Restore OLT configuration from PC, firstly, the tftp server and
Function
configurefile should be ready.
<tftp-server> Tftp server ip address, eg: 192.168.1.130
The Configuration File.
<filename>
eg: olt_cfg_backup_20000101055726.tar.gz
【Example】
Example 1:Restore OLT configuration from PC:
epon# system configurations download olt 192.168.2.130
olt_cfg_backup_20000101063321.tar.gz
Download olt configurations file from host 192.168.2.130.
epon#
OLT CLI User Manual
Backup ONU Configuration File
Command
epon#system configurations backup onu <tftp-server>
Grammar
Backup ONU configuration File to PC, firstly, the tftp server
Function
should be ready.
<tftp-server> Tftp server ip address, eg: 192.168.1.130
【Example】
Example 1:Backup ONU Configuratin to PC:
epon# system configurations backup onu 192.168.2.130
Backup onu configurations file to host 192.168.2.130.
Remote filename: onu_cfg_backup_20000101060207.tar.gz.
epon#
Restore ONU Configuration File from PC
Command epon#system configurations download onu <tftp-server>
Grammar <filename>
Restore ONU configuration from PC, firstly, the tftp server and
Function
configurefile should be ready.
<tftp-server> Tftp server ip address, eg: 192.168.1.130
The Configuration File.
<filename>
eg: olt_cfg_backup_20000101055726.tar.gz
【Example】
Example 1:Restore ONU configuration from PC:
epon# system configurations download onu 192.168.2.130
onu_cfg_backup_20000101060207.tar.gz
Download onu configurations file from host 192.168.2.130.
epon#
OLT CLI User Manual
4.3 Configuration Management
Factory Default Configuration
Command
epon# system default
Grammar
Set the device back to factory default congfiguration。
Function
Remark:the device would reboot。
Save Configuration
Command
epon# system save <all> or <olt>
Grammar
Function Save device configuration。
<all> Take this parameter will save all device,include all olt an all onu.
<olt> Take this parameter only save olt configuration.
Show current running- configuration
Command
epon#show running-config <all> ,<auth>, <olt>,<onu> or <swith>
Grammar
Function show current running-configuration
show current all running-configuration
all
Include OLT and ONU
auth show current auth running-configuration
olt show OLT running-configuration
onu show ONU running-configuration
swith show current swith running-configuration
OLT CLI User Manual
Show current startup-configuration
Command epon#show startup-config <all> ,<auth>, <olt>,<onu> or
Grammar <swith>
Fuction show current startup-configuration
all show current all startup-configuration
auth show current auth startup-configuration
olt show olt startup-configuration
onu show onu startup-configuration
swith show current switch startup-configuration
Reboot System
Command
epon# system reboot
Grammar
Function Reboot OLT.
4.4 Sytem update firmware
system update OLt ‘s firmware
Command
system update firmware <firmware> tftp-server <ip>
Grammar
Sytem update olt’s firmware
Fuction
Tftp server and firmware file should be ready
<firmware> update system firmware
<ip> tftp server IP address
OLT CLI User Manual
upgrade all onu(s) by CTCS
Command
system update onu <tftp-server> <file> <type>
Grammar
upgrade all onu(s) by CTC
Fuction
Tftp server and firmware file should be ready
<tftp-server> tftp server IP address
<file> image name
<type> device type
4.5 Log Management
Backup Log
Command
epon#system log system log backup <server-ip>
Grammar
Function Backup system log to PC, firstly, tftp server should be ready.
<server-ip> Tftp server ip address, eg: 192.168.1.130
【Example】
Example 1:Backup system log to PC:
epon# system log backup 192.168.2.130
Backup local log file to host 192.168.2.130 successfully, remote filename:
log_backup_20000101002224.txt!
【Example】
Example 2:Show system all log:
epon# show system log all
OLT CLI User Manual
Flush log
Command
epon#system log flush
Grammar
Function Flush all system log.
【Example】
Example 1:Flush system all log:
epon# system log flush
Flush log file successfully!
epon#
4.6 SNMP Management
SNMP Read Community
Command
epon# system snmp community read-only <community>
Grammar
Function Set SNMP Read Community.
< Read Community,the string’s length should not lenger than 16
community > chars. eg:public。
SNMP Write Community
Command
epon# system snmp community read-write <community>
Grammar
Function Set SNMP Write Community .
< Write Community,the string’s length should not lenger than 16
community > chars. eg:private。
OLT CLI User Manual
Trap IP Configuration
Command
epon#system snmp trap-ip <index> <ip-addr>
Grammar
Function Set the SNMP Trap IP Address, could set up to 4 trap ip
<index> index : 1-4。
<ip-addr> IP Address. Eg: 192.168.1.130
4.7 Network Address Management
Command
epon#system ipconfig
Grammar
Configure the Network Address of inband and outband manage
Function
IP.
【Example】
Example 1:Show command parameter
epon#system ipconfig // enter“?”
<ip> - ip address, example: 192.168.0.233
<netmask> - netmask address, for example: 255.255.255.0
<gateway> - gateway
Network Parameter Configuration
Command
epon#system ipconfig <ip> <netmask> <gateway>
Grammar
Configure inband and outband management IP address
Function
netmask gateway。
< ip> IP address. eg: 192.168.1.100
<netmask> Netmask. eg: 255.255.255.0
< gateway > Gateway. eg: 192.168.1.254
【Example】
OLT CLI User Manual
Example 1:Confgiure the manage ip to 192.168.1.100,netmask to: 255.255.255.0,
gateway to 192.168.1.254:
epon# system ipconfig 192.168.1.100 255.255.255.0 192.168.1.254
Example 2:Show the Network IP address Parameter
epon# show system ipconfig
ip : 192.168.1.100
netmask : 255.255.255.0
gateway : 192.168.1.1
MNGMT-VID : 1
epon#
Management VLAN Configuration
Command
epon# system mgmt-vlan < vid>
Grammar
Function Configure the management vlan id.
< vid> VLAN ID: 1~4094
4.8 configuration
Configure system time automatically by NTP
Command
epon# system date auto
Grammar
Function Configure system time automatically by NTP
Configure system time manually
Command
eepon# system date manual <time>
Grammar
Function Configure system time manually
OLT CLI User Manual
<time> Time format: YYYY.MM.DD-hh:mm:ss
【Example】
Example1:manually systime is 2015.12.12 10h:10m:10s
epon# system date manual 2015.12.12-10:10:10
4.9 show system configuration
Show system infor
Command
epon# show system infor
Grammar
Function show system infor
【Example】
Example1:show device system infor
epon# show system infor
Software Version : 2.2.01s(Jan 9 2015)
Hardware Version : Unknown
MAC : e0-67-b3-00-00-00
Serial Number : Unknown
System Time :
System Temperature :
FAN[1] : Normal
FAN[2] : Normal
FAN[3] : Normal
Show system ipconfig
Command
epon# show system ipconfig
Grammar
Function show ipconfig
【Example】
Example 1:show system ipconfig
OLT CLI User Manual
epon# show system ipconfig
ip : 192.168.1.100
netmask : 255.255.255.0
gateway : 192.168.1.1
MNGMT-VID : 1
Show system log
Command
epon# show system log <all> or <tail>
Grammar
Function show device system log
tail show the tail of the log file
all Show the all logs
【Exampl,e】
Example 1: show the tail of the log file
epon# show system log tail
01/01/00 00:44:42 Bridge Max Age : 30
01/01/00 00:44:49 Bridge Max Age must be less than or equal to twice the the
Bridge Forwarding Delay minus 1.1
01/01/00 00:44:49 Bridge Forwarding Delay : 20
01/01/00 00:44:54 Bridge Max Age must be less than or equal to twice the the
Bridge Forwarding Delay minus 1.
01/01/00 00:44:54 Bridge Forwarding Delay : 20
01/01/00 00:00:22 Receive from rstp bpdu handle message queue failed!
01/01/00 00:00:25 (cdtDeviceStateSet) Slot 1 olt 1~4 deregistered.
01/01/00 00:00:25 (cdtDeviceStateSet) Slot 1 olt 5~8 deregistered.
01/01/00 00:01:15 (cdtDeviceStateSet) Slot 1 olt 5~8 registered.
01/01/00 00:01:29 (cdtDeviceStateSet) Slot 1 olt 1~4 registered.
01/01/00 00:01:40 onu-1-1-25 (llid-0,mac-e0-67-b3-07-24-0c,ctc-30)online...
01/01/00 00:00:22 Receive from rstp bpdu handle message queue failed!
01/01/00 00:00:25 (cdtDeviceStateSet) Slot 1 olt 1~4 deregistered.
01/01/00 00:00:25 (cdtDeviceStateSet) Slot 1 olt 5~8 deregistered.
01/01/00 00:01:15 (cdtDeviceStateSet) Slot 1 olt 1~4 registered.
01/01/00 00:01:29 (cdtDeviceStateSet) Slot 1 olt 5~8 registered.
01/01/00 00:01:37 onu-1-1-25 (llid-0,mac-e0-67-b3-07-24-0c,ctc-30)online...
01/01/00 00:00:22 Receive from rstp bpdu handle message queue failed!
01/01/00 00:00:23 Receive from rstp bpdu handle message queue failed!
01/01/00 00:00:26 (cdtDeviceStateSet) Slot 1 olt 1~4 deregistered.
1
OLT CLI User Manual
01/01/00 00:00:26 (cdtDeviceStateSet) Slot 1 olt 5~8 deregistered.
01/01/00 00:01:16 (cdtDeviceStateSet) Slot 1 olt 1~4 registered.
01/01/00 00:01:30 (cdtDeviceStateSet) Slot 1 olt 5~8 registered.
01/01/00 00:32:14 onu-1-1-25 (llid-0,mac-e0-67-b3-07-24-0c,ctc-30)online...
epon#
Show system memory
Gommand
epon# show system memory
Grammar
Function show system memory
【Example】
Example1:show system memory
epon# show system memory
total used free shared buffers
Mem: 61428 25712 35716 0 0
-/+ buffers: 25712 35716
Swap: 0 0 0
Show system mgmt-vlan
Command
epon# show system mgmt-vlan
Grammar
Function show system mgmt-vlan
【Example】
Example 1: show system mgmt-vlan
epon# show system mgmt-vlan
system mgmt-vlan : 1
Show system snmp
Command
epon# show system snmp
Grammar
Function Show system snmp
OLT CLI User Manual
【Example 】
Example 1:show system snmp
epon# show system snmp
Read-only community : public
Read-write community : private
5 Switch control card configuration
5.1 Storm Control
Enable/Disable Storm Control
Command
epon#storm-ctrl admin <state>
Grammar
Function Enable or Disable Storm Control function
Enable: Open the storm control function
<state>
Disable: Close the storm control funcion
Storm Control Configuration
Command
epon#storm-ctrl type <type> rate <value>
Grammar
Function Configure the storm control parameter
By now, support the follow:
bcast-mcast-dlf,
broadcast
multicast
<type>
dlf
broadcast-multicast
broadcast-dlf
multicast-dlf
<value> The packet rate : 0-1000000(kbps)
OLT CLI User Manual
5.2 Port manegemnet
enter switch port config mode
Command
epon#swport <port>
Gtammar
Function enter switch port config mode
<port> Switch port number ,<ge1-ge16>
【Example】
Example 1:Enter Sithch port ge1 config mode
epon# swport ge1
epon(GE-1)#
epon(GE-1)# ? Enter“?”or “help”show the current directory :
admin - enable or disable current port
admit-frame - set port access frame type
auto-nego - enable auto-nego
def-pri - set port default priority
exit - exit current mode
flow-ctrl - set port flow control
learning - configure switch port learning
pvid - configure the PVID
rate-ctrl - configure rate-control
speed - configure the SPEED
Global command:
debug - debug
logout - exit the CLI system
show - show system configuration
Port parameters
Enable current port
Command
epon(GE-1)# admin enable
Grammar
Function Configuration current port enable
OLT CLI User Manual
Disable current port
Command
epon(GE-1)# admin disable
Grammar
Function Disable current port
Set port access frame type
Command
epon(GE-1)# admit-frame <type>
Grammar
Function set port access frame type
all:all of packet。
<type> tagged:only receive tag packet
untagged:only receive untag packet 。
Set port default priority
Command
epon(GE-1)# def-pri <priority>
Grammar
Configure the switch port default pvid, when switch port receive
Function packet witch no tag, it will give the packet default pvid, that is the
default 802.1p priority.
<priority> Config priority ,valaue: <0-7>
Set port flow-ctrl function
Command
epon(GE-1)# flow-ctrl <admin>
Grammar
Funcion Configurate storm control
OLT CLI User Manual
disable:disable flow-ctrl function
<admin>
enable: enable flow-ctrl function
Configurate the pvid of port
Command
epon(GE-1)#pvid <pvid>
Grammar
Function Configurate the pvid of port
<pvid> Optional parameters:0-4094。
Configurate auto-nego of port
Command
epon(GE-1)# auto-nego
Grammar
Function Configurate auto-nego of port
Configurate the speed of port
Command
epon(GE-1)#speed <speed> duplex <duplex>
Grammar
Function Configurate the speed of port
Effective parameter;
<speed>
<10m|100m|1000m>
Optional parameters
<duplex>
<full|half>
Add vlan list of port
Command
epon(GE-1)# vlan add <vidlist> <tag>
Grammar
Function Add vlan list port and set up tag mode
OLT CLI User Manual
<vidlist> vlan id list,<Combination of 1~4094>
Mark way is optional parameters,
<tag> Given tag parameters is out of the packet with the tag
The tag parameter default is out of the packet without the tag
【Example】
Example 1: create Vlan2-100 with the TAG TAG, create vlan101-200 without the TAG
markup under the exchange ge1 port
epon(GE-1)# vlan add 2-100 tag
epon(GE-1)# vlan add 101-200
Delete the vlan list of port
Command
epon(GE-1)# vlan delete <vidlist>
Grammar
Function Delete the vlan list of port
<vidlist> vlan id list,<Combination of 1~4094>
【Example】
Example 1:delete vlan 2-200 of ge1 pot
epon(GE-1)# vlan del 2-200
Show swport current configuration information
Command
epon# show swport ge1 attribute
Grammar
Function Show swport current configuration information
【Example】
Example 1:show swport current configuration of ge1 port information
epon# show swport ge1 attribute
GE-1 STATE
Link-State : Link-down
Admin-State : Enable
OLT CLI User Manual
Flow-Control : Disable
Speed-State : 1000
Duplex-State : Full
Learning : Disable
Egress-Rate-Limit : Disable
Ingress-Rate-Limit : Disable
Priority :0
PVID :1
Configuration ingress-port rate
Command
epon(GE-1)# rate-ctrl ingress <rate>
Grammar
Function Configuration ingress-port rate
<rate> 0-1000000(kps)
Configuration egress-port rate
Command
epon(GE-1)# rate-ctrl egress <rate>
Grammar
Function Configuration engress-port rate
<rate> 0-1000000(kps)
5.3 Configure switch mode
Show vlan state
Command
epon#show swmode vlan
Grammar
Function Show vlan state
【Example】
Example 1:show swmode vlan :
OLT CLI User Manual
epon# show swmode vlan
VLAN STATUS : Disable
Configure vlan enable/disable
Command
epon# swmode vlan <mode>
Grammar
Function Configuration
Enable :based vlan
<mode>
Disable :disable vlan
5.4 MAC address management
Configure mac-address aging timeout
Command
epon# mac-address aging <timeout>
Grammar
Function Configure mac-address management timeout 。
<timeout> MAC aging time :range:0-65535s
Show mac-address aging
Command
epon# show mac-address aging
Grammar
Function show mac-address-aging
<timeout> MAC aging time :range:0-65535s
OLT CLI User Manual
5.5 Vlan Configuration management
Creat vlan
Command
epon#vlan <vlanid>
Grammar
Function Creat vlan and enter vlan config mode
< vlanid > 1-4094
【Example】
Example 1:Creat vlan100 and enter vlan100 config mode,
epon#vlan 100
epon(vlan-100))#
epon(vlan-100) # ? enter“?”or “help” showwing the current directory:
delete - delete vlan list
exit - exit current mode
member - add or delete member-port
Global command:
debug - debug
logout - exit the CLI system
show - show system configuration
Add vlan port member
Command
epon(vlan-100) # member add <member> <tag>
Grammar
Function add vlan member and set up tag
<member> ge1-ge16
Mark way is optional parameters,
<tag> Given tag parameters is out of the packet with the tag
The tag parameter default is out of the packet without the tag
【Example】
Example 1:add ge1,ge2 and ge3 as vlan100 member and set up tag,add ge4 and ge5
as vlan100 member and set up untag:
OLT CLI User Manual
epon(vlan-100)#member ge1-ge3 tag
epon(vlan-100)#member ge4-ge5
Delete vlan port member
Command
epon(vlan-100)# member del <member>
Grammar
Function Delete vlan port member。
<member> ge1-ge16。
Delete vlan
Command
epon(vlan-100)#delete <vlanList>
Grammar
Function Delete vlan。
Delete vlan list,Valid values :the combination of 1-4094,
Example :
<vlanlistt> delete vlan 10,20,30
delete vlan 100-120
delete vlan 10,100-110,200
Show vlan configuration of vlan
Command
epon#show vlan <vlanId>
Grammar
Function Show vlan configuration of vlan
all:show all current vlan configuration 。
<vlanId>
1-4094:show current vlan-id configration。
【Example】
Example 1:show all currnet vlan configuration:
epon# show vlan all
VLAN-1:
GE-9 untagged
GE-10 untagged
GE-11 untagged
OLT CLI User Manual
GE-12 untagged
GE-13 untagged
GE-14 untagged
GE-15 untagged
GE-16 untagged
GE-1 untagged
GE-2 untagged
GE-3 untagged
GE-4 untagged
GE-5 untagged
GE-6 untagged
GE-7 untagged
GE-8 untagged
VLAN-100:
GE-3 tagged
5.6 Rstp configuration management
Enable/disable RSTP configuration
Command
epon# rstp <state>
Grammar
Enable/disable RSTP Function
Function
enable:enable Rstp Function
<state>
disable:disable Rstp Function
【Example】
Example 1:enable Rstp function
epon# rstp enable
Enable RSTP successful!
Example 2:disable Rstp function
epon# rstp disable
Disable RSTP successful!
Configure Rstp bridge maxage aging time
Command
epon# rstp bridge maxage <aging>
Grammar
OLT CLI User Manual
Function Configure Rstp bridge maxage time
Range: 6-40
<aging> It should be less than or equal to the maximum forward delay 2
times
【Example】
Example 1:if the forward delay is a maximum of 15 s, configuring the biggest aging
time is 30s
epon# rstp bridge maxage 15
Configure RSTP max age successful!
Configure Rstp bridge delay time
Command
epon# rstp bridge fdelay <fdelay>
Grammar
Function Configure Rstp bridge delay time
<fdelay> Range: 4-30s
【Examole】
Example 1:configuring Rstp bridge delay time is 15s
epon# rstp bridge fdelay 15
Configure RSTP forward delay successful!
Configure Rstp bridge prioprity
Command
epon# rstp bridge priority <prio>
Grammar
Function Configure Rstp bridge prioprity
<prio> Range:p0-p65535
【Example】
example1:setting Rstp bring priority is 0
epon# rstp bridge priority p0
Configure RSTP bridge priority successful!
OLT CLI User Manual
Configure max counts of Rstp packet per second
Command
epon# rstp hold-count <count>
Grammar
Function Configure max counts of Rstp packet per second
<count> Range:1-10
【Example】
Example 1:Configure transmit 10 hold-counts of Rstp per second
epon# rstp hold-count 10
Configure RSTP transmit holle packet limit successful!
Configure Rstp port piority
Commad
epon# rstp port <protid> priority <prio>
Grammar
Function Configure Rstp port priority
<protid> Range;ge1-ge16
Value :p0,p16,p32,p48,p64,p80,p96,p112,p128,p144,p160,p17
<prio> 6,p192,p208,p224,p240
【Examle】
Example 1:setting ge1 port priority is 0
epon# rstp port priority ge1 p0
GE(1)'s priority configuration successful!
Configure Rstp port path-cost
Command
epon# rstp port <protid> path-cost <pathcost>
Grammar
Function Configure Rstp port path-cost
<protid> Port
OLT CLI User Manual
<pathcost> Port path cost
【Example】
Example 1:setting ge1 path-cost of Rstp is 2000
epon# rstp port ge1 path-cost 2000
GE(1)'s path cost configuration successful!
Configure Rstp edge-port
Command
epon# rstp port <protid> edgecfg <edge>
Grammar
Function Configure Rstp edge-port
<protid> Switch port
edge: edge
none-edge:none edge
auto:Automatic negotiation
<edge>
Note: the edge of the port don't need after discarding - learning - forwarding
steps, and direct conversion to the forwarding state, the rest of the ports
need to pass the above process
【example】
Example 1:setiing ge1 is edge of Rstp
epon# rstp port ge1 edgecfg edge
GE(1)'s edge attribute configuration successful!
Example 2:setting ge1 is auto configuration
epon# rstp port ge1 edgecfg auto
GE(1)'s edge attribute configuration successful!
Configure Rstp p2p port
Command
epon#rstp port <protid> p2pcfg <p2p>
Grammar
OLT CLI User Manual
Function Configure Rstp p2p port
<protid> Switch port
Shared::
p2p ::p2p port
auto:Automatic negotiation
<p2p>
Note: p2p port to allow rapid transition to the forwarding state, shard port
need through discarding - learning - forwarding steps forward to transition to
the state
【Example】
Example:setting ge1 port is p2p port
epon# rstp port ge1 p2pcfg p2p
GE(1)'s link type configuration successful!
Configure Rstp protocol version check
Command
epon#rstp port <protid> p2pcfg mcheck
Grammar
Function Configure Rstp protocol version checlk
<protid> Switch port
【Example】
Example:1 Configure Rstp protocol version check
epon# rstp port ge1 mcheck
GE(1) force version successful!
Show Rstp information
Command
epon#show rstp
Grammar
Function Show Rstp information
<protid> Switch port
【Example】
Example 1:show Rstp information
OLT CLI User Manual
epon# show rstp
RSTP Bridge Status:
RSTP Setting :Enable
Bridge ID [PRI-MAC] :1-e0:67:b3:00:00:00
Bridge Hello Time :2 sec
Bridge Max Age :25 sec
Bridge Forward Delay :15 sec
Transmit Hold Count :10
Root Bridge ID :1-e0:67:b3:00:00:00
Root Path Cost :0
RSTP Port Status:
GE Mode Pri PathCost EdgeC EdgeO P2pC P2pO State Role
1 RSTP 1 2000 Auto Edge P2P P2P LinkDown
UNKNOWN
2 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
3 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
4 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
5 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
6 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
7 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
8 RSTP 128 20000 Auto NEdge Auto P2P LinkDown
UNKNOWN
Total 8 RSTP ports dumped.
5.7 Trunk configuration managemnet
Enter trunk config mode
Command
epon# trunk <tid>
Grammar
Function Enter trunk config mode
<tid> Range:1-4
【Example】
Example 1:enter runk 1 config mode view
OLT CLI User Manual
epon# trunk 1
epon(trunk-1)#
Add port of trunk member
Command
epon(trunk-1)# member add <member>
Grammar
Function Add trunk’s member
<member> Porttlist
【example】
Example 1 :add ge1-ge2 port of trunk 1 member
epon(trunk-1)# member add ge1-ge2
Delete port of trunk member
Command
epon(trunk-1)# member del <member>
Grammar
Function Delete port of trunk member
<member> Portlist
【example】
example1:delete ge1-ge2 of trunk 1 member
epon(trunk-1)# member del ge1-ge2
Delete trunklist configuraion
Command
epon(trunk-1)# delete <trunkList>
Grammar
Function Delete trunklist configuration
<trunklist> Range: 1-4
OLT CLI User Manual
【Example】
Example1:delete list 1-2 configuration of trunklist
epon(trunk-1)# delete 1-2
Show trunk information
Command
epon# show trunk <trunkid>
Grammar
Function Show trunk information
all:all of trunklist 。
<trunkid>
1-4:Specify the trunk group information
【Example】
Example 1:show all trunklist information
epon# show trunk all
TRUNK-1 Member PORTS:
GE-1
GE-2
TRUNK-2 Member PORTS:
GE-3
GE-4
5.8 Rmon network monitoring and configuration
clear all ports statistics
Command
epon# rmon statistics clear-all
Grammar
Function Clear all ports statistics
Delete the specified port configuration information
Command
epon# rmon statistics <port>
Grammar
Function Delete the specified interface statistics
OLT CLI User Manual
<port> interface,With reference to the above 2.3
【Example】
Example1:Delete the ge1 interface rmon statistics statistics
epon# rmon statistics clear ge1
rmon history configration
Add rmon history configration
Command epon# rmon history add <port> <entry-number>
Grammar <buckets-number> <interval> <owner>
Function Rmon history configration
<port> Switch port
<entry-number> History index,range:1-65535
<buckets-numb
History Record number,range 1-65535
er>
<interval> The time interval of history
<owner> Belongs to user
【example】
Example 1:configue ge1 port rmon ‘s index is 1,inteval is 5 ,buckets-number is 5,
owner is user1
epon# rmon history add ge1 1 5 5 user1
Delete rmon history configuration
Command
epon# rmon history del < entry-number>
Grammar
Function Delete rmon history configuration
<entry-number> History infdex,range:1-65535
OLT CLI User Manual
rmon event configuration
add rmon event configuration
Command epon#rmon event add <entry-number> <description> <type>
Grammar <owner>
Function Add rmon event configuration
<entry-number> Event index,range :1-65535
<description> Description information
none;no log and no trap
log:Record the log information
<type>
trap:Record the trap information
log-trap:Record the log and trap information
<owner > Belongs to user
【Example】
Example 1:add rmon event 100
epon# rmon event add 100 rmon-event log yx
delete rmon event
Command
epon#rmon event del <entry-number>
Grammar
Function Delete rmon event
<entry-number> Range:1-65535
【Example】
Example 1:delete rmon event 100
epon# rmon even del 100
OLT CLI User Manual
rmon alarm configuration
add rmon alarm configuration
epon#rmon event alarm add <entry-number>
Command
<alarm-variable> <interval> <type> <rising-value>
Grammar
<rising-event> <falling-value> <falling-event> <owner>
Function Add rmon alarm
<entry-number> Range:1-65535
<alarm-variable
Oid ,snmp oid
>
<interval> Sampling interval
delta: Refers to two time interval only
<typer >
absolute: Refers to achieve value within a specified period
<rising-value> Range:2147483648 - +2147483647
<rising-event> Rising event
<falling-value> range:2147483648 - +2147483647
<falling-event> Falling event
<Owner> owner
【Example】
Example 1:add alarm comfiguration that oid is 1.3.6.1.2.1.16.1.1.1.4.1 ,interval
5s rising-value 40000,Rissing-event is 1,falling-event 20000,falling-event is
1 ,typer is absolute
epon# rmon alarm add 1 1.3.6.1.2.1.16.1.1.1.4.1 5 absolute 40000 1 20000 1 yx
Delete rmon alarm configuration
Command
epon#rmon event alarm del<entry-number>
Grammar
Function Delete rmon alarm configuration
<entry-number> Event index,range:1-65535
OLT CLI User Manual
【Example】
Example1:delete rmon alarm 1
epon# rmon alarm del 1
Show rmon statistics information
Command
epon# show rmon statistics <port>
Grammar
Function Show rmon port statistics information
<port> Device port
【Example】
Example 1:show rmon statistics ge1
pon# show rmon statistics ge1
GE-1 Statistics:
etherStatsOctets :0 , etherStatsPkts :0
etherStatsBroadcastPkts : 0 , etherStatsMulticastPkts : 0
etherStatsUndersizePkts : 0 , etherStatsOversizePkts : 0
etherStatsFragments :0 , etherStatsJabbers :0
etherStatsCRCAlignErrors: 0 , etherStatsCollisions :0
etherStatsDropEvents :0
Packets received according to length:
64 :0 , 65-127 : 0 , 128-255 : 0
256-511 : 0 , 512-1023 : 0 , 1024-1518 : 0
Show rmon history information
Command
epon# show rmon history <port>
Grammar
Function Show rmon history information about port
<port> Switch port
【Example】
Example 1:show rmom history ge1
show rmon history ge1
OLT CLI User Manual
HistoryControlEntry 100 owned by yx is VALID
Samples interface : GE-1
Sampling interval : 5(sec) with 5 buckets max
Sampled values of record 1 :
dropevents :0 , octets :0
packets :0 , broadcast packets :0
multicast packets : 0 , CRC alignment errors : 0
undersize packets : 0 , oversize packets :0
fragments :0 , jabbers :0
collisions :0 , utilization :0
Sampled values of record 2 :
dropevents :0 , octets :0
packets :0 , broadcast packets :0
multicast packets : 0 , CRC alignment errors : 0
show rmon event information
Command
epon# show rmon event <entry-number>
Grammar
Function Show rmon event information
<entry-number> Event entty-number,0 means all of event
【Example】
Example 1:show rmon event 1 information
epon# show rmon event 1
EventEntry 1 owned by log is VALID
Description : log
Will cause log when triggered.
Show rmon eventlog information
Command
epon# show rmon eventlog <entry-number>
Grammar
Function Show rmon eventlog information
<entry-number> Event entry-number ,0 means all of eventlog
OLT CLI User Manual
【Example】
Example 1:show rmon eventlog 1
epon# show rmon eventlog 1
logEntry 1 is VALID.
Generates eventLog 1.1 at 01/01/00 00:31:25
Description : The alarm formula defined in prialarmEntry 1,
less than(or =) 4000 with alarm value 0. Alarm sample type is
delta.
Generates eventLog 1.2 at 01/01/00 03:13:25
Description : The alarm formula defined in prialarmEntry 2,
less than(or =) 20000 with alarm value 0. Alarm sample type is
absolute.
Show rmon alarm information
Command
epon#show rmon alarm <entry-number>
Grammar
Function Show rmon alarm information
<entry-number> Alarm entry-number, 0 means all of alarm
【Example】
Example 1:shhow all of alarm of rmon information
epon# show rmon alarm 0
AlarmEntry 1 owned by yx is VALID
Samples type : absolute
Variable formula :
1.3.6.1.2.1.16.1.1.1.4.15<etherStatsOctets.15>
Sampling interval : 10(sec)
Rising threshold : 40000(linked with event 1)
Falling threshold : 20000(linked with event 1)
When startup enables : risingOrFallingAlarm
Latest value :0
5.9 Mirror port configuration manegement
Enable/disable mirror fuction
Command
epon# mirror admin <admin>
Grammar
OLT CLI User Manual
Function Enable/disable mirror function。
enable:enable mirror fuction
<admin>
disable: disable mirror fuction
【Example】
Example 1:enable mirror function
epon# mirror admin enable
Set switch mirror enable successful !
Example 2:disable mirror function
epon# mirror admin disable
Set switch mirror disable successful !
Configure mirror source_port
Command
epon# mirror source_port <port> <type>
Grammar
Function Configure mirror source_port
<port> Switch port
none: soure_port have no set
egress: the packet of out_flow
<tyoe>
ingress: the packet of in_flow
full:packet both of out_flow and in_flow
【Example】
Example 1:configure ge1 ingress mirror
epon# mirror source_port ge1 ingress
Set switch mirror source port: 1 successful!
Example 2:configure soure_port ge2 egress mirror
epon# mirror source_port ge2 egress
Set switch mirror source port: 2 successful!
Example 3,configure ge3 both of out_packet and in_packet
OLT CLI User Manual
epon# mirror source_port ge3 full
Set switch mirror source port: 3 successful!
Configure mirror dest_port
Command
epon# mirror dest_port <port>
Grammar
Function Configure mirror dest_port
<port> Switch port
【Example】
Example 1:configure dest_port ge8
epon# mirror dest_port ge8
Set switch mirror destnation port: 8 successful
Add/delete vlan soure_port of in_packet
Command
epon# mirror vlan <operation> <vlan-id>
Grammar
Function Add/delete vlan soure_port of in_packet
add: add operation
<operation>
del:delete operation
Source port of the specified vlan
<vlan-id>
Range:1-4094
【Example】
Example 1:add vlan 20 soure_port of in_packet
epon# mirror vlan add 20
Example 2:delete vlan 20 soure_port of in_packet
epon# mirror vlan del 20
OLT CLI User Manual
Show mirror information
Command
epon# show mirror
Grammar
Function Show mirror information
【Example】
Example 1:show mirror information
epon# show mirror
==================== SWITHC MIRROR CONFIG
====================
Admin : enable
destnationPort : ge8
sourceIngressPorts : ge2 ge3
sourceEgressPorts : ge1 ge3
sourceVlan :
6 OLT Management
6.1 OLT basic configure management
Enter OLT Management
Command
epon#olt <oltID>
Grammar
Function Enter olt configure mode
<oltID> Pon ID : 1-8。
【Example】
Example 1:enter olt’s first pon configure mode:
epon#olt 1
epon(olt-1)#
epon(olt-1)# ?
acl - configure olt level acl
admin - enable or disable this PON
auth - configure authentication mode
OLT CLI User Manual
exit - exit current mode
mac-address-table - configure mac-address-table
onu - configure onu
optical - olt optical diagnose
p2p - configure p2p
tpid - tpid
Global command:
debug - debug
logout - exit the CLI system
show - show system configuration
Enable/disable OLT port
Command
epon(olt-1)#admin <enable | disable>
Grammar
Function enable/disabke OLT。
<eable> Enbale OLT。
<disable> Disable OLT。
Long light checking Function
Configuration all of onu about long light checking Function
Command
epon(olt-1)# optical lao
Grammar
Function ON optical tests under all the ONU, ONU luminous fault to kick off
Configure the specifild onu about long checking fuction
Command
epon(olt-1)# optical lol <llid_1> <llid_2> <llid_3>
Grammar
Function Light tests specified under the PON ONU, luminous fault to kick off
OLT CLI User Manual
Configure p2p Function
Command
epon(olt-1)# p2p <enable | disable>
Grammar
Enabel/disable OLT P2P function, when enable this
Function function,each onu register to this pon can reach each other
without uplink swicht
<eable> Enabel P2P
<disable> Disable P2P
Configure out-tpid Function
Command
epon(olt-1)# tpid out-tpid <tpid>
Grammar
Function Configure acl default tpid
<tpid> 0x8100, 0x9100, 0x88a8
6.2 OLT ACL Configure
Delete One ACL
Command
epon(olt-1)# acl <aclId> delete
Grammar
Function Delete the aclid’s acl
<aclId> Acl id number : <1-40>
【Example】
Example 1:delege olt 1 acl 1:
epon(olt-1)# acl 1 delete
Delete ACL 1 successfuly.
OLT CLI User Manual
Delete Current OLT All ACL
Command
epon(olt-1)#acl delete
Grammar
Function Delete current olt’s all acl
【Example】
Example 1:delete olt1’s all acl:
epon(olt-1)# acl delete
Delete ACL 1 successfuly.
Add OLT ACL
Command epon(olt-1)#acl <aclId> rule <direction> <precedence>
Grammar matching “matching string” action “action string”
Function Add one acl in current olt
<aclId> value:<1-40>
<direction> Acl direction:<upstream|downstream>
<precedence> Acl priority:<4-7>
String to match, fomat is :"proto=12 dst-port=34".
Support the parameters as blow:
[dst-mac|src-mac] <xx:xx:xx:xx:xx:xx>
[tag-num] <0|1|2|more>
[top-vid|inner-vid] <vid|vidL-vidH>, vid:1~4094
matching
[top-8021p|inner-8021p] <8021p|8021pL-8021pH>, 8021p:0~7
string
[eth-type] <0~65535>
[dscp] <0~63>
[proto] <0~65535>
[dst-ip|src-ip] <x.x.x.x>
[dst-port|src-port] <0~65535>
Acton string, format as "8021p 7 dscp 63".
action string
Support the parameters as blow:
OLT CLI User Manual
[cos] <0~7>
[8021p] <0~7>
[dscp] <0~63>
[fwd] <deny | nni <1~4> | pon <1~4> llid <1~128>
[rate] cir <> cbs <> pir <> pbs <>
[top-vlan | inner-vlan] <pop | push vid <1~4094> |
swap vid <1~4094>
【Example】
Example 1 : Filtering the upstream frame of destination MAC address is
00:00:00:00:00:02
epon(olt-1)# acl 1 r u 4 m "dst-mac=00:00:00:00:00:02" a "fwd deny"
Example 2 : Filtering the downstream of destination MAC address is
00:00:00:00:00:01, tagged is with external VLAN 4094:
epon(olt-1)# acl 2 r d 4 m "dst-mac=00:00:00:00:00:01" a "top-vlan push vid 4094"
Example 3:Filtering the upstream frame with vlan 100, tagged it with external VLAN
200:
epon(olt-1)# acl 3 r u 4 m "top-vid=100" a "top-vlan push vid 200"
Example 4:Filtering the upstream frame of destination IP address is 198.19.1.2,
tagged it with external vlan 1000:
epon(olt-1)# acl 1 r u 4 m "dst-ip=198.19.1.2" a "top-vlan push vid 1000"
Example 5:Filtering the upstream frame of destionation port is port-2, tagged it with
external vlan 1000:
epon(olt-1)# acl 1 r u 4 m "dst-port=2" a "top-vlan push vid 1000"
6.3 OLT MAC Management
Configure OLT MACAge Time
Command
epon(olt-1)# mac-address-table aging-time <aging-time>
Grammar
Function Configure current olt’s mac age time
Age time: <0~65535> sec, when configure age time to 0, the
<aging-time>
mac will not ageout
OLT CLI User Manual
【Example】
Example 1:configure current olt’s age time to 200s:
epon(olt-1)# mac-address-table aging-time 200
Set slot 1 olt 1 bridge cfg successfully!
Flush current olt’s mac table list
Command
epon(olt-1)# mac-address-table flush
Grammar
Function Flush current olt’s mac table list
Enable OLT MAC Learening function
Command
epon(olt-1)# mac-address-table learning enable
Grammar
Function Enable current olt’s mac learning function
Disable OLT MAC Learning Function
Command
epon(olt-1)# mac-address-table learning disable
Grammar
Function Disable current olt’s mac learning function
Enable MAC Move
Command
epon(olt-1)# mac-address-table move enable
Grammar
Function Enable mac move
OLT CLI User Manual
Disable MAC Move
Command
epon(olt-1)# mac-address-table move disable
Grammar
Function Disable mac move
6.4 OLT Auth
Disable OLT Auth
Command
epon(olt-8)# auth disable-auth
Grammar
Function Disable auth function
Add/Delete/Show Whitelist
Add white member
Command
epon(olt-8)# auth whitelist add <onu>
Grammar
Add white member. It will enable the Auth function when first add
Function
black member
<onu> ONU-MAC,format:00-01-02-AB-CD-EF
Example 1:add oun witch MAC e0-67-b3-00-00-06 to whitelist:
epon(olt-8)# auth whitelist add e0-67-b3-00-00-06
Add ONU (e0-67-b3-00-00-06) to slot 1 olt 8 whitelist successfully.
Delete white member
Command
epon(olt-8)# auth whitelist delete <onu>
Grammar
Function Delete white member
OLT CLI User Manual
<onu> ONU-MAC,format:00-01-02-AB-CD-EF。
Example 1:move onu with MAC e0-67-b3-00-00-06 out from whitelist:
epon(olt-8)# auth whitelist delete e0-67-b3-00-00-06
01/01/00 04:13:02 onu-1-8-1 (ctc-30) offline...
Delete ONU (e0-67-b3-00-00-06) from slot 1 olt 8 whitelist successfully.
Show whitelist
Command
epon# show olt <oltId> auth whitelist
Grammar
Function Show whitelist
<oltId> Pon ID : 1-8
Example 1:show whitelist:
epon(olt-8)# show olt 8 auth whitelist
whitelist onu mac:
e0-67-b3-07-d4-78
e0-67-b3-00-00-06
00-a1-02-01-30-d8
Total is 3.
Add/Delete/Show Blacklist
Add black member
Command
epon(olt-8)# auth blacklist add <onu>
Grammar
Add black member. It will enable the Auth function when first add
Function
black member
<onu> ONU-MAC,format:00-01-02-AB-CD-EF。
Example 1:add a black member that mac is e0-67-b3-00-00-06:
epon(olt-8)# auth blacklist add e0-67-b3-00-00-06
Add ONU (e0-67-b3-00-00-06) to slot 1 olt 8 blacklist successfully.
Delete Black Member
OLT CLI User Manual
Command
epon(olt-8)# auth blacklist delete <onu>
Grammar
Function Delete black member
<onu> ONU-MAC,format:00-01-02-AB-CD-EF
Example 1:move onu witch 00-67-b3-00-00-06 out from blacklist:
epon(olt-8)# auth blacklist delete e0-67-b3-00-00-06
Delete ONU (e0-67-b3-00-00-06) from slot 1 olt 8 blacklist successfully.
Show blacklist
Command
epon# show olt <oltId> auth blacklist
Grammar
Function Show blacklist
<oltId> Pon ID : 1-8
Example 1:show blacklist:
epon(olt-8)# show olt 8 auth blacklist
blacklist onu mac:
e0-67-b3-00-00-06
e0-67-b3-07-d4-78
00-a1-02-01-30-d8
Total is 3.
OLT hybrid Auth Mode Configure
Add hybrid mode loid account
Command epon(olt-8)# auth ctc-auth hybrid add-loid <loid> password
Grammar <password>
Function Add hybrid mode loid account
<loid> {MAX 24 Chars}
<password> {MAX 12 Chars}
Example 1:add a hybrd mode loid account:
epon(olt-8)# auth ctc-auth hybrid add-loid cdt password cdt
OLT CLI User Manual
Delete a hybrid mode loid account
Command epon(olt-8)# auth ctc-auth hybrid delete-loid <loid>
Grammar password <password>
Function Delete hybrid mode loid acconut
<loid> {MAX 24 Chars}
<password> {MAX 12 Chars}
Example 1:delete a hybrid mode loid account:
epon(olt-8)# auth ctc-auth hybrid delete-loid cdt password cdt
OLT Hybrid LOID Auth Mode Configure
Add loid account
Command epon(olt-8)# auth ctc-auth loid add <loid> password
Grammar <password>
Function Add LOID account
<loid> {MAX 24 Chars}
<password> {MAX 12 Chars}
Example 1:add one loid account, name: cdt, password:cdt:
epon(olt-8)# auth ctc-auth loid add cdt password cdt
Delete loid account
Command epon(olt-8)# auth ctc-auth loid delete <loid> password
Grammar <password>
Function Delete LOID account
<loid> {MAX 24 Chars}
<password> {MAX 12 Chars}
Example 1:delete a loid account:
epon(olt-8)# auth ctc-auth loid delete cdt password cdt
OLT CLI User Manual
OLT MAC Auth Mode Configure
Command
epon(olt-8)# auth mac
Grammar
Function Enable OLT MAC Auth Mode
6.5 Configure packet_filter of OLT
Packet_filter of OLT about DHCP function
Command
epon(olt-1)# packet-filter dhcp <admin>
Grammar
Function Filter upstream flow about dhcp servers packet
enable:enable packet-filter dhcp
<admin>
disable:disable packet-filter dhcp
【Example】
Example 1:enable dhcp packet_fil ter function of olt
epon(olt-1)# packet-filter dhcp
EOC MME packet-filter function
Command
epon(olt-1)# packet-filter eoc_mme <admin>
Grammar
Function EOC MME packet filter
enable:enable eoc_mme function
<admin>
disable:disable eoc_mme function
【Example】
Example 1:enable eoc_mme packet-filter function
epon(olt-1)# packet-filter eoc_mme enable
OLT CLI User Manual
6.6 Configure trap alarm and message alarm function of ONU
Configure message alarm about ONU off the electricity
Command
epon(olt-1)# alarm onuDyingGasp <admin>
Grammar
Function ONU off the electricity ,it can print GASP message on the console
enable: enable message fuction。
<admin>
disable:disable message function。
【Example】
Example 1:Configure GASP message function,ONU off the electricity ,it can print GASP
message on the console
epon(olt-1)# alarm onuDyingGasp enable
Configure trap alarm about ONU off the electricity
Command
epon(olt-1)# alarm onuDyingGasp <admin>
Grammar
Function ONU off the electricity,it can send trap message about GASP
enable:enable send trap of onu Dying Gasp!
<admin>
disable:disable send trap of onu Dying Gasp!。
【Example】
Example 1;after ONU off the electricit , TRAP alarm will be sended to SNMP
management software
epon(olt-1)# alarm onuDyingGaspTrap enable
6.7 Configure QinQ function
Add QinQ configuration
Command epon(olt-1)# qinq enable <qinq-vid> raw-vlan-id-inbound
Grammar <vlan-list>
Function Configure QinQ function
<qinq-vid> Outbond vlan
OLT CLI User Manual
<vlan-list> inbound vlan list
【Example】
Example 1:setting QinQ configuration that inbound vlan_list is 50-90 and setting
outbound vlan is 100
epon(olt-1)# qinq enable 100 raw-vlan-id-inbound 50-90
Delete QinQ configuration
Command epon(olt-1)# qinq enable <qinq-vid> raw-vlan-id-inbound
Grammar <vlan-list>
Function delete QinQ f configuration
<qinq-vid> Outbond vlan
<vlan-list> inbound vlan list
【Example】
Example 1:delete QinQ configuration that inbound vlan_list is 50-90 and setting
outbound vlan is 100
epon(olt-1)# qinq enable 100 raw-vlan-id-inbound 50-90
6.8 Show olt configuration information
Show olt attribute information
Command
epon#show olt <oltID> attribute
Grammar
Function Show olt attribute information
<oltID> Pon port ID,range:1-8。
【Example】
Example1:show olt attribute information:
epon(olt-1)# show olt 1 attribute
Slot 1 olt 1 attributes:
Fw Version : 4.2.7.58
Cfg Version : 1.7.3.14
Loader Version : cefabeba
OLT CLI User Manual
LLID Support : 64
LLID Registered :3
LLID Online :3
Show olt optical information
Command
epon#show olt <oltID> optical
Grammar
Function Show olt optical information。
<oltID> Pon port ID,range:1-8
【Example】
Example1:show olt optical information
epon# show olt 1 optical
Slot 1 olt 1 optical informations:
Temperature : 45.28 (C)
Voltage : 2.30 (V)
Current : 1.23 (mA)
Tx Power : -6.45 (dBM)
Rx Power : 0.00 (dBM)
Show olt online-onu information
Command
epon#show olt <oltID> online-onu
Grammar
Function Show olt online-onu information。
<oltID> Pon port ID,range:1-8。
【Example】
Example1:show olt online-onu information:
epon(olt-1)# show olt 1 online-onu
onuId mac type CTC-Ver distance
onu-03 e0:67:b3:00:00:06 FD104HC 30 6m
onu-10 00:a1:02:01:30:d8 FD111H 20 6m
onu-11 e0:67:b3:07:d4:78 FD104H 21 6m
OLT CLI User Manual
Show olt acl information
Command
epon#show olt <oltID> acl
Grammar
Function Show olt acl information。
<oltID> Pon port ID,range:1-8。
【Example】
Example1:show olt acl information:
epon(olt-1)# show olt 1 acl
=================== SLOT 1 OLT 1 ACL 1 ===================
Direction : upstream
Precedence :4
Matching string : "dscp=63 "
Action string : "dscp=0 "
Show olt auth mode information
Command
epon# show olt <oltId> auth mode
Grammar
Function Show olt auth mode information
<oltId> Pon port ID,range:1-8
Example1:show olt auth mode information:
epon# show olt 8 auth mode
Slot 1 olt 8 current auth-mode is disable-auth.
Show olt port staus information
Command
epon(olt-1)# show olt <oltId>admin
Grammar
Function Show olt port staus information
OLT CLI User Manual
<oltId> Pon port ID,range:1-8
【Example】
Example1:show olt port staus
epon(olt-1)# show olt 1 admin
Slot 1 olt 1 admin status: Enable.
Show olt alarm information
Command
epon(olt-1)# show olt <oltId> alarm
Grammar
Function Show olt alarm information
<oltId> Pon port ID,range:1-8。
【Example】
Example1:show olt ararm information
epon# show olt 1 alarm
Onu Power Alarm : Disable
Onu Power Alarm Trap : Disable
Show olt learning-mac information
Command
epon(olt-1)# show olt <oltId> learning-mac <onu>
Grammar
Function Show olt learning-mac information
<oltId> Pon port ID,range:1-8。
Don't pick up parameters:show mac address of all port
<onu>
With parameters :show mac address of specified port
【Example】
OLT CLI User Manual
Example1:show mac address of all port 。
epon# show olt 1 learning-mac 25
========== SLOT 1 OLT 1 ONU 25 MAC Address Table ===========
Index MAC Address ONU VID Aging(s)
Show olt p2p information
Command
epon# show olt <oltId> p2p
Grammar
Function Pon port ID,range:1-8。
<oltId> 。
Pon port ID,range:1-8。
【Example】
Example1:show olt p2p information
epon# show olt 1 p2p
Slot 1 olt 1 p2p status: Enable
Show olt packet-filter information
Command
epon# show olt <oltId> packet-filter <type>
Grammar
Function Show olt packet-filter information
<oltId> Pon port ID,range:1-8。
【Example】
Example1:show olt packet-filter information
epon# show olt 1 packet-filter dhcp
=================== SLOT 1 OLT 1 Packet Filter===================
DHCP : enable
Show olt tpid out-tpid
Command
show olt <oltid> tpid out-tpid
Grammar
Function Show olt tpid out-tpid
OLT CLI User Manual
<oltId> Pon port ID,range:1-8。
7 ONU Management
7.1 Show ONU Basic Information
Show Online ONU
Command
epon# show olt 7 online-onu
Grammar
Use this command in any mode can check to the specified PON
Function
port of the Online-ONU.
【Example】
1:show online-onu
epon# show olt 7 online-onu
onuId mac type CTC-Ver distance
onu-12 e0:67:b3:00:00:04 FD112GM 30 6m
onu-13 e0:67:b3:00:00:14 FD114GM 30 6m
onu-14 e0:67:b3:07:14:04 FD101HC 30 6m
onu-23 e0:67:b3:07:18:02 FD104HC 30 6m
Show ONU Version
Command
epon# show olt 7 onu <onuid> ctc sn
Grammar
Function Show online-onu version.
<onuid> Designate online-onu onuid with value range from 1-64.
【Example】
1:show onu version
epon# show olt 7 onu 12 ctc sn
onu model : 0x3131326d
OLT CLI User Manual
onu base-MAC : e0-67-b3-00-00-04
onu hardware Ver: V1.0
onu software Ver: V2.0.2
Show ONU Capabilities
Command
epon# show olt 7 onu <onuid> ctc capabilities
Grammar
Function Show online-onu capabilities.
<onuid> Designate online-onu onuid with value range from 1-64.
Show ONU Optical
Command
epon# show olt 7 onu <onuid> ctc optical
Grammar
Function Show online-onu optical.
<onuid> Designate online-onu onuid with value range from 1-64.
7.2 ONU Management Mode
Command
epon(olt-7)#onu <onuid>
Grammar
Function enter ONU management mode to configure ONU.
<onuid> designate onuid with valid value 1-64.
【Example】
1:enter onu 1 managemnet mode:
epon(olt-7)#onu 1
epon(olt-7/onu-1)#
epon(olt-7/onu-1)# input ”?” to show the following directory:
catv - enable or disable CATV
ctc - CTC configuration mode
default - restore to default setting
deregister - deregister current onu
OLT CLI User Manual
exit - exit current mode
link - enter link configure mode
pon - configure onu PON
pots - configure VOIP port
save - save current ONU configuration
uni - configure UNI
Global command:
debug - debug
logout - exit the CLI system
show - show system configuration
7.3 ONU Basic Operation and Management
Reboot ONU
Command
epon(olt-7/onu-1)# ctc reboot
Grammar
Function reboot ONU.
Deregister ONU
Command
epon(olt-7/onu-1)# deregister
Grammar
Function deregister ONU.
Configure ONU FEC
Command
epon(olt-7/onu-1)# ctc fec <oper>
Grammar
Function Configure ONU fec.
value <enable/disable>
<oper> enable:enable ONU FEC function
disable:disable ONU FEC function
OLT CLI User Manual
Restore ONU to Default Settings
Command
epon(olt-7/onu-1)#default
Grammar
Function restore ONU to default settings.
【Notes】
This command will delete all configuration of the ONU, restored to the factory default
configuration, and will automatically restart ONU.
Configure ONU Sys Management IP
Command epon(olt-2/onu-4)>#ctc mng-ip <ip> <netmask> <gateway>
Grammar <CVLAN> <SVLAN>
Function configure onu sys management ip.
<ip> - example: 192.168.12.122
<netmask> - example: 255.255.255.0
Parameters <gateway> - example: 192.168.0.1
<CVLAN> - 0-4094
<SVLAN> - 0-4094
Save Current ONU Configuration
Command
epon(olt-7/onu-1)# save
Grammar
Function Save current onu configuration.
7.4 Configure ONU IGMP
ONU IGMP Global Configuration
clear-all-multicast-ctrl-group
Command epon(olt-7/onu-1)# ctc igmp clear-all-multicast-ctrl-group
OLT CLI User Manual
Grammar
Function clear all multicast ctrl group.
Configure ONU IGMP fast-leave
Command
epon(olt-7/onu-1)# ctc igmp fast-leave <oper>
Grammar
Function Configure ONU igmp fast-leave function.
value <enable/disable>
<oper> enable:enable igmp fast-leave
disable:disable igmp fast-leave
Configure ONU IGMP Mode
Command
epon(olt-7/onu-1)#igmp mode < mode >
Grammar
Function configure ONU igmp mode.
valid value:< gmp-mld-snooping controllable-igmp-mld igmp-
<mode> snooping-only controllable-igmp pass-through> Some of the
parameters may not support, the default is gmp-mld-snooping.
Configure ONU UNI Port IGMP
configure igmp group
Command
epon(olt-5/onu-7/uni-1)# ctc igmp max-group <groups>
Grammar
Function configure igmp group.
<groups> designate number of igmp groups with valid value <0-255>.
Configure igmp vlan
Command
epon(olt-5/onu-7/uni-1)# ctc igmp vlan-list < vlanTagList>
Grammar
Function configure igmp vlan.
OLT CLI User Manual
<vlanTagList> valid value:1-4094,or null
Configure vlan tag
Command
epon(olt-5/onu-7/uni-1)# ctc igmp tag-handle <oper>
Grammar
Function configure igmp vlan tag or untag.
value:not-strip-vlan-tag
<
strip-vlan-tag
Parameters >
switch
7.5 Enter ONU Link Mode
enter ONU link mode
Command
epon(olt-7/onu-1)#link <linkID>
Grammar
Function enter ONU link mode.
<linkID> valid value:<1-16>
Configure ONU Link Upstream SLA
Command epon(olt-7/onu-1/link-1)# sla upstream <fix> <cir> <pir>
Grammar <weight>
Function configure ONU LINK upstream speed limit.
<fix> valid value:<0~950000>Kbps
<cir> valid value:<1~950000>Kbps
<pir> valid value:<512~1000000>Kbps
<weight valid value:<1~20>
OLT CLI User Manual
Configure ONU Link Downstream SLA
Command epon(olt-7/onu-1/link-1)# sla downstream <pir> <burst>
Grammar <weight>
Function configure ONU LINK downstream speed limit.
<pir> valid value:<512~1000000>Kbps
<burst> valid value:<128~16383>*256Byte
<weight valid value:<0~15>
Configure ONU Link Acl
epon(olt-7/onu-1/link-1)#acl <Aclid> rule <direction>
Command
<precedence> matching <matching string> action <action
Grammar
string>
Function configure ONU link acl rule.
<aclid> valid value:1-8
<direction> parameters:upstream downstream
<precedence valid value:<4-7>
parameters:
[dst-mac] <xx:xx:xx:xx:xx:xx>.
[src-mac] <xx:xx:xx:xx:xx:xx>.
[tag-num] <0 | 1 | 2 | more>.
[top-vid] <vid | vidL-vidH>, vid:1~4094.
[inner-vid] <vid | vidL-vidH>, vid:1~4094.
[top-8021p] <8021p | 8021pL-8021pH>, 8021p:0~7.
<matching
[inner-8021p] <8021p | 8021pL-8021pH>, 8021p:0~7.
string
[eth-type] <0~65535>.
[dscp] <0~63>.
[proto] <0~65535>.
[dst-ip] <x.x.x.x>.
[src-ip] <x.x.x.x>.
[dst-port] <0~65535>.
[src-port] <0~65535>.
parameters:
<actionstring [cos] <0~7>.
[8021p] <0~7>.
OLT CLI User Manual
[dscp] <0~63>.
[fwd] deny.
[rate] cir <cir> cbs <cbs> pir <pir> pbs <pbs>,
cir, pir: <0~1000000>Kpbs. cbs, pbs: <0~4095>KB
[top-vlan] pop.
[top-vlan] push vid <1~4094>.
[top-vlan] swap vid <1~4094>.
[inner-vlan] pop.
[inner-vlan] push vid <1~4094>.
[inner-vlan] swap vid <1~4094>.
【Example】
1:configure ONU link acl 1 rule
epon(olt-7/onu-1/link-1)#acl 1 rule upstream 4 matching dst-mac=00:11:11:11:11:11 acti
on fwd=deny
7.6 Enter ONU Uni Port Management Mode
Command
epon(olt-7/onu-1)# uni <uni->
Grammar
enter the ONU uniport management mode to configure the ONU
Function
uni parameter.
< uni> designate ONU uni port with valid value <1-24>.
【Example】
1:enter the ONU uni port 1 management mode:
epon(olt-7/onu-1)#uni 1
epon(olt-7/onu-1/uni-1)#
epon(olt-7/onu-1/uni-1)# ? input ”?” to show the following directory:
ctc - ctc management mode
exit - exit current mode
Global command:
debug - debug
disable - entry guest level
logout - exit the CLI system
show - show system configuration
OLT CLI User Manual
Configure ONU Uni Port Parameters
Show ONU Uni port information
Command
epon(olt-7/onu-1/uni-1)>show olt 7 onu 1 uni 1 ctc attribute
Gramma
Using the command in any mode,can display the current ONU
Function
uni port parameter properties.
【Example】
1:show ONU uni port 1 information:
epon(olt-7/onu-1/uni-1)> show olt 7 onu 1 uni 1 ctc attribute
ONU-7/1 UNI-1 Attibute
Link-State : linkUp
Admin-State : Enable
FlowCtrl-State : Enable
AutoNego-State : Enable
Ingress-Rate : 0 kps
Egress-Rate : 0 kps
enable or disable ONU Uni port
Command
epon(olt-7/onu-1/uni-1)> ctc admin <oper>
Gramma
Function enable or disable ONU current port
value <enable | disable>:
<oper> enable:enable ONU port
disable:disable ONU port
configure ONU Uni port auto-nego
Command
epon(olt-7/onu-1/uni-1)> ctc auto-nego <oper>
Gramma
Function enable or disable ONU uni port auto-nego
value <enable | disable>:
<oper> enable: enable ONU uni port auto-nego
disable: disable ONU uni port auto-nego
configure ONU Uni port flow-ctrl
Command epon(olt-7/onu-1/uni-1)>ctc flow-ctrl <oper>
OLT CLI User Manual
Gramma
Function enable or disable ONU uni port flow-ctrl.
value <enable | disable>:
<oper> enable: enable ONU uni port flow-ctrl
disable:disable ONU uni port flow-ctrl
Configure ONU Uni port Egress Rate
Command
epon(olt-7/onu-1/uni-1)>ctc egress-policing < max-rate>
Gramma
Function configure ONU uni port egress rate。
designate max traffic ouput rate with value<0~1000000>kbps,
< max-rate>
a value of 0 indicates no speed limit.
Configure ONU Uni port ingress Rate
Command
epon(olt-7/onu-1/uni-1)>ctc ingress-policing < max-rate>
Gramma
Function configure ONU uni port ingress rate.
designate max traffic input rate with value<0~1000000>kbps,
< max-rate>
a value of 0 indicates no speed limit
Configure ONU Uni port MAC agine-time
Command
epon(olt-7/onu-1/uni-1)>ctc mac-aging-time <timer>
Gramma
Function configure ONU uni port MAC aging-time.
designate the MACs aging-time with value 0-4294967295
< timer >
,a value of 0 indicates the MAC address is not aging。
configure ONU Uni port statistics
Command epon(olt-7/onu-1/uni-1)> ctc statistics <monitoring-status>
Gramma <monitoring-period>
Function Configure statistics monitoring status and period.
designate statistics monitoring status with value <enable |
<monitoring-s
disable>
tatus>
enable: enable statistics monitoring
OLT CLI User Manual
disable: disable statistics monitoring
<monitoring-p designate statistics monitoring status with value
eriod> <1-4294967295>second
Configure ONU Uni Port Vlan Mode
Configure ONU Uni port VLAN aggregation mode (Our company does not
support ONU)
Command epon(olt-7/onu-1/uni-1)> ctc vlan-mode aggregation <tpid>
Gramma <cos> <default-vlan> aggregation-list(Matching)
Function configure the ONU uni port VLAN for aggregation mode.
<tpid > designate vlan tpid,the default is 0x8100.
<cos> designate vlan cos,valid value <0-7>.
designate ONU uni port aggregation mode vlan,valid value
<vlan>
<1-4094>,the default is 1.
Aggregation-l designate ONU uni port aggregation vlan list,maximum support
ist 4.
【Example】
1:For the ONU uni port configuration VLAN mode for aggregation, 100 for default-vlan
epon(olt-7/onu-1/uni-1)> ctc vlan-mode aggregation 0x8100 7 100
Configure ONU Uni port VLAN tag mode
Command epon(olt-7/onu-1/uni-1)> ctc vlan-mode tag <tpid> <cos>
Gramma <vlan>
Function configure the ONU uni port VLAN for tag mode.
<tpid > designate vlan tpid,the default is 0x8100.
<cos> designate vlan cos,valid value <0-7>.
designate ONU uni port tag mode vlan,valid value <1-4094>,
<vlan>
the default is 1
【Example】
1:For the ONU uni port configuration VLAN mode for tag, 100 for VLAN
OLT CLI User Manual
epon(olt-7/onu-1/uni-1)> ctc vlan-mode tag 0x8100 7 100
Configure ONU Uni port VLAN trunk mode
Command epon(olt-7/onu-1/uni-1)> ctc vlan-mode trunk <tpid> <cos>
Gramma <default-vlan> vlan-list(Matching)
Function configure the ONU uni port VLAN for trunk mode.
<tpid > designate vlan tpid,the default is 0x8100
<cos> designate vlan cos,valid value <0-7>.
designate ONU uni port trunk mode vlan,valid value <1-4094>,
<vlan>
the default is 1.
Optional configuration, configuration can be through the VLAN
Vlan-list
list, the maximum support 60 VLAN number.
【Example】
1:For the ONU uni port configuration VLAN model for trunk, 100 for default-vlan,
200,2050 for vlan-list
epon(olt-7/onu-1/uni-1)> ctc vlan-mode trunk 0x8100 7 100 vlan-list 200,2050
Configure ONU Uni port VLAN translation mode
Command epon(olt-7/onu-1/uni-1)> ctc vlan-mode translation <tpid>
Gramma <cos> <default-vlan> translate-list
Function configure the ONU uni port VLAN for translation mode.
<tpid > designate vlan tpid,the default is 0x8100.
<cos> designate vlan cos,valid value <0-7>.
designate ONU uni port translation mode vlan,valid value
<vlan>
<1-4094>,the default is 1.
translation-lis The specified uni port list of VLAN, maximum support 8
t conversion list.
【Example】
1:For the ONU uni port configuration mode of VLAN translation, default-vlan 100,
translation-list 200-300 300-400
epon(olt-7/onu-1/uni-1)> ctc vlan-mode trunk 0x8100 7 100 translation-list
200-300,300-400
OLT CLI User Manual
Configure ONU Uni port VLAN transparent mode
Command
epon(olt-7/onu-1/uni-1)> ctc vlan-mode transparent
Gramma
Function configure the ONU uni port VLAN for transparent mode.
【Example】
1:For the ONU uni port configuration VLAN mode for transparent
epon(olt-7/onu-1/uni-1)> ctc vlan-mode transparent
【Description】
Different VLAN mode to deal with different frame types.
Transparent Mode:
Frame
Frame Type Approach
Direction
Untag frame does not make any change,
Untag frame
forwarding.
Upstream
Tag frame does not make any changes (original
Tag frame
VLAN TAG), forwarding.
Untag frame does not make any change,
Untag frame
forwarding.
Downstream
Tag frame does not make any changes (original
Tag frame
VLAN TAG), forwarding.
Tag Mode:
Frame
Frame Type Approach
Direction
Switch frames on port’s default
Untag frame
Upstream VLAN(VPID),forwarding.
Tag frame Discard the frame
Untag frame Discard the frame
If the Downstream Tag frame VLAN ID equal to the
configuration of the VID,According to VID forwarded
Downstream to the appropriate UNI port, and stripping the tag; If
Tag frame
the downstream Tag frame VLAN ID is not equal to
the configuration of the VID, then the frame is
discarded
Translation Mode:
Frame
Frame Type Approach
Direction
OLT CLI User Manual
Switch frames on port’s default
Untag frame
VLAN(VPID),forwarding.
Tag frame VLAN ID in the configuration of the VID
Upstream
conversion list, forwarding; Tag frame VLAN ID is not
Tag frame
in the configuration of the VID conversion list, frame
discarding.
Untag frame Discard the frame
Tag frame VLAN ID corresponds to the entry in the
corresponding port of the VLAN Translation list
(equal to the input VID configuration),According to
the table to convert the VID to a corresponding VID
Downstream
Tag frame (VID output), forwarding; If the VLAN ID in the
corresponding port of the VLAN Translation list
without a corresponding entry, discarding; If the TAG
frame with VLAN ID as the "default VLAN", after the
VLAN label forwarding is stripped down;
Trunk Mode:
Frame
Frame Type Approach
Direction
Switch frames on port’s default
Untag frame
VLAN(VPID),forwarding.
Tag frame VLAN ID belongs to the port "allowed by
Upstream
VLAN", forwarding; Tag frame VLAN ID does not
Tag frame
belong to the port of the "permitted by VLAN," is
discarded
Untag frame Discard the frame
Tag frame VLAN ID belongs to the port "allowed by
VLAN", forwarding; Tag frame VLAN ID belongs to
Downstream
Tag frame the port "allowed by VLAN", forwarding; If the Tag
frame VLAN does not belong to the port of the
"permitted by VLAN," is discarded.
Show ONU Uni port vlan configuration
Command
epon(olt-7/onu-1/uni-1)>show olt 7 onu 1 uni 1 ctc vlan-mode
Gramma
Function Show ONU uni port vlan configuration
【Example】
1:Show ONU uni port vlan configuration:
epon(olt-7/onu-1/uni-1)> show olt 7 onu 1 uni 1 ctc vlan-mode
VLAN MODE: translate
OLT CLI User Manual
Default VLAN: TPID-0x8100, COS-6, VID-3
Traslate List:
2000<->3000
2050<->3050
7.7 ONU Authentication Management Mode
Configure ONU Blacklist Authentication mode
Command
epon(olt-1)# auth blacklist <oper> <onu>
Gramma
Set the EPON system ONU blacklist authentication mode,ONU
Function
is offline.
Valid value <add/delete>
<oper> add: add to blacklist authentication ONU
delete: delete from blacklist authentication ONU
<ONU> add to the blacklist of ONU MAC.
Configure ONU Whitelist Authentication mode
Command
epon(olt-1)# auth whitelist <oper> <onu>
Gramma
Function Set the EPON system ONU whitelist authentication mode;
Valid value <add/delete>
<oper> add: add to whitelist authentication ONU
delete: delete from whitelist authentication ONU
<ONU> add to the whitelist of ONU MAC.
Configure ONU LOID Authentication mode
Command
epon(olt-1)# auth ctc-auth loid <oper> <onu>
Gramma
Function Set the EPON system ONU LOID authentication mode;
OLT CLI User Manual
Valid value <add/delete>
<oper> add: add to loid authentication ONU
delete: delete from loid authentication ONU
<ONU> add to the loid of ONU LOID.
Disable ONUAuthentication
Command
epon(olt-1)# auth disable-auth
Gramma
Function disable EPON system ONU authentication
8 Equipment diagnosis information
8.1 Ping command test
Command
epon# ping <host>
Grammar
Function Test equipment and network can reach the target host
<host> Host ip address
【Example】
Example1:device ip: 192.168.1.100,host ip 192.168.1.234 host and device are The
direct connection
epon(GE-1)# ping 192.168.1.234
PING 192.168.1.234 (192.168.1.234): 56 data bytes
64 bytes from 192.168.1.234: seq=0 ttl=64 time=8.559 ms
64 bytes from 192.168.1.234: seq=1 ttl=64 time=0.746 ms
64 bytes from 192.168.1.234: seq=2 ttl=64 time=0.561 ms
64 bytes from 192.168.1.234: seq=3 ttl=64 time=0.650 ms
OLT CLI User Manual
8.2 Tracert checking the device the path of the host
Command
epon# tracert <host>
Grammar
Function Check the device the path of the host
<host> Host ip address
【Example】
Example1 checking the device the path of the host。
epon(GE-1)# tracert 192.168.1.234
traceroute to 192.168.1.234 (192.168.1.234), 10 hops max, 38 byte packets
1 192.168.1.234 (192.168.1.234) 4.698 ms 0.060 ms 0.069 ms