C-Data OLT FD2100s CLI User Manual
C-Data OLT FD2100s CLI User Manual
(V1)
1
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Contents
1. Preface.......................................................................................................................................6
1.1. Introduction ...............................................................................................................6
1.2. Definition ..................................................................................................................6
2. Configuration Preparation.........................................................................................................7
2.1. Management Model ..................................................................................................7
2.2. Console Port Connection...........................................................................................7
2.3. Network Connection .................................................................................................8
2.4. User Login EPON CLI System .................................................................................8
3. Command Format Illustration ...................................................................................................9
3.1. Command Format......................................................................................................9
3.2. Typical Parameter Category ....................................................................................10
4. System Root Directory............................................................................................................12
4.1. Enable System Log Printed to Super Terminal .......................................................12
4.2. System Debug Mode ...............................................................................................13
4.2.1. debug ...............................................................................................................13
4.2.2. dump................................................................................................................13
4.2.3. log-lvl ..............................................................................................................14
4.3. Enable Mode ...........................................................................................................14
4.3.1. Switch Control Card MAC Address Management ..........................................15
4.3.1.1. Configure Switch Control Card’s MAC Aging Time ..............................15
4.3.1.2. Show Switch Control Card’s MAC Address List ....................................15
4.3.2. Port mirror Management .................................................................................15
4.3.2.1. Mirror Destination Port ...........................................................................15
4.3.2.2. Add Mirror Source Port...........................................................................16
4.3.2.3. Delete Mirror Source Port .......................................................................16
4.3.2.4. Add Mirror Source VLAN ......................................................................17
4.3.2.5. Delete Mirror Source VLAN...................................................................17
4.3.2.6. Clear Mirror Source ................................................................................17
4.3.3. Network Configuration Mode .........................................................................17
4.3.3.1. Configure Management Port’s IP and Sub Mask ....................................18
4.3.3.2. Configure NMS Port Gateway ................................................................19
4.3.4. OLT Management Mode .................................................................................19
4.3.4.1. Enter OLT Management Mode................................................................19
4.3.4.2. Enable OLT .............................................................................................20
4.3.4.3. OLT Bridge Configuration ......................................................................20
4.3.4.4. Restore PON Default Setting ..................................................................22
4.3.4.5. External UDP Management Function......................................................22
4.3.4.6. Link Management Mode .........................................................................24
4.3.4.7. ONU Management Mode ........................................................................30
4.3.4.8. Configure Link ID Overwrite Function...................................................46
4.3.4.9. Configure ONU ID Overwrite Function..................................................46
www.cdatatec.com 2 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
www.cdatatec.com 3 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
www.cdatatec.com 4 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
www.cdatatec.com 5 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
1. Preface
1.1. Introduction
C-Data OLT FD2000S system could support inband and outband network management mode and
EMS network management based on SNMP ,which we would provide our EMS software along
with the parcel for shipping .Besides, we could also support CLI management for user to get
access to our EPON system with more option. Herein ,we would like to introduce our CLE user
manual .However ,we would still highly recommend users to use our EMS management to
monitor and configure the whole EPON system via EMS since we have offered very powerful
function and simple operation in the EMS interface .
1.2. Definition
Product/Abbre Description
viation
GEPON Gigabit Ethernet Passive Optical Network
OLT Optical Line Terminal
ONU Optical Network Unit
www.cdatatec.com 6 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
2. Configuration 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 NMS’s superior
terminal .Super terminal’s basic configuration is as follows :
www.cdatatec.com 7 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
FD2100S 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.
User Password
admin Admin
guest Blank
After you log in successfully, the following interface pops up :
********************************************************************
Command Line Interface for CData EPON System
Hardware Ver: FD2100M-1.0
Software Ver: FD2100M-SWE-1.0.12
www.cdatatec.com 8 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
1 Command Conventions
2 Keyboard Operation Conventions
3 Symbols
Convention Description
Used to highlight the key words (inportant words
Boldface
that should never be modified when input).
Used to denote the parameters that should be
italic replaced by actual values when practical use in
command line.
Items(keywords or arguments) in square brackets [ ]
[]
are optional.
Alternative items are grouped in braces and
(x | y | ... )
separated by vertical bars. One is selected.
Optional alternative items are grouped in square
[x|y|…] brackets and separated by vertical bars. One or none
is selected.
<x-y> Values range from x to y. One is selected.
$ A line starting with the $ sign is comments.
Format Description
<key> Press the key with the key name inside angle
brackets. For example, <Enter>, <Tab>,
<Backspace>, or <A>.
www.cdatatec.com 9 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Eye-catching symbols are also used in the manual to highlight the points worthy of
special attention during the operation. They are defined as follow:
When configure the system with CLI(command lines) ,we will meet with some data types with
fixed format ,which embody some index’s meaning ,expression mode and value range.
Herein,we list some repeated commands to explain their meaning and use.
Port number including gigabitethernet ports from 1 to 16, short for ge1
to ge16 . To mention that ge9 to ge16 can’t be seen, corresponding
port with 8 PON ports in 4 pon cards .We can say that ge9~ge16 is for
PON1-PON8 configuration. While ge1~ge8 is for switch control
card’s 8 uplink port configuration.
www.cdatatec.com 10 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Module ID number
moduleId module name
3 common mbuf pool
4 HDLC driver
5 inter-board communicaiton protocol
9 device online status maintenance
10 system basic configuration
11 user manager
12 switch port attribute management
13 switch port status poll task
14 switch port statistics poll task
15 trunk module
16 mirroring module
17 normal vlan module
18 protocol type based VLAN
19 rapid spanning tree module
moduleId
20 IP network interface
21 misc configuration on switch card
22 ONU base manage configuration
23 ONU advanced manage configuration
24 ONU UNI port configuration
25 ONU Queue configuration
26 ONU ACL Rules configuration
27 ONU port VLAN configuration
28 ONU authentication
29 ONU port QoS configuration
30 ONU IGMP Snooping configuration
31 ONU loopback test configuration
32 ONU dynamic mac table configuration
33 Extern network management module
34 OLT basic configuration
35 OLT advanced configuration
www.cdatatec.com 11 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
[epon>[no] copy-log
Grammar
www.cdatatec.com 12 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon>debug
Grammar
【Remark】
You will find the command as follows after entering debug mode :
4.2.1. debug
Command
epon%debug module <moduleId>
Grammar
【Remark】
4.2.2. dump
Command
epon%dump module <moduleId>
Grammar
www.cdatatec.com 13 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
4.2.3. log-lvl
Command
epon%Log-lvl module <moduleId> <level>
Grammar
There are 5 level for LOG level, marked from 0 to 4 .0 is the highest
level.
0:critical event
<level> 1:important event
2:general event
3:trivial event
4:debug message
Command
epon>enable
Grammar
【Example】
www.cdatatec.com 14 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#mac-address aging <timeout>
Grammar
MAC aging time ,with value range from 10 to 630 seconds .step
<timeout>
length is 10 seconds.
Command
epon#mac-address show <port>
Grammar
Show switch control card’s MAC address list of appointed port. When
Function
<port> is ignored, it will show all ports’ MAC address.
Optional index .only show appointed port’s MAC address list with
<port>
value range from ge1 to ge16.
www.cdatatec.com 15 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Configure the designated port for the switch control card as the mirror
Function
destination port
Designate a port as the mirror destination port with value range from
< port >
gel to ge8.
Command
epon#mirror source add port < portlist > < direction >
Grammar
Command
epon#mirror source delete port < portlist > < direction >
Grammar
Delete mirror source port ,which could appoint one direction’s data
Function
flow as mirror source .
www.cdatatec.com 16 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#mirror source add vlan < vlanid>
Grammar
Configure added mirror source VLAN .All the packet in the VLAN
Function domain will arrive the designated mirror port. Mirror source doesn’t
support data flow in the direction of VLAN domain
Designate the VLAN as mirror source with the value range from1to
< vlanid>
4094
Command
epon#mirror source delete vlan < vlanid>
Grammar
Appoint the deleted mirror source VLAN with value range from 1 to
< vlanid>
4094
Command
epon#mirror source clear
Grammar
Function Clear all mirror source including all source port and source VLAN.
Command
epon#network
Grammar
www.cdatatec.com 17 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
epon#network
epon(net)#
Command
epon(net)#address <ifx-name> <ip-addr> <ip-mask>
Grammar
【Example】
epon(net)#address vi0
Interface vi0:
Ip address :192.168.1.100
Netmask :255.255.255.0
associated vlan :1
admin status :operational
www.cdatatec.com 18 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(net)#gateway <ip-addr>
Grammar
Command
epon#olt <slotid> <oltid>
Grammar
【Example】
www.cdatatec.com 19 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1)#admin <enable | disable>
Grammar
Command
epon(slot3-olt1)#bridge
Grammar
【example】
epon(slot3-olt1)#bridge
Bridge Configuration:
learned mac age limit :0 (ms)
bridge vlan number :64 (bridges)
allow simple bridge :YES
www.cdatatec.com 20 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1)#bridge limit <limit>
Grammar
Change MAC address’s aging time .0 means not to learn MAC , the
Function
unit is 1ms .
Command
epon(slot3-olt1)#bridge vlan-num <vlanNum>
Grammar
Function Set bridge vlan number(tk3723 chipset OLT ‘s fixed number is 64)
Command
epon(slot3-olt1)#bridge overwrite <enable | disable>
Grammar
Command
epon(slot3-olt1)#bridge dsc-unk-mac <enable | disable>
Grammar
www.cdatatec.com 21 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1)#bridge tag-on-sbrg <enable | disable>
Grammar
Command
epon(slot3-olt1)#default
Grammar
【Remark】
The command will delete PON card’s all setting and restore the ex-factory default setting .And the
PON card will reboot automatically.
The third party network management software could manage the GEPON system via the original
Teknovous Host Interface with UDP packet package .
Since FD2102T’s PON card has only one OLT chipset ,the configuration for (slotX-olt2)is the same
as that for (slotX-olt2).
www.cdatatec.com 22 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
pon(slot3-olt1)#ext-mgmt host < ip-add > <port>
Grammar
【Example】
Command
epon(slot3-olt1)# ext-mgmt mgmt-port <port>
Grammar
Configure OLT’s UDP management port ,where the OLT process and
Function
respond the management packet .
Command
epon(slot3-olt1)# ext-mgmt <enable | disable>
Grammar
www.cdatatec.com 23 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1)# ext-mgmt show
Grammar
【Example】
Command
epon(slot3-olt1)#link <linkid>
Grammar
【Example】
www.cdatatec.com 24 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-link1)#block
Grammar
Command
epon(slot3-olt1-link1)#no block
Grammar
Function Remove the current link block to restore the link’s data flow.
Command
epon(slot3-olt1-link1)#dynamic-mac-clear
Grammar
www.cdatatec.com 25 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-link1)#dynamic-mac-list
Grammar
Function Show all the MAC address list learned from the link
【Remark】
Please use the command “ dynamic-mac-refresh” to refresh the link’s dynamic MAC address
before showing the link’s dynamic MAC address .
Command
epon(slot3-olt1-link1)#dynamic-mac-refresh
Grammar
Command
epon(slot3-olt1-link1)#rediscover
Grammar
Command
epon(slot3-olt1-link1)#show
Grammar
【Example 】
www.cdatatec.com 26 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-link1)#sla <dir> min-bw <min-bw>
Grammar
【Remark】
The minimum bandwidth much be lower than or equal to the maximum allowed bandwidth .
Command
epon(slot3-olt1-link1)#sla <dir> max-bw <max-bw>
Grammar
www.cdatatec.com 27 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
downstream
upstream
【Remark】
The maximum bandwidth must higher than or equal to the minimum guaranteed bandwidth .
Command
epon(slot3-olt1-link1)#sla <dir> level <level>
Grammar
Command
epon(slot3-olt1-link1)#sla <dir> burst-size <burst>
Grammar
Appoint the link ‘s maximum burst flow with the valid value range
<burst>
from 1 to 256.
www.cdatatec.com 28 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
downstream or
<dir>
upstream
【Example】
Command
epon(slot3-olt1-link1)#static-mac-add <mac>
Grammar
www.cdatatec.com 29 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
epon(slot3-olt1-link1)#static-mac-list
Grammar
Command
epon(slot3-olt1)#onu <onuid>
Grammar
Function Enter ONU management mode and configure the ONU Parameter.
【Example】
www.cdatatec.com 30 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
pon(slot3-olt1-onu1)#default
Grammar
【Remark】
The command will delete all ONU’s configuration to restore default configuration .The ONU will
reboot automatically .
Command
epon(slot3-olt1-onu1)#igmp port <port> groups <groupnum>
Grammar
<port> Appoint ONU’s port number with value range from fe1 to fe8..
<groupnum> Set ONU port’s IGMP number with valid value range from 0 to 64.
Command
epon(slot3-olt1-onu1)#igmp add <ipaddr> <portlist>
Grammar
www.cdatatec.com 31 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<portlist> Input port number with valid value range from fe1 to fe8 .
Command
epon(slot3-olt1-onu1)#igmp delete <ipaddr>
Grammar
Command
pon(slot3-olt1-onu1)#igmp lmqc <value>
Grammar
Command
pon(slot3-olt1-onu1)#igmp rc<value>
Grammar
Command
epon(slot3-olt1-onu1)#igmp show
Grammar
www.cdatatec.com 32 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
epon(slot3-olt1-onu1)#loopback-test
Grammar
Test ONU link status and this command is interactive command which
need the user to provide the following Parameterstep by step .
【Example 】
Command
epon(slot3-olt1-onu1)# mac-address-show
Grammar
www.cdatatec.com 33 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1)#port < uni-port>
Grammar
Enter ONU port management mode and configure the ONU port’s
Function
Parameter.
< uni-port > Appoint onu port number with valid value range from fe1 to fe8.
【Example】
Command
epon(slot3-olt1-onu1-fe1)#attribute
Grammar
【Example】
www.cdatatec.com 34 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1-fe1)#attribute auto-nego <oper>
Grammar
Command
epon(slot3-olt1-onu1-fe1)#attribute speed <speed>
Grammar
Command
epon(slot3-olt1-onu1-fe1)#attribute duplex < duplex>
Grammar
< duplex> ONU port’s duplex status with value “half” or full
Command
epon(slot3-olt1-onu1-fe1)#attribute flow-ctrl <oper>
Grammar
www.cdatatec.com 35 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
pon(slot3-olt1-onu1-fe1)#bridge
Grammar
【example】
Command
epon(slot3-olt1-onu1-fe1)#bridge < entry-limit>
Grammar
Command
epon(slot3-olt1-onu1-fe1)#bridge age-time < age-time>
Grammar
www.cdatatec.com 36 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1-fe1)#bridge forward-mode < forward-mode>
Grammar
Command
epon(slot3-olt1-onu1-fe1)#dynamic-mac-clear
Grammar
Command
epon(slot3-olt1-onu1-fe1)#dynamic-mac-list
Grammar
Command
epon(slot3-olt1-onu1-fe1)#enable
Grammar
Command
epon(slot3-olt1-onu1-fe1)#no enable
Grammar
www.cdatatec.com 37 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
<info> User information bytes length ,with the longest length 64 bytes
www.cdatatec.com 38 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1)#ponport vlan add <vlanid> <tagModify>
Grammar
Function Add valn for onu PON port and set output tag rule
< vlanid > Appoint added vlan with value range from 0 to 4094.
Output rule :frames from this port could be changed based on the
optional index below:
pass:mo modification
<tagModify>
addtag: add vlan tag to untag frames
【Example】
1.Add vlan100 to ONU PON port and output rule is to add tag.
epon(slot3-olt1-onu1)#ponport vlan add 100 addtag
Command
epon(slot3-olt1-onu1)#ponport vlan delete<vlanid>
Grammar
< vlanid > Appoint vlan to be deleted with valid value from 0 to 4094.
Command
epon(slot3-olt1-onu1)#ponport vlan policy <policy>
Grammar
< policy> Appoint onu pon port’s VLAN forward policy with the index below :
www.cdatatec.com 39 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
frame VID.
policy3:switch VID frames on the vlan domain appointed by the UNI port .
【Example】
【Illustration】
www.cdatatec.com 40 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
exsit
4. policy3:switch VID frames on the vlan domain appointed by the UNI port
Command
epon(slot3-olt1-onu1)#ponport vlan pvid <vlanid>
Grammar
< vlanid > Appoint Vlan ID with valid value range from 0 to 4094
【Example】
Command
epon(slot3-olt1-onu1)#ponport vlan show
Grammar
【Example】
www.cdatatec.com 41 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1-fe1)#vlan add <vlanid> <tagModify>
Grammar
Function Add appointed ONU UNI port’s VLAN and set tag rules.
< vlanid > Appoint added Vlan with valid value from 0 to 4094 .
Output rule :frames from this port could be changed based on the
optional index below:
【Example】
1.Add vlan100 to ONU UNI port 1 and output rule is to remove the tag:
epon(slot3-olt1-onu1-fe1)#vlan add 100 deltag
Command
pon(slot3-olt1-onu1-fe1)#vlan delete<vlanid>
Grammar
< vlanid > Appointed vlan to be deleted with valid value range from 0 to 4094
Command
epon(slot3-olt1-onu1-fe1)#vlan policy <policy>
Grammar
< policy> ppoint onu UNI port’s VLAN forward policy with the index below :
www.cdatatec.com 42 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
frame VID.
policy3:switch VID frames on the vlan domain appointed by the PON port .
【Example】
【Illustration】
www.cdatatec.com 43 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
exsit
8. policy3:switch VID frames on the vlan domain appointed by the PON port
Command
epon(slot3-olt1-onu1-fe1)#vlan pvid <vlanid>
Grammar
< vlanid > Appoint Vlan ID with valid value range from 0 to 4094
【Example】
Command
epon(slot3-olt1-onu1-fe1)#vlan show
Grammar
Command
epon(slot3-olt1-onu1)#reboot
Grammar
www.cdatatec.com 44 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1-onu1)#rstp <oper>
Grammar
Command
pon(slot3-olt1-onu1)#save
Grammar
Command
epon(slot3-olt1-onu1)#user-traffic <oper>
Grammar
Function Configure onu vlan’s Ethernet type and set this vlan’s Ethernet traffic
www.cdatatec.com 45 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
direction;
Input “ vlan-type “ to show onu’s current VLAN Ethernet information.
VLAN’s Ethernet type with default value as 0x8100 and the valid
<type>
value range from 0 to 65535
Whether add the vlan tag of the vlan Ethernet type for the uplink
traffic ;
<uptag>
tag : add tag
Untag: do not add tag
Whether add the vlan tag of the vlan Ethernet type for the downlink
traffic ;
<dntag>
tag : add tag
Untag: do not add tag
Command
epon(slot3-olt1)#overwrite-linkid <oper>
Grammar
Whether new authorized link overwrites the existing link ID after the
Function
Link ID is set .
Command
epon(slot3-olt1)#overwrite-onuid < oper >
Grammar
www.cdatatec.com 46 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt1)#reboot
Grammar
Command
epon(slot3-olt1)#save
Grammar
Command
epon(slot3-olt1)#show
Grammar
【Example】
www.cdatatec.com 47 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#passwd
Grammar
【Example】
【Remark】
Please do save the configuration under the system directory after changing the password and
reboot the system to make the setting valid .
Command
epon#prot-vlan
Grammar
【Example】
epon#prot-vlan
epon(prot-vlan)#
www.cdatatec.com 48 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(prot-vlan)#add prot-type <protocol-type>
Grammar
Add a protocol for the globalallowed protocol pool .Only the protocol
added to the protocol pool can bind the port-protocol-vlan .Protocol
Function
pool can add 8 protocols at most now. Alarm is show when adding
more than 8 protocol vlans .
【Example】
epon(prot-vlan)#add prot-type ip
Command
epon(prot-vlan)#delete prot-type <protocol-type>
Grammar
www.cdatatec.com 49 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(prot-vlan)#clean
Grammar
Command
epon(prot-vlan)#prot-vlan bind <portlist> <protocol-type> <vlanid>
Grammar
Create protocol-vlan bind rule for the appointed port .The bind rule is
based on port ,so the same port’s protocol could only bind only one
Function VLAN ID .Different protocols could bind the same VLAN ID. Only
the protocol in the protocol pool could be used to bind
port-protocol-vlan .
<vlanid> Appoint the bonded VLAN ID with integer value from 1 to 4094.
【Example】
Command
epon(prot-vlan)#no prot-vlan bind <portlist> <protocol-type>
Grammar
www.cdatatec.com 50 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<portlist> Appointed port list ,which could be anyone from gel to ge16.
Command
epon(prot-vlan)#enable <portlist>
Grammar
<portlist> Appointed port list ,which could be any one from ge1 to ge16 .
【Example】
1.Enable port ge1 ,ge2 ,ge3 and ge6 ‘s protocol based vlan function
epon(prot-vlan)#enable ge1-ge3,ge6
Command
epon(prot-vlan)#no enable <portlist>
Grammar
<portlist> Appointed port list ,which could be any one from ge1 to ge16 .
Command
epon(prot-vlan)#show
Grammar
www.cdatatec.com 51 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【example】
epon(prot-vlan)#show
Enabled protocols:
1:8863h(pppoe)
2:0800h(ip)
Protocol based VLAN on ge1 is enabled
Configured protocols:
0800h(ip) bind to vlan 2000
Protocol based VLAN on ge2 is enabled
Protocol based VLAN on ge3 is enabled
Protocol based VLAN on ge4 is disabled
Protocol based VLAN on ge5 is disabled
Protocol based VLAN on ge6 is enabled
Protocol based VLAN on ge7 is disabled
Protocol based VLAN on ge8 is disabled
Protocol based VLAN on ge9 is disabled
Protocol based VLAN on ge10 is disabled
Protocol based VLAN on ge11 is disabled
Protocol based VLAN on ge12 is disabled
Protocol based VLAN on ge13 is disabled
Protocol based VLAN on ge14 is disabled
Protocol based VLAN on ge15 is disabled
Protocol based VLAN on ge16 is disabled
Limit
Command
epon#rate-ctrl mode <bps|pps>
Grammar
www.cdatatec.com 52 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#rstp
Grammar
【Example】
epon#rstp
epon(rstp)#
Command
epon(rstp)#bridge fdelay < fdelay >
Grammar
www.cdatatec.com 53 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(rstp)#bridge maxage < maxage>
Grammar
Configure RSTP bridge’s maximum valid age which is the valid time
Function
for receiving BPDU packet from appointed port’s bridge.
Command
epon(rstp)#bridge priority <priority>
Grammar
Command
epon(rstp)#enable
Grammar
【Example】
epon(rstp)#enable
Command epon(rstp)#disable
www.cdatatec.com 54 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
epon(rstp)#hold-count <holdcount>
Grammar
Command
epon(rstp)#port <portlist> edgecfg <edge>
Grammar
Configure RSTP port’s managed edge port attribute. Appoint the port
whether to be edge port or not .Edge port does not go through
Function
“discarding-learning-forwarding “ step but transfer to switch status
directly .
Configure appointed RSTP port’s edge port attribute with byte value
<edge>
such as edge ,non-edge and auto .
Command
epon(rstp)#port <portlist> mcheck
Grammar
www.cdatatec.com 55 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(rstp)#port <portlist> p2pcfg <p2p>
Grammar
Appointed RSTP port index with bytes value such as p2p,shared and
<p2p>
auto .
Command
epon(rstp)#port <portlist> path-cost <pathcost>
Grammar
Configure RSTP port’s link cost .It’s used to calculate the root link’s
Function cost .The port with the lowest root link cost will change to forward
port when delivering the same bridge ID .
Command
epon(rstp)#rstp port <portlist> priority <priority>
Grammar
Configure RSTP port’s priority level. The port with priority will
Function
change to forward port when delivering the same bridge ID and
www.cdatatec.com 56 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(rstp)#show
Grammar
【Example】
epon(rstp)#show
RSTP Bridge Status:
RSTP Setting :Enable
Bridge ID [PRI-MAC] :32768-00:a1:02:22:11:89
Bridge Hello Time :2 sec
Bridge Max Age :20 sec
Bridge Forward Delay :15 sec
Transmit Hold Count :6
Root Bridge ID :32768-00:a1:02:22:11:89
Root Path Cost :0
RSTP Port Status:
PID Mode Pri PathCost EdgeCfg OperEdge P2PCfg OperP2P State
1 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
2 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
3 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
4 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
5 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
6 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
7 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
8 RSTP 128 20000 Auto Non-Edge Auto Shared LinkDown
Total 8 RSTP ports dumped.
www.cdatatec.com 57 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#swmode pve <mode> <net-port>
Grammar
Function Configure private vlan mode for uplink port of switch control card
Command
epon#swmode show
Grammar
【Example】
epon#swmode show
Current basic switch mode :vlan-unaware
Current private vlan mode :disabled
www.cdatatec.com 58 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#swmode vlan <mode>
Grammar
Command
epon#swport <port>
Grammar
Enter port management mode of switch control card .under this mode ,
Function
you can configure several index function.
【example】
epon#swport ge1
epon(ge1)#
www.cdatatec.com 59 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#acc-frame <type>
Grammar
【Remark】
Command
epon(ge1)#def-pri < privalue >
Grammar
Set switch control card’s default priority level ,similar to PVID .When
port received untagged vlan packet ,the packet is set by priority .The
Function priority level is port’s default 802.1P priority .The data packet will
enter different priority queue to receive different service according
to corresponding priority level and flow category .
Command
epon(ge1)#duplex < duplex >
Grammar
www.cdatatec.com 60 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#enable
Grammar
Enable the switch control card port to deliver and receive packet.
Function Under some circumstance, user can use this function to test the
networking performance.
Command
epon(ge1)#no enable
Grammar
Disable the switch control card port to deliver and receive packet.
Function Under some circumstance, user can use this function to test the
networking performance.
Command
epon(ge1)#flow-ctrl <ctrl>
Grammar
Configure switch control card port’s flow control mode. Both optical
port mode and electrical mode could support flow control
configuration enforcedly and auto-negotiation;
Function Under the half-duplex mode ,the port enable the back flow control
function default;
Under the full-duplex mode, you can enable or disable flow control in
compliant with 802.x standard.
www.cdatatec.com 61 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#ingr-filter <operator>
Grammar
Command
epon(ge1)#mode <mode>
Grammar
Command
epon(ge1)#nest-vlan <operator>
Grammar
Command
epon(ge1)#prot-vlan <operator>
Grammar
www.cdatatec.com 62 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Remark】
This command’s effect is the same as “[no] enable <portlist>” underthe protocol vlan
configuration mode .
4.3.5.6.Enable Port Protocol VLAN Function
4.3.5.7.Disable Port Protocol Vlan Function
Command
epon(ge1)#pvid <pvid>
Grammar
Command
epon(ge1)#rate-ctrl broadcast <status>
Grammar
<status> enable
disable
Command
epon(ge1)#rate-ctrl multicast <status>
Grammar
enable
<status>
disable
www.cdatatec.com 63 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#rate-ctrl threshold <threshold>
Grammar
Function Set switch control card port’s restricted packet rate limits
Command
epon(ge1)#rate-ctrl unkown-uc <status>
Grammar
enable
<status>
disable
Command
epon(ge1)#reautoneg
Grammar
Command
epon(ge1)#show
Grammar
【Example】
www.cdatatec.com 64 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
epon(ge1)#show
--------------- PortId 1 Attribution ------------
Mode :copper AdminStatus :enable
PVID :1 DefaultPriority :0
IngressFilter :disable AccFrameType :all
CfgSpeed :auto CfgDuplex :auto
CfgFlwCtrl :auto shutDown :no
BcRateCtrl :disable McCtrlMode :disable
UnkUcRateCtrl:disable RateCtrlMode :BPS
BcRateThrs :0 ProtStatus :down
WorkSpeed :10m WorkDuplex :half
WorkFlwCtrl :enable LinkStatus :down
---------------------- End ------------------------
Command
epon(ge1)#shutdown
Grammar
Command
epon(ge1)#no shutdown
Grammar
Command
epon(ge1)#speed <speed>
Grammar
Function Configure switch control card port’s speed.Under fiber port mode ,the
www.cdatatec.com 65 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
port could only work at the speed of 1000Mbps;Under the copper port
mode ,the port can work at different speed and available for
auto-negotiation function configuration .
10m: 10mbps
100m: 100mbps
<speed>
1g: 1gbmp(1000mbps)
10g: 10gbps
Auto: auto-negotiation
Command
epon#system
Grammar
【Example】
epon#system
epon(sys)#
Command
epon(sys)#cfg-sync <slot> <status>
Grammar
www.cdatatec.com 66 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
When this function is enabled , ONU will remove its own nvs
automatically before ONU authorized to OLT .All configuration under
the ONU will be cleared .All ONU’s configuration is valid after
authorized under the OLT .
【Remark】
This function default is close because enabling it will make ONU’s saved configuration
lost ,needing to configure it again undet the OLT .Please use this function properly .
Command
epon(sys)#config backup<host>
Grammar
Function Put all EPON sytems’s configuration file backup to TFTP server.
Command
epon(sys)#config upgrade <host>
Grammar
Command
e pon(sys)#console speed<speed>
Grammar
www.cdatatec.com 67 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Value range:bps2400-bps115200。
<speed>
Remark: value should be 2400*2^n (n is integer)
Command
epon(sys)#onu-auth
Grammar
【Example】
epon(sys)#onu-auth
epon(sys-onuauth)#
Command
epon(sys-onuauth)#inv-onu clear
Grammar
Clear current illegal ONU list ,then the illegal onu can get a new
Function
chance to be authorized under OLT .
Command
epon(sys-onuauth)#inv-onu show
Grammar
Function Show illegal ONU list and list all illegal ONU’s MAC address
www.cdatatec.com 68 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(sys-onuauth)#list add <start> <end> <type>
Grammar
Function Add an ONU address list and appoint its authorization type
Set onu authorization type under address list with following value:
Blacklist: the ONU with this type of MAC address can’t be authorized
<type> to OLT .
Whitelist: the onu beyond this MAC address range can’t be
authorized .
【Example】
1.Add the ONU with the MAC address : 00:A1:02:01:12:B0 to the blacklist
Command
epon(sys-onuauth)#list delete <index>
Grammar
Command
epon(sys-onuauth)#list show
Grammar
【Example】
www.cdatatec.com 69 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
epon(sys-onuauth)#list show
NO. Start Address End Address Type
1 00:a1:02:01:12:b0 00:a1:02:01:12:b0 blacklist
Command
epon(sys-onuauth)#type <type>
Grammar
Command
epon(sys)#read-comm <community>
Grammar
Read community with bytes serial ,the longest length couln’t be over
< community >
26 bytes ,such as public .
Command
epon(sys)#reboot <device> <slot> <olt> <onu>
Grammar
www.cdatatec.com 70 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<slot> Appoint PON card’s slot number with valid value from 1 to 4 .
Appoint PON port number under a pon card slot with valid value
<olt>
from 1 to 2 .
【Example】
epon(sys)#reboot
Or
epon(sys)#reboot ctrl-card
epon(sys)#reboot pon-card 2
epon(sys)#reboot onu 3 2 1
3.Reboot the whole EPON system including switch control card ,all online PON card and all
online ONU)
epon(sys)#reboot all
Command
epon(sys)#restore <device> <slot> <olt> <onu>
Grammar
www.cdatatec.com 71 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<slot> Appoint PON card’s slot number with valid value from 1 to 4 .
Command
epon(sys)#save <device> <slot> <olt> <onu>
Grammar
<slot> Appoint PON card slot number with valid value from 1 to 4 .
www.cdatatec.com 72 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(sys)#trap-addr <index> <ip-addr>
Grammar
Command
epon(sys)#write-comm <community>
Grammar
Command
epon#trunk <trunkid>
Grammar
Create a trunk group and enter the trunk management mode for
Function
configuration .
【Example】
epon#trunk 1
epon(trunk1)#
www.cdatatec.com 73 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(trunk1)#balance-algorithm < balance>
Grammar
Command
epon(trunk1)#delete
Grammar
Command
epon(trunk1)#member <portlist>
Grammar
【Example】
epon(trunk1)#member ge1,ge3-ge4,ge8
www.cdatatec.com 74 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#show trunk
Grammar
【Example】
epon#show trunk
Traffic balance algorithm: 1 (based on mac address)
Trunk 1:
member ports :ge1,ge3-ge4,ge8
Command
epon#user access <name> < access >
Grammar
Appointed user name under the priority mode with the length from 4
<name>
to 15 bytes.
admin : manager who has all the configuration and operation rights .
<access>
Guest: guest who could only ready the operation. Configuration
【Remark】
Only the system administer has the rights to change the system user’s priority.
www.cdatatec.com 75 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
admin : administer who has all the configuration and operation rights .
<access>
Guest: guest who could only ready the operation. Configuration
Command
epon#user delete <name>
Grammar
<name> Appoint the user name to be deleted with the bytes length from 4 to 15
【Remark】
Only the system’s administer( the user priority level is 1) has the rights to add and delete
system users .
Command
epon#user passwd <name> [<password>]
Grammar
www.cdatatec.com 76 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#user show
Grammar
【Example】
epon#user show
User: admin Access: administrator|0 Timeout: 1800
User: guest Access: guest|0 Timeout: 600
Command
epon#user timeout <name> <timeout>
Grammar
Change appointed user’s timeout time. Within the timeout time ,user
Function
can’t make any operation and log out the system automatically.
<name> Change timeout user name with the byte length from 4 to 15 bytes.
Appointed user’s timeout time with the valid index range from 1to
<timeout>
3600 and unit is second.
【Remark】
Change user’s timeout function ,which is valid after logging in the system again .
Command
epon#vlan <vlanid>
Grammar
Function Create a vlan and enter vlan management mode for configuration .
< vlanid > Vlan ID to be modified or created with valid value from 1 to 4094.
【Example】
www.cdatatec.com 77 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
epon#vlan 100
epon(vlan100)#
Command
epon(vlan100)#delete member <portlist>
Grammar
<portlistt> Appoint vlan member port list ,any port from ge1 to ge16.
Command
epon(vlan100)#delete
Grammar
Function Delete current vlan and all member ports under this vlan.
Command
epon(vlan100)#member <portlist> <tag>
Grammar
Function Add vlan member port and set its tag mode.
【Example】
www.cdatatec.com 78 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
1.add switch control card port ge1,ge2,ge3 with vlan 100 to the tag member ports ,while port
ge4,ge5,ge16 are member ports with vlan100 without tag .
Command
epon#show vlan
Grammar
【Example】
epon#show vlan
vlan 1:
tagged ports :
untagged ports :ge1-ge16
vlan 100:
tagged ports :ge1-ge3
untagged ports :ge4-ge5,ge16
www.cdatatec.com 79 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon>show cpu
Grammar
【Example】
epon>show cpu
NAME ENTRY TID PRI total % (ticks) delta % (ticks)
------------ ------------ ---------- --- --------------- ---------------
tJobTask 0xd19a4 0x8ac158 0 0% ( 0) 0% ( 0)
mTrAging 0x43975c 0xf7c350 5 0% ( 0) 0% ( 0)
tErfTask 0xb46bc 0x8b5a30 10 0% ( 0) 0% ( 0)
intSched0 0x31a72c 0xf0b5e0 10 0% ( 0) 0% ( 0)
intSched1 0x31a72c 0xf16880 10 0% ( 0) 0% ( 0)
tNetTask 0x363c0 0x945d00 40 0% ( 0) 0% ( 0)
tIbcpPoll 0x13dc7c 0x1243cd0 45 0% ( 0) 0% ( 0)
tIbcpRx 0x13e74c 0x1241338 46 13% ( 2) 13% ( 2)
tXbdService 0xccba0 0xa1af80 50 0% ( 0) 0% ( 0)
tFtp6d 0x2f97c 0xa16ef0 56 0% ( 0) 0% ( 0)
tUserLog 0x16a9c0 0xf826a8 60 0% ( 0) 0% ( 0)
tUpgradeTask 0x167174 0x1348aa8 64 0% ( 0) 0% ( 0)
KERNEL 0% ( 0) 0% ( 0)
INTERRUPT 0% ( 0) 0% ( 0)
IDLE 86% ( 13) 86% ( 13)
TOTAL 99% ( 15) 99% ( 15)
Command
epon>show mem
Grammar
www.cdatatec.com 80 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
epon>show mem
status bytes blocks avg block max block
-------- -------------- ---------- ---------- ----------
current
free 12695080 4 3173770 12681624
alloc 12055336 1185 10173 -
internal 408 2 204 -
cumulative
alloc 12702512 1795 7076 -
peak
alloc 12059424 - - -
Command
epon>show task
Grammar
Current ,C-Data has developed and produced a wide range of ONU models ,such as only data
ONU FD101H,FD111H,FD112H,FD104H,FD104B,FD108B ,and ONU of various service
function, such as FD304H(4FE+RF),FD204H(4FE+2POTS_,FD404H(4FE+2POTS+RF).So
far ,our EMS and CLI NMS could both support data and RF-cutoff function in our EMS or in our
CLI management interface. As for VOIP function, we could only support CLI management on the
console port of the ONU .
Command
epon(slot3-olt2-onu9)#catv enable
Grammar
www.cdatatec.com 81 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot3-olt2-onu9)#catv disable
Grammar
Command
alias <alias> <cmd>
Grammar
Command
cd <directory>
Grammar
Command
clear
Grammar
www.cdatatec.com 82 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
copy <scr-file> <dest-file>
Grammar
Copy file ;
Function When <dest-file> is ignored , <scr-file> ‘s contents is printed on the
screen.
Command
date
Grammar
Command
del <filename>
Grammar
Command
exit
Grammar
Exit from the current command mode and return to the previous
Function
command mode .
www.cdatatec.com 83 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
end
Grammar
4.5.9. Help
Command
help
Grammar
Command
history
Grammar
Command
logout
Grammar
Command
ls
Grammar
www.cdatatec.com 84 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
4.5.13. PING
Command
ping <host>
Grammar
Command
pwd
Grammar
4.5.15. TFTP
Command
tftp <cmd> <filename> < mode>
Grammar
TFTP command:
< cmd> get : download file
Put: upload file
File format :
<mode> ascii file format
binary format
www.cdatatec.com 85 [email protected]