0% found this document useful (0 votes)
3K views

C-Data OLT FD2100s CLI User Manual

Uploaded by

Raja Furqan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views

C-Data OLT FD2100s CLI User Manual

Uploaded by

Raja Furqan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 85

GEPON OLT FD2100S CLI User Manual

(V1)

Shenzhen C-Data Technology Co.,Ltd.


深圳市西迪特科技有限公司
www.cdatatec.com

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

4.3.4.10. Reboot PON Card..................................................................................47


4.3.4.11. Save PON card configuration ................................................................47
4.3.4.12. Show OLT’s Basic Information.............................................................47
4.3.5. Configure Enable Password Management ......................................................48
4.3.6. Protocol VLAN Configuration Mode..............................................................48
4.3.6.1. Add Protocol ...........................................................................................49
4.3.6.2. Delete Protocol........................................................................................49
4.3.6.3. Clear Protocol Pool .................................................................................50
4.3.6.4. Add Bind Rule.........................................................................................50
4.3.6.5. Remove Bind Rule ..................................................................................50
4.3.6.6. Enable Port Protocol VLAN Function ....................................................51
4.3.6.7. Disable Port Protocol VLAN Function ...................................................51
4.3.6.8. Show Protocol VLAN’s Configuration Information ...............................51
4.3.7. Configure Switch Control Card’s Global Parameter of Port Limit .................52
4.3.8. RSTP Configuration Mode..............................................................................53
4.3.8.1. Configure RSTP Bridge Parameter .........................................................53
4.3.8.2. Enable RSTP Function ............................................................................54
4.3.8.3. Disable RSTP Function ...........................................................................54
4.3.8.4. Hold Bridge Forwarding Frame Count....................................................55
4.3.8.5. Configure RSTP Port Parameter .............................................................55
4.3.8.6. Show RSTP Configuration Information ..................................................57
4.3.9. Configure Switch Control Card’s Switching Mode.........................................58
4.3.9.1. Set Private Vlan Mode ............................................................................58
4.3.9.2. Show Switch Control Card’s Switch Mode Configuration .....................58
4.3.9.3. Enable Switch Control Card’s Vlan Function .........................................59
4.3.10. Uplink Port Management mode of Switch Control Card ................................59
4.3.10.1. Set Port’s RX Frames Types..................................................................60
4.3.10.2. Set Port’s Default Priority Level ...........................................................60
4.3.10.3. Configure Port’s Duplex Mode .............................................................60
4.3.10.4. Enable Port ............................................................................................61
4.3.10.5. Disable Port...........................................................................................61
4.3.10.6. Configure Port’s Flow Control Mode....................................................61
4.3.10.7. Set Port’s RX Filter Function ................................................................62
4.3.10.8. Configure Port Mode.............................................................................62
4.3.10.9. Enable Port’s Nest-Vlan Function.........................................................62
4.3.10.10. Enable Port’s Protocol Vlan ................................................................62
4.3.10.11. Set Port’s PVID ...................................................................................63
4.3.10.12. Configure Port’s Rate Limits...............................................................63
4.3.10.13. Configure Port’s Reauto-Negotiation Function...................................64
4.3.10.14. Show Port Information ........................................................................64
4.3.10.15. Configure Port’s Compulsive Shutdown Function..............................65
4.3.10.16. Remove Compulsive Shutdown Port ..................................................65
4.3.10.17. Configure Current Port Rate................................................................65
4.3.11. System Configuration Mode ...........................................................................66

www.cdatatec.com 3 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.12. Synchrony with ONU Configuration ..............................................................66


4.3.12.1. Backup EPON System Configuration ...................................................67
4.3.12.2. Restore EPON System Configuration ...................................................67
4.3.12.3. Configure Console Port Speed ..............................................................67
4.3.12.4. ONU Authorization Management Mode ...............................................68
4.3.12.5. Set SNMP Read Community.................................................................70
4.3.12.6. Reboot OLT...........................................................................................70
4.3.12.7. Restore Default Configuration and Reboot Equipment.........................71
4.3.12.8. Save Current Configuration...................................................................72
4.3.12.9. Set Trap Receiving IP Address ..............................................................73
4.3.12.10. Set SNMP Written Community ...........................................................73
4.3.13. Trunk Management Mode ...............................................................................73
4.3.13.1. Configure Trunk Balance Algorithm.....................................................74
4.3.13.2. Delete Trunk Group...............................................................................74
4.3.13.3. Add Trunk Member...............................................................................74
4.3.14. Show Trunk Configuration Information..........................................................75
4.3.15. User Management ...........................................................................................75
4.3.15.1. Set User Authority.................................................................................75
4.3.15.2. Add User ...............................................................................................75
4.3.15.3. Delete User............................................................................................76
4.3.15.4. Change User Password..........................................................................76
4.3.15.5. Show Current User’s Information .........................................................77
4.3.15.6. Change User’s Timeout .........................................................................77
4.3.16. VLAN Management Mode..............................................................................77
4.3.16.1. Delete Vlan Member .............................................................................78
4.3.16.2. Delete Vlan............................................................................................78
4.3.16.3. Add Vlan Member Port list ...................................................................78
4.3.17. Show Vlan Configuration Information............................................................79
4.4. Show System Running Information ........................................................................80
4.4.1. Show System’s Current CPU Running Status .................................................80
4.4.2. Show System’s Memory Use Status................................................................80
4.4.3. Show System’s Task Status .............................................................................81
4.4.4. Enable CATV (RF) Function...........................................................................81
4.4.5. disable CATV (RF) Cut-Off Function .............................................................82
4.5. Global Command ....................................................................................................82
4.5.1. Create Command Alias....................................................................................82
4.5.2. Change Directory ............................................................................................82
4.5.3. Clear Screen ....................................................................................................82
4.5.4. Copy File.........................................................................................................83
4.5.5. Show System’s Date........................................................................................83
4.5.6. Delete File .......................................................................................................83
4.5.7. Exit From The Current Command Mode ........................................................83
4.5.8. Return to System Main Directory ...................................................................84
4.5.9. Help .................................................................................................................84

www.cdatatec.com 4 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.5.10. Command History ...........................................................................................84


4.5.11. Log Out System...............................................................................................84
4.5.12. Show Current File List ....................................................................................84
4.5.13. PING ...............................................................................................................85
4.5.14. Show Directory Route.....................................................................................85
4.5.15. TFTP ...............................................................................................................85

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

2.1. Management Model

2.2. Console Port Connection

There is a Console port in the front panel of Switch Control Card .The command line
configuration interface is enabled via console port connecting to the NMS’s superior
terminal .Super terminal’s basic configuration is as follows :

www.cdatatec.com 7 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

2.3. Network Connection

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.

Defualt outband network management IP:192.168.120.100

Default inband network management IP: 192.168.1.100

2.4. User Login EPON CLI System

System provide two login accounts default as follows:

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

Created Date: May 23 2011 18:10:36


Copyright (c) 2006-2012 C-Data Co.,Ltd. All rights reserved.
********************************************************************
Login: admin
Password: admin
epon>
When the command lines shows : epon> ,user can input the configuration command to mange or
inquire the configuration information .

3. Command Format Illustration

3.1. Command Format

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

<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:

Caution: Means reader be extremely careful. Improper operation may cause


data loss or damage to equipment

Warning: Means reader be extremely careful. Improper operation may cause


bodily injury.

Note: Means a complementary description.

4. Hints Commands in this mannual is case sensitive.

3.2. Typical Parameter Category

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.

vlanid Vlan index with valid integer value from 1 to 4094 .

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.

Port list such as “ge1,ge5”( 2 ports) ,”ge1-ge5”(meaning 5 ports


portlist
from ge1 to ge5.)

ifx-name Ip port name includes inband and outband.inband interfaces is

www.cdatatec.com 10 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

embodyed with vi+number (vi means virtual interface).for example:


“vi0” means the first inband IP interface(it’s the only one interface to
support inband ip interface.);outband interface is embody with
“cpm+number”.cpm is the outband interface’s device name .For
example, cmp0 means the first outband ip nterface .(this is the only
one interface to support outband ip interface .)

ip-addr Ip address such as 192.168.1.1

ip-mask Ip mask with 4 segments of algorism bytes ,such as 255.255.255.0

mac MAC address such as 00:01:02:02:04:05

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

36 OLT bridge configuration


37 OLT DBA configuration
38 OLT aggregate bandwidth configuration
39 OLT acl rules configuration
40 OLT priority copy mapping configuration
41 OLT IGMP configuration
42 OLT PPPOE configuration
43 Logical Link basic configuration
44 Logical Link advanced configuration
45 Logical Link SLA configuration
46 Logical Link VLAN configuration
47 Logical Link blocked link configuration
48 Logical Link dynamic and static MAC
50 on-line upgrade module
51 port statistics alarm and threshold

4. System Root Directory


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

4.1. Enable System Log Printed to Super Terminal

Command
[epon>[no] copy-log
Grammar

Function Show current System Log

www.cdatatec.com 12 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.2. System Debug Mode

Command
epon>debug
Grammar

Function enter debug mode ,

【Remark】

entering“exit”could return to the current mode .

You will find the command as follows after entering debug mode :

epon% ? input “?”or “help”to show the current directory


debug - debug specific module
dump - show module internal data
log-lvl - set log level for specific module

4.2.1. debug

Command
epon%debug module <moduleId>
Grammar

Function Configure the module’s debug functions

【Remark】

This command isn’t valid yet .

4.2.2. dump

Command
epon%dump module <moduleId>
Grammar

Function Configure the module’s dump functions

<moduleId> Module ID ,format please refer to 3.3 typcial Parameter category

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

Function Change module’s LOG level

Module ID,definition format refer to typical Parameter category


<moduleId>
illustration .

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

4.3. Enable Mode

Command
epon>enable
Grammar

Function Enter “enable management mode and provides enable password.

【Example】

1. enter enable management mode:


epon>enable
password:
epon#

The password to enter enable mode is blank defaultly .


epon# ? Input“?” or “help”to show the follwing directory:
mirror - mirroring configuration
network - configure network parameters
olt - enter olt config mode
passwd - change enable password
prot-vlan - enter protocol based vlan config mode
rate-ctrl - set switch port ingress rate limit global parameters
rstp - enter rapid spanning tree config mode

www.cdatatec.com 14 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

show - dislpay configuration


swmode - set basic switch mode
swport - enter switch port config mode
system - configure system basic parameters
trunk - enter trunk config mode
user - User configuration
vlan - enter vlan config mode

4.3.1. Switch Control Card MAC Address Management

4.3.1.1. Configure Switch Control Card’s MAC Aging Time

Command
epon#mac-address aging <timeout>
Grammar

Function Configure switch control card’s MAC address aging time

MAC aging time ,with value range from 10 to 630 seconds .step
<timeout>
length is 10 seconds.

4.3.1.2. Show Switch Control Card’s MAC Address List

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.

4.3.2. Port mirror Management

4.3.2.1. Mirror Destination Port

Command epon#mirror destination port < port >

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.

4.3.2.2. Add Mirror Source Port

Command
epon#mirror source add port < portlist > < direction >
Grammar

Configure added mirror source port ,available for designating some


Function
port’s uplink ,downlink or bidirectional data flow as mirror source .

Designate some port as mirror source port .Designation means could


< port list>
refer to 3.3 Typical Parameter category Illustration.

Designate mirror source’s data flow direction with vale as follows:


ingress
< direction >
egress
both

4.3.2.3. Delete Mirror Source Port

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 .

< port list> Port list

Appoint deleted mirror sour’s data flow direction:


ingress
< direction >
egress
both

www.cdatatec.com 16 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.2.4. Add Mirror Source VLAN

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

4.3.2.5. Delete Mirror Source VLAN

Command
epon#mirror source delete vlan < vlanid>
Grammar

Function Configure deleting mirror source VLAN

Appoint the deleted mirror source VLAN with value range from 1 to
< vlanid>
4094

4.3.2.6. Clear Mirror Source

Command
epon#mirror source clear
Grammar

Function Clear all mirror source including all source port and source VLAN.

4.3.3. Network Configuration Mode

Command
epon#network
Grammar

Function Configure inband and outband management port’s IP address.

www.cdatatec.com 17 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

【Example】

1.Enter network management mode

epon#network
epon(net)#

epon(net)# input“?”or “help”to show the following directory


[no] address - set network interface address
[no] gateway - configure network default gateway

4.3.3.1. Configure Management Port’s IP and Sub Mask

Command
epon(net)#address <ifx-name> <ip-addr> <ip-mask>
Grammar

Configure network port’s IP address and submask. Currently our


network management port includes inband network management port
Function
vi0 and outband network management port cpm0. input address
<ifx-name> could show the current networking configuration.

Appointed ip port name ,which could be vi0 or cpm0 ,port format


< ifx-name e>
expression mode refer to typical Parameter category.

<ip-add> Configure IP address

< ip-mask > Configure appointed IP address’s network mask.

【Example】

1.Enquiry the current inband network management port’s network configuration:

epon(net)#address vi0
Interface vi0:
Ip address :192.168.1.100
Netmask :255.255.255.0
associated vlan :1
admin status :operational

Example 2:Configure inband management IP as 192.168.1.1 ,mask is 255.155.155.0

epon(net)#address vi0 192.168.1.1 255.255.255.0

Example 3:Configure outband management IP as 192.168.1.2 and mask is 255.255.255.0

www.cdatatec.com 18 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

epon(net)#address cpm0 192.168.1.2 255.255.255.0

4.3.3.2. Configure NMS Port Gateway

Command
epon(net)#gateway <ip-addr>
Grammar

Configure NMS port’s gateway.


Function
Input command gateway to show the current gateway information.

<ip-addr> Configure the appointed gateway address.

4.3.4. OLT Management Mode

4.3.4.1. Enter OLT Management Mode

Command
epon#olt <slotid> <oltid>
Grammar

Enter OLT management mode to configure OLT,downplink and


Function
ONU . just input “olt” could show the current online OLT .

<slotid> olt pon card slot with value marked from 1 to 4 .

<oltid> Pon ID with valid value 1 and 2 .

【Example】

1.Show current online OLT :


epon#olt
Following is online olt list:
Slot Olt Mac Address Online Status
1 1 00:a1:02:01:01:26 Online
1 2 00:a1:02:01:01:27 Online
3 1 00:0d:b6:37:23:00 Online
3 2 00:0d:b6:37:23:01 Online

2. Manage PON-1 of PON card under OLT Slot-3 .


epon#olt 3 1
epon(slot3-olt1)#

www.cdatatec.com 19 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

epon(slot3-olt1)# ? input“?”or “help” to show the command directory :


admin - set olt administrate status
bridge - set olt bridge configuration
default - reset olt default configuration
ext-mgmt - extern network management
link - enter link config mode
onu - enter onu config mode
overwrite-linkid - overwrite linkid when linkid is exhausted
overwrite-onuid - overwrite onuid when onuid is exhausted
reboot - reboot pon card
restore - restore to saved configuration
save - save pon card configuration
show - show olt base configuration

4.3.4.2. Enable OLT

Command
epon(slot3-olt1)#admin <enable | disable>
Grammar

Function Enable/disable OLT

<enable> Enable OLT

<disable> Disable OLT

4.3.4.3. OLT Bridge Configuration

Command
epon(slot3-olt1)#bridge
Grammar

Function Show current bridge setting

【example】

1. Show OLT’s current bridge setting

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

mac learn overwrite :NO


discard unknown mac :NO
allow tagged frame :YES

4.3.4.3.1. MAC Address Aging Time

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 .

<limit> Parameterrange 0-2516582400(about 29 days)

4.3.4.3.2. Bridge VLAN Number Configuration

Command
epon(slot3-olt1)#bridge vlan-num <vlanNum>
Grammar

Function Set bridge vlan number(tk3723 chipset OLT ‘s fixed number is 64)

<vlanNum> Fix number is 64

4.3.4.3.3. MAC Address Overwrite Configuration

Command
epon(slot3-olt1)#bridge overwrite <enable | disable>
Grammar

Function Set overwrite MAC address mode

Parameters <enable|disable> with the meaning as follows:


enable:When MAC address is full ,new MAC overwrite existing
<enable | disable>
MAC address .
disable:When MAC address is full ,ignore the new MAC address .

4.3.4.3.4. Unknown MAC Restriction Configuration

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

Function Set unknown MAC restriction mode

enable:unknown DA downlink packet deliver the broadcast to all


<enable | disable> ports .
disable:unknown DA downlink packet is abandon

4.3.4.3.5. Forward Tag Frame Configuration

Command
epon(slot3-olt1)#bridge tag-on-sbrg <enable | disable>
Grammar

Function Set tag forwarding rules under simple bridge mode.

enable:allow forwarding tag frame


<enable | disable>
disable:dump tag frame

4.3.4.4. Restore PON Default Setting

Command
epon(slot3-olt1)#default
Grammar

Restore PON Default Setting


Function

【Remark】

The command will delete PON card’s all setting and restore the ex-factory default setting .And the
PON card will reboot automatically.

4.3.4.5. External UDP Management Function

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

4.3.4.5.1. Configure management host’s IP and UDP Port

Command
pon(slot3-olt1)#ext-mgmt host < ip-add > <port>
Grammar

Configure management host’s IP and UDP port ,GEPON system


receive the management UDP packet from the management IP and
Function
UDP port and deliver the responded packet back to the management IP
and UDP port .

< ip-add > Configure management host’s IP address

Configure management host’s management UDP port number with the


<port>
value range from 0 to 65535

【Example】

1.Configure management host IP as 192.168.120.1 ,port as 14115:


epon(slot3-olt1)#ext-mgmt host 192.168.120.1 14115

4.3.4.5.2. Configure OLT’s management Port

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 .

Configure management host’s UDP port with value range from 0 to


65535.
OLT’s default management port as follows:
OLT1(slot1) 14113
OLT2(slot2) 14114
OLT3(slot3) 14115
OLT4(slot4) 14116

4.3.4.5.3. Enable/Disable OLT’s UDP Management Function

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

Function Enable/disable OLT’s UDP management port

enable:enable OLT’ UDP management function


<enable | disable>
disable:Disable OLT’s UDP management function

4.3.4.5.4. Show OLT’s UDP Management Information

Command
epon(slot3-olt1)# ext-mgmt show
Grammar

Function Show OLT’s UDP management function information

【Example】

1.Show the current OLT’s UDP management information:


epon(slot3-olt1)# ext-mgmt show
Olt Extern Network Management Configurations:
admin :enable
host ip address :192.168.120.1
host udp port :14115
olt management udp port :14115

4.3.4.6. Link Management Mode

Command
epon(slot3-olt1)#link <linkid>
Grammar

Function Enter LINK management mode and configure link Parameter.,

<linkid> Designated linked with value range from 1 to 256 .

【Example】

1.Show the current online LINK :


epon(slot3-olt1)#link
Following is online link list:
Link Id Mac Address Online Status
1 00:a1:02:0a:a1:08 Online

www.cdatatec.com 24 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

2.Enter Link1 management interface :


epon(slot3-olt1)#link 1
epon(slot3-olt1-link1)#

epon(slot3-olt1-link1)# ? input“?”or “help”to show command directory:


[no] block - block link
dynamic-mac-clear - clear dynamic mac table
dynamic-mac-list - show all dynamic mac table
dynamic-mac-refresh - refresh dynamic mac table
rediscover - force link rediscovery
show - show link basic configuration
sla - set link SLA parameters
static-mac-add - add a static mac
static-mac-del - delete a static mac
static-mac-list - show all static mac table

4.3.4.6.1. Block Current Link

Command
epon(slot3-olt1-link1)#block
Grammar

Function Block current link to stop the link’s data flow.

4.3.4.6.2. Remove the Current Link Block

Command
epon(slot3-olt1-link1)#no block
Grammar

Function Remove the current link block to restore the link’s data flow.

4.3.4.6.3. Clear Link’s Dynamic MAC Address List

Command
epon(slot3-olt1-link1)#dynamic-mac-clear
Grammar

Function Clear link’s dynamic MAC address list

www.cdatatec.com 25 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.4.6.4. Show Link’s Dynamic MAC Address List

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 .

4.3.4.6.5. Refresh Link’s Dynamic MAC Address List

Command
epon(slot3-olt1-link1)#dynamic-mac-refresh
Grammar

Function Refresh link’s dynamic MAC Address

4.3.4.6.6. Force Rediscovering Link

Command
epon(slot3-olt1-link1)#rediscover
Grammar

Function Force the link rediscovering to OLT

4.3.4.6.7. Show LINK Basic Information

Command
epon(slot3-olt1-link1)#show
Grammar

Function Show the link’s current basic configuration information

【Example 】

1.Show the current link’s basic configuration information :


epon(slot3-olt1-link1)#show

www.cdatatec.com 26 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Link Basic Configurations:


associated onu id :1
assigned link id by olt :0
mac address :00:a1:02:0a:a1:08
online status :Online
key exchange timer :0 (sec)
bridging type :simple-bridge
mac table entry limit :64 (entries)
cross connected link id :NO

4.3.4.6.8. Link SLA Configuration

4.3.4.6.8.1. Configure Link’s Minimum Guaranteed Bandwidth

Command
epon(slot3-olt1-link1)#sla <dir> min-bw <min-bw>
Grammar

Configure the link’s uplink or downlink’s minimum guaranteed


Function
bandwidth

Appoint the link sla’s direction :


<dir> downstream
upstream

Appoint the link ‘s minimum guaranteed bandwidth with valid


<min-bw> value from 0,256 to 1000000.
0 means disabling the minimum guaranteed bandwidth function.

【Remark】

The minimum bandwidth much be lower than or equal to the maximum allowed bandwidth .

4.3.4.6.8.2. Configure Link’s Maximum Allowed Bandwidth

Command
epon(slot3-olt1-link1)#sla <dir> max-bw <max-bw>
Grammar

Configure the link’s uplink or downlink maximum allowed


Function
bandwidth .

<dir> Appoint the link SLA’s configuration direction :

www.cdatatec.com 27 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

downstream
upstream

Appoint the link ‘s maximum allowed bandwidth with valid value


<max-bw> from 256 to 1000000.
0 means disabling the minimum guaranteed bandwidth function.

【Remark】

The maximum bandwidth must higher than or equal to the minimum guaranteed bandwidth .

4.3.4.6.8.3. Configure Link Transmission Time Delayed Level

Command
epon(slot3-olt1-link1)#sla <dir> level <level>
Grammar

Function Configure uplink or downlink’s transmission delayed time level.

Two direction Parameter optional :


<dir> downstream
upstream

Appoint downlink or uplink’s transmission delayed time level with


the valid value as follows :
<level>
Sensitive: sensitive service could be given the priority to transmit .
tolerant : non-sensitive service

4.3.4.6.8.4. Configure Link’s Maximum Burst Flow

Command
epon(slot3-olt1-link1)#sla <dir> burst-size <burst>
Grammar

Function Configure uplink or downlink’s maximum burst flow .

Two configuration direction as follows :


<dir> downstream
upstream

Appoint the link ‘s maximum burst flow with the valid value range
<burst>
from 1 to 256.

4.3.4.6.8.5. Show LINK SLA Configuration

Command epon(slot3-olt1-link1)#sla <dir>

www.cdatatec.com 28 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Function Show uplink or downlink’s SLA configuration information

downstream or
<dir>
upstream

【Example】

1.Show current uplink’s SLA configuration information :


epon(slot3-olt1-link1)#sla upstream
Current Link SLA configuration(Upstream):
minimum guaranteed bandwidth :0 (Kbps)
maximum allowed bandwidth :1000000(Kbps)
delay sensitive :Tolerant
max burst size :100 (KBytes)
sla state :Enable

2.Show downlink’s SLA configuration information :


epon(slot3-olt1-link1)#sla downstream
Current Link SLA configuration(Downstream):
minimum guaranteed bandwidth :0 (Kbps)
maximum allowed bandwidth :1000000(Kbps)
delay sensitive :Tolerant
max burst size :100 (KBytes)
sla state :Enable

4.3.4.6.9. Add Link’s Static MAC Address

Command
epon(slot3-olt1-link1)#static-mac-add <mac>
Grammar

Function Add link’s static MAC address

<mac> Input MAC address

4.3.4.6.10. Delete Link’s Static MAC Address

Command epon(slot3-olt1-link1)#static-mac-del <mac>

www.cdatatec.com 29 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Function Delete Appointed Link’s Static MAC Address

<mac> Input the deleted MAC address

4.3.4.6.11. Show Link’s Static MAC Address List

Command
epon(slot3-olt1-link1)#static-mac-list
Grammar

Function Show the link’s static MAC address

4.3.4.7. ONU Management Mode

Command
epon(slot3-olt1)#onu <onuid>
Grammar

Function Enter ONU management mode and configure the ONU Parameter.

<onuid> Input onuid with the valid value range from 1 to 64

【Example】

1.Show current online ONU


epon(slot3-olt1)#onu
Following is online onu list:
slotId oltId onuId deviceType basedMac hWRev fwRev
3 1 1 FD104H 00:a1:02:0a:a1:08 V01 v2.24
3 1 2 FD104H 00:a1:02:0a:a1:10 V01 v2.24

2. Enter ONU1 management interface


epon(slot3-olt1)#onu 1
epon(slot3-olt1-onu1)#

epon(slot3-olt1-onu1)# ? input“?”or “help” to show command directory


default - restore to default setting
igmp - onu igmp snooping configuration
info - onu device user information
loopback-test - loopback test

www.cdatatec.com 30 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

ponport - onu pon port configuration


port - enter onu port config mode
reboot - reboot the system
restore - restore to saved configuration
rstp - onu rapid spanning tree config
save - save onu configuration
user-traffic - enable or disable user traffic
vlan-type - set onu additional vlan ethertype

4.3.4.7.1. Restore ONU Default Configuration

Command
pon(slot3-olt1-onu1)#default
Grammar

Function Restore ONU default configuration

【Remark】

The command will delete all ONU’s configuration to restore default configuration .The ONU will
reboot automatically .

4.3.4.7.2. ONU IGMP Snooping

4.3.4.7.2.1. Configure ONU Port’s IGMP Number

Command
epon(slot3-olt1-onu1)#igmp port <port> groups <groupnum>
Grammar

Configure ONU port’s supported IGMP number.


Function
0 means to disable IGMP Snooping function.

<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.

4.3.4.7.2.2. Add IGMP Address and Port List

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

Function Add a IGMP address and a port number

<ipaddr> Input IGMP address ,such as 224.0.0.1。

<portlist> Input port number with valid value range from fe1 to fe8 .

4.3.4.7.2.3. Delete IGMP Address

Command
epon(slot3-olt1-onu1)#igmp delete <ipaddr>
Grammar

Function Delete IGMP address

<ipaddr> Input IGMP address such as 224.0.0.1

4.3.4.7.2.4. The Last Member Enquiry Times

Command
pon(slot3-olt1-onu1)#igmp lmqc <value>
Grammar

Function Set the last member enquiry times

<value> value range from 0 to 12

4.3.4.7.2.5. Re-Delivery Times

Command
pon(slot3-olt1-onu1)#igmp rc<value>
Grammar

Function Set IGMP packet’s re-delivery times

<value> Value range from 0 to 12

4.3.4.7.2.6. Show Current IGMP Configuration Information

Command
epon(slot3-olt1-onu1)#igmp show
Grammar

Function Show current IGMP information

4.3.4.7.3. Configure ONU User Information

Command epon(slot3-olt1-onu1)#info <info>

www.cdatatec.com 32 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Configure ONU user information;


Function
Just input “info” to show the current ONU user’s information .

<info> User information bytes with longest bytes 64

4.3.4.7.4. ONU Link Loopback Test

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 .

loopback location: mac 或 phy


Function
number of frames:1-65535
payload length:64-1500
vlan tag:0-4094

【Example 】

1.Test ONU Link


epon(slot3-olt1-onu1)#loopback-test
please offer the loopback test parameter:
loopback location[mac|phy]:mac
number of frames[1~65535]:100
payload length[64~1500]:64
vlan tag[0~4094]:0
testing...
result:
frames sent :100
frames received :100
corrupted frames receiv :0
minimum Delay (us) :2512
maximum Delay (us) :5788
mverage Delay (us) :4135

4.3.4.7.5. Show ONU Dynamic MAC Address List

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

Function Show ONU’s dynamic learning MAC address gloably.

4.3.4.7.6. ONU Port Management Mode

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】

1.Enter ONU1’s port 1 interface


epon(slot3-olt1-onu1)#port fe1
epon(slot3-olt1-onu1-fe1)#

epon(slot3-olt1-onu1-fe1)# ? input “?”or “help” to show the command directory


attribute - onu port attribute config
bridge - onu port bridge parameter config
dynamic-mac-clear - clear dynamic mac table
dynamic-mac-list - show all dynamic mac table
[no] enable - enable onu port
info - set onu port user information
qos - onu port qos config
vlan - onu port vlan configuration

4.3.4.7.6.1. Configure ONU port’s Parameter Attribute

4.3.4.7.6.1.1. Show ONU Port Parameter

Command
epon(slot3-olt1-onu1-fe1)#attribute
Grammar

Function Show ONU port’s Parameter attribute.

【Example】

1:Show ONU1 ‘s port 1 attribute


ONU(3/1/1) Port fe1 attribute:

www.cdatatec.com 34 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

auto negotiation :enable


speed :10m
duplex :half
flow control :disable

4.3.4.7.6.1.2. Configure ONU Port Auto-Negotiation

Command
epon(slot3-olt1-onu1-fe1)#attribute auto-nego <oper>
Grammar

Function Configure ONU port to be auto-negotiable

Value input is <enable | or disable>:


enable : enable the port’s auto-negotiation function
<oper>
disable : Disable the port’s auto-negotiation function

4.3.4.7.6.1.3. Configure ONU Port Speed

Command
epon(slot3-olt1-onu1-fe1)#attribute speed <speed>
Grammar

Function Configure ONU port’s speed

<speed> ONU port speed with valid value as follows:10m,100m,1000m

4.3.4.7.6.1.4. Configure ONU Port’s Duplex Function

Command
epon(slot3-olt1-onu1-fe1)#attribute duplex < duplex>
Grammar

Function Configure ONU port’s duplex status

< duplex> ONU port’s duplex status with value “half” or full

4.3.4.7.6.1.5. Configure ONU Port Flow Control Function

Command
epon(slot3-olt1-onu1-fe1)#attribute flow-ctrl <oper>
Grammar

Function Configure ONU port’s flow control function

www.cdatatec.com 35 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Enable/disable ONU port flow control function


< oper> Enable: enable ONU port flow control function
Disable:disable ONU port flow control function

4.3.4.7.6.2. Configure ONU port’s Bridge Parameter

4.3.4.7.6.2.1. Show ONU Port Bridge Parameter

Command
pon(slot3-olt1-onu1-fe1)#bridge
Grammar

Function Show ONU port bridge Parameter

【example】

1:Show ONU port-1’s bridge Parameter


epon(slot3-olt1-onu1-fe1)#bridge
ONU(3/1/1) Port fe1 bridge parameter:
automatic learning entry limit :16
learned entry age limit :0
forwarding mode :802.1d mode

4.3.4.7.6.2.2. Configure ONU Port’s Dynamic MAC Limits

Command
epon(slot3-olt1-onu1-fe1)#bridge < entry-limit>
Grammar

Function Configure ONU port’s dynamic learning MAC number

Maximum learning MAC number with valid value from 0 to 64;0


< entry-limit>
means not to learn MAC address

4.3.4.7.6.2.3. Configure ONU Port’s MAC Aging Time

Command
epon(slot3-olt1-onu1-fe1)#bridge age-time < age-time>
Grammar

Function Configure ONU port’s Aging time of MAC address

MAC address aging time with valid value from 0 to 32768;


< age-time >
0 means not to age MAC address

www.cdatatec.com 36 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.4.7.6.2.4. Configure ONU Port’s Forward Mode

Command
epon(slot3-olt1-onu1-fe1)#bridge forward-mode < forward-mode>
Grammar

Function Configure ONU port’s forward mode

Forward mode with valid value such as 8021d,drop-until-learned;


<forward-mode> 8021d mode :unknown MAC packet broadcast to all ports ;
Drop-until-learned mode: drop unknown MAC packet

4.3.4.7.6.3. Clear ONU Port’s Dynamic MAC List

Command
epon(slot3-olt1-onu1-fe1)#dynamic-mac-clear
Grammar

Function Clear ONU port’s dynamic MAC list

4.3.4.7.6.4. Show ONU Port’s Dynamic MAC List

Command
epon(slot3-olt1-onu1-fe1)#dynamic-mac-list
Grammar

Function Show ONU port’s dynamic MAC List

4.3.4.7.6.5. Enable ONU UNI Port

Command
epon(slot3-olt1-onu1-fe1)#enable
Grammar

Function Enable ONU port to make sure normal communication

4.3.4.7.6.6. Disable ONU UNI Port

Command
epon(slot3-olt1-onu1-fe1)#no enable
Grammar

Function Disable ONU port to stop the data flow communication

4.3.4.7.6.7. Configure ONU Port’s User Information

Command epon(slot3-olt1-onu1-fe1)#info <info>

www.cdatatec.com 37 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Function Set ONU port’s user information;


Input “info” to show ONU port’s user information

<info> User information bytes length ,with the longest length 64 bytes

4.3.4.7.6.8. Configure ONU Port’s Uplink Speed Limit

Command epon(slot3-olt1-onu1-fe1)#qos ingress-policing < max-rate>


Grammar < traffic-type>

Function Set ONU port’s uplink bandwidth limits.


Input “qos ingress-policing” to show the current uplink speed limit
configuration information .

< max-rate> Maximum uplink bandwidth ;unit :kbps ;valid value:0-100000;

Appoint speed limit’s packet type with value as follows: Broadcast;


broadcastAndMulticast;
< traffic-type>
broadcastMulticastAndFloodedUnicast;
all

4.3.4.7.6.9. Configure ONU Port’s Downlink Speed Limit

Command epon(slot3-olt1-onu1-fe1)#qos egress-shapping < max-rate>


Grammar <schedule-algorithm>

Set ONU port’s downlink bandwidth limits.


Function Input “qos egress-shapping” to show the current downlink speed
limit configuration information .

< max-rate> Maximum downlink bandwidth ;unit :kbps ;valid value:0-100000;

Port’s output flow shaping ‘s adjusty calculation method with valid


<schedule-algor value ::
ithm> weighted-fair
strict-priority

www.cdatatec.com 38 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.4.7.7. ONU Port’s VLAN Configuration

4.3.4.7.7.1. ONU PON Port VALN Configuration

4.3.4.7.7.1.1. Add Vlan

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

deltag:remove the outward tag if vlan tag exsit

【Example】

1.Add vlan100 to ONU PON port and output rule is to add tag.
epon(slot3-olt1-onu1)#ponport vlan add 100 addtag

4.3.4.7.7.1.2. Delete VLAN

Command
epon(slot3-olt1-onu1)#ponport vlan delete<vlanid>
Grammar

Function Delete appointed ONU UNI port VLAN

< vlanid > Appoint vlan to be deleted with valid value from 0 to 4094.

4.3.4.7.7.1.3. Configure VLAN Forward Policy

Command
epon(slot3-olt1-onu1)#ponport vlan policy <policy>
Grammar

Function Configure ONU PON port’s VLAN forward policy

< 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

policy0:Switch frames on default vlan domain frames and ignore

frame VID.

policy1:Switch VID frame ,unknown VID treated as untagged

policy2:switch VID frame and ignore unkown VID frames

policy3:switch VID frames on the vlan domain appointed by the UNI port .

【Example】

1.Configure ONU PON port’s forward policy 3


epon(slot3-olt1-onu1)#ponport vlan policy policy3

【Illustration】

Different VLAN forward policy deal with different frame types.

1. Policy0:Switch frames on default vlan domain and ignore frame VID.


Frame Type Approach
Untagged Frame Switch frames on default vla(PVID)n domain
Tagged Frame Ignore frame’s VID ,treated as untagged frame

2. policy1:Switch VID frame ,unknown VID treated as untagged

Frame Type Approach


Untagged frame Switch frames on port’s default Vlan domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not Switch frames on port’s default VLAN(PVID) domain
on the vlan domain
Tagged Frame:VLAN doesn’t Switch frames on port’s default VLAN(VPID) domain
exsit

3. policy2:switch VID frame and dump unkown VID frames

Frame Type Approach


Untagged frame Switch frames on port’s default VLAN(VPID) domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not add the port to the VLAN domain temporialy and forward
on the vlan domain frames on fram VID’s VLAN domain
Tagged Frame:VLAN doesn’t Ignore the frame

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

Frame Type Approach


Untagged frame Switch frames on port’s default VLAN(VPID) domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not Ignore the frame
on the vlan domain
Tagged Frame:VLAN doesn’t Ignore the frame
exsit

4.3.4.7.7.1.4. Configure ONU PON Port’s PVID

Command
epon(slot3-olt1-onu1)#ponport vlan pvid <vlanid>
Grammar

Function Configure ONU pon port’s default VLAN ID(PVID)

< vlanid > Appoint Vlan ID with valid value range from 0 to 4094

【Example】

1.Configure ONU UNI port1’s PVID as 100:


epon(slot3-olt1-onu1)#ponport vlan pvid 100

4.3.4.7.7.1.5. Show ONU PON port’s VLAN configuration

Command
epon(slot3-olt1-onu1)#ponport vlan show
Grammar

Function Show ONU PON port’s Vlan configuration information

【Example】

1.Show ONU PON port’s VLAN configuration


epon(slot3-olt1-onu1)# ponport vlan show
ONU(3/1/1) pon port vlan information:
pvid :100
forward policy :policy3
number of vlans :1

www.cdatatec.com 41 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

1 vlanid :100 tag modification :addtag

4.3.4.7.8. ONU UNI Port VLAN Configuration

4.3.4.7.8.1.1. Add VLAN

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:

<tagModify> pass:mo modification

addtag: add vlan tag to untag frames

【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

4.3.4.7.8.1.2. Delete VLAN

Command
pon(slot3-olt1-onu1-fe1)#vlan delete<vlanid>
Grammar

Function Delete appointed ONU UNI port’s Vlan

< vlanid > Appointed vlan to be deleted with valid value range from 0 to 4094

4.3.4.7.8.1.3. Configure ONU UNI Port’s VLAN Forward Policy

Command
epon(slot3-olt1-onu1-fe1)#vlan policy <policy>
Grammar

Function Configure ONU UNI port’s VLAN forward policy

< 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

policy0:Switch frames on default vlan domain frames and ignore

frame VID.

policy1:Switch VID frame ,unknown VID treated as untagged

policy2:switch VID frame and ignore unkown VID frames

policy3:switch VID frames on the vlan domain appointed by the PON port .

【Example】

1.Configure ONU UNI port 1 ‘s VLAN with strategy 3


epon(slot3-olt1-onu1-fe1)#vlan policy policy3

【Illustration】

Different VLAN forward policy deal with different frame types.

5. Policy0:Switch frames on default vlan domain and ignore frame VID.


Frame Type Approach
Untagged Frame Switch frames on default vla(PVID)n domain
Tagged Frame Ignore frame’s VID ,treated as untagged frame

6. policy1:Switch VID frame ,unknown VID treated as untagged

Frame Type Approach


Untagged frame Switch frames on port’s default Vlan domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not Switch frames on port’s default VLAN(PVID) domain
on the vlan domain
Tagged Frame:VLAN doesn’t Switch frames on port’s default VLAN(VPID) domain
exsit

7. policy2:switch VID frame and ignore unkown VID frames

Frame Type Approach


Untagged frame Switch frames on port’s default VLAN(VPID) domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not add the port to the VLAN domain temporialy and forward
on the vlan domain frames on fram VID’s VLAN domain
Tagged Frame:VLAN doesn’t Ignore the frame

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

Frame Type Approach


Untagged frame Switch frames on port’s default VLAN(VPID) domain
Tagged frame:the ONU port is Switch frames on frame VID’s VLAN domain
on the vlan domain
Tagged frame:the onu port is not Ignore the frame
on the vlan domain
Tagged Frame:VLAN doesn’t Ignore the frame
exsit

4.3.4.7.8.1.4. Configure ONU UNI Port’s PVID

Command
epon(slot3-olt1-onu1-fe1)#vlan pvid <vlanid>
Grammar

Function Configure ONU UNI port’s default VLAN ID(PVID)

< vlanid > Appoint Vlan ID with valid value range from 0 to 4094

【Example】

1.Configure ONU UNI port1’s PVID as 100:


epon(slot3-olt1-onu1-fe1)#vlan pvid 100

4.3.4.7.8.1.5. Show ONU UNI Port’s VLAN Configuration

Command
epon(slot3-olt1-onu1-fe1)#vlan show
Grammar

Function Show ONU UNI port’s Vlan configuration information

4.3.4.7.9. Reboot ONU

Command
epon(slot3-olt1-onu1)#reboot
Grammar

Function Reboot onu

www.cdatatec.com 44 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.4.7.10. Configure RSTP Function

Command
epon(slot3-olt1-onu1)#rstp <oper>
Grammar

Configure ONU’s rapd spanning tress protocol ( RSTP) function;


Function
Input “rstp” to show current RSTP status

Enable/disable ONU RSTP function with valid value as follows:


<oper> Enable: enable ONU RSTP function
Disable: disable ONU RSTP function

4.3.4.7.11. Save ONU configuration

Command
pon(slot3-olt1-onu1)#save
Grammar

Function Save ONU’s all configuration .

4.3.4.7.12. Configure ONU’s Traffic Flow Management

Command
epon(slot3-olt1-onu1)#user-traffic <oper>
Grammar

Configure ONU user’s traffic flow management


Function
When input “user” to show the onu user’s current traffic flow

enable :enable onu user’s traffic flow


<oper>
Disable: disable onu user’s traffic flow

4.3.4.7.13. Configure ONU VLAN’s Ethernet Parameter

Command epon(slot3-olt1-onu1)#vlan-type ethtype <type> upstream <uptag>


Grammar downstream <dntag>

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

4.3.4.8. Configure Link ID Overwrite Function

Command
epon(slot3-olt1)#overwrite-linkid <oper>
Grammar

Whether new authorized link overwrites the existing link ID after the
Function
Link ID is set .

<oper> Enable: new Link overwrites existing Link ID.


Disable: new Link does not overwrite existing Link ID.

4.3.4.9. Configure ONU ID Overwrite Function

Command
epon(slot3-olt1)#overwrite-onuid < oper >
Grammar

Whether new authorized ONU overwrites the existing ONU ID after


Function
the ONU ID is set .

Enable: new ONU overwrites existing ONU ID.


<oper>
Disable: new ONU doesn’t overwrites existing ONU ID .

www.cdatatec.com 46 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.4.10. Reboot PON Card

Command
epon(slot3-olt1)#reboot
Grammar

Function Reboot PON card

4.3.4.11. Save PON card configuration

Command
epon(slot3-olt1)#save
Grammar

Function Save PON card’s all configuration

4.3.4.12. Show OLT’s Basic Information

Command
epon(slot3-olt1)#show
Grammar

Function Show OLT’s basic configuration

【Example】

1.Show OLT’s current basic configuration


epon(slot3-olt1)#show
Olt Basic Configurations:
mac address :00:0d:b6:37:23:00
work state :Online
enable status :Enable
max permitted link number :210
registered link number :1
accessed onu number :1
link id exhausted :NO
onu id exhausted :NO
link id overwrite :NO
onu id overwrite :NO

www.cdatatec.com 47 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.5. Configure Enable Password Management

Command
epon#passwd
Grammar

Function Enter the enable password changing mode .

【Example】

1.Change enable password :


epon#passwd
Enter new enable password:
Confirm new enable password:
epon#

【Remark】

Please do save the configuration under the system directory after changing the password and
reboot the system to make the setting valid .

4.3.6. Protocol VLAN Configuration Mode

Command
epon#prot-vlan
Grammar

Enter switch control card’s protocol based vlan managmenet mode,


Function where you can configure supported protocol pool ,port and bind
relation between protocol and Vlan.

【Example】

1.Enter protocol based VLAN management mode

epon#prot-vlan
epon(prot-vlan)#

epon(prot-vlan)# ? input“?”or “help” to show the current directory


add - add a protocol type
[no] bind - bind or unbind portlist, protocol type to vlanid
clean - delete all protocol type
delete - delete a protocol type
[no] enable - enable protocol vlan for ports
show - show protocol vlan config

www.cdatatec.com 48 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.6.1. Add Protocol

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 .

Appoint added protocol type with valid value hex-based 0x as prefix


or protocol name’s bytes series .common protocol name could only
<protocol-type>
support ip,arp and pppoe ,such as 0x8863,pppoe,etc.

【Example】

1.Add pppoe protocol by means of hex-based protocol number.

epon(prot-vlan)#add prot-type 0x8863

2.Add ip protocol based on protocol name .

epon(prot-vlan)#add prot-type ip

4.3.6.2. Delete Protocol

Command
epon(prot-vlan)#delete prot-type <protocol-type>
Grammar

delete a protocol from the globalallowed protocol pool .Only the


protocol added to the protocol pool can bind the port-protocol-vlan.
Function When a protocol is deleted ,all protocol’s bind rules are deleted at the
same time .If the protocol to be deleted is not in the protocol pool , no
need to take any actions but the protocol is still valid .

Appoint deleted protocol type with valid value hex-based 0x as prefix


or protocol name’s bytes series .common protocol name could only
<protocol-type>
support ip,arp and pppoe ,such as 0x8863,pppoe,etc.

www.cdatatec.com 49 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.6.3. Clear Protocol Pool

Command
epon(prot-vlan)#clean
Grammar

Clear globalallowed protocol pool and all port-protocol-vlan bind


Function rules are deleted at the same time .You need to add new protocol and
bind rules when protocol based vlan is needed.

4.3.6.4. Add Bind Rule

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 .

<portlist> Appointed port list from ge1 to ge16 .

Appoint the bonded protocol type with hex-based 0x as prefix such as


<protocol-type> 0x0800 0x0806 or the regular protocol name ,bytes value .The current
protocol name only support ip,arp and pppoe .

<vlanid> Appoint the bonded VLAN ID with integer value from 1 to 4094.

【Example】

1.Confiugre ip protocol to vlan2000 in port ge1 .

epon(prot-vlan)#bind ge1 ip 2000

4.3.6.5. Remove Bind Rule

Command
epon(prot-vlan)#no prot-vlan bind <portlist> <protocol-type>
Grammar

Function Remove protocol-vlan bind rules in the appointed port .

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.

Appoint the bonded protocol type to be removed with hex-based 0x as


<protocol-type> prefix such as 0x0800 0x0806 or the regular protocol name ,bytes
value .The current protocol name only support ip,arp and pppoe .

4.3.6.6. Enable Port Protocol VLAN Function

Command
epon(prot-vlan)#enable <portlist>
Grammar

Enable appointed port’s protocol based vlan function.only enable the


Function port’s protocol based vlan function could make the port-protocol-vlan
bind rules valid .

<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

4.3.6.7. Disable Port Protocol VLAN Function

Command
epon(prot-vlan)#no enable <portlist>
Grammar

Disable appointed port’s protocol based vlan function.After disabling


Function port’s protocol based vlan,port-protocol-vlan ‘s bind rules become
invalid.

<portlist> Appointed port list ,which could be any one from ge1 to ge16 .

4.3.6.8. Show Protocol VLAN’s Configuration Information

Command
epon(prot-vlan)#show
Grammar

www.cdatatec.com 51 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Function Show protocol based vlan’s configuration information

【example】

1.Show protocol based vlan’s configuration information :

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

4.3.7. Configure Switch Control Card’s Global Parameter of Port

Limit

Command
epon#rate-ctrl mode <bps|pps>
Grammar

Function Set control card’s globalParameterof input switch speed

Globalindex’s speed unit :


<bps|pps> bps: bytes per second
pps: frames per second

www.cdatatec.com 52 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.8. RSTP Configuration Mode

Command
epon#rstp
Grammar

Function Enter switch control card’s RSTP management mode 进

【Example】

1.Enerer RSTP Management Mode

epon#rstp
epon(rstp)#

epon(rstp)# ? input“?” or “help” to show current directory


bridge - bridge
disable - disable rstp
enable - enable rstp
hold-count - set rstp transmit hold count
port - rstp port parameter configuration
show - show rstp configuration

4.3.8.1. Configure RSTP Bridge Parameter

4.3.8.1.1. Bridge Forward Delay

Command
epon(rstp)#bridge fdelay < fdelay >
Grammar

Function Set RST Bridge delayed forward

Value range : 4-30 ;must demand the following bind relation: 2×

(ForwardDelay – 1.0second) >= MaxAge


< fdelay >
MaxAge is bridge infomration’s maximum valid time ;
ForwardDelay: forward delay

www.cdatatec.com 53 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.8.1.2. Bridge Maximum Valid Age

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.

Value range : 6-40 ;must demand the following bind relation:

2×(ForwardDelay – 1.0second) >= MaxAge


< maxage>
MaxAge is bridge infomration’s maximum valid time ;
ForwardDelay: forward delay

4.3.8.1.3. Bridge Priority

Command
epon(rstp)#bridge priority <priority>
Grammar

Function Set RSTP bridge priority

Appointed bridge priority integer value from 1 to 61440,and step


<priority>
length is 4096 ,meaning 4096xN( N is from 0 to 15) .

4.3.8.2. Enable RSTP Function

Command
epon(rstp)#enable
Grammar

Function Enable switch control card’s uplink port ‘s RSTP function

【Example】

1.Enable switch control card’s uplink port ‘s RSTP function

epon(rstp)#enable

4.3.8.3. Disable RSTP Function

Command epon(rstp)#disable

www.cdatatec.com 54 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Function disable switch control card’s uplink port ‘s RSTP function

4.3.8.4. Hold Bridge Forwarding Frame Count

Command
epon(rstp)#hold-count <holdcount>
Grammar

Configure RSTP’s deliving BPDU packet limit and appoint the


Function
maximum delivering BPDU packet within 1 second .

<holdcount> Value range from 1 to 10.

4.3.8.5. Configure RSTP Port Parameter

4.3.8.5.1. Set RSTP’s Edge port Management

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 .

<portlist> Appointed port list ,any one from ge1 to ge8 .

Configure appointed RSTP port’s edge port attribute with byte value
<edge>
such as edge ,non-edge and auto .

4.3.8.5.2. Set RSTP Port’s Protocol Version Checkout

Command
epon(rstp)#port <portlist> mcheck
Grammar

Configure RSTP port’s protocol version check out .When executing


this command ,the appointed port’s mode is force to be the same as
Function
next received BPDU packet version.If the next packet is STP BPDU
packet ,the port’s mode is STP .If it’s RSTP BPDU packet ,the port’s

www.cdatatec.com 55 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

mode is RSTP. RSTP port’s protocol version is a booting command,


not available to preserve the attributed value continually .

<portlist> Appointed port list ,any one from ge1 to ge8 .

4.3.8.5.3. Set RSTP Port’s Point-to-Point Attribution

Command
epon(rstp)#port <portlist> p2pcfg <p2p>
Grammar

Configure RSTP port’s point to point index . whether the appointed


port is point-to-point port.Point to point port could allow to switch to
Function forward status rapidly .Non-point to point port needs to go through
step of discarding-learning-forwarding first before switching to
forward status .

<portlist> Port list from ge1 to ge8 .指

Appointed RSTP port index with bytes value such as p2p,shared and
<p2p>
auto .

4.3.8.5.4. Set RSTP Port’s Link Cost

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 .

<portlist> Appointed port list, any one from ge1 to ge8.

Appointed RSTP port’s link cost with integer value from 1 to


<pathcost>
200000000.

4.3.8.5.5. Set RSTP Port’s Priority Level

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

having the same link cost .

<portlist> Port list ,any one from ge1 to ge8 .

Configure appointed RSTP port’s priority level with integer value


<priority> valid from 1 to 240 ,step length 16 ,meaning 16xN(n is from 0 to
15 ) .

4.3.8.6. Show RSTP Configuration Information

Command
epon(rstp)#show
Grammar

Function Show RSTP bridge and port’s configuration information

【Example】

1.show switch control card’s RSTP configuration information :

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

4.3.9. Configure Switch Control Card’s Switching Mode

4.3.9.1. Set Private Vlan Mode

Command
epon#swmode pve <mode> <net-port>
Grammar

Function Configure private vlan mode for uplink port of switch control card

Private vlan mode :

<disable | onebyone | trunk>。

disable:normal switch mode ,where the uplink port of switch control


< mode >
card doesn’t has VLAN limitation .
Onebyone: switch control card’s uplink port is corresponding with
PON port -----corresponding mode ,such as
ge1-ge9,ge2-ge10…ge8-ge16 .
Trunk: port convergence mode

When mode is trunk mode ,that means to converge the uplink


< net-port >
ports .port from ge1 to ge8 .

4.3.9.2. Show Switch Control Card’s Switch Mode Configuration

Command
epon#swmode show
Grammar

Function Show switch control card’s switch mode

【Example】

1. Show switch control card’s switch mode configuration information

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

4.3.9.3. Enable Switch Control Card’s Vlan Function

Command
epon#swmode vlan <mode>
Grammar

Function Enable Switch Control Card’s Vlan Function

aware: eable vlan(vlan aware)


<mode>
unaware: disable vlan (vlan unaware)

4.3.10. Uplink Port Management mode of Switch Control


Card

Command
epon#swport <port>
Grammar

Enter port management mode of switch control card .under this mode ,
Function
you can configure several index function.

<port> Appointed port list ,any one from ge1 to ge16.

【example】

1.Enter switch control card’s port 1 management mode

epon#swport ge1
epon(ge1)#

epon(ge1)# ? input“?”or “help”to show directory :


acc-frame - set port access frame type
def-pri - set port default priority
duplex - set port duplex
[no] enable - set port enable
flow-ctrl - set port flow control
ingr-filter - set port ingress filter
mode - set port mode
nest-vlan - set port nest vlan enable or disable
prot-vlan - set port protocol based vlan enable or disable
pvid - set port pvid
rate-ctrl - set port ingress rate limit parameters

www.cdatatec.com 59 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

reautonego - set port reautonegotiation


show - show port attribute information
[no] shutdown - shut down a port
speed - set port speed

4.3.10.1. Set Port’s RX Frames Types

Command
epon(ge1)#acc-frame <type>
Grammar

Function Set switch control card port’s RX packet frame types

Packet frame types :


tagged:receive tagged packet only
<type>
untagged: receive untagged packet only
all:receive all types of packet frame

【Remark】

Our OTL system can’t set untagged type mode yet .

4.3.10.2. Set Port’s Default Priority Level

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 .

< privalue> Set configured port’s priority level value from 0 to 7

4.3.10.3. Configure Port’s Duplex Mode

Command
epon(ge1)#duplex < duplex >
Grammar

Function Set switch control card port’s duplex mode

www.cdatatec.com 60 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

full:full duplex mode


< duplex> half:half duplex mode
auto:auto-negotiation mode

4.3.10.4. Enable Port

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.

4.3.10.5. Disable Port

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.

4.3.10.6. Configure Port’s Flow Control Mode

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.

enable: enable flow control function


<ctrl> disable:disable flow control function
auto:auto-negotiation mode

www.cdatatec.com 61 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.10.7. Set Port’s RX Filter Function

Command
epon(ge1)#ingr-filter <operator>
Grammar

Configure switch control card port’s RX packet filtering function.


Function When the port is not the vlan member appointed by frame VID ,the
packet is dumped at the time of receiving the frame .

Enable: enable switch control card port’s RX frame filter function


<operator>
Disable: disable switch control card port’s RX frame filter function

4.3.10.8. Configure Port Mode

Command
epon(ge1)#mode <mode>
Grammar

Configure switch control card port’s port mode,including copper and


Function
fiber modes .

Copper: copper mode


<mode>
fiber :fiber mode

4.3.10.9. Enable Port’s Nest-Vlan Function

Command
epon(ge1)#nest-vlan <operator>
Grammar

Function Configure switch control card port’s nest vlan function

enable :enable port nest’s vlan function


<operator>
Disable: disable port nest’s vlan function

4.3.10.10. Enable Port’s Protocol Vlan

Command
epon(ge1)#prot-vlan <operator>
Grammar

Function Configure switch control card port’s protocol vlan function

Enable: enable port’s protocol vlan function


<operator>
Disable: disable port’s protocol vlan function

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

4.3.10.11. Set Port’s PVID

Command
epon(ge1)#pvid <pvid>
Grammar

Function Configure switch control card port’s default vlan ID .

<pvid> Vale range from 0 to 4094

4.3.10.12. Configure Port’s Rate Limits

4.3.10.12.1. Enable Broadcast Restriction Function

Command
epon(ge1)#rate-ctrl broadcast <status>
Grammar

Function Enable switch control card port’s broadcasting restriction function

<status> enable
disable

4.3.10.12.2. Enable IGMP Restriction Function

Command
epon(ge1)#rate-ctrl multicast <status>
Grammar

Function Enable switch control port’s IGMP function

enable
<status>
disable

www.cdatatec.com 63 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.10.12.3. Set Restriction Rate

Command
epon(ge1)#rate-ctrl threshold <threshold>
Grammar

Function Set switch control card port’s restricted packet rate limits

<threshold> Vale range :0-1000000

4.3.10.12.4. Enable Unknown Unicast Restriction Function

Command
epon(ge1)#rate-ctrl unkown-uc <status>
Grammar

Function Enable unknown unicast restriction function

enable
<status>
disable

4.3.10.13. Configure Port’s Reauto-Negotiation Function

Command
epon(ge1)#reautoneg
Grammar

Configure switch control card port’s auto-negotiation function, which


is needed on the purpose of networking debugging. This function
could be replaced by means of plug in and out of the cable ,but if the
Function cable/fiber is too complicated or too far ,it is better to realize it via
software .Therefore ,port configuration management module must
provide a command port for reauto-negotiation command ,which
doesn’t preserve the attributed value continually.

4.3.10.14. Show Port Information

Command
epon(ge1)#show
Grammar

Function Show switch control card port’s configuration information

【Example】

www.cdatatec.com 64 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

1.Show switch control card port 1 ‘s configuration information

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 ------------------------

4.3.10.15. Configure Port’s Compulsive Shutdown Function

Command
epon(ge1)#shutdown
Grammar

Configure switch control card port’s compulsive shutdown function.


Function In an exceptional case, such as attached by virus or hacker and can’t
take any actions ASAP , the shutdown port function is recommended .

4.3.10.16. Remove Compulsive Shutdown Port

Command
epon(ge1)#no shutdown
Grammar

Remove switch control card port’s compulsive shutdown function. In


Function an exceptional case, such as attached by virus or hacker and can’t take
any actions ASAP , the shutdown port function is recommended .

4.3.10.17. Configure Current Port Rate

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

4.3.11. System Configuration Mode

Command
epon#system
Grammar

Function Enter GEPON system’s management mode

【Example】

1.Enter system management mode

epon#system
epon(sys)#

epon(sys)# ? input “?”or “help” to show current directory


cfg-sync - synchronize onu config with its config file
console - configure console parameters
onu-auth - configure ONU authentication parameters
read-comm - set snmp read community string
reboot - reboot the system
restore - restore to saved configuration
save - save system configuration
trap-addr - set trap destination IP address
write-comm - set snmp write community string

4.3.12. Synchrony with ONU Configuration

Command
epon(sys)#cfg-sync <slot> <status>
Grammar

Function Configure OLT’s setting is synchronous with ONU configuration.

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 .

<slot> PON card slot with integer value from 1 to 4 .

<timeout> Optional index:<enable|disable>。

【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 .

4.3.12.1. Backup EPON System Configuration

Command
epon(sys)#config backup<host>
Grammar

Function Put all EPON sytems’s configuration file backup to TFTP server.

<host> Appointed TFTP server’s IP address

4.3.12.2. Restore EPON System Configuration

Command
epon(sys)#config upgrade <host>
Grammar

Download system’s configuration file from TFTP server and restore


Function
EPON system’s configuration.

<host> Appointed TFTP server’s IP address

4.3.12.3. Configure Console Port Speed

Command
e pon(sys)#console speed<speed>
Grammar

www.cdatatec.com 67 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Function Set OLT system’s console port speed

Value range:bps2400-bps115200。
<speed>
Remark: value should be 2400*2^n (n is integer)

4.3.12.4. ONU Authorization Management Mode

Command
epon(sys)#onu-auth
Grammar

Function Enter onu authorization management mode

【Example】

1.enter onu authorization management mode

epon(sys)#onu-auth
epon(sys-onuauth)#

epon(sys-onuauth)# ? input“?”or“help”to show directory:


inv-onu - process invalid ONU list
list - configure ONU address range
type - set authentication type

4.3.12.4.1. Illegal ONU List Operation

4.3.12.4.1.1. Clear Illegal ONU List

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 .

4.3.12.4.1.2. Show Illegal ONU List

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

4.3.12.4.2. Configure ONU Authorized Address List

4.3.12.4.2.1. Add ONU Authorized Address List

Command
epon(sys-onuauth)#list add <start> <end> <type>
Grammar

Function Add an ONU address list and appoint its authorization type

<start> ONU starting MAC address: such as 00:A1:02:02:01:B0

<end> ONU ending MAC address: such as:00:A1:02:02:01:F0

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

epon(sys-onuauth)#list add 00:A1:02:01:12:B0 blacklist

4.3.12.4.2.2. Delete ONU Authorized Address List

Command
epon(sys-onuauth)#list delete <index>
Grammar

Function Delete an ONU address list

<index> MAC address list index

4.3.12.4.2.3. Show Current MAC Address List

Command
epon(sys-onuauth)#list show
Grammar

Show current ONU authorized address list and distribute an index


Function
directory for all the MAC address automatically

【Example】

1.Show current ONU authorized MAC address list:

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

4.3.12.4.3. Configure ONU Authorized Type

Command
epon(sys-onuauth)#type <type>
Grammar

Function Set GEPON system ONU’s authorized type

Valid value:<blacklist | whitelist | none>。

Blacklist: All onu in the MAC address type can’t be authorized .


<type>
Whitelist: All ONU beyond the MAC address type can’t be
authorized.
None: non-authorization ,all ONU could be authorized .

4.3.12.5. Set SNMP Read Community

Command
epon(sys)#read-comm <community>
Grammar

Function Set EMS software SNMP’s read community

Read community with bytes serial ,the longest length couln’t be over
< community >
26 bytes ,such as public .

4.3.12.6. Reboot OLT

Command
epon(sys)#reboot <device> <slot> <olt> <onu>
Grammar

Reboot EPON device;This command will reboot switch control card ,


some PON card ,some ONU or the equipment under the EPON
Function
system .
Input command “ reboot “ will only reboot the switch control card .

<device> Appoint the device to be rebooted with following index:

www.cdatatec.com 70 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

ctrl-card: reboot switch control card


<slot><olt> <onu> is ignored .
pon-card :reboot appointed pon card with index <slot)
<olt> <onu> is ignored .
Onu:reboot appointed onu under the index <slot> <olt> <onu>
all : reboot the whole EPON system including OLT and ONU .
<slot><olt> <onu> is ignored.

<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 .

<onu> Appoint ONU number with valid value from 1 to 64 .

【Example】

1.Reboot switch control card

epon(sys)#reboot
Or

epon(sys)#reboot ctrl-card

2.Reboot PON card 2 :

epon(sys)#reboot pon-card 2

3.Reboot the ONU1 under PON -2 of slot3

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

4.3.12.7. Restore Default Configuration and Reboot Equipment

Command
epon(sys)#restore <device> <slot> <olt> <onu>
Grammar

Restore ex-factory default configuration and reboot the device .


Function When <device> <slot> <olt> <onu> is ignord ,the command just
restore switch control card configuration .

www.cdatatec.com 71 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Appoint the device to restore default configuration with valid index :


ctrl-card: restore switch control card’s default configuration
<slot><olt> <onu> is ignored
pon-card: restore appointed PON card under <slot> configuration
<device> <olt> <onu> is ignored.
onu :restore default configuration for appointed onu with index :
<slot> <olt> <onu>
all: restore system’s all default configuration and command
<slot><olt> <onu> is ignored .

<slot> Appoint PON card’s slot number with valid value from 1 to 4 .

<olt> Appoint PON port number with valid value from 1 to 2 .

<onu> Appoint ONU number with valid value from 1 to 64 .

4.3.12.8. Save Current Configuration

Command
epon(sys)#save <device> <slot> <olt> <onu>
Grammar

Save current configuration.


Function Just input “ save “ command to save the switch control card’s current
configuration .

Appoint the device to save current configuration with valid index :


ctrl-card: save switch control card’s current configuration
<slot><olt> <onu> is ignored
pon-card: save appointed PON card under <slot> configuration
<device> <olt> <onu> is ignored.
onu :save configuration for appointed onu with index :
<slot> <olt> <onu>
all: save system’s all default configuration and command
<slot><olt> <onu> is ignored .

<slot> Appoint PON card slot number with valid value from 1 to 4 .

<olt> Appoint PON port number with valid value from 1 to 2 .

<onu> Appoint ONU number with valid value from 1 to 64 .

www.cdatatec.com 72 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.12.9. Set Trap Receiving IP Address

Command
epon(sys)#trap-addr <index> <ip-addr>
Grammar

Function Configure GEPON’s receiving trap IP address with 4 IP at most.

<index> Trap receiving IP index with valid value from 1 to 4 .

<ip-addr> Set trap receiving IP address ,such as 192.168.0.1.

4.3.12.10. Set SNMP Written Community

Command
epon(sys)#write-comm <community>
Grammar

Function Set SNMP’s written community of EMS software

Written community with bytes serial ,longest length 26 bytes ,such as :


< community >
private .

4.3.13. Trunk Management Mode

Command
epon#trunk <trunkid>
Grammar

Create a trunk group and enter the trunk management mode for
Function
configuration .

< trunkid > Trunk number with valid value from 1 to 8

【Example】

1.Create trunk 1 and enter trunk 1’s management mode

epon#trunk 1
epon(trunk1)#

epon(trunk1)# ? input “?”or“help”to show current directory


balance-algorithm - set trunk balance algorithm
delete - delete the specifically trunk

www.cdatatec.com 73 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

member - Set trunk member

4.3.13.1. Configure Trunk Balance Algorithm

Command
epon(trunk1)#balance-algorithm < balance>
Grammar

Configure trunk’s balance algorithm.All balance algorithm is the same


when all trunk group adopts the same balance algorithm.
Trunk group’s packet can be shared among trunk member
Function
poprts .GEPON system support several balance algorithm ,such as
based on MAC address ,IP address ,transmission port number,
MAC+IP, MAC+ transmission port number

Trunk algorithm with valid index :


mac :based on MAC address’s KE balance algorithm.
Ip: based on IP address’s balance algorithm
<balance > l4port: based on transmission port’s balance algorithm
ip-mac: based on MAC+IP address’s balance algorithm
l4port-mac
inl2if :based on packet receiving port’s balance algorithm

4.3.13.2. Delete Trunk Group

Command
epon(trunk1)#delete
Grammar

Function Delete trunk group and its member

4.3.13.3. Add Trunk Member

Command
epon(trunk1)#member <portlist>
Grammar

Function Add trunk group’s member pot

<portlist> Appoint trunk member port list from ge1 to ge8

【Example】

1.Add member port ge1,ge3,ge4 and ge8 to trunk 1 .

epon(trunk1)#member ge1,ge3-ge4,ge8

www.cdatatec.com 74 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.14. Show Trunk Configuration Information

Command
epon#show trunk
Grammar

Function Show switch control card’s current trunk configuration

【Example】

1.Show switch control card’s current trunk configuration

epon#show trunk
Traffic balance algorithm: 1 (based on mac address)
Trunk 1:
member ports :ge1,ge3-ge4,ge8

4.3.15. User Management

4.3.15.1. Set User Authority

Command
epon#user access <name> < access >
Grammar

Change appointed user’s priority mode to limit use to access to system


Function
or limit the user right .

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.

4.3.15.2. Add User

Command epon#user add <name> <passwd> < access >

www.cdatatec.com 75 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

Grammar

Function Add a user

<name> User name with the length from 4 to 15 bytes.

Optional index to change new password .if there is no index ,the


<passwd> user’s password is blank ;if index is provided ,it could be any obvious
bytes combination with the length from 6 to 31 bytes .

admin : administer who has all the configuration and operation rights .
<access>
Guest: guest who could only ready the operation. Configuration

4.3.15.3. Delete User

Command
epon#user delete <name>
Grammar

Function Delete appointed user from logging in the system

<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 .

4.3.15.4. Change User Password

Command
epon#user passwd <name> [<password>]
Grammar

Change appointed user’s log in password .


Function
If <password> is ignored , the log in password is blank.

<name> User name with the bytes length from 4 to 15 bytes .

Optional index to input new password .


<password> 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.

www.cdatatec.com 76 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.3.15.5. Show Current User’s Information

Command
epon#user show
Grammar

Function Show system’s all user list

【Example】

1.Show System’s Current User List

epon#user show
User: admin Access: administrator|0 Timeout: 1800
User: guest Access: guest|0 Timeout: 600

4.3.15.6. Change User’s Timeout

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 .

4.3.16. VLAN Management Mode

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

1.Create Vlan100 and enter vlan100’s management mode

epon#vlan 100
epon(vlan100)#

epon(vlan100)# ? input“?”or “help” to show current directory:


delete - delete vlan members or vlan
member - add vlan member

4.3.16.1. Delete Vlan Member

Command
epon(vlan100)#delete member <portlist>
Grammar

Delete vlan member port.


Function
Input “delete member” to to delete this vlan and member port.

<portlistt> Appoint vlan member port list ,any port from ge1 to ge16.

4.3.16.2. Delete Vlan

Command
epon(vlan100)#delete
Grammar

Function Delete current vlan and all member ports under this vlan.

4.3.16.3. Add Vlan Member Port list

Command
epon(vlan100)#member <portlist> <tag>
Grammar

Function Add vlan member port and set its tag mode.

<portlistt> Added vlan member port list ,from ge1 to ge16.

Tag mode with fixed index “tag” .


When the member port is marked with tag .The packet from the port is
<tag>
added with vlan tag .
When tag is deleted ,this port is not marked with tag .

【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 .

epon(vlan100)#member ge1-ge3 tag


epon(vlan100)#member ge4-ge5,ge16

4.3.17. Show Vlan Configuration Information

Command
epon#show vlan
Grammar

Function Show switch control card’s vlan configuration information .

【Example】

1.Show switch control card’s valn configuration:

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

4.4. Show System Running Information

4.4.1. Show System’s Current CPU Running Status

Command
epon>show cpu
Grammar

Function Show system’s CPU running status information

【Example】

1.Show system’s CPU Running Information:

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)

4.4.2. Show System’s Memory Use Status

Command
epon>show mem
Grammar

Function Show system’s memory use status information

www.cdatatec.com 80 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

【Example】

1.Show system’s current memory user information:

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 - - -

4.4.3. Show System’s Task Status

Command
epon>show task
Grammar

Function Show system’s current task information

4.4.4. Enable CATV (RF) Function

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

Function Enable ONU’s RF function

www.cdatatec.com 81 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.4.5. disable CATV (RF) Cut-Off Function

Command
epon(slot3-olt2-onu9)#catv disable
Grammar

Disable ONU’s RF function if subscriber don’t pay CATV cost on


Function
time from the OLT management interface .

4.5. Global Command

Global command can be used under any command mode.

4.5.1. Create Command Alias

Command
alias <alias> <cmd>
Grammar

Function Create appointed command’s alias

<alias> Input command’s alias

<cmd> Original command

4.5.2. Change Directory

Command
cd <directory>
Grammar

Function Enter appointed directory

<directory> Input directory

4.5.3. Clear Screen

Command
clear
Grammar

Function Clear screen

www.cdatatec.com 82 [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.

< scr-file > Source file

<dest-file> destined file

4.5.5. Show System’s Date

Command
date
Grammar

Function Show system’s current date and time .

4.5.6. Delete File

Command
del <filename>
Grammar

Function Delete appointed file

< filename > Appoint deleted file name

4.5.7. Exit From The Current Command Mode

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

4.5.8. Return to System Main Directory

Command
end
Grammar

Function Return to the system’s main directory

4.5.9. Help

Command
help
Grammar

Function Command help

4.5.10. Command History

Command
history
Grammar

Function Show current input command history

4.5.11. Log Out System

Command
logout
Grammar

Function Log out system。

4.5.12. Show Current File List

Command
ls
Grammar

Function Show current directory’s file list

www.cdatatec.com 84 [email protected]
Shenzhen C-Data Technology Co.,Ltd. OLT CLI User Manual

4.5.13. PING

Command
ping <host>
Grammar

Function Test remote host’s connection

< host> Remote host’s ip address

4.5.14. Show Directory Route

Command
pwd
Grammar

Function Show directory route

4.5.15. TFTP

Command
tftp <cmd> <filename> < mode>
Grammar

Function Upload/download file through TFTP

TFTP command:
< cmd> get : download file
Put: upload file

<filename> File name

File format :
<mode> ascii file format
binary format

www.cdatatec.com 85 [email protected]

You might also like