C-Data OLT FD1002S CLI User Manual V1.2 20150603
C-Data OLT FD1002S CLI User Manual V1.2 20150603
(V1.2)
1
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Contents
1. Preface......................................................................................................................................5
1.1. Introduction..............................................................................................................5
1.2. Definition...................................................................................................................5
2. Configuration Preparation........................................................................................................6
2.1. Management Model.................................................................................................6
2.2. Console Port Connection...........................................................................................6
2.3. Network Connection.................................................................................................7
2.4. User Login EPON CLI System.....................................................................................7
3. Command Format Illustration...................................................................................................8
3.1. Command Format.....................................................................................................8
3.2. Typical Parameter Category......................................................................................9
4. System Root Directory............................................................................................................11
4.1. Enable System Log Printed to Super Terminal.........................................................11
4.2. System Debug Mode...............................................................................................12
4.2.1. debug..............................................................................................................12
4.2.2. dump...............................................................................................................12
4.2.3. log-lvl...............................................................................................................13
4.3. Enable Mode...........................................................................................................13
4.3.1. Switch Control Module MAC Address Management.......................................14
4.3.1.1. Configure switch control module’s MAC Aging Time.......................14
4.3.1.2. Show switch control module’s MAC Address List............................14
4.3.2. Port mirror Management................................................................................14
4.3.2.1. Mirror Destination Port...................................................................14
4.3.2.2. Add Mirror Source Port...................................................................15
4.3.2.3. Delete Mirror Source Port...............................................................15
4.3.2.4. Clear Mirror Source.........................................................................15
4.3.3. Network Configuration Mode.........................................................................16
4.3.3.1. Configure Management Port’s IP and Sub Mask.............................16
4.3.3.2. Configure NMS Port Gateway..........................................................17
4.3.4. OLT Management Mode..................................................................................17
4.3.4.1. Enter OLT Management Mode........................................................17
4.3.4.2. Enable OLT.......................................................................................18
4.3.4.3. OLT Bridge Configuration.................................................................18
4.3.4.4. Restore PON Default Setting............................................................20
4.3.4.5. Link Management Mode.................................................................21
4.3.4.6. ONU Management Mode................................................................27
4.3.4.7. Configure Link ID Overwrite Function.............................................40
4.3.4.8. Configure ONU ID Overwrite Function............................................40
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
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/ Description
Abbreviation
EPON Gigabit Ethernet Passive Optical Network
OLT Optical Line Terminal
ONU Optical Network Unit
www.cdatatec.com 5 [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 module .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 6 [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 EPON
products.
User Password
admin Admin
guest Blank
After you log in successfully, the following interface pops up :
********************************************************************
www.cdatatec.com 7 [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
www.cdatatec.com 8 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<key> Press the key with the key name inside angle
brackets. For example, <Enter>, <Tab>,
<Backspace>, or <A>.
<key1 + key2> Press the keys concurrently. For example,
<Ctrl+Alt+A> means the three keys should be
pressed concurrently.
<key1, key2> Press the keys in turn. For example, <Alt, A> means
the two keys should be pressed in turn.
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.
www.cdatatec.com 9 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
ge1 to ge5.)
www.cdatatec.com 10 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Ater you log in successfully , input “?”or “help”to show the current directory
epon> ?
[no] copy-log - print log messages on the current shell.
debug - enter debug mode
enable - enter privileged mode
exe - Execute raw commands(global C functions).
show - show various parameters
www.cdatatec.com 11 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
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】
www.cdatatec.com 12 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
4.2.2. dump
Command
epon%dump module <moduleId>
Grammar
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 13 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
password:
epon#
Command
epon#mac-address aging <timeout>
Grammar
Command
epon#mac-address show
Grammar
www.cdatatec.com 14 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#mirror destination port < port >
Grammar
Configure the designated port for the switch control module as the
Function
mirror destination port
Designate a port as the mirror destination port with value range from
< port >
gel to ge4.
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 .
< direction > Appoint deleted mirror sour’s data flow direction:
ingress
www.cdatatec.com 15 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
egress
both
Command
epon#mirror source clear
Grammar
Function Clear all mirror source including all source port and source VLAN.
Command
epon#network
Grammar
【Example】
epon#network
epon(net)#
Command
epon(net)#address <ifx-name> <ip-addr> <ip-mask>
Grammar
www.cdatatec.com 16 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
epon(net)#address vi0
Interface vi0:
Ip address :192.168.1.100
Netmask :255.255.255.0
associated vlan :1
admin status :operational
Command
epon(net)#gateway <ip-addr>
Grammar
www.cdatatec.com 17 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#olt <slotid> <oltid>
Grammar
【Example】
2. Manage PON-1 .
epon#olt 0 1
epon(slot0-olt1)#
www.cdatatec.com 18 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1)#admin <enable | disable>
Grammar
Command
epon(slot0-olt1)#bridge
Grammar
【example】
epon(slot0-olt1)#bridge
Bridge Configuration:
learned mac age limit :0 (ms)
bridge vlan number :64 (bridges)
allow simple bridge :YES
mac learn overwrite :NO
discard unknown mac :NO
allow tagged frame :YES
Command
epon(slot0-olt1)#bridge limit <limit>
Grammar
Change MAC address’s aging time .0 means not to learn MAC , the
Function
unit is 1ms .
www.cdatatec.com 19 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1)#bridge vlan-num <vlanNum>
Grammar
Function Set bridge vlan number(tk3723 chipset OLT ‘s fixed number is 64)
Command
epon(slot0-olt1)#bridge overwrite <enable | disable>
Grammar
Command
epon(slot0-olt1)#bridge dsc-unk-mac <enable | disable>
Grammar
Command
epon(slot0-olt1)#bridge tag-on-sbrg <enable | disable>
Grammar
www.cdatatec.com 20 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1)#default
Grammar
【Remark】
The command will delete PON module’s all setting and restore the ex-factory default setting .And
the PON module will reboot automatically.
Command
epon(slot0-olt1)#link <linkid>
Grammar
【Example】
www.cdatatec.com 21 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1-link1)#block
Grammar
Command
epon(slot0-olt1-link1)#no block
Grammar
Function Remove the current link block to restore the link’s data flow.
Command
epon(slot0-olt1-link1)#dynamic-mac-clear
Grammar
Command
epon(slot0-olt1-link1)#dynamic-mac-list
Grammar
Function Show all the MAC address list learned from the link
www.cdatatec.com 22 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【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(slot0-olt1-link1)#dynamic-mac-refresh
Grammar
Command
epon(slot0-olt1-link1)#rediscover
Grammar
Command
epon(slot0-olt1-link1)#show
Grammar
【Example 】
www.cdatatec.com 23 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-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(slot0-olt1-link1)#sla <dir> max-bw <max-bw>
Grammar
【Remark】
www.cdatatec.com 24 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
The maximum bandwidth must higher than or equal to the minimum guaranteed bandwidth .
Command
epon(slot0-olt1-link1)#sla <dir> level <level>
Grammar
Command
epon(slot0-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.
Command
epon(slot0-olt1-link1)#sla <dir>
Grammar
downstream or
<dir>
upstream
【Example】
www.cdatatec.com 25 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1-link1)#static-mac-add <mac>
Grammar
Command
epon(slot0-olt1-link1)#static-mac-del <mac>
Grammar
Command epon(slot0-olt1-link1)#static-mac-list
www.cdatatec.com 26 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
epon(slot0-olt1)#onu <onuid>
Grammar
Function Enter ONU management mode and configure the ONU Parameter.
【Example】
www.cdatatec.com 27 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
pon(slot0-olt1-onu1)#default
Grammar
【Remark】
The command will delete all ONU’s configuration to restore default configuration .The ONU will
reboot automatically .
Command
epon(slot0-olt1-onu1)#ctc igmp-snooping fast-leave <state>
Grammar
enable
<state>
disable.
Command
epon(slot0-olt1-onu1)#ctc igmp-snooping mode <mode>
Grammar
igmp-mld-snooping
controllable-igmp-mld
igmp-snooping-only
<mode> controllable-igmp
disable
*Only igmp-mld-snooping and disable are valid
www.cdatatec.com 28 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1-onu1-fe1)#ctc igmp-snooping max-group <groups>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#ctc igmp-snooping tag-handle <mode>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#ctc igmp-snooping show
Grammar
Command
epon(slot0-olt1-onu1)#info <info>
Grammar
www.cdatatec.com 29 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-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 .
loopback location: mac 或 phy
Function
number of frames:1-65535
payload length:64-1500
vlan tag:0-4094
【Example 】
Command
epon(slot0-olt1-onu1)# mac-address-show
Grammar
www.cdatatec.com 30 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-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 fe24.
【Example】
Command
epon(slot0-olt1-onu1-fe1)#attribute
Grammar
【Example】
www.cdatatec.com 31 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
duplex :half
Command
epon(slot0-olt1-onu1-fe1)#attribute auto-nego <oper>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#attribute speed <speed>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#attribute duplex < duplex>
Grammar
< duplex> ONU port’s duplex status with value “half” or full
Command
epon(slot0-olt1-onu1-fe1)#attribute flow-ctrl <oper>
Grammar
www.cdatatec.com 32 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
pon(slot0-olt1-onu1-fe1)#bridge
Grammar
【example】
Command
epon(slot0-olt1-onu1-fe1)#bridge < entry-limit>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#bridge age-time < age-time>
Grammar
Command
epon(slot0-olt1-onu1-fe1)#bridge forward-mode < forward-mode>
Grammar
www.cdatatec.com 33 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1-onu1-fe1)#dynamic-mac-clear
Grammar
Command
epon(slot0-olt1-onu1-fe1)#dynamic-mac-list
Grammar
Command
epon(slot0-olt1-onu1-fe1)#enable
Grammar
Command
epon(slot0-olt1-onu1-fe1)#no enable
Grammar
Command
epon(slot0-olt1-onu1-fe1)#info <info>
Grammar
www.cdatatec.com 34 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<info> User information bytes length ,with the longest length 64 bytes
www.cdatatec.com 35 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Conversion vlan tag in the range of 0 to 4095. UNI port is set to tag or
<svlantag>
trunk mode, this parameter should be set to 0 or null.
【Example】
Command
epon(slot0-olt1-onu1-fe1)#ctc vlan delete cVLANTag <cvlantag>
Grammar
< vlanid > Appointed vlan to be deleted with valid value range from 0 to 4094
4.3.4.6.7.1.3. Configure ONU UNI Port’s VLAN Forwarding Mode and PVID
Function Configure ONU UNI port’s VLAN forwarding Mode and PVID
www.cdatatec.com 36 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
1.Set ONU1 port 1 transparent mode:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy0
2 Set ONU1 port 1 to tag mode, set the port pvid to 100:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy1 etherType 33024 pvid 100
3 Set ONU1 port 1 to trunk mode, set the port pvid to 1:
epon(slot0-olt1-onu1-fe1)#ctc vlan policy policy4 etherType 33024 pvid 1
【Illustration】
2. policy1:Access mode
Direction Frame Type Approach
Ingress Untagged Insert VLAN tag (main parameter is the VID), forwarding.
(TPID = 0x8100, Pri = 0, VID = Port VID))
Tagged ignore the frame
Egress Untagged ignore the frame
Tagged Forward to the appropriate UNI port and strip VLAN TAG
according to VID; if frame tagged VLAN ID is not equal to
Port VID, the frame will be discarded.
3. policy2:Translation mode
Direction Frame Type Approach
Ingress Untagged Insert VLAN Tag, forwarding. (TPID = 0x8100, Pri = 0,VID =
Port VID)
Tagged If VID of frame is included in input VLAN list of the UNI
port the VID will be translated to output VID. Then
forward the frame.
Discard the frame if VID of frame is not included in input
VLAN list of the UNI port
Egress Untagged ignore the frame
Tagged If VID of frame is included in output list of the UNI port
the VID will be translated to input VID. Then forward the
www.cdatatec.com 37 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
frame.
Strip VLAN tag and forward the frame if the VID is equal
to PVID
Discard the frame if VID of frame is not included in the
output VLAN list of the UNI port.
4. policy4:Trunk mode
Direction Frame Type Approach
Ingress Untagged Insert VLAN Tag, forwarding. (TPID = 0x8100, Pri =
0,VID=Port VID)
Tagged Forward the frame if VID of frame is included in “allows
VLAN” list;
Discarded the frame if VID of frame isn’t included in
“allows VLAN” list;
Egress Untagged ignore the frame
Tagged Forward the frame if VID of frame is included in “allows
VLAN” list;
Strip VLAN TAG and forward the frame if the VID is equal
to PVID
Discarded the frame if VID of frame isn’t included in
“allows VLAN” list;
Command
epon(slot0-olt1-onu1-fe1)#ctc vlan show
Grammar
Command
epon(slot0-olt1-onu1)#reboot
Grammar
www.cdatatec.com 38 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
pon(slot0-olt1-onu1)#save
Grammar
Command
epon(slot0-olt1-onu1)#user-traffic <oper>
Grammar
Configure onu vlan’s Ethernet type and set this vlan’s Ethernet traffic
Function direction;
Input “ vlan-type “ to show onu’s current VLAN Ethernet information.
VLAN’s Ethernet type with default value as 0x8100 and the valid value
<type>
range from 0 to 65535
<uptag> Whether add the vlan tag of the vlan Ethernet type for the uplink
www.cdatatec.com 39 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
traffic ;
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(slot0-olt1)#overwrite-linkid <oper>
Grammar
Whether new authorized link overwrites the existing link ID after the
Function
Link ID is set .
Command
epon(slot0-olt1)#overwrite-onuid < oper >
Grammar
Command
epon(slot0-olt1)#reboot
Grammar
www.cdatatec.com 40 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(slot0-olt1)#save
Grammar
Command
epon(slot0-olt1)#show
Grammar
【Example】
Command
epon#passwd
Grammar
www.cdatatec.com 41 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【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#rstp
Grammar
【Example】
epon#rstp
epon(rstp)#
www.cdatatec.com 42 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Grammar
Command
epon(rstp)#bridge maxage < maxage>
Grammar
Configure RSTP bridge’s maximum valid age which is the valid time for
Function
receiving BPDU packet from appointed port’s bridge.
Command
epon(rstp)#bridge priority <priority>
Grammar
Command
epon(rstp)#enable
Grammar
【Example】
epon(rstp)#enable
www.cdatatec.com 43 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(rstp)#disable
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 44 [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
www.cdatatec.com 45 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Configure RSTP port’s priority level. The port with priority will change
Function to forward port when delivering the same bridge ID and having the
same link cost .
Configure appointed RSTP port’s priority level with integer value valid
<priority>
from 1 to 240 ,step length 16 ,meaning 16xN(n is from 0 to 15 ) .
Command
epon(rstp)#show
Grammar
【Example】
epon(rstp)#show
RSTP Bridge Status:
RSTP Setting :Disable
Bridge ID [PRI-MAC] :32768-e0:67:b3:00:63:07
Bridge Hello Time :2 sec
Bridge Max Age :20 sec
Bridge Forward Delay :15 sec
Transmit Hold Count :6
Root Bridge ID :0-00:00:00:00:00:00
Root Path Cost :0
RSTP Port Status:
PID Mode Pri PathCost EdgeCfg OperEdge P2PCfg OperP2P State
1 RSTP 128 20000 Auto Non-Edge Auto P2P LinkDown
2 RSTP 128 20000 Auto Non-Edge Auto P2P LinkDown
3 RSTP 128 20000 Auto Non-Edge Auto P2P LinkDown
4 RSTP 128 20000 Auto Non-Edge Auto P2P LinkDown
www.cdatatec.com 46 [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 module
Command
epon#swmode show
Grammar
【Example】
epon#swmode show
Current basic switch mode :vlan-unaware
Current private vlan mode :disabled
Command
epon#swmode vlan <mode>
Grammar
www.cdatatec.com 47 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
module
Command
epon#swport <port>
Grammar
【example】
epon#swport ge1
epon(ge1)#
www.cdatatec.com 48 [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
Command
epon(ge1)#duplex < duplex >
Grammar
www.cdatatec.com 49 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#enable
Grammar
Enable the switch control module 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 module 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
Command
epon(ge1)#ingr-filter <operator>
Grammar
www.cdatatec.com 50 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
When the port is not the vlan member appointed by frame VID ,the
packet is dumped at the time of receiving the frame .
Command
epon(ge1)#mode <mode>
Grammar
Command
epon(ge1)#nest-vlan <operator>
Grammar
Command
epon(ge1)#prot-vlan <operator>
Grammar
【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
www.cdatatec.com 51 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#pvid <pvid>
Grammar
Command
epon(ge1)#reautoneg
Grammar
Command
epon(ge1)#show
Grammar
【Example】
epon(ge1)#show
------------------ PortId 2 Attribution --------------------
Auto-Negotiation:enable AdminStatus :enable
PVID :1 DefaultPriority :0
Learning :enable AccFrameType :All
CfgSpeed :1000M CfgDuplex :full
WorkSpeed :10M WorkDuplex :half
www.cdatatec.com 52 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(ge1)#shutdown
Grammar
Command
epon(ge1)#no shutdown
Grammar
Command
epon(ge1)#speed <speed>
Grammar
10m: 10mbps
100m: 100mbps
<speed> 1g: 1gbmp(1000mbps)
10g: 10gbps
Auto: auto-negotiation
www.cdatatec.com 53 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon#system
Grammar
【Example】
epon#system
epon(sys)#
Command
epon(sys)#cfg-sync <slot> <status>
Grammar
【Remark】
This function default is close because enabling it will make ONU’s saved configuration
www.cdatatec.com 54 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
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
Value range:bps2400-bps115200。
<speed>
Remark: value should be 2400*2^n (n is integer)
Command
epon(sys)#onu-auth
Grammar
【Example】
www.cdatatec.com 55 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
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
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 .
www.cdatatec.com 56 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【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】
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
www.cdatatec.com 57 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
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
<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
3.Reboot the whole EPON system including switch control module ,all online PON card and all
www.cdatatec.com 58 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
online ONU)
epon(sys)#reboot all
Command
epon(sys)#restore <device> <slot> <olt> <onu>
Grammar
<slot> Appoint PON card’s slot number with valid value from 1 to 4 .
Command
epon(sys)#save <device> <slot> <olt> <onu>
Grammar
<device> Appoint the device to save current configuration with valid index :
ctrl-card: save switch control module’s current configuration
<slot><olt> <onu> is ignored
pon-card: save appointed PON card under <slot> configuration
<olt> <onu> is ignored.
www.cdatatec.com 59 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
<slot> Appoint PON card slot number with valid value from 1 to 4 .
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 .
www.cdatatec.com 60 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
epon#trunk 1
epon(trunk1)#
Command
epon(trunk1)#balance-algorithm < balance>
Grammar
Command
epon(trunk1)#delete
Grammar
www.cdatatec.com 61 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Command
epon(trunk1)#member <portlist>
Grammar
【Example】
epon(trunk1)#member ge1,ge3-ge4,ge8
Command
epon#show trunk
Grammar
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】
www.cdatatec.com 62 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
Only the system administer has the rights to change the system user’s priority.
Command
epon#user add <name> <passwd> < access >
Grammar
Command
epon#user delete <name>
Grammar
Appoint the user name to be deleted with the bytes length from 4 to
<name>
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 63 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
If the index is not provided ,the password is blank ;if the index is
provided ,the password length can be from 6 to 31 bytes.
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 .
www.cdatatec.com 64 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
< vlanid > Vlan ID to be modified or created with valid value from 1 to 4094.
【Example】
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.
www.cdatatec.com 65 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
【Example】
1.add switch control module 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 66 [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 67 [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 68 [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
4.5.2.Change Directory
Command
cd <directory>
Grammar
4.5.3.Clear Screen
Command
clear
Grammar
www.cdatatec.com 69 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual
4.5.4.Copy File
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
4.5.6.Delete File
Command
del <filename>
Grammar
Command
exit
Grammar
Exit from the current command mode and return to the previous
Function
command mode .
www.cdatatec.com 70 [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 71 [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 72 [email protected]