Epon Olt Cli User Manual
Epon Olt Cli User Manual
Contents
1
OVERVIEW..........................................................................................................................
1.1
INTRODUCTION.................................................................................................... .............. 8
1.2
1.3
1.4
1.5
8
9
COFIGURATION PREPARATION............................................................................................... 10
2.1
2.2
3.2
3.3
SYSTEM MANAGEMENT....................................................................................................... 13
4.1
4.2
14
4.3
14
CONFIGURATION MANAGEMENT............................................................................................... 17
21
CONFIGURATION.................................................................................................... .............. 22
22
23
29
31
37
37
40
46
46
53
55
56
56
58
OLT MANAGEMENT.............................................................................................................. 58
6.1
61
62
63
68
70
71
ONU MANAGEMENT........................................................................................................... 76
7.1
7.3
79
ENABLE/DISABLE
7.7
7.8
7.9
84
8.2
INCLUDING REMARKS.................................................................................................................. 95
Overview
1.1 Introduction
This manual is applicable to Cortina Based EPON OLT products , This document is for those who
perform all tasks for the EPON OLT once it has been successfully installed. Users of this Guide
should understand EPON technology and have experience configuring EPON devices.
Cortina-Based OLT 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
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.
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
< >
[] = Optional
| = Option (OR) The multiple items which are divided are multi-select required parameters,
indicating that must select one of them.
<x-y>
1.5
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
Move cursor within command line
Key Sequence
left and right arrow
[Delete] or [Backspace]
[Ctrl/U]
CTRL/P or up arrow
[Tab] or [Ctrl/I]
2.1
Cofiguration Preparation
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 NMSs superior terminal.
Super terminals basic configuration is as follows:
2.2
Network Connection
EPON OLT 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 GEPON
products.
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
Password
admin
admin
guest
Null
3.2
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
Method
Function
Partial command+
Command+Space +
For example 2:
epon# s?
swmode
swport
epon# s
system
show
For example 3:
epon#show + [ ? ]
auth
- show olt auth mode
igmp-snooping
- show igmp snooping configurations
mac-address
- mac-address
mirror
- show switch mirror configurations
olt
- show olt's configuration
qinq
- show QinQ configuration
rmon
- show RMON
rstp
- Display RSTP information
running-config
- show current running-configuration
startup-config
- show current startup-configuration
swmode
- show swmode
swport
- display port attribute information
system
- show system configuration
trunk
- show trunk configuration
vlan
- show vlan configuration
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)#
System Management
4.1
Command
Grammar
Function
<old-password>
Old password
<new-user>
<new-password>
<comfirm-password>
4.2
New username
New password
Comfirm password
Command
Grammar
Function
<hostname>
System hostname
Example
Example 1 setting OLT hostname is OLT
epon# system hostname OLT
OLT#
4.3
Command
Grammar
Function
Backup OLT configuration File to PC, firstly, the tftp server should
be ready.
<tftp-server>
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#
Command
Grammar
Function
Restore OLT configuration from PC, firstly, the tftp server and
configurefile should be ready.
<tftp-server>
<filename>
Example
Example 1 Restore OLT configuration from PC
epon#
system
configurations
download
olt_cfg_backup_20000101063321.tar.gz
Download olt configurations file from host 192.168.2.130.
olt
192.168.2.130
epon#
Command
Grammar
Function
Backup ONU configuration File to PC, firstly, the tftp server should
be ready.
<tftp-server>
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#
Command
Grammar
epon#system
<filename>
configurations
download
onu
<tftp-server>
Function
Restore ONU configuration from PC, firstly, the tftp server and
configurefile should be ready.
<tftp-server>
<filename>
Example
Example 1 Restore ONU configuration from PC
epon#
system
configurations
download
onu_cfg_backup_20000101060207.tar.gz
Download onu configurations file from host 192.168.2.130.
epon#
onu
192.168.2.130
4.4
Command
Grammar
Function
<admin>
<backup-type>
<interval>
<server>
Configuration Management
Command
Grammar
Function
Save Configuration
Command
Grammar
Function
<all>
Take this parameter will save all device include all olt and all onu.
<olt>
Command
Grammar
Function
all
auth
olt
onu
swith
Command
Grammar
Fuction
all
auth
olt
onu
swith
Reboot System
Command
Grammar
Function
Reboot OLT.
4.5
Command
Grammar
Fuction
<firmware>
<ip>
Command
Grammar
Fuction
4.6
<tftp-server>
<file>
image name
<type>
device type
Log Management
Backup Log
Command
Grammar
Function
<server-ip>
Example
Example 1 Backup system log to PC
epon# system log backup 192.168.2.130
Backup
local
log
file
remote
log_backup_20000101002224.txt!
Example
Example 2 Show system all log
epon# show system log all
Flush log
Command
Grammar
Function
Example
Example 1 Flush system all log
epon# system log flush
Flush log file successfully!
epon#
4.7
SNMP Management
Command
Grammar
filename:
Function
Command
Grammar
Function
Trap IP Configuration
Command
Grammar
Function
<index>
index : 1-4
<ip-addr>
4.8
Command
Grammar
epon#system ipconfig
Function
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
Command
Grammar
Function
< ip>
<netmask>
Example
Example 1 Confgiure the manage ip to 192.168.1.100
255.255.255.0 gateway to 192.168.1.254
netmask to:
Command
Grammar
Function
< vid>
Command
Grammar
4.9
Function
<mtu>
configuration
Command
Grammar
Function
Command
Grammar
Function
<time>
Example
Example1 manually systime is 2015.12.12 10h:10m:10s
epon# system date manual 2015.12.12-10:10:10
4.10
Command
Grammar
Function
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
Command
Grammar
Function
show ipconfig
Example
Example 1 show system ipconfig
epon# show system ipconfig
Out band fast-ethernet ip address: 192.168.1.100 , netmask is: 255.255.255.0.
Gateway address is: 192.168.1.1
MNGMT-VID : 1
Command
Grammar
Function
tail
all
Example
Example 1
Gommand
Grammar
Function
Example
Example1 show system memory
epon# show system memory
total
used
free
shared
Mem:
61428
25712
35716
-/+ buffers: 25712
35716
Swap:
0
0
0
buffers
0
0
Command
Grammar
Function
Example
Example 1: show system mgmt-vlan
epon# show system mgmt-vlan
system mgmt-vlan : 1
Command
Grammar
Function
Example
Example 1 show system snmp
epon# show system snmp
Read-only community : public
4.11
Gommand
Grammar
Function
<admin>
Example
Example1
Gommand
Grammar
Function
<admin>
Example
Example1
Gommand
Grammar
Function
<admin>
Example
Example1 enable system ONU template igmp fast-leave function
epon# system onu-template-config-system ctc igmp fast-leave enable
Gommand
Grammar
Function
<mode>
mode,{igmp-mld-snooping|controllable-igmp-mld|pass-through}
Example
Example1 setting system ONU template igmp mode is igmp-mld-snooping
epon# system onu-template-config-system ctc igmp mode igmp-mld-snooping
Gommand
Grammar
Function
<admin>
Example
Example1 enable the system ONU template voip port
4.12
Gommand
Grammar
Function
<templateID>
Example
Example1 enter user onu template config mode
epon# system onu-template-config-user 1
epon(onu_template-1)#
Gommand
Grammar
Function
<catvNum>
<portNum>
<potsNum>
<templateName
>
Example
Example1 setting user ONU template capacity is 1 CATV port 4 ethernet port and 1 VOIP
Gommand
Grammar
Function
<uniId>
<admin>
Example
Example1enable the user ONU template user port
epon(onu_template-1)# config uni 1 ctc admin enable
Gommand
Grammar
Function
<uniId>
<max-rate>
0-1000000(kbps)
Gommand
Grammar
Function
<uniId>
Gommand
Grammar
Function
<uniId>
<admin>
Gommand
Grammar
Function
<uniId>
<admin>
Gommand
Grammar
Function
<uniId>
<admin>
Gommand
Grammar
Function
<uniId>
<timer>
Gommand
Grammar
epon(onu_template-1)#config
uni
<uniId>
<monitoring-status> <monitoring-period>
Function
<uniId>
<monitoringstatus>
<monitoringperiod>
5.1
Storm Control
ctc
Command
Grammar
statistics
5.2
Function
<type>
<enable>
<rate>
Port manegemnet
Command
Gtammar
epon#swport <port>
Function
enter switch port config mode. Noting: ge1-ge8 is eth port, ge9ge16 is PON port
<port>
Example
Example 1 Enter Sithch port ge1 config mode
epon# swport ge1
epon(GE-1)#
epon(GE-1)# ?
Enter 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
storm-ctrl
- Configurate storm control, support broadcast | mult
icast | unknown unicast
vlan
- add or del vlan list
Global command:
logout
- exit the CLI system
ping
- test that a remote host is reachable
show
- show system configuration
tracert
- trace the route to host
Port parameters
Command
Grammar
Function
Command
Grammar
Function
Command
Grammar
Function
<type>
allall of packet
tagged only receive tag packet
Command
Grammar
Function
Configure the switch port default pvid, when switch port receive
packet witch no tag, it will give the packet default pvid, that is the
default 802.1p priority.
<priority>
Command
Grammar
Funcion
<admin>
Command
Grammar
epon(GE-1)#pvid <pvid>
Function
<pvid>
Command
Grammar
epon(GE-1)# auto-nego
Function
Command
Grammar
Function
<speed>
Effective parameter;
<10m|100m|1000m>
<duplex>
Optional parameters
<full|half>
Add vlan list of port
Command
Grammar
Function
<vidlist>
<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
Command
Grammar
Function
<vidlist>
Example
Example 1 delete vlan 2-200 of ge1 port
epon(GE-1)# vlan del 2-200
Show swport current configuration information
Command
Grammar
Function
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
Flow-Control
: Disable
Speed-State
: 1000
Duplex-State
Learning
: Full
: Disable
Egress-Rate-Limit : Disable
Ingress-Rate-Limit : Disable
Priority
:0
PVID
:1
Command
Grammar
Function
<rate>
0-1000000(kps)
Command
Grammar
Function
<rate>
Command
Grammar
Function
Example
Example 1 show swmode vlan
epon# show swmode vlan
VLAN STATUS : Disable
Command
Grammar
5.4
Function
<mode>
Command
Grammar
Function
<timeout>
5.5
Command
Grammar
Function
show mac-address-aging
Creat vlan
Command
Grammar
epon#vlan <vlanid>
Function
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
lobal command:
logout
- exit the CLI system
ping
- test that a remote host is reachable
show
- show system configuration
tracert
- trace the route to host
Command
Grammar
Function
<member>
<tag>
ge1-ge16
Mark way is optional parameters
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
epon(vlan-100)#member add ge1-ge3 tag
epon(vlan-100)#member add ge4-ge5
Command
Grammar
Function
<member>
ge1-ge16
Delete vlan
Command
Grammar
epon(vlan-100)#delete <vlanList>
Function
Delete vlan
<vlanlistt>
Command
Grammar
Function
<vlanId>
Example
Example 1 show all currnet vlan configuration
epon# show vlan all
--------------------------------------------------VLAN ID: 1
Tagged ports:
none
Untagged ports:
ge-9 ge-10 ge-11 ge-12 ge-13 ge-14 ge-15 ge-16
ge-1 ge-2 ge-3 ge-4 ge-5 ge-6 ge-7 ge-8
--------------------------------------------------VLAN ID: 100
Tagged ports:
ge-1
Untagged ports:
none
5.6
Command
Grammar
Example
Command
Grammar
Function
<aging>
Range: 6-40
Bridge Max Age must be less than or equal to twice the the Bri
dge Forwarding Delay minus 1.
Example
Example 1 if the forward delay is a maximum of 15 s, configuring the biggest aging time is 28s
epon# rstp bridge maxage 28
Configure RSTP max age successful!
Command
Grammar
Function
<fdelay>
Range: 4-30s
Example
Example 1:configuring Rstp bridge delay time is 15s
epon# rstp bridge fdelay 15
Configure RSTP forward delay successful!
Command
Grammar
Function
<prio>
Range:p0-p65535
Example
example1 setting Rstp bridge priority is 0
epon# rstp bridge priority p0
Configure RSTP bridge priority successful!
Command
Grammar
Function
<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!
Commad
Grammar
Function
<protid>
Range ge1-ge16
<prio>
Value :p0,p16,p32,p48,p64,p80,p96,p112,p128,p144,p160,p17
6,p192,p208,p224,p240
Example
Example 1 setting ge1 port priority is 0
epon# rstp port priority ge1 p0
GE(1)'s priority configuration successful!
Command
Grammar
Function
<protid>
Port
<pathcost>
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!
Command
Grammar
Function
<protid>
Switch port
<edge>
edge: edge
none-edge:none edge
auto Automatic negotiation
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 setting ge1 is edge of Rstp
Command
Grammar
Function
<protid>
Switch port
<p2p>
Shared
p2p :p2p port
auto Automatic negotiation
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!
Command
Grammar
Function
<protid>
Switch port
Example
Example:1 Configure Rstp protocol version check
Command
Grammar
Function
<protid>
Switch port
Example
Example 1 show Rstp information
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
Command
Grammar
Function
<tid>
Range:1-4
Example
Example 1 enter trunk 1 config mode view
epon# trunk 1
epon(trunk-1)#
Command
Grammar
Function
<member>
Porttlist
Example
Example 1 :add ge1-ge2 port of trunk 1 member
epon(trunk-1)# member add ge1-ge2
Command
Grammar
Function
<member>
Portlist
Example
Example1 delete ge1-ge2 of trunk 1 member
epon(trunk-1)# member del ge1-ge2
Command
Grammar
Function
<trunklist>
Range: 1-4
Example
Example1 delete list 1-2 configuration of trunklist
epon(trunk-1)# delete 1-2
Command
Grammar
Function
<trunkid>
allall of trunklist
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
Command
Grammar
Function
Command
Grammar
Function
<port>
Example
Example1 Delete the statistics RMON statistics from the GE1 interface
epon# rmon statistics clear ge1
Command
Grammar
Function
<port>
Switch port
<entry-number>
<bucketsnumber>
<interval>
<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
1
Command
Grammar
Function
<entry-number>
History infdex,range:1-65535
Command
Grammar
Function
<entry-number>
<description>
Description information
<type>
<owner >
Example
Example 1 add rmon event 100
epon# rmon event add 100 rmon-event log yx
1
Command
Grammar
Function
<entry-number>
Example
Example 1 delete rmon event 100
epon# rmon even del 100
Command
Grammar
Function
<entry-number>
Range:1-65535
<alarm-variable>
<interval>
<type >
<rising-value>
<rising-event>
Sampling interval
<falling-value>
<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 risingvalue 40000 Rissing-event is 1 falling-event 20000 falling-event is 1 ,type 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
Command
Grammar
Function
<entry-number>
Example
Example1 delete rmon alarm 1
epon# rmon alarm del 1
Command
Grammar
Function
<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
Command
Grammar
Function
<port>
Switch port
Example
Example 1 show rmom history ge1
show rmon history ge1
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
Command
Grammar
Function
<entry-number>
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.
Command
Grammar
Function
<entry-number>
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
Grammar
Function
<entry-number>
Example
Example 1 show 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
Command
Grammar
Function
<admin>
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 !
Command
Grammar
Function
<port>
Switch port
<type>
Example
Example 1 configure ge1 ingress mirror
Command
Grammar
Function
<port>
Switch port
Example
Example 1 configure dest_port ge8
epon# mirror dest_port ge8
Set switch mirror destnation port: 8 successful
Command
Grammar
Function
Example
Example 1 show mirror information
epon# show mirror
==================== SWITHC MIRROR CONFIG ====================
Admin
: enable
destnationPort : ge8
sourceIngressPorts : ge2 ge3
5.10
Command
Grammar
Function
<admin>
<disable|enable>
Command
Grammar
Function
<admin>
<disable|enable>
Command
Grammar
Function
<admin>
<disable|enable>
Command
Grammar
Function
Command
Grammar
Function
<admin>
<disable|enable>
Command
Grammar
Function
<time>
Command
Grammar
Function
<time>
Command
Grammar
Function
<source_ip>
<X.X.X.X>
Command
Grammar
Function
<aging>
<1~3000>S
Command
Grammar
Function
<operation>
<multicast_ip>
<vlan>
<port>
5.11
Command
Grammar
epon#reset mac-address-table
Function
OLT Management
6.1
Command
Grammar
Function
<oltID>
epon#olt <oltID>
Example
Example 1 enter olts first pon configure mode
epon#olt 1
epon(olt-1)#
epon(olt-1)#
acl
- configure olt level acl
admin
- enable or disable this PON
alarm
- enable or disable the message of Alarm!
exit
- exit current mode
mac-address-table
- configure mac-address-table
offline-onu
- add or delete offline onu
onu
- configure onu
optical
- olt optical diagnose
p2p
- configure p2p
packet-filter
- enable or disable packet filter
qinq
- configure QinQ
tpid
- configure olt default tpid
Global command:
logout
- exit the CLI system
ping
- test that a remote host is reachable
show
- show system configuration
tracert
- trace the route to host
Command
Grammar
Function
<eable>
<disable>
Command
Grammar
Function
ON optical tests under all the ONU, ONU luminous fault to kick off
Command
Grammar
Function
Light tests specified under the PON ONU, luminous fault to kick off
Command
Grammar
Function
<eable>
Enabel P2P
<disable>
Disable P2P
6.2
Command
Grammar
Function
<tpid>
Command
Grammar
Function
<aclId>
Example
Example 1 delege olt 1 acl 1
epon(olt-1)# acl 1 delete
Delete ACL 1 successfuly.
Command
Grammar
epon(olt-1)#acl delete
Function
Example
Example 1 delete olt1s all acl
epon(olt-1)# acl delete
Delete ACL 1 successfuly.
Command
Grammar
Function
<aclId>
value <1-40>
<direction>
<precedence>
matching
string
action string
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 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"
6.3
Command
Grammar
Function
<aging-time>
Age time: <0~65535> sec, when configure age time to 0, the mac
will not ageout
Example
Example 1 configure current olts age time to 200s
epon(olt-1)# mac-address-table aging-time 200
Set slot 1 olt 1 bridge cfg successfully!
Command
Grammar
Function
Command
Grammar
Function
Command
Grammar
Function
Command
Grammar
Function
6.4
Command
Grammar
Function
OLT Auth
Command
Grammar
Function
Disable auth function, when the olt auth is disable, onu will register
Add/Delete/Show Whitelist
Function
Add white member. It will enable the Auth function when first add
black member
<oltID>
Pon ID : 1-8
<onu>
Function
<oltID>
Pon ID : 1-8
<onu>
Example
Example 1 move onu with MAC 00-1b-62-48-5b-09 out from whitelist
epon# auth whitelist delete 1 onu 00-1b-62-48-5b-09
01/01/00 01:47:59 onu-1-1-1 (ctc-30) offline...
Delete ONU (00-1b-62-48-5b-09) from slot 0 PON 1 whitelist successfully.
Show whitelist
Command
Grammar
Function
Show whitelist
Example
Example 1 show whitelist
epon# show auth whitelist
whitelist onu mac:
pon-1 00-1b-62-48-5b-09
pon-2 00-13-25-00-dd-01
Total is 2.
Add/Delete/Show Blacklist
Function
Add black member. It will enable the Auth function when first add
black member
<oltID>
Pon ID : 1-8
<onu>
Example
Example 1 add a black member that mac is 00-1b-62-48-5b-09
epon# auth blacklist add 1 onu 00-1b-62-48-5b-09
01/01/00 02:15:41 onu-1-1-1 (ctc-30) offline...
Add ONU (00-1b-62-48-5b-09) to slot 1 PON 1 blacklist successfully.
Function
<oltID>
Pon ID : 1-8
<onu>
Example
Example 1 move onu with MAC 00-1b-62-48-5b-09 out from blacklist
epon# auth blacklist delete 1 onu 00-1b-62-48-5b-09
Delete ONU (00-1b-62-48-5b-09) from slot 1 PON 1 blacklist successfully.
Show blacklist
Command
Grammar
Function
Show blacklist
Example
Example 1 show blacklist
epon# show auth blacklist
blacklist onu mac:
pon-1 00-1b-62-48-5b-09
pon-2 00-13-25-00-dd-01
Total is 2.
Function
Example
Example 1 enable hybrd auth mode
epon# auth ctc-mode hybrid
Set slot 1 hybrid-auth mode successfully.
Function
Example
Example 1 enable loid auth mode
Function
<loid>
{MAX 24 Chars}
<password>
{MAX 12 Chars}
Example
Example 1 add one loid account, name: cdt, password:cdt
epon# auth ctc-auth loid add cdt password cdt
Delete loid account
Command
Grammar
Function
<loid>
{MAX 24 Chars}
<password>
{MAX 12 Chars}
Example
Example 1 delete a loid account
epon(olt-8)# auth ctc-auth loid delete cdt password cdt
Command
Grammar
Function
Command
Grammar
Function
<admin>
Example
Example 1 enable dhcp packet_fil
Command
Grammar
Function
<admin>
Example
Example 1 enable eoc_mme packet-filter function
epon(olt-1)# packet-filter eoc_mme enable
Command
Grammar
Function
<admin>
Example
Example 1 enable netbios packet-filter function
epon(olt-1)# packet-filter netbios enable
Command
Grammar
Function
<admin>
Example
Example 1 enable 8306_rtk_loopback packet-filter function
epon(olt-1)# packet-filter 8306_rtk_loopback enable
Command
Grammar
Function
ONU off the electricity ,it can print GASP message on the console
<admin>
Example
Example 1 Configure GASP message function ONU off the electricity ,it can print GASP message on the
console
Command
Grammar
Function
ONU off the electricity,it can send trap message about GASP
<admin>
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
Command
Grammar
Function
<qinq-vid>
Outbound vlan
<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
Command
Grammar
Function
<qinq-vid>
Example
Example 1 delete QinQ configuration that and setting outbound vlan is 100
epon(olt-1)# qinq disable 100
6.8
Command
Grammar
Function
Add offline ONU and bind the template with ONU. Template just
can only bind the offline ONU that no-bind with any template
before. If offline ONU have binded template before, you need to
delet the template.
<onuID>
<onuMAC>
<templateID>
When ONU online in the first time, OLT will set the ONU
configuration by template
Command
Grammar
Function
delete offline ONU. It must to delete offline ONU in OLT list before
binding a new template with ONU
<onuID>
Outbond vlan
6.9
Command
Grammar
Function
<oltID>
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
LLID Support : 64
LLID Registered : 3
LLID Online
:3
Command
Grammar
Function
<oltID>
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)
Command
Grammar
Function
<oltID>
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 2.0
30
6m
onu-10 00:a1:02:01:30:d8 2.0
20
6m
onu-11 e0:67:b3:07:d4:78 2.0
21
6m
Command
Grammar
Function
<oltID>
Example
Example1show 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 "
Command
Grammar
Function
Example
Example1 show olt auth mode information
epon# show auth mode
Slot 1 current auth-mode is disable.
Command
Grammar
Function
<oltId>
Example
Example1:show olt port staus
epon(olt-1)# show olt 1 admin
Slot 1 olt 1 admin status: Enable.
Command
Grammar
Function
<oltId>
Example
Example1 show olt ararm information
epon# show olt 1 alarm
Onu Power Alarm
: Disable
Onu Power Alarm Trap : Disable
Command
Grammar
Function
<oltId>
<onu>
Example
Example1show mac address of all port
epon# show olt 5 mac-address-table
============== SLOT 1 OLT 5 MAC Address Table ==============
Index MAC Address
ONU VID Aging(s)
1
3C:97:0E:FD:0C:69 02
0
3234
=========== 1 MAC Address Table Entries Found ===========
Command
Grammar
Function
<oltId>
Example
Example1 show olt p2p information
epon# show olt 1 p2p
Slot 1 olt 1 p2p status: Enable
Command
Grammar
Function
Example
Example1 show olt packet-filter information
epon# show olt 1 packet-filter dhcp
=================== SLOT 1 OLT 1 Packet Filter===================
DHCP : enable
Command
Grammar
Function
<oltId>
ONU Management
7.1
Command
Grammar
Function
Use this command in any mode can check to the specified PON port
of the Online-ONU.
Example
Example1 show online-onu
epon# show olt 7 online-onu
onuId
mac
type
CTC-Ver
onu-12 e0:67:b3:00:00:04 2.0
onu-13 e0:67:b3:00:00:14 2.0
onu-14 e0:67:b3:07:14:04 2.0
onu-23 e0:67:b3:07:18:02 2.0
distance
30
6m
30
6m
30
6m
30
6m
Command
Grammar
Function
<onuid>
Example
Example1 show onu version
epon# show olt 7 onu 12 ctc sn
onu model
: 0x3131326d
onu base-MAC : e0-67-b3-00-00-04
onu hardware Ver: V1.0
onu software Ver: V2.0.2
Show ONU Capabilities
Command
Grammar
Function
<onuid>
Command
Grammar
Function
<onuid>
Command
Grammar
epon(olt-7)#onu <onuid>
Function
<onuid>
Example
Example1enter 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
exit
- exit current mode
info
- onu device user information
link
- enter link configure mode
pon
- configure onu PON
pots
- configure VOIP port
protect
- enable or disable to isolate the uni(s)
save
- save current ONU configuration
uni
- configure UNI
Global command:
logout
- exit the CLI system
ping
- test that a remote host is reachable
show
- show system configuration
tracert
- trace the route to host
7.3
Reboot ONU
Command
Grammar
Deregister ONU
Command
Grammar
epon(olt-7/onu-1)# deregister
Function
deregister ONU.
Command
Grammar
Function
<oper>
value <enable/disable>
enable enable ONU FEC function
disable disable ONU FEC function
Command
Grammar
epon(olt-7/onu-1)#default
Function
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
Grammar
epon(olt-2/onu-4)#ctc
<CVLAN> <SVLAN>
mng-ip
Function
Parameters
<ip>
- example: 192.168.12.122
<ip>
<netmask>
<gateway>
Command
Grammar
epon(olt-7/onu-1)# save
Function
Command
Grammar
Function
7.4
<tftp-server>
Tftp server Ip
<image-file>
File name
clear-all-multicast-ctrl-group
Command
Grammar
Function
Function
<oper>
value <enable/disable>
enable enable igmp fast-leave
disable disable igmp fast-leave
Function
<mode>
valid value < gmp-mld-snooping controllable-igmp-mld igmpsnooping-only controllable-igmp pass-through> Some of the
parameters may not support, the default is gmp-mld-snooping.
Function
<groups>
Function
<vlanTagList>
Function
7.5
epon(olt-7/onu-1)#link <linkID>
Function
<linkID>
Command
Grammar
Function
<fix>
<cir>
<pir>
<weight>
Command
Grammar
Function
<pir>
<burst>
<weight>
Command
Grammar
epon(olt-7/onu-1/link-1)#acl
<Aclid>
rule
<direction>
<precedence> matching <matching string> action <action string>
Function
<aclid>
<direction>
<precedence
<matching
string>
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.
[inner-8021p] <8021p | 8021pL-8021pH>, 8021p:0~7.
[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>.
<actionstring>
parameters
[cos] <0~7>.
[8021p] <0~7>.
[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
7.6
7.7
7.8
Command
Grammar
Function
< admin>
<enable | disable>
Command Grammar
Function
<
monitoringstatus>
<disable | enable>
<
monitoringperiod>
1-4294967295 second
Command
Grammar
Function
< admin>
<enable | disable>
7.9
Command
Grammar
Function
< uni>
Example
Example1 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
Configure ONU Uni Port Parameters
Function
Using the command in any mode,can display the current ONU uni
port parameter properties.
Example
Example1 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
Ingress-Rate
: 0 kps
Egress-Rate
: 0 kps
Function
<type>
<none|broadcast|multicast|broadcast-multicast|unknown-uc|
broadcast-unknown-uc|multicast-unknown-uc|bc-mc-unknownuc>
<admin>
<enable|disable>
<rate>
[0-16777215], unit(bps)
Function
<oper>
Function
<oper>
Function
Function
< max-rate>
Function
< max-rate>
Function
epon(olt-7/onu-1/uni-1)#ctc
<monitoring-period>
statistics
Function
<monitoringstatus>
<monitoringperiod>
designate
statistics
4294967295>second
monitoring
status
<monitoring-status>
with
value
<1-
Function
<tpid >
<cos>
<vlan>
designate ONU uni port aggregation mode vlan valid value <14094> the default is 1.
Aggregationlist
Example
Example1 For the ONU uni port configuration VLAN mode for aggregation, 100 for defaultvlan
epon(olt-7/onu-1/uni-1)> ctc vlan-mode aggregation 0x8100 7 100
Function
<tpid >
<cos>
<vlan>
designate ONU uni port tag mode vlan valid value <14094> the default is 1
Example
Example1For the ONU uni port configuration VLAN mode for tag, 100 for VLAN
epon(olt-7/onu-1/uni-1)> ctc vlan-mode tag 0x8100 7 100
Configure ONU Uni port VLAN trunk mode
trunk
<tpid>
<cos>
Function
<tpid >
<cos>
<vlan>
designate ONU uni port trunk mode vlan valid value <14094> the default is 1.
Vlan-list
Example
Example1For 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
Function
<tpid >
<cos>
<vlan>
designate ONU uni port translation mode vlan valid value <14094> the default is 1.
translation-list
Example
Example1 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,300400
Gramma
Function
Example
Example1 For the ONU uni port configuration VLAN mode for transparent
epon(olt-7/onu-1/uni-1)> ctc vlan-mode transparent
Description
Frame Type
Untag frame
Tag frame
Downstrea
m
Untag frame
Tag frame
Tag Mode
Frame
Direction
Upstream
Frame Type
Untag frame
Tag frame
Downstrea
m
Approach
Untag frame
Tag frame
Approach
Switch frames on ports default VLAN(VPID),forwarding.
Discard the frame
Discard the frame
If the Downstream Tag frame VLAN ID equal to the
configuration of the VID According to VID forwarded to
the appropriate UNI port, and stripping the tag; If 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
Direction
Approach
Upstream
Untag frame
Tag frame
Trunk Mode
Frame
Direction
Upstream
Frame Type
Untag frame
Tag frame
Downstrea
m
Untag frame
Tag frame
Approach
Switch frames on ports default VLAN(VPID),forwarding.
Tag frame VLAN ID belongs to the port "allowed by
VLAN", forwarding; Tag frame VLAN ID does not belong to
the port of the "permitted by VLAN," is discarded
Discard the frame
Tag frame VLAN ID belongs to the port "allowed by
VLAN", forwarding; Tag frame VLAN ID belongs to the port
"allowed by VLAN", forwarding; If the Tag frame VLAN
does not belong to the port of the "permitted by VLAN,"
is discarded.
Function
Example
Example1 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
7.10
Command
Grammar
Function
enter the ONU voip port management mode to configure the ONU
uni parameter.
< pots>
Example
Example1 enter the ONU VOIP port 1 management mode
epon(olt-7/onu-1)#pots 1
epon(olt-7/onu-1/pots-1)#
epon(olt-7/onu-1/pots-1)#
input ? to show the following directory:
ctc
- ctc management mode
exit
- exit current mode
Global command:
logout
- exit the CLI system
ping
- test that a remote host is reachable
show
- show system configuration
tracert
- trace the route to host
Function
Using the command in any mode,can display the current ONU VOIP
port parameter properties.
Example
: Disable
IADPots-State
: Registering
IADPots-ServiceState
IADPots-CodeMode
: Endlocal
: G711A
Function
< admin>
<enable | disable>
enable open the voip port
disable close the voip port
Example
Example1enable the ONU1 VOIP port 1
epon(olt-7/onu-1/pots-1)# ctc admin enable
Function
< User-TID>
Example
Example1 configure ONU 1 VOIP 1 H.248 user TID is 100
epon(olt-7/onu-1/pots-1)# ctc h248-user-tid 100
Command
Gramma
Function
name> <user-password>
< user-account>
<user-name>
<userpassword>
Example
Example1add a user in onu 1 voip port 1, the name is 222, the password is 222
epon(olt-7/onu-1/pots-1)# ctc sip-user-config 1 222 222
8.1
Command
Grammar
Function
<host>
Host ip address
Example
Example1device ip: 192.168.1.100host ip 192.168.1.234 host and device are The direct
connection
Command
Grammar
Function
<host>
Host ip address
Example
Example1
Including Remarks