Académique Documents
Professionnel Documents
Culture Documents
(V1)
UnotradeTechnologiaLtda.
Contents
1.
2.
3.
4.
Preface ......................................................................................................................................6
1.1.
Introduction ..............................................................................................................6
1.2.
Definition...................................................................................................................6
ConfigurationPreparation ........................................................................................................7
2.1.
ManagementModel .................................................................................................7
2.2.
ConsolePortConnection...........................................................................................7
2.3.
NetworkConnection .................................................................................................8
2.4.
UserLoginEPONCLISystem .....................................................................................8
CommandFormatIllustration...................................................................................................9
3.1.
CommandFormat .....................................................................................................9
3.2.
TypicalParameterCategory.....................................................................................11
SystemRootDirectory ............................................................................................................13
4.1.
EnableSystemLogPrintedtoSuperTerminal.........................................................13
4.2.
SystemDebugMode ...............................................................................................13
4.2.1. debug...............................................................................................................14
4.2.2. dump ...............................................................................................................14
4.2.3. loglvl ...............................................................................................................14
4.3.
EnableMode ...........................................................................................................15
4.3.1. SwitchControlCardMACAddressManagement ............................................15
4.3.1.1. ConfigureSwitchControlCardsMACAgingTime ..................................15
4.3.1.2. ShowSwitchControlCardsMACAddressList ........................................16
4.3.2. PortmirrorManagement ................................................................................16
4.3.2.1. MirrorDestinationPort ...........................................................................16
4.3.2.2. AddMirrorSourcePort ...........................................................................16
4.3.2.3. DeleteMirrorSourcePort .......................................................................17
4.3.2.4. AddMirrorSourceVLAN .........................................................................17
4.3.2.5. DeleteMirrorSourceVLAN .....................................................................18
4.3.2.6. ClearMirrorSource .................................................................................18
4.3.3. NetworkConfigurationMode .........................................................................18
4.3.3.1. ConfigureManagementPortsIPandSubMask .....................................19
4.3.3.2. ConfigureNMSPortGateway..................................................................19
4.3.4. OLTManagementMode..................................................................................20
4.3.4.1. EnterOLTManagementMode ................................................................20
4.3.4.2. EnableOLT ...............................................................................................21
4.3.4.3. OLTBridgeConfiguration.........................................................................21
4.3.4.4. RestorePONDefaultSetting ...................................................................23
4.3.4.5. ExternalUDPManagementFunction ......................................................23
4.3.4.6. LinkManagementMode .........................................................................25
4.3.4.7. ONUManagementMode........................................................................31
2
DeleteFile .......................................................................................................86
ExitFromTheCurrentCommandMode .........................................................87
ReturntoSystemMainDirectory ....................................................................87
Help .................................................................................................................87
CommandHistory............................................................................................87
LogOutSystem................................................................................................87
ShowCurrentFileList......................................................................................88
PING.................................................................................................................88
ShowDirectoryRoute......................................................................................88
TFTP .................................................................................................................88
1. Preface
1.1. Introduction
UnotradeOLTOT2000Ssystemcouldsupportinbandandoutbandnetworkmanagementmode
and EMS network management based on SNMP which we would provide our EMS software
alongwiththeparcelforshipping.Besides,wecouldalsosupportCLImanagementforusertoget
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
functionandsimpleoperationintheEMSinterface.
1.2. Definition
Product/Abbrev
iation
GEPON
Description
GigabitEthernetPassiveOpticalNetwork
OLT
OpticalLineTerminal
ONU
OpticalNetworkUnit
2. ConfigurationPreparation
2.1. ManagementModel
2.2. ConsolePortConnection
ThereisaConsoleportinthefrontpanelofSwitchControlCard.Thecommandlineconfiguration
interfaceisenabledviaconsoleportconnectingtotheNMSssuperiorterminal.Superterminals
basicconfigurationisasfollows:
2.3. NetworkConnection
FD2100Ssupportinbandmanagement(CAT5connecttoge1ge8port)andoutbandmanagement
(CAT4 cable to management port).After Telnet to CLI interface ,we can manage the GEPON
products.
DefualtoutbandnetworkmanagementIP:192.168.120.100
DefaultinbandnetworkmanagementIP: 192.168.1.100
2.4. UserLoginEPONCLISystem
Systemprovidetwologinaccountsdefaultasfollows:
User
Password
admin
Admin
guest
Blank
Afteryouloginsuccessfully,thefollowinginterfacepopsup:
Whenthecommandlinesshows:epon> ,usercaninputtheconfigurationcommandtomange
orinquiretheconfigurationinformation.
3. CommandFormatIllustration
3.1. CommandFormat
1
2
3
CommandConventions
KeyboardOperationConventions
Symbols
Convention
Description
Boldface
Usedtohighlightthekeywords(inportantwords
thatshouldneverbemodifiedwheninput).
italic
[]
Items(keywordsorarguments)insquarebrackets[]
areoptional.
(x|y|...)
Alternativeitemsaregroupedinbracesand
separatedbyverticalbars.Oneisselected.
[x|y|]
Optionalalternativeitemsaregroupedinsquare
bracketsandseparatedbyverticalbars.Oneor
noneisselected.
Valuesrangefromxtoy.Oneisselected.
Alinestartingwiththe$signiscomments.
<xy>
$
Format
Description
<key>
Pressthekeywiththekeynameinsideangle
brackets.Forexample,<Enter>,<Tab>,
<Backspace>, or<A>.
<key1+key2>
Pressthekeysconcurrently.Forexample,
<Ctrl+Alt+A>meansthethreekeysshouldbe
pressedconcurrently.
<key1,key2>
Pressthekeysinturn.Forexample,<Alt,A>means
thetwokeysshouldbepressedinturn.
Eyecatchingsymbolsarealsousedinthemanualtohighlightthepointsworthyof
specialattentionduringtheoperation.Theyaredefinedasfollow:
Caution:Meansreaderbeextremelycareful.Improperoperationmaycause
datalossordamagetoequipment
Warning:Meansreaderbeextremelycareful.Improperoperationmaycause
bodilyinjury.
Note:Meansacomplementarydescription.
4.HintsCommandsinthismannualiscasesensitive.
10
3.2. TypicalParameterCategory
When configure the system with CLI(command lines) ,we will meet with some data types with
fixedformat,whichembodysomeindexsmeaning,expressionmodeandvaluerange.
Herein,welistsomerepeatedcommandstoexplaintheirmeaninganduse.
vlanid
Vlanindexwithvalidintegervaluefrom1to4094.
port
portlist
ifxname
ipaddr
Ipaddresssuchas192.168.1.1
ipmask
Ipmaskwith4segmentsofalgorismbytes,suchas255.255.255.0
mac
MACaddresssuchas00:01:02:02:04:05
moduleId
ModuleIDnumber
moduleId modulename
3 commonmbufpool
4 HDLCdriver
5 interboardcommunicaitonprotocol
9 deviceonlinestatusmaintenance
10 systembasicconfiguration
11 usermanager
12 switchportattributemanagement
13 switchportstatuspolltask
14 switchportstatisticspolltask
11
12
4. SystemRootDirectory
Ateryouloginsuccessfully,inputorhelptoshowthecurrentdirectory
epon>?
[no]copylog printlogmessagesonthecurrentshell.
debug enterdebugmode
enable enterprivilegedmode
exe Executerawcommands(globalCfunctions).
show showvariousparameters
4.1. EnableSystemLogPrintedtoSuperTerminal
Command
Grammar
[epon>[no]copylog
Function
ShowcurrentSystemLog
4.2. SystemDebugMode
Command
Grammar
epon>debug
Function
enterdebugmode
Remark
enteringexitcouldreturntothecurrentmode.
Youwillfindthecommandasfollowsafterenteringdebugmode:
epon%
debug
dump
loglvl
inputorhelptoshowthecurrentdirectory
debugspecificmodule
showmoduleinternaldata
setloglevelforspecificmodule
13
4.2.1. debug
Command
Grammar
epon%debugmodule<moduleId>
Function
Configurethemodulesdebugfunctions
Remark
Thiscommandisntvalidyet.
4.2.2. dump
Command
Grammar
epon%dumpmodule<moduleId>
Function
Configurethemodulesdumpfunctions
<moduleId>
ModuleID,formatpleasereferto3.3typcialParametercategory
4.2.3. loglvl
Command
Grammar
epon%Loglvlmodule<moduleId><level>
Function
ChangemodulesLOGlevel
<moduleId>
<level>
Thereare5levelforLOGlevel,markedfrom0to4.0isthehighest
level.
0:criticalevent
1:importantevent
2:generalevent
3:trivialevent
4:debugmessage
14
4.3. EnableMode
Command
Grammar
epon>enable
Function
Enterenablemanagementmodeandprovidesenablepassword.
Example
1.enterenablemanagementmode:
epon>enable
password:
epon#
Thepasswordtoenterenablemodeisblankdefaultly.
epon#
Inputorhelptoshowthefollwingdirectory:
mirror
mirroringconfiguration
network configurenetworkparameters
olt enteroltconfigmode
passwd changeenablepassword
protvlan enterprotocolbasedvlanconfigmode
ratectrl setswitchportingressratelimitglobalparameters
rstp enterrapidspanningtreeconfigmode
show dislpayconfiguration
swmode
setbasicswitchmode
swport enterswitchportconfigmode
system configuresystembasicparameters
trunk entertrunkconfigmode
user Userconfiguration
vlan entervlanconfigmode
4.3.1. SwitchControlCardMACAddressManagement
4.3.1.1.
ConfigureSwitchControlCardsMACAgingTime
Command
Grammar
epon#macaddressaging<timeout>
15
ConfigureswitchcontrolcardsMACaddressagingtime
<timeout>
MAC aging time ,with value range from 10 to 630 seconds .step
lengthis10seconds.
4.3.1.2.
ShowSwitchControlCardsMACAddressList
Command
Grammar
epon#macaddressshow<port>
Function
ShowswitchcontrolcardsMACaddresslistofappointedport.When
<port>isignored,itwillshowallportsMACaddress.
<port>
Optional index .only show appointed ports MAC address list with
valuerangefromge1toge16.
4.3.2. PortmirrorManagement
4.3.2.1.
MirrorDestinationPort
Command
Grammar
epon#mirrordestinationport<port>
Function
Configure the designated port for the switch control card as the
mirrordestinationport
<port>
Designateaportasthemirrordestinationportwithvaluerangefrom
geltoge8.
4.3.2.2.
AddMirrorSourcePort
Command
Grammar
epon#mirrorsourceaddport<portlist><direction>
16
<portlist>
Designatesomeportasmirrorsourceport.Designationmeanscould
referto3.3TypicalParametercategoryIllustration.
<direction>
4.3.2.3.
DeleteMirrorSourcePort
Command
Grammar
epon#mirrorsourcedeleteport<portlist><direction>
Function
Delete mirror source port ,which could appoint one directions data
flowasmirrorsource.
<portlist>
Portlist
<direction>
Appointdeletedmirrorsoursdataflowdirection:
ingress
egress
both
4.3.2.4.
AddMirrorSourceVLAN
Command
Grammar
epon#mirrorsourceaddvlan<vlanid>
Function
Configure added mirror source VLAN .All the packet in the VLAN
domainwillarrivethedesignatedmirrorport.Mirrorsourcedoesnt
supportdataflowinthedirectionofVLANdomain
<vlanid>
Designate the VLAN as mirror source with the value range from1to
4094
17
4.3.2.5.
DeleteMirrorSourceVLAN
Command
Grammar
epon#mirrorsourcedeletevlan<vlanid>
Function
ConfiguredeletingmirrorsourceVLAN
<vlanid>
AppointthedeletedmirrorsourceVLAN withvaluerangefrom1to
4094
4.3.2.6.
ClearMirrorSource
Command
Grammar
epon#mirrorsourceclear
Function
ClearallmirrorsourceincludingallsourceportandsourceVLAN.
4.3.3. NetworkConfigurationMode
Command
Grammar
epon#network
Function
ConfigureinbandandoutbandmanagementportsIPaddress.
Example
1.Enternetworkmanagementmode
epon#network
epon(net)#
epon(net)# inputorhelptoshowthefollowingdirectory
[no]address
setnetworkinterfaceaddress
[no]gateway configurenetworkdefaultgateway
18
4.3.3.1.
ConfigureManagementPortsIPandSubMask
Command
Grammar
epon(net)#address<ifxname><ipaddr><ipmask>
Function
<ifxnamee>
<ipadd>
ConfigureIPaddress
<ipmask>
ConfigureappointedIPaddresssnetworkmask.
Example
1.Enquirythecurrentinbandnetworkmanagementportsnetworkconfiguration:
epon(net)#addressvi0
Interfacevi0:
Ipaddress :192.168.1.100
Netmask :255.255.255.0
associatedvlan:1
adminstatus :operational
Example2:ConfigureinbandmanagementIPas 192.168.1.1,maskis255.155.155.0
epon(net)#addressvi0192.168.1.1255.255.255.0
Example3:ConfigureoutbandmanagementIPas192.168.1.2andmaskis255.255.255.0
epon(net)#addresscpm0192.168.1.2255.255.255.0
4.3.3.2.
ConfigureNMSPortGateway
Command
Grammar
epon(net)#gateway<ipaddr>
19
ConfigureNMSportsgateway.
Inputcommandgatewaytoshowthecurrentgatewayinformation.
<ipaddr>
Configuretheappointedgatewayaddress.
4.3.4. OLTManagementMode
4.3.4.1.
EnterOLTManagementMode
Command
Grammar
epon#olt<slotid><oltid>
Function
EnterOLTmanagementmodetoconfigureOLT,downplinkandONU.
justinputoltcouldshowthecurrentonlineOLT.
<slotid>
oltponcardslotwithvaluemarkedfrom1to4.
<oltid>
PonIDwithvalidvalue1and2.
Example
1.ShowcurrentonlineOLT:
epon#olt
Followingisonlineoltlist:
Slot Olt MacAddress OnlineStatus
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.ManagePON1ofPONcardunderOLTSlot3.
epon#olt31
epon(slot3olt1)#
epon(slot3olt1)#
inputorhelptoshowthecommanddirectory:
admin
setoltadministratestatus
bridge setoltbridgeconfiguration
default resetoltdefaultconfiguration
extmgmt externnetworkmanagement
link enterlinkconfigmode
20
4.3.4.2.
EnableOLT
Command
Grammar
epon(slot3olt1)#admin<enable|disable>
Function
Enable/disableOLT
<enable>
EnableOLT
<disable>
DisableOLT
4.3.4.3.
OLTBridgeConfiguration
Command
Grammar
epon(slot3olt1)#bridge
Function
Showcurrentbridgesetting
example
1. ShowOLTscurrentbridgesetting
epon(slot3olt1)#bridge
BridgeConfiguration:
learnedmacagelimit :0 (ms)
bridgevlannumber :64 (bridges)
allowsimplebridge :YES
maclearnoverwrite :NO
discardunknownmac :NO
allowtaggedframe :YES
21
4.3.4.3.1. MACAddressAgingTime
Command
Grammar
epon(slot3olt1)#bridgelimit<limit>
Function
Change MAC addresss aging time .0 means not to learn MAC , the
unitis1ms.
<limit>
Parameterrange02516582400(about29days)
4.3.4.3.2. BridgeVLANNumberConfiguration
Command
Grammar
epon(slot3olt1)#bridgevlannum<vlanNum>
Function
Setbridgevlannumber(tk3723chipsetOLTsfixednumberis64)
<vlanNum>
Fixnumberis64
4.3.4.3.3. MACAddressOverwriteConfiguration
Command
Grammar
epon(slot3olt1)#bridgeoverwrite<enable|disable>
Function
SetoverwriteMACaddressmode
Parameters<enable|disable>withthemeaningasfollows:
enable:When MAC address is full ,new MAC overwrite existing
<enable|disable>
MACaddress.
disable:WhenMACaddressisfull,ignorethenewMACaddress.
4.3.4.3.4. UnknownMACRestrictionConfiguration
Command
Grammar
epon(slot3olt1)#bridgedscunkmac<enable|disable>
Function
SetunknownMACrestrictionmode
4.3.4.3.5. ForwardTagFrameConfiguration
Command
Grammar
epon(slot3olt1)#bridgetagonsbrg<enable|disable>
Function
Settagforwardingrulesundersimplebridgemode.
<enable|disable>
enable:allowforwardingtagframe
disable:dumptagframe
4.3.4.4.
RestorePONDefaultSetting
Command
Grammar
epon(slot3olt1)#default
Function
RestorePONDefaultSetting
Remark
ThecommandwilldeletePONcardsallsettingandrestoretheexfactorydefaultsetting.Andthe
PONcardwillrebootautomatically.
4.3.4.5.
ExternalUDPManagementFunction
ThethirdpartynetworkmanagementsoftwarecouldmanagetheGEPONsystemviatheoriginal
TeknovousHostInterfacewithUDPpacketpackage.
SinceFD2102TsPONcardhasonlyoneOLTchipset,theconfigurationfor(slotXolt2)isthesameas
thatfor(slotXolt2).
4.3.4.5.1. ConfiguremanagementhostsIPandUDPPort
Command
Grammar
pon(slot3olt1)#extmgmthost<ipadd><port>
23
Function
<ipadd>
ConfiguremanagementhostsIPaddress
<port>
Example
1.ConfiguremanagementhostIPas192.168.120.1,portas14115:
epon(slot3olt1)#extmgmthost192.168.120.114115
4.3.4.5.2. ConfigureOLTsmanagementPort
Command
Grammar
epon(slot3olt1)#extmgmtmgmtport<port>
Function
Configure OLTs UDP management port ,where the OLT process and
respondthemanagementpacket.
4.3.4.5.3. Enable/DisableOLTsUDPManagementFunction
Command
Grammar
epon(slot3olt1)#extmgmt<enable|disable>
Function
Enable/disableOLTsUDPmanagementport
<enable|disable> enable:enableOLTUDPmanagementfunction
24
4.3.4.5.4. ShowOLTsUDPManagementInformation
Command
Grammar
epon(slot3olt1)#extmgmtshow
Function
ShowOLTsUDPmanagementfunctioninformation
Example
1.ShowthecurrentOLTsUDPmanagementinformation:
epon(slot3olt1)#extmgmtshow
OltExternNetworkManagementConfigurations:
admin :enable
hostipaddress :192.168.120.1
hostudpport :14115
oltmanagementudpport :14115
4.3.4.6.
LinkManagementMode
Command
Grammar
epon(slot3olt1)#link<linkid>
Function
EnterLINKmanagementmodeandconfigurelinkParameter.
<linkid>
Designatedlinkedwithvaluerangefrom1to256.
Example
1.ShowthecurrentonlineLINK:
epon(slot3olt1)#link
Followingisonlinelinklist:
LinkId MacAddress OnlineStatus
1 00:a1:02:0a:a1:08 Online
2.EnterLink1managementinterface:
25
epon(slot3olt1link1)#
inputorhelptoshowcommanddirectory:
[no]block
blocklink
dynamicmacclear cleardynamicmactable
dynamicmaclist
showalldynamicmactable
dynamicmacrefresh refreshdynamicmactable
rediscover forcelinkrediscovery
show showlinkbasicconfiguration
sla setlinkSLAparameters
staticmacadd
addastaticmac
staticmacdel deleteastaticmac
staticmaclist
showallstaticmactable
4.3.4.6.1. BlockCurrentLink
Command
Grammar
epon(slot3olt1link1)#block
Function
Blockcurrentlinktostopthelinksdataflow.
4.3.4.6.2. RemovetheCurrentLinkBlock
Command
Grammar
epon(slot3olt1link1)#noblock
Function
Removethecurrentlinkblocktorestorethelinksdataflow.
4.3.4.6.3. ClearLinksDynamicMACAddressList
Command
Grammar
epon(slot3olt1link1)#dynamicmacclear
Function
ClearlinksdynamicMACaddresslist
26
4.3.4.6.4. ShowLinksDynamicMACAddressList
Command
Grammar
epon(slot3olt1link1)#dynamicmaclist
Function
ShowalltheMACaddresslistlearnedfromthelink
Remark
Please use the command dynamicmacrefresh to refresh the links dynamic MAC address
beforeshowingthelinksdynamicMACaddress.
4.3.4.6.5. RefreshLinksDynamicMACAddressList
Command
Grammar
epon(slot3olt1link1)#dynamicmacrefresh
Function
RefreshlinksdynamicMACAddress
4.3.4.6.6. ForceRediscoveringLink
Command
Grammar
epon(slot3olt1link1)#rediscover
Function
ForcethelinkrediscoveringtoOLT
4.3.4.6.7. ShowLINKBasicInformation
Command
Grammar
epon(slot3olt1link1)#show
Function
Showthelinkscurrentbasicconfigurationinformation
Example
27
:1
assignedlinkidbyolt
:0
macaddress :00:a1:02:0a:a1:08
onlinestatus
:Online
keyexchangetimer
:0 (sec)
bridgingtype
:simplebridge
:NO
4.3.4.6.8. LinkSLAConfiguration
4.3.4.6.8.1. ConfigureLinksMinimumGuaranteedBandwidth
Command
Grammar
epon(slot3olt1link1)#sla<dir>minbw<minbw>
Function
<dir>
Appointthelinkslasdirection:
downstream
upstream
<minbw>
Remark
Theminimumbandwidthmuchbelowerthanorequaltothemaximumallowedbandwidth.
4.3.4.6.8.2. ConfigureLinksMaximumAllowedBandwidth
Command
Grammar
epon(slot3olt1link1)#sla<dir>maxbw<maxbw>
28
<dir>
AppointthelinkSLAs configurationdirection:
downstream
upstream
<maxbw>
Remark
Themaximumbandwidthmusthigherthanorequaltotheminimumguaranteedbandwidth.
4.3.4.6.8.3. ConfigureLinkTransmissionTimeDelayedLevel
Command
Grammar
epon(slot3olt1link1)#sla<dir>level<level>
Function
Configureuplinkordownlinkstransmissiondelayedtimelevel.
<dir>
TwodirectionParameteroptional:
downstream
upstream
<level>
Appointdownlinkoruplinkstransmissiondelayedtimelevelwith
thevalidvalueasfollows:
Sensitive:sensitiveservicecouldbegiventheprioritytotransmit.
tolerant :nonsensitiveservice
4.3.4.6.8.4. ConfigureLinksMaximumBurstFlow
Command
Grammar
epon(slot3olt1link1)#sla<dir>burstsize<burst>
Function
Configureuplinkordownlinksmaximumburstflow.
<dir>
Twoconfigurationdirectionasfollows:
downstream
upstream
<burst>
Appointthelinksmaximumburstflowwiththevalidvaluerange
from1to256.
29
4.3.4.6.8.5. ShowLINKSLAConfiguration
Command
Grammar
epon(slot3olt1link1)#sla<dir>
Function
ShowuplinkordownlinksSLAconfigurationinformation
<dir>
downstream or
upstream
Example
1.ShowcurrentuplinksSLAconfigurationinformation:
epon(slot3olt1link1)#slaupstream
CurrentLinkSLAconfiguration(Upstream):
minimumguaranteedbandwidth :0 (Kbps)
maximumallowedbandwidth
:1000000(Kbps)
delaysensitive :Tolerant
maxburstsize
:100 (KBytes)
slastate
:Enable
2.ShowdownlinksSLAconfigurationinformation:
epon(slot3olt1link1)#sladownstream
CurrentLinkSLAconfiguration(Downstream):
minimumguaranteedbandwidth :0 (Kbps)
maximumallowedbandwidth
:1000000(Kbps)
delaysensitive :Tolerant
maxburstsize
:100 (KBytes)
slastate
:Enable
4.3.4.6.9. AddLinksStaticMACAddress
Command
Grammar
epon(slot3olt1link1)#staticmacadd<mac>
Function
AddlinksstaticMACaddress
<mac>
InputMACaddress
30
4.3.4.6.10. DeleteLinksStaticMACAddress
Command
Grammar
epon(slot3olt1link1)#staticmacdel<mac>
Function
DeleteAppointedLinksStaticMACAddress
<mac>
InputthedeletedMACaddress
4.3.4.6.11. ShowLinksStaticMACAddressList
Command
Grammar
epon(slot3olt1link1)#staticmaclist
Function
ShowthelinksstaticMACaddress
4.3.4.7.
ONUManagementMode
Command
Grammar
epon(slot3olt1)#onu<onuid>
Function
EnterONUmanagementmodeandconfiguretheONUParameter.
<onuid>
Inputonuidwiththevalidvaluerangefrom1to64
Example
1.ShowcurrentonlineONU
epon(slot3olt1)#onu
Followingisonlineonulist:
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.EnterONU1managementinterface
epon(slot3olt1)#onu1
epon(slot3olt1onu1)#
31
4.3.4.7.1. RestoreONUDefaultConfiguration
Command
Grammar
pon(slot3olt1onu1)#default
Function
RestoreONUdefaultconfiguration
Remark
ThecommandwilldeleteallONUsconfigurationtorestoredefaultconfiguration.TheONUwill
rebootautomatically.
4.3.4.7.2. ONUIGMPSnooping
4.3.4.7.2.1. ConfigureONUPortsIGMPNumber
Command
Grammar
epon(slot3olt1onu1)#igmpport<port>groups<groupnum>
Function
ConfigureONUportssupportedIGMPnumber.
0meanstodisableIGMPSnoopingfunction.
<port>
AppointONUsportnumberwithvaluerangefromfe1tofe8..
<groupnum>
SetONUportsIGMPnumberwithvalidvaluerangefrom0to64.
32
4.3.4.7.2.2. AddIGMPAddressandPortList
Command
Grammar
epon(slot3olt1onu1)#igmpadd<ipaddr><portlist>
Function
AddaIGMPaddressandaportnumber
<ipaddr>
InputIGMPaddress,suchas224.0.0.1
<portlist>
Inputportnumberwithvalidvaluerangefromfe1tofe8.
4.3.4.7.2.3. DeleteIGMPAddress
Command
Grammar
epon(slot3olt1onu1)#igmpdelete<ipaddr>
Function
DeleteIGMPaddress
<ipaddr>
InputIGMPaddresssuchas224.0.0.1
4.3.4.7.2.4. TheLastMemberEnquiryTimes
Command
Grammar
pon(slot3olt1onu1)#igmplmqc<value>
Function
Setthelastmemberenquirytimes
<value>
valuerangefrom0to12
4.3.4.7.2.5. ReDeliveryTimes
Command
Grammar
pon(slot3olt1onu1)#igmprc<value>
Function
SetIGMPpacketsredeliverytimes
<value>
Valuerangefrom0to12
4.3.4.7.2.6. ShowCurrentIGMPConfigurationInformation
Command
Grammar
epon(slot3olt1onu1)#igmpshow
33
ShowcurrentIGMPinformation
4.3.4.7.3. ConfigureONUUserInformation
Command
Grammar
epon(slot3olt1onu1)#info<info>
Function
ConfigureONUuserinformation;
JustinputinfotoshowthecurrentONUusersinformation.
<info>
Userinformationbyteswithlongestbytes64
4.3.4.7.4. ONULinkLoopbackTest
Command
Grammar
epon(slot3olt1onu1)#loopbacktest
TestONUlinkstatusandthiscommandisinteractivecommandwhich
needtheusertoprovidethefollowingParameterstepbystep.
Function
loopbacklocation:mac phy
numberofframes:165535
payloadlength:641500
vlantag:04094
Example
1.TestONULink
epon(slot3olt1onu1)#loopbacktest
pleaseoffertheloopbacktestparameter:
loopbacklocation[mac|phy]:mac
numberofframes[1~65535]:100
payloadlength[64~1500]:64
vlantag[0~4094]:0
testing...
result:
framessent
:100
framesreceived
:100
corruptedframesreceiv :0
minimumDelay(us)
:2512
34
:5788
mverageDelay(us)
:4135
4.3.4.7.5. ShowONUDynamicMACAddressList
Command
Grammar
epon(slot3olt1onu1)#macaddressshow
Function
ShowONUsdynamiclearningMACaddressgloably.
4.3.4.7.6. ONUPortManagementMode
Command
Grammar
epon(slot3olt1onu1)#port<uniport>
Function
Enter ONU port management mode and configure the ONU ports
Parameter.
<uniport>
Appointonuportnumberwithvalidvaluerangefromfe1tofe8.
Example
1.EnterONU1sport1interface
epon(slot3olt1onu1)#portfe1
epon(slot3olt1onu1fe1)#
epon(slot3olt1onu1fe1)#
inputorhelptoshowthecommanddirectory
attribute onuportattributeconfig
bridge onuportbridgeparameterconfig
dynamicmacclear cleardynamicmactable
dynamicmaclist showalldynamicmactable
[no]enable enableonuport
info setonuportuserinformation
qos onuportqosconfig
vlan onuportvlanconfiguration
35
ShowONUPortParameter
Command
Grammar
epon(slot3olt1onu1fe1)#attribute
Function
ShowONUportsParameterattribute.
Example
1:ShowONU1sport1attribute
ONU(3/1/1)Portfe1attribute:
autonegotiation :enable
speed
:10m
duplex
:half
flowcontrol :disable
4.3.4.7.6.1.2.
ConfigureONUPortAutoNegotiation
Command
Grammar
epon(slot3olt1onu1fe1)#attributeautonego<oper>
Function
ConfigureONUporttobeautonegotiable
<oper>
Valueinput is <enable|ordisable>:
enable: enabletheportsautonegotiationfunction
disable:Disabletheportsautonegotiationfunction
4.3.4.7.6.1.3.
ConfigureONUPortSpeed
Command
Grammar
epon(slot3olt1onu1fe1)#attributespeed<speed>
Function
ConfigureONUportsspeed
<speed>
ONUportspeedwithvalidvalueasfollows:10m100m1000m
36
ConfigureONUPortsDuplexFunction
Command
Grammar
epon(slot3olt1onu1fe1)#attributeduplex<duplex>
Function
ConfigureONUportsduplexstatus
<duplex>
ONUportsduplexstatuswithvaluehalforfull
4.3.4.7.6.1.5.
ConfigureONUPortFlowControlFunction
Command
Grammar
epon(slot3olt1onu1fe1)#attributeflowctrl<oper>
Function
ConfigureONUportsflowcontrolfunction
<oper>
Enable/disableONUportflowcontrolfunction
Enable:enableONUportflowcontrolfunction
Disable:disableONUportflowcontrolfunction
4.3.4.7.6.2. ConfigureONUportsBridgeParameter
4.3.4.7.6.2.1.
ShowONUPortBridgeParameter
Command
Grammar
pon(slot3olt1onu1fe1)#bridge
Function
ShowONUportbridgeParameter
example
1:ShowONUport1sbridgeParameter
epon(slot3olt1onu1fe1)#bridge
ONU(3/1/1)Portfe1bridgeparameter:
automaticlearningentrylimit :16
learnedentryagelimit
:0
forwardingmode
:802.1dmode
4.3.4.7.6.2.2.
ConfigureONUPortsDynamicMACLimits
Command
epon(slot3olt1onu1fe1)#bridge<entrylimit>
37
ConfigureONUportsdynamiclearningMACnumber
<entrylimit>
4.3.4.7.6.2.3.
ConfigureONUPortsMACAgingTime
Command
Grammar
epon(slot3olt1onu1fe1)#bridgeagetime<agetime>
Function
ConfigureONUportsAgingtimeofMACaddress
<agetime>
MACaddressagingtimewithvalidvaluefrom0to32768;
0meansnottoageMACaddress
4.3.4.7.6.2.4.
ConfigureONUPortsForwardMode
Command
Grammar
epon(slot3olt1onu1fe1)#bridgeforwardmode<forwardmode>
Function
ConfigureONUportsforwardmode
<forwardmode>
Forwardmodewithvalidvaluesuchas8021d,dropuntillearned;
8021dmode:unknownMACpacketbroadcasttoallports;
Dropuntillearnedmode:dropunknownMACpacket
4.3.4.7.6.3. ClearONUPortsDynamicMACList
Command
Grammar
epon(slot3olt1onu1fe1)#dynamicmacclear
Function
ClearONUportsdynamicMAClist
4.3.4.7.6.4. ShowONUPortsDynamicMACList
Command
Grammar
epon(slot3olt1onu1fe1)#dynamicmaclist
Function
ShowONUportsdynamicMACList
38
4.3.4.7.6.5. EnableONUUNIPort
Command
Grammar
epon(slot3olt1onu1fe1)#enable
Function
EnableONUporttomakesurenormalcommunication
4.3.4.7.6.6. DisableONUUNIPort
Command
Grammar
epon(slot3olt1onu1fe1)#noenable
Function
DisableONUporttostopthedataflowcommunication
4.3.4.7.6.7. ConfigureONUPortsUserInformation
Command
Grammar
epon(slot3olt1onu1fe1)#info<info>
Function
SetONUportsuserinformation;
InputinfotoshowONUportsuserinformation
<info>
Userinformationbyteslength,withthelongestlength64bytes
4.3.4.7.6.8. ConfigureONUPortsUplinkSpeedLimit
Command
Grammar
epon(slot3olt1onu1fe1)#qosingresspolicing<maxrate>
<traffictype>
Function
SetONUportsuplinkbandwidthlimits.
Input qos ingresspolicing to show the current uplink speed limit
configurationinformation.
<maxrate>
Maximumuplinkbandwidth;unit:kbps;validvalue:0100000;
<traffictype>
Appointspeedlimitspackettypewithvalueasfollows:Broadcast;
broadcastAndMulticast;
broadcastMulticastAndFloodedUnicast;
all
39
epon(slot3olt1onu1fe1)#qosegressshapping<maxrate>
<schedulealgorithm>
Function
SetONUportsdownlinkbandwidthlimits.
Input qos egressshapping to show the current downlink speed
limitconfigurationinformation.
<maxrate>
Maximumdownlinkbandwidth;unit:kbps;validvalue:0100000;
4.3.4.7.7. ONUPortsVLANConfiguration
4.3.4.7.7.1. ONUPONPortVALNConfiguration
4.3.4.7.7.1.1.
AddVlan
Command
Grammar
epon(slot3olt1onu1)#ponportvlanadd<vlanid><tagModify>
Function
AddvalnforonuPONportandsetoutputtagrule
<vlanid>
Appointaddedvlanwithvaluerangefrom0to4094.
Output rule :frames from this port could be changed based on the
optionalindexbelow:
passmomodification
<tagModify>
addtag addvlantagtountagframes
deltagremovetheoutwardtagifvlantagexsit
Example
1.Addvlan100toONUPONportandoutputruleistoaddtag.
epon(slot3olt1onu1)#ponportvlanadd100addtag
40
DeleteVLAN
Command
Grammar
epon(slot3olt1onu1)#ponportvlandelete<vlanid>
Function
DeleteappointedONUUNIportVLAN
<vlanid>
Appointvlantobedeletedwithvalidvaluefrom0to4094.
4.3.4.7.7.1.3.
ConfigureVLANForwardPolicy
Command
Grammar
epon(slot3olt1onu1)#ponportvlanpolicy<policy>
Function
ConfigureONUPONportsVLANforwardpolicy
AppointonuponportsVLANforwardpolicywiththeindexbelow:
policy0Switch frames on default vlan domain frames and ignore
frameVID.
<policy>
policy1SwitchVIDframe,unknownVIDtreatedasuntagged
policy2switchVIDframeandignoreunkownVIDframes
policy3switchVIDframesonthevlandomainappointedbytheUNIport.
Example
1.ConfigureONUPONportsforwardpolicy3
epon(slot3olt1onu1)#ponportvlanpolicypolicy3
Illustration
DifferentVLANforwardpolicydealwithdifferentframetypes.
1. Policy0:Switchframesondefaultvlandomain andignoreframeVID.
FrameType
Approach
UntaggedFrame
Switchframesondefaultvla(PVID)ndomain
TaggedFrame
IgnoreframesVID,treatedasuntaggedframe
2. policy1SwitchVIDframe,unknownVIDtreatedasuntagged
FrameType
Approach
41
SwitchframesonportsdefaultVlandomain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
SwitchframesonportsdefaultVLAN(PVID)domain
TaggedFrameVLANdoesnt
exsit
SwitchframesonportsdefaultVLAN(VPID)domain
3. policy2switchVIDframeanddumpunkownVIDframes
FrameType
Approach
Untaggedframe
SwitchframesonportsdefaultVLAN(VPID)domain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
addtheporttotheVLANdomaintemporialyandforward
framesonframVIDsVLANdomain
TaggedFrameVLANdoesnt
exsit
Ignoretheframe
4. policy3switchVIDframesonthevlandomainappointedbytheUNIport
FrameType
Approach
Untaggedframe
SwitchframesonportsdefaultVLAN(VPID)domain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
Ignoretheframe
TaggedFrameVLANdoesnt
exsit
Ignoretheframe
4.3.4.7.7.1.4.
Command
Grammar
Function
<vlanid>
ConfigureONUPONPortsPVID
epon(slot3olt1onu1)#ponportvlanpvid<vlanid>
ConfigureONUponportsdefaultVLANID(PVID)
AppointVlanIDwithvalidvaluerangefrom0to4094
Example
42
4.3.4.7.7.1.5.
ShowONUPONportsVLANconfiguration
Command
Grammar
epon(slot3olt1onu1)#ponportvlanshow
Function
ShowONUPONportsVlanconfigurationinformation
Example
1.ShowONUPONportsVLANconfiguration
epon(slot3olt1onu1)#ponportvlanshow
ONU(3/1/1)ponportvlaninformation:
pvid :100
forwardpolicy
:policy3
numberofvlans
:1
1 vlanid:100 tagmodification:addtag
4.3.4.7.8. ONUUNIPortVLANConfiguration
4.3.4.7.8.1.1.
AddVLAN
Command
Grammar
epon(slot3olt1onu1fe1)#vlanadd<vlanid><tagModify>
Function
AddappointedONUUNIportsVLANandsettagrules.
<vlanid>
AppointaddedVlanwithvalidvaluefrom0to4094.
Output rule :frames from this port could be changed based on the
optionalindexbelow:
<tagModify>
passmomodification
addtag addvlantagtountagframes
Example
1.Addvlan100toONUUNIport1andoutputruleistoremovethetag:
epon(slot3olt1onu1fe1)#vlanadd100deltag
43
4.3.4.7.8.1.2.
DeleteVLAN
Command
Grammar
pon(slot3olt1onu1fe1)#vlandelete<vlanid>
Function
DeleteappointedONUUNIportsVlan
<vlanid>
Appointedvlantobedeletedwithvalidvaluerangefrom0to4094
4.3.4.7.8.1.3.
ConfigureONUUNIPortsVLANForwardPolicy
Command
Grammar
epon(slot3olt1onu1fe1)#vlanpolicy<policy>
Function
ConfigureONUUNIportsVLANforwardpolicy
ppointonuUNIportsVLANforwardpolicywiththeindexbelow:
policy0Switch frames on default vlan domain frames and ignore
frameVID.
<policy>
policy1SwitchVIDframe,unknownVIDtreatedasuntagged
policy2switchVIDframeandignoreunkownVIDframes
policy3switchVIDframesonthevlandomainappointedbythePONport.
Example
1.ConfigureONUUNIport1s VLANwithstrategy3
epon(slot3olt1onu1fe1)#vlanpolicypolicy3
Illustration
DifferentVLANforwardpolicydealwithdifferentframetypes.
5. Policy0:Switchframesondefaultvlandomain andignoreframeVID.
FrameType
Approach
UntaggedFrame
Switchframesondefaultvla(PVID)ndomain
TaggedFrame
IgnoreframesVID,treatedasuntaggedframe
44
Approach
Untaggedframe
SwitchframesonportsdefaultVlandomain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
SwitchframesonportsdefaultVLAN(PVID)domain
TaggedFrameVLANdoesnt
exsit
SwitchframesonportsdefaultVLAN(VPID)domain
7. policy2switchVIDframeandignoreunkownVIDframes
FrameType
Approach
Untaggedframe
SwitchframesonportsdefaultVLAN(VPID)domain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
addtheporttotheVLANdomaintemporialyandforward
framesonframVIDsVLANdomain
TaggedFrameVLANdoesnt
exsit
Ignoretheframe
8. policy3switchVIDframesonthevlandomainappointedbythePONport
FrameType
Approach
Untaggedframe
SwitchframesonportsdefaultVLAN(VPID)domain
Taggedframe:theONUportis
onthevlandomain
SwitchframesonframeVIDsVLANdomain
Taggedframe:theonuportis
notonthevlandomain
Ignoretheframe
TaggedFrameVLANdoesnt
exsit
Ignoretheframe
4.3.4.7.8.1.4.
Command
Grammar
Function
<vlanid>
ConfigureONUUNIPortsPVID
epon(slot3olt1onu1fe1)#vlanpvid<vlanid>
ConfigureONUUNIportsdefaultVLANID(PVID)
AppointVlanIDwithvalidvaluerangefrom0to4094
45
Example
1.ConfigureONUUNIport1sPVIDas100:
epon(slot3olt1onu1fe1)#vlanpvid100
4.3.4.7.8.1.5.
Command
Grammar
Function
ShowONUUNIPortsVLANConfiguration
epon(slot3olt1onu1fe1)#vlanshow
ShowONUUNIportsVlanconfigurationinformation
4.3.4.7.9. RebootONU
Command
Grammar
epon(slot3olt1onu1)#reboot
Function
Rebootonu
4.3.4.7.10. ConfigureRSTPFunction
Command
Grammar
epon(slot3olt1onu1)#rstp<oper>
Function
ConfigureONUsrapdspanningtressprotocol(RSTP)function;
InputrstptoshowcurrentRSTPstatus
<oper>
Enable/disableONURSTPfunctionwithvalidvalueasfollows:
Enable:enableONURSTPfunction
Disable:disableONURSTPfunction
4.3.4.7.11. SaveONUconfiguration
Command
Grammar
pon(slot3olt1onu1)#save
46
SaveONUsallconfiguration.
4.3.4.7.12. ConfigureONUsTrafficFlowManagement
Command
Grammar
epon(slot3olt1onu1)#usertraffic<oper>
Function
ConfigureONUuserstrafficflowmanagement
Wheninputusertoshowtheonuuserscurrenttrafficflow
<oper>
enable:enableonuuserstrafficflow
Disable:disableonuuserstrafficflow
4.3.4.7.13. ConfigureONUVLANsEthernetParameter
Command
Grammar
Function
ConfigureonuvlansEthernettypeandsetthisvlansEthernettraffic
direction;
InputvlantypetoshowonuscurrentVLANEthernetinformation.
<type>
VLANsEthernettypewithdefaultvalueas0x8100andthevalidvalue
rangefrom0to65535
<uptag>
Whether add the vlan tag of the vlan Ethernet type for the uplink
traffic;
tag:addtag
Untag:donotaddtag
<dntag>
WhetheraddthevlantagofthevlanEthernettypeforthedownlink
traffic;
tag:addtag
Untag:donotaddtag
47
4.3.4.8.
ConfigureLinkIDOverwriteFunction
Command
Grammar
epon(slot3olt1)#overwritelinkid<oper>
Function
WhethernewauthorizedlinkoverwritestheexistinglinkIDafterthe
LinkIDisset.
<oper>
Enable:newLinkoverwritesexistingLinkID.
Disable:newLinkdoesnotoverwriteexistingLinkID.
4.3.4.9.
ConfigureONUIDOverwriteFunction
Command
Grammar
epon(slot3olt1)#overwriteonuid<oper>
Function
<oper>
Enable:newONUoverwritesexistingONUID.
Disable:newONUdoesntoverwritesexistingONUID.
4.3.4.10. RebootPONCard
Command
Grammar
epon(slot3olt1)#reboot
Function
RebootPONcard
4.3.4.11. SavePONcardconfiguration
Command
Grammar
epon(slot3olt1)#save
Function
SavePONcardsallconfiguration
48
4.3.4.12. ShowOLTsBasicInformation
Command
Grammar
epon(slot3olt1)#show
Function
ShowOLTsbasicconfiguration
Example
1.ShowOLTscurrentbasicconfiguration
epon(slot3olt1)#show
OltBasicConfigurations:
macaddress :00:0d:b6:37:23:00
workstate
:Online
enablestatus
:Enable
maxpermittedlinknumber :210
registeredlinknumber :1
accessedonunumber
:1
linkidexhausted :NO
onuidexhausted
:NO
linkidoverwrite :NO
onuidoverwrite
:NO
4.3.5. ConfigureEnablePasswordManagement
Command
Grammar
epon#passwd
Function
Entertheenablepasswordchangingmode.
Example
1.Changeenablepassword:
epon#passwd
Enternewenablepassword:
Confirmnewenablepassword:
49
Remark
Please do save the configuration under the system directory after changing the password and
rebootthesystemtomakethesettingvalid.
4.3.6. ProtocolVLANConfigurationMode
Command
Grammar
epon#protvlan
Function
Example
1.EnterprotocolbasedVLANmanagementmode
epon#protvlan
epon(protvlan)#
epon(protvlan)#?
add
[no]bind
clean
delete
[no]enable
show
inputorhelptoshowthecurrentdirectory
addaprotocoltype
bindorunbindportlist,protocoltypetovlanid
deleteallprotocoltype
deleteaprotocoltype
enableprotocolvlanforports
showprotocolvlanconfig
4.3.6.1.
AddProtocol
Command
Grammar
epon(protvlan)#addprottype<protocoltype>
Function
Addaprotocolfortheglobalallowedprotocolpool.Onlytheprotocol
addedtotheprotocolpoolcanbindtheportprotocolvlan.Protocol
pool can add 8 protocols at most now. Alarm is show when adding
morethan8protocolvlans.
50
Example
1.Addpppoeprotocolbymeansofhexbasedprotocolnumber.
epon(protvlan)#addprottype0x8863
2.Addipprotocolbasedonprotocolname.
epon(protvlan)#addprottypeip
4.3.6.2.
DeleteProtocol
Command
Grammar
epon(protvlan)#deleteprottype<protocoltype>
Function
Appointdeletedprotocoltypewithvalidvaluehexbased0xasprefix
or protocol names bytes series .common protocol name could only
<protocoltype>
support ip,arpandpppoe,suchas0x8863,pppoe,etc.
4.3.6.3.
ClearProtocolPool
Command
Grammar
epon(protvlan)#clean
Function
4.3.6.4.
AddBindRule
Command
Grammar
epon(protvlan)#protvlanbind<portlist><protocoltype><vlanid>
Function
Createprotocolvlanbindrulefortheappointedport.Thebindruleis
basedonport,sothesameportsprotocolcouldonlybindonlyone
VLANID.DifferentprotocolscouldbindthesameVLANID.Onlythe
protocol in the protocol pool could be used to bind
portprotocolvlan.
<portlist>
Appointedportlistfromge1toge16.
Appointthebondedprotocoltypewithhexbased0xasprefixsuchas
<protocoltype> 0x08000x0806ortheregularprotocolname,bytesvalue.Thecurrent
protocolnameonlysupportip,arpandpppoe.
<vlanid>
AppointthebondedVLANIDwithintegervaluefrom1to4094.
Example
1.Confiugreipprotocoltovlan2000inportge1.
epon(protvlan)#bindge1ip2000
4.3.6.5.
RemoveBindRule
Command
Grammar
epon(protvlan)#noprotvlanbind<portlist><protocoltype>
Function
Removeprotocolvlanbindrulesintheappointedport.
<portlist>
Appointedportlist,whichcouldbeanyonefromgeltoge16.
Appointthebondedprotocoltypetoberemovedwithhexbased0x
<protocoltype> asprefixsuchas0x08000x0806ortheregularprotocolname,bytes
value.Thecurrentprotocolnameonlysupportip,arpandpppoe.
52
4.3.6.6.
EnablePortProtocolVLANFunction
Command
Grammar
epon(protvlan)#enable<portlist>
Function
Enableappointedportsprotocolbasedvlanfunction.onlyenablethe
portsprotocolbasedvlanfunctioncouldmaketheportprotocolvlan
bindrulesvalid.
<portlist>
Appointedportlist,whichcouldbeanyonefromge1toge16.
Example
1.Enableportge1,ge2,ge3andge6sprotocolbasedvlanfunction
epon(protvlan)#enablege1ge3,ge6
4.3.6.7.
DisablePortProtocolVLANFunction
Command
Grammar
epon(protvlan)#noenable<portlist>
Function
Disableappointedportsprotocolbasedvlanfunction.Afterdisabling
ports protocol based vlan,portprotocolvlan s bind rules become
invalid.
<portlist>
Appointedportlist,whichcouldbeanyonefromge1toge16.
4.3.6.8.
ShowProtocolVLANsConfigurationInformation
Command
Grammar
epon(protvlan)#show
Function
Showprotocolbasedvlansconfigurationinformation
example
1.Showprotocolbasedvlansconfigurationinformation:
53
epon#ratectrlmode<bps|pps>
Function
SetcontrolcardsglobalParameterofinputswitchspeed
<bps|pps>
Globalindexsspeedunit:
bps: bytespersecond
pps: framespersecond
4.3.8. RSTPConfigurationMode
Command
epon#rstp
54
Function
Example
1.EnererRSTPManagementMode
epon#rstp
epon(rstp)#
epon(rstp)#?
inputorhelptoshowcurrentdirectory
bridge
bridge
disable
disablerstp
enable
enablerstp
holdcount
setrstptransmitholdcount
port rstpportparameterconfiguration
show showrstpconfiguration
4.3.8.1.
ConfigureRSTPBridgeParameter
4.3.8.1.1. BridgeForwardDelay
Command
Grammar
epon(rstp)#bridgefdelay<fdelay>
Function
SetRSTBridgedelayedforward
Value range : 430 ;must demand the following bind relation: 2
<fdelay>
ForwardDelay1.0second >=MaxAge
MaxAgeisbridgeinfomrationsmaximumvalidtime;
ForwardDelay:forwarddelay
4.3.8.1.2. BridgeMaximumValidAge
Command
Grammar
epon(rstp)#bridgemaxage<maxage>
55
Function
Valuerange:640;mustdemandthefollowingbindrelation:
<maxage>
2ForwardDelay1.0second >=MaxAge
MaxAgeisbridgeinfomrationsmaximumvalidtime;
ForwardDelay:forwarddelay
4.3.8.1.3. BridgePriority
Command
Grammar
epon(rstp)#bridgepriority<priority>
Function
SetRSTPbridgepriority
<priority>
4.3.8.2.
EnableRSTPFunction
Command
Grammar
epon(rstp)#enable
Function
EnableswitchcontrolcardsuplinkportsRSTPfunction
Example
1.EnableswitchcontrolcardsuplinkportsRSTPfunction
epon(rstp)#enable
4.3.8.3.
DisableRSTPFunction
Command
Grammar
epon(rstp)#disable
Function
disableswitchcontrolcardsuplinkportsRSTPfunction
56
4.3.8.4.
HoldBridgeForwardingFrameCount
Command
Grammar
epon(rstp)#holdcount<holdcount>
Function
<holdcount>
Valuerangefrom1to10.
4.3.8.5.
ConfigureRSTPPortParameter
4.3.8.5.1. SetRSTPsEdgeportManagement
Command
Grammar
epon(rstp)#port<portlist>edgecfg<edge>
Function
ConfigureRSTPportsmanagededgeportattribute.Appointtheport
whether to be edge port or not .Edge port does not go through
discardinglearningforwarding step but transfer to switch status
directly.
<portlist>
Appointedportlist,anyonefromge1toge8.
<edge>
ConfigureappointedRSTPportsedgeportattribute withbytevalue
suchasedge,nonedgeandauto.
4.3.8.5.2. SetRSTPPortsProtocolVersionCheckout
Command
Grammar
epon(rstp)#port<portlist>mcheck
Function
<portlist>
Appointedportlist,anyonefromge1toge8.
57
4.3.8.5.3. SetRSTPPortsPointtoPointAttribution
Command
Grammar
epon(rstp)#port<portlist>p2pcfg<p2p>
Function
<portlist>
Portlistfromge1toge8.
<p2p>
AppointedRSTPportindexwithbytesvaluesuchasp2p,sharedand
auto.
4.3.8.5.4. SetRSTPPortsLinkCost
Command
Grammar
epon(rstp)#port<portlist>pathcost<pathcost>
Function
Configure RSTP ports link cost .Its used to calculate the root links
cost .The port with the lowest root link cost will change to forward
portwhendeliveringthesamebridgeID.
<portlist>
Appointedportlist,anyonefromge1toge8.
<pathcost>
4.3.8.5.5. SetRSTPPortsPriorityLevel
Command
Grammar
epon(rstp)#rstpport<portlist>priority<priority>
Function
ConfigureRSTPportsprioritylevel.Theportwithprioritywillchange
to forward port when delivering the same bridge ID and having the
samelinkcost.
<portlist>
Portlist,anyonefromge1toge8.
58
4.3.8.6.
ConfigureappointedRSTPportsprioritylevelwithintegervaluevalid
from1to240,steplength16,meaning16xN(nisfrom0to15).
ShowRSTPConfigurationInformation
Command
Grammar
epon(rstp)#show
Function
ShowRSTPbridgeandportsconfigurationinformation
Example
1.showswitchcontrolcardsRSTPconfigurationinformation:
epon(rstp)#show
RSTPBridgeStatus:
RSTPSetting
:Enable
BridgeID[PRIMAC]
:3276800:a1:02:22:11:89
BridgeHelloTime
:2sec
BridgeMaxAge
:20sec
BridgeForwardDelay
:15sec
TransmitHoldCount
:6
RootBridgeID
:3276800:a1:02:22:11:89
RootPathCost
:0
RSTPPortStatus:
PIDMode Pri PathCost EdgeCfg OperEdge P2PCfg OperP2PState
1 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
2 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
3 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
4 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
5 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
6 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
7 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
8 RSTP 128 20000 Auto NonEdge Auto Shared LinkDown
Total8RSTPportsdumped.
59
4.3.9. ConfigureSwitchControlCardsSwitchingMode
4.3.9.1.
SetPrivateVlanMode
Command
Grammar
epon#swmodepve<mode><netport>
Function
Configureprivatevlanmodeforuplinkportof switchcontrolcard
Privatevlanmode:
<disable|onebyone|trunk>
disable:normalswitchmode,wheretheuplinkportofswitchcontrol
carddoesnthasVLANlimitation.
Onebyone: switch control cards uplink port is corresponding with
PON
port
corresponding
mode
,such
as
ge1ge9,ge2ge10ge8ge16.
Trunk:portconvergencemode
<mode>
<netport>
4.3.9.2.
ShowSwitchControlCardsSwitchModeConfiguration
Command
Grammar
epon#swmodeshow
Function
Showswitchcontrolcardsswitchmode
Example
1.Showswitchcontrolcardsswitchmodeconfigurationinformation
epon#swmodeshow
Currentbasicswitchmode :vlanunaware
Currentprivatevlanmode :disabled
60
4.3.9.3.
EnableSwitchControlCardsVlanFunction
Command
Grammar
epon#swmodevlan<mode>
Function
EnableSwitchControlCardsVlanFunction
aware:eable vlanvlanaware
<mode>
unaware:disablevlan(vlanunaware)
4.3.10.
Card
Command
Grammar
epon#swport<port>
Function
<port>
Appointedportlist,anyonefromge1toge16.
example
1.Enterswitchcontrolcardsport1managementmode
epon#swportge1
epon(ge1)#
epon(ge1)#?
inputorhelptoshowdirectory:
accframe
setportaccessframetype
defpri setportdefaultpriority
duplex setportduplex
[no]enable setportenable
flowctrl setportflowcontrol
ingrfilter setportingressfilter
mode setportmode
nestvlan setportnestvlanenableordisable
protvlan setportprotocolbasedvlanenableordisable
pvid setportpvid
61
setportingressratelimitparameters
setportreautonegotiation
showportattributeinformation
shutdownaport
setportspeed
4.3.10.1. SetPortsRXFramesTypes
Command
Grammar
epon(ge1)#accframe<type>
Function
SetswitchcontrolcardportsRXpacketframetypes
<type>
Packetframetypes:
tagged:receivetaggedpacketonly
untagged:receiveuntaggedpacketonly
all:receivealltypesofpacketframe
Remark
OurOTLsystemcantsetuntaggedtypemodeyet.
4.3.10.2. SetPortsDefaultPriorityLevel
Command
Grammar
epon(ge1)#defpri<privalue>
Function
Setswitchcontrolcardsdefaultprioritylevel,similartoPVID.When
portreceiveduntaggedvlanpacket,thepacketissetbypriority.The
priority level is ports default 802.1P priority .The data packet will
enterdifferentpriorityqueuetoreceivedifferentservice according
tocorrespondingprioritylevelandflowcategory.
<privalue>
Setconfiguredportsprioritylevelvaluefrom0to7
4.3.10.3. ConfigurePortsDuplexMode
Command
Grammar
epon(ge1)#duplex<duplex>
62
Setswitchcontrolcardportsduplexmode
<duplex>
full:fullduplexmode
half:halfduplexmode
auto:autonegotiationmode
4.3.10.4. EnablePort
Command
Grammar
epon(ge1)#enable
Function
Enable the switch control card port to deliver and receive packet.
Under some circumstance, user can use this function to test the
networkingperformance.
4.3.10.5. DisablePort
Command
Grammar
epon(ge1)#noenable
Function
Disable the switch control card port to deliver and receive packet.
Under some circumstance, user can use this function to test the
networkingperformance.
4.3.10.6. ConfigurePortsFlowControlMode
Command
Grammar
epon(ge1)#flowctrl<ctrl>
Function
Configureswitchcontrolcardportsflowcontrolmode.Bothoptical
port mode and electrical mode could support flow control
configurationenforcedlyandautonegotiation;
Under the halfduplex mode ,the port enable the back flow control
functiondefault;
Underthefullduplexmode,youcanenableordisableflowcontrolin
compliantwith802.xstandard.
<ctrl>
enable:enableflowcontrolfunction
disable:disableflowcontrolfunction
63
4.3.10.7. SetPortsRXFilterFunction
Command
Grammar
epon(ge1)#ingrfilter<operator>
Function
ConfigureswitchcontrolcardportsRXpacketfilteringfunction.
WhentheportisnotthevlanmemberappointedbyframeVID,the
packetisdumpedatthetimeofreceivingtheframe.
<operator>
Enable:enableswitchcontrolcardportsRXframefilterfunction
Disable:disableswitchcontrolcardportsRXframefilterfunction
4.3.10.8. ConfigurePortMode
Command
Grammar
epon(ge1)#mode<mode>
Function
<mode>
Copper:coppermode
fiber:fibermode
4.3.10.9. EnablePortsNestVlanFunction
Command
Grammar
epon(ge1)#nestvlan<operator>
Function
Configureswitchcontrolcardportsnestvlanfunction
<operator>
enable:enableportnestsvlanfunction
Disable:disableportnestsvlanfunction
4.3.10.10. EnablePortsProtocolVlan
Command
Grammar
epon(ge1)#protvlan<operator>
64
Configureswitchcontrolcardportsprotocolvlanfunction
<operator>
Enable:enableportsprotocolvlanfunction
Disable:disableportsprotocolvlanfunction
Remark
This commands effect is the same as [no] enable <portlist> underthe protocol vlan
configurationmode.
4.3.5.6.EnablePortProtocolVLANFunction
4.3.5.7.DisablePortProtocolVlanFunction
4.3.10.11. SetPortsPVID
Command
Grammar
epon(ge1)#pvid<pvid>
Function
ConfigureswitchcontrolcardportsdefaultvlanID.
<pvid>
Valerangefrom0to4094
4.3.10.12. ConfigurePortsRateLimits
4.3.10.12.1.
EnableBroadcastRestrictionFunction
Command
Grammar
epon(ge1)#ratectrlbroadcast<status>
Function
Enableswitchcontrolcardportsbroadcastingrestrictionfunction
<status>
enable
disable
4.3.10.12.2.
Command
Grammar
EnableIGMPRestrictionFunction
epon(ge1)#ratectrlmulticast<status>
65
EnableswitchcontrolportsIGMPfunction
<status>
enable
disable
4.3.10.12.3.
SetRestrictionRate
Command
Grammar
epon(ge1)#ratectrlthreshold<threshold>
Function
Setswitchcontrolcardportsrestrictedpacketratelimits
<threshold>
Valerange:01000000
4.3.10.12.4.
EnableUnknownUnicastRestrictionFunction
Command
Grammar
epon(ge1)#ratectrlunkownuc<status>
Function
Enableunknownunicastrestrictionfunction
<status>
enable
disable
4.3.10.13. ConfigurePortsReautoNegotiationFunction
Command
Grammar
epon(ge1)#reautoneg
Function
Configureswitchcontrolcardportsautonegotiationfunction,which
is needed on the purpose of networking debugging. This function
couldbereplacedbymeansofpluginandoutofthecable,butifthe
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 reautonegotiation command ,which
doesntpreservetheattributedvaluecontinually.
66
4.3.10.14. ShowPortInformation
Command
Grammar
epon(ge1)#show
Function
Showswitchcontrolcardportsconfigurationinformation
Example
1.Showswitchcontrolcardport1sconfigurationinformation
epon(ge1)#show
PortId 1 Attribution
Mode :copper AdminStatus
PVID
IngressFilter
:enable
:1 DefaultPriority
:0
:down
End
4.3.10.15. ConfigurePortsCompulsiveShutdownFunction
Command
Grammar
epon(ge1)#shutdown
Function
4.3.10.16. RemoveCompulsiveShutdownPort
Command
Grammar
epon(ge1)#noshutdown
67
Function
4.3.10.17. ConfigureCurrentPortRate
Command
Grammar
epon(ge1)#speed<speed>
Function
Configureswitchcontrolcardportsspeed.Underfiberportmode,the
port could only work at the speed of 1000Mbps;Under the copper
port mode ,the port can work at different speed and available for
autonegotiationfunctionconfiguration.
<speed>
10m: 10mbps
100m: 100mbps
1g: 1gbmp(1000mbps)
10g: 10gbps
Auto: autonegotiation
4.3.11.
SystemConfigurationMode
Command
Grammar
epon#system
Function
EnterGEPONsystemsmanagementmode
Example
1.Entersystemmanagementmode
epon#system
epon(sys)#
epon(sys)#?
cfgsync
console
onuauth
readcomm
reboot
inputorhelptoshowcurrentdirectory
synchronizeonuconfigwithitsconfigfile
configureconsoleparameters
configureONUauthenticationparameters
setsnmpreadcommunitystring
rebootthesystem
68
restoretosavedconfiguration
savesystemconfiguration
settrapdestinationIPaddress
setsnmpwritecommunitystring
4.3.12.
SynchronywithONUConfiguration
Command
Grammar
epon(sys)#cfgsync<slot><status>
Function
ConfigureOLTssettingissynchronouswithONUconfiguration.When
thisfunctionisenabled,ONUwillremoveitsownnvsautomatically
beforeONUauthorizedtoOLT.AllconfigurationundertheONUwill
becleared.AllONUsconfigurationisvalidafterauthorizedunderthe
OLT.
<slot>
PONcardslotwithintegervaluefrom1to4.
<timeout>
Optionalindex:<enable|disable>
Remark
This function default is close because enabling it will make ONUs saved configuration
lost,needingtoconfigureitagainundettheOLT.Pleaseusethisfunctionproperly.
4.3.12.1. BackupEPONSystemConfiguration
Command
Grammar
epon(sys)#configbackup<host>
Function
PutallEPONsytemssconfigurationfilebackuptoTFTPserver.
<host>
AppointedTFTPserversIPaddress
4.3.12.2. RestoreEPONSystemConfiguration
Command
Grammar
epon(sys)#configupgrade<host>
69
<host>
AppointedTFTPserversIPaddress
4.3.12.3. ConfigureConsolePortSpeed
Command
Grammar
epon(sys)#consolespeed<speed>
Function
SetOLTsystemsconsoleportspeed
<speed>
Valuerange:bps2400bps115200
Remark:valueshouldbe2400*2^n(nisinteger)
4.3.12.4. ONUAuthorizationManagementMode
Command
Grammar
epon(sys)#onuauth
Function
Enteronuauthorizationmanagementmode
Example
1.enteronuauthorizationmanagementmode
epon(sys)#onuauth
epon(sysonuauth)#
epon(sysonuauth)#?
invonu
list
type
inputorhelptoshowdirectory:
processinvalidONUlist
configureONUaddressrange
setauthenticationtype
70
4.3.12.4.1. IllegalONUListOperation
4.3.12.4.1.1. ClearIllegalONUList
Command
Grammar
epon(sysonuauth)#invonuclear
Function
Clear current illegal ONU list ,then the illegal onu can get a new
chancetobeauthorizedunderOLT.
4.3.12.4.1.2. ShowIllegalONUList
Command
Grammar
epon(sysonuauth)#invonushow
Function
ShowillegalONUlistandlistallillegalONUsMACaddress
4.3.12.4.2. ConfigureONUAuthorizedAddressList
4.3.12.4.2.1. AddONUAuthorizedAddressList
Command
Grammar
epon(sysonuauth)#listadd<start><end><type>
Function
AddanONUaddresslistandappointitsauthorizationtype
<start>
ONUstartingMACaddress:suchas00:A1:02:02:01:B0
<end>
ONUendingMACaddress:suchas:00:A1:02:02:01:F0
<type>
Setonuauthorizationtypeunderaddresslistwithfollowingvalue:
Blacklist:theONUwiththistypeofMACaddresscantbeauthorized
toOLT.
Whitelist: the onu beyond this MAC address range cant be
authorized.
Example
1.AddtheONUwiththeMACaddress:00:A1:02:01:12:B0totheblacklist
epon(sysonuauth)#listadd00:A1:02:01:12:B0blacklist
71
epon(sysonuauth)#listdelete<index>
Function
DeleteanONUaddresslist
<index>
MACaddresslistindex
4.3.12.4.2.3. ShowCurrentMACAddressList
Command
Grammar
epon(sysonuauth)#listshow
Function
Example
1.ShowcurrentONUauthorizedMACaddresslist:
epon(sysonuauth)#listshow
NO. StartAddress EndAddress Type
1 00:a1:02:01:12:b0 00:a1:02:01:12:b0 blacklist
4.3.12.4.3. ConfigureONUAuthorizedType
Command
Grammar
epon(sysonuauth)#type<type>
Function
SetGEPONsystemONUsauthorizedtype
Validvalue:<blacklist|whitelist|none>
<type>
Blacklist:AllonuintheMACaddresstypecantbeauthorized.
Whitelist:AllONUbeyondtheMACaddresstypecantbeauthorized.
None:nonauthorization,allONUcouldbeauthorized.
72
4.3.12.5. SetSNMPReadCommunity
Command
Grammar
epon(sys)#readcomm<community>
Function
SetEMSsoftwareSNMPsreadcommunity
<community>
Readcommunitywithbytesserial,thelongestlengthcoulntbeover
26bytes,suchaspublic.
4.3.12.6. RebootOLT
Command
Grammar
epon(sys)#reboot<device><slot><olt><onu>
Function
RebootEPONdevice;Thiscommandwillrebootswitchcontrolcard,
some PON card ,some ONU or the equipment under the EPON
system.
Inputcommandrebootwillonlyreboottheswitchcontrolcard.
<device>
Appointthedevicetoberebootedwithfollowingindex:
ctrlcard:rebootswitchcontrolcard
<slot><olt><onu> isignored.
poncard:rebootappointedponcardwithindex<slot)
<olt><onu>isignored.
Onu:rebootappointedonuundertheindex<slot><olt><onu>
all:rebootthewholeEPONsystemincludingOLTandONU.
<slot><olt><onu> isignored.
<slot>
AppointPONcardsslotnumberwithvalidvaluefrom1to4.
<olt>
<onu>
AppointONUnumberwithvalidvaluefrom1to64.
Example
1.Rebootswitchcontrolcard
epon(sys)#reboot
Or
73
2.RebootPONcard2:
epon(sys)#rebootponcard2
3.ReboottheONU1underPON2ofslot3
epon(sys)#rebootonu321
3.Reboot the whole EPON system including switch control card ,all online PON card and all
onlineONU)
epon(sys)#rebootall
4.3.12.7. RestoreDefaultConfigurationandRebootEquipment
Command
Grammar
epon(sys)#restore<device><slot><olt><onu>
Function
Restoreexfactorydefaultconfigurationandrebootthedevice.
When <device> <slot> <olt> <onu> is ignord ,the command just
restoreswitchcontrolcardconfiguration.
<device>
Appointthedevicetorestoredefaultconfigurationwithvalidindex:
ctrlcard:restoreswitchcontrolcardsdefaultconfiguration
<slot><olt><onu>isignored
poncard:restoreappointedPONcardunder<slot>configuration
<olt><onu>isignored.
onu :restore default configuration for appointed onu with index :
<slot><olt><onu>
all: restore systems all default configuration and command
<slot><olt><onu>isignored.
<slot>
AppointPONcardsslotnumberwithvalidvaluefrom1to4.
<olt>
AppointPONportnumberwithvalidvaluefrom1to2.
<onu>
AppointONUnumberwithvalidvaluefrom1to64.
74
4.3.12.8. SaveCurrentConfiguration
Command
Grammar
epon(sys)#save<device><slot><olt><onu>
Function
Savecurrentconfiguration.
Justinputsavecommandtosavetheswitchcontrolcardscurrent
configuration.
<device>
Appointthedevicetosavecurrentconfigurationwithvalidindex:
ctrlcard:saveswitchcontrolcardscurrentconfiguration
<slot><olt><onu>isignored
poncard:saveappointedPONcardunder<slot>configuration
<olt><onu>isignored.
onu :save configuration for appointed onu with index :
<slot><olt><onu>
all:savesystemsalldefaultconfigurationandcommand<slot><olt>
<onu>isignored.
<slot>
AppointPONcardslotnumberwithvalidvaluefrom1to4.
<olt>
AppointPONportnumberwithvalidvaluefrom1to2.
<onu>
AppointONUnumberwithvalidvaluefrom1to64.
4.3.12.9. SetTrapReceivingIPAddress
Command
Grammar
epon(sys)#trapaddr<index><ipaddr>
Function
ConfigureGEPONsreceivingtrapIPaddresswith4IPatmost.
<index>
TrapreceivingIPindexwithvalidvaluefrom1to4.
<ipaddr>
SettrapreceivingIPaddress,suchas192.168.0.1.
4.3.12.10. SetSNMPWrittenCommunity
Command
epon(sys)#writecomm<community>
75
SetSNMPswrittencommunityofEMSsoftware
<community>
4.3.13.
TrunkManagementMode
Command
Grammar
epon#trunk<trunkid>
Function
Create a trunk group and enter the trunk management mode for
configuration.
<trunkid>
Trunknumberwithvalidvaluefrom1to8
Example
1.Createtrunk1andentertrunk1smanagementmode
epon#trunk1
epon(trunk1)#
epon(trunk1)#?
inputorhelptoshowcurrentdirectory
balancealgorithm settrunkbalancealgorithm
delete deletethespecificallytrunk
member Settrunkmember
4.3.13.1. ConfigureTrunkBalanceAlgorithm
Command
Grammar
epon(trunk1)#balancealgorithm<balance>
Function
Configuretrunksbalancealgorithm.Allbalancealgorithmisthesame
whenalltrunkgroupadoptsthesamebalancealgorithm.
Trunk groups packet can be shared among trunk member
poprts .GEPON system support several balance algorithm ,such as
based on MAC address ,IP address ,transmission port number,
MAC+IP,MAC+transmissionportnumber
76
<balance>
Trunkalgorithmwithvalidindex:
mac :basedonMACaddresssKEbalancealgorithm.
Ip:basedonIPaddresssbalancealgorithm
l4port:basedontransmissionportsbalancealgorithm
ipmac:basedonMAC+IPaddresssbalancealgorithm
l4portmac
inl2if:basedonpacketreceivingportsbalancealgorithm
4.3.13.2. DeleteTrunkGroup
Command
Grammar
epon(trunk1)#delete
Function
Deletetrunkgroupanditsmember
4.3.13.3. AddTrunkMember
Command
Grammar
epon(trunk1)#member<portlist>
Function
Addtrunkgroupsmemberpot
<portlist>
Appointtrunkmemberportlistfromge1toge8
Example
1.Addmemberportge1,ge3,ge4andge8totrunk1.
epon(trunk1)#memberge1,ge3ge4,ge8
4.3.14.
ShowTrunkConfigurationInformation
Command
Grammar
epon#showtrunk
Function
Showswitchcontrolcardscurrenttrunkconfiguration
Example
77
4.3.15.
UserManagement
4.3.15.1. SetUserAuthority
Command
Grammar
epon#useraccess<name><access>
Function
<name>
Appointedusernameundertheprioritymodewiththelengthfrom4
to15bytes.
<access>
admin:managerwhohasalltheconfigurationandoperationrights.
Guest:guestwhocouldonlyreadytheoperation.Configuration
Remark
Onlythesystemadministerhastherightstochangethesystemuserspriority.
4.3.15.2. AddUser
Command
Grammar
epon#useradd<name><passwd><access>
Function
Addauser
<name>
Usernamewiththelengthfrom4to15bytes.
<passwd>
<access>
4.3.15.3. DeleteUser
Command
Grammar
epon#userdelete<name>
Function
Deleteappointeduserfromlogginginthesystem
<name>
Appointtheusernametobedeletedwiththebyteslengthfrom4to
15
Remark
Only the systems administer( the user priority level is 1) has the rights to add and delete
systemusers.
4.3.15.4. ChangeUserPassword
Command
Grammar
epon#userpasswd<name>[<password>]
Function
Changeappointedusersloginpassword.
If<password>isignored,theloginpasswordisblank.
<name>
Usernamewiththebyteslengthfrom4to15bytes.
<password>
Optionalindextoinputnewpassword.
If the index is not provided ,the password is blank ;if the index is
provided,thepasswordlengthcanbefrom6to31bytes.
4.3.15.5. ShowCurrentUsersInformation
Command
Grammar
epon#usershow
Function
Showsystemsalluserlist
Example
79
Access:administrator|0
Timeout:1800
User:guest Access:guest|0
Timeout:600
4.3.15.6. ChangeUsersTimeout
Command
Grammar
epon#usertimeout<name><timeout>
Function
Changeappointeduserstimeouttime.Withinthetimeouttime,user
cantmakeanyoperationandlogoutthesystemautomatically.
<name>
Changetimeoutusernamewiththebytelengthfrom4to15bytes.
<timeout>
Appointed users timeout time with the valid index range from 1to
3600andunitissecond.
Remark
Changeuserstimeoutfunction,whichisvalidafterlogginginthesystemagain.
4.3.16.
VLANManagementMode
Command
Grammar
epon#vlan<vlanid>
Function
Createavlanandentervlanmanagementmodeforconfiguration.
<vlanid>
VlanIDtobemodifiedorcreatedwithvalidvaluefrom1to4094.
Example
1.CreateVlan100andentervlan100smanagementmode
epon#vlan100
epon(vlan100)#
epon(vlan100)#?
inputorhelptoshowcurrentdirectory:
delete deletevlanmembersorvlan
member
addvlanmember
80
4.3.16.1. DeleteVlanMember
Command
Grammar
epon(vlan100)#deletemember<portlist>
Function
Deletevlanmemberport.
Inputdeletemembertotodeletethisvlanandmemberport.
<portlistt>
Appointvlanmemberportlist,anyportfromge1toge16.
4.3.16.2. DeleteVlan
Command
Grammar
epon(vlan100)#delete
Function
Deletecurrentvlanandallmemberportsunderthisvlan.
4.3.16.3. AddVlanMemberPortlist
Command
Grammar
epon(vlan100)#member<portlist><tag>
Function
Addvlanmemberportandsetitstagmode.
<portlistt>
Addedvlanmemberportlist,fromge1toge16.
<tag>
Tagmodewithfixedindextag.
Whenthememberportismarkedwithtag.Thepacketfromtheport
isaddedwithvlantag.
Whentagisdeleted,thisportisnotmarkedwithtag.
Example
1.add switch control card port ge1,ge2,ge3 with vlan 100 to the tag member ports ,while port
ge4,ge5,ge16arememberportswithvlan100withouttag.
epon(vlan100)#memberge1ge3tag
epon(vlan100)#memberge4ge5,ge16
81
4.3.17.
ShowVlanConfigurationInformation
Command
Grammar
epon#showvlan
Function
Showswitchcontrolcardsvlanconfigurationinformation.
Example
1.Showswitchcontrolcardsvalnconfiguration:
epon#showvlan
vlan 1:
taggedports :
untaggedports :ge1ge16
vlan 100:
taggedports :ge1ge3
untaggedports :ge4ge5,ge16
82
4.4. ShowSystemRunningInformation
4.4.1. ShowSystemsCurrentCPURunningStatus
Command
Grammar
epon>showcpu
Function
ShowsystemsCPUrunningstatusinformation
Example
1.ShowsystemsCPURunningInformation:
epon>showcpu
NAME ENTRY TID PRI total%(ticks) delta%(ticks)
tJobTask
0xd19a4
mTrAging 0x43975c
tErfTask 0xb46bc
intSched0 0x31a72c
intSched1 0x31a72c
tNetTask 0x363c0
tIbcpPoll 0x13dc7c
tIbcpRx 0x13e74c
tXbdService 0xccba0
tFtp6d
tUserLog
0x16a9c0
4.4.2. ShowSystemsMemoryUseStatus
Command
Grammar
epon>showmem
83
Showsystemsmemoryusestatusinformation
Example
1.Showsystemscurrentmemoryuserinformation:
epon>showmem
status bytes blocks avgblock maxblock
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. ShowSystemsTaskStatus
Command
Grammar
epon>showtask
Function
Showsystemscurrenttaskinformation
4.4.4. EnableCATV(RF)Function
Current,UnotradehasdevelopedandproducedawiderangeofONUmodels,suchasonlydata
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 RFcutoff function in our EMS or in our CLI management
interface. As for VOIP function, we could only support CLI management on theconsole port of
theONU.
Command
Grammar
epon(slot3olt2onu9)#catvenable
Function
EnableONUsRFfunction
84
4.4.5. disableCATV(RF)CutOffFunction
Command
Grammar
epon(slot3olt2onu9)#catvdisable
Function
DisableONUsRFfunctionifsubscriberdontpayCATVcostontime
fromtheOLTmanagementinterface.
4.5. GlobalCommand
Globalcommandcanbeusedunderanycommandmode.
4.5.1. CreateCommandAlias
Command
Grammar
alias<alias><cmd>
Function
Createappointedcommandsalias
<alias>
Inputcommandsalias
<cmd>
Originalcommand
4.5.2. ChangeDirectory
Command
Grammar
cd<directory>
Function
Enterappointeddirectory
<directory>
Inputdirectory
85
4.5.3. ClearScreen
Command
Grammar
clear
Function
Clearscreen
4.5.4. CopyFile
Command
Grammar
copy<scrfile><destfile>
Function
Copyfile;
When <destfile> is ignored , <scrfile> s contents is printed on the
screen.
<scrfile>
Sourcefile
<destfile>
destinedfile
4.5.5. ShowSystemsDate
Command
Grammar
date
Function
Showsystemscurrentdateandtime.
4.5.6. DeleteFile
Command
Grammar
del<filename>
Function
Deleteappointedfile
<filename>
Appointdeletedfilename
86
4.5.7. ExitFromTheCurrentCommandMode
Command
Grammar
exit
Function
Exit from the current command mode and return to the previous
commandmode.
4.5.8. ReturntoSystemMainDirectory
Command
Grammar
end
Function
Returntothesystemsmaindirectory
4.5.9. Help
Command
Grammar
help
Function
Commandhelp
4.5.10.
CommandHistory
Command
Grammar
history
Function
Showcurrentinputcommandhistory
4.5.11.
LogOutSystem
Command
Grammar
logout
87
Logoutsystem
4.5.12.
ShowCurrentFileList
Command
Grammar
ls
Function
Showcurrentdirectorysfilelist
4.5.13.
PING
Command
Grammar
ping<host>
Function
Testremotehostsconnection
<host>
Remotehostsipaddress
4.5.14.
ShowDirectoryRoute
Command
Grammar
pwd
Function
Showdirectoryroute
4.5.15.
TFTP
Command
Grammar
tftp<cmd><filename><mode>
Function
Upload/downloadfilethroughTFTP
<cmd>
TFTPcommand:
get:downloadfile
88
Filename
<mode>
Fileformat:
ascii fileformat
binary format
89