Page 1

FSAP9800
FullServiceAccessPlatform
CommandManual(VolumeI)
Version3.2.0
ZTECORPORATION
ZTEPlaza,KejiRoadSouth,
Hi-TechIndustrialPark,
NanshanDistrict,Shenzhen,
P .R.China
518057
Tel:(86)75526771900
Fax:(86)75526770801
URL:http://ensupport.zte.com.cn
E-mail:support@zte.com.cn
Page 2

LEGALINFORMATION
Copyright©2006ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionordistributionof
thisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwrittenconsentofZTECORPORATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany ,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORATION
oroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability ,tnessforaparticularpurpose,titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromtheuseoforrelianceonthe
informationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplicationscoveringthesubject
matterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTECORPORATIONanditslicensee,
theuserofthisdocumentshallnotacquireanylicensetothesubjectmatterherein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
1.0
30/08/2009
Firstversion
SerialNumber: sjzl20099304
Page 3

Contents
Preface...............................................................i
Overview...........................................................1
CommandConventions....................................................1
AuxiliaryFunctions.........................................................1
LoginMode....................................................................2
BasicSystemManagement................................5
bannerincoming............................................................6
clock.............................................................................6
clocktimezone...............................................................6
clockset........................................................................7
congureterminal..........................................................7
disable..........................................................................8
enable..........................................................................8
enablesecret.................................................................9
end.............................................................................10
exit.............................................................................10
hostname.....................................................................10
multi-usercongure.......................................................11
nvramboot-password....................................................12
nvramboot-server.........................................................12
nvramboot-username....................................................13
nvramdefault-gateway..................................................14
nvramimgle-location....................................................14
nvrammng-ip-address...................................................15
route-map....................................................................16
time-range...................................................................16
username.....................................................................17
version.........................................................................18
who.............................................................................18
anti-dos.......................................................................19
anti-dosdrop................................................................19
Page 4

anti-doslimit-num.........................................................20
showclock....................................................................20
showrunning-cong......................................................21
showstartrunning-cong...............................................22
showsystem-group.......................................................23
showroute-map............................................................23
showtime-range...........................................................24
showusername.............................................................24
showusers...................................................................24
showsourcealarm.........................................................25
showversion................................................................25
showanti-dosblack-table...............................................26
HardwareManagement...................................27
add-card......................................................................27
add-rack......................................................................28
add-shelf......................................................................28
del-card.......................................................................29
del-rack.......................................................................29
del-shelf.......................................................................29
reboot..........................................................................30
reset-card....................................................................30
reset-at-suspend...........................................................31
showcard.....................................................................31
swap............................................................................32
FanManagement.............................................33
fancontrol....................................................................33
fanhigh-threshold.........................................................33
fanspeed.....................................................................34
showfan......................................................................34
VersionManagement.......................................37
activateversion.............................................................37
downloadversion..........................................................38
eraseversion................................................................38
main-backupversion......................................................39
quit.............................................................................39
showcompound–version................................................39
showupdate-status.......................................................40
showversion-running.....................................................41
showversion-saved.......................................................42
update-boot..................................................................43
Page 5

update-version..............................................................44
update-cpld..................................................................44
FileSystemManagement.................................47
cd...............................................................................47
copy............................................................................48
delete..........................................................................48
dir...............................................................................49
display.........................................................................49
formatash..................................................................50
mkdir...........................................................................50
pwd.............................................................................51
rename........................................................................51
rmdir...........................................................................51
write............................................................................52
writeash....................................................................53
writealarmlog...............................................................53
writenvram..................................................................53
UserManagement...........................................55
lineconsoleabsolute-timeout..........................................55
lineconsoleidle-timeout.................................................56
linetelnetabsolute-timeout............................................56
linetelnetaccess-class...................................................57
linetelnetidle-timeout...................................................57
login............................................................................58
logout..........................................................................58
login-authentication-type................................................58
login-authorization-type.................................................59
quit.............................................................................59
rlogin...........................................................................60
script...........................................................................60
showhistory.................................................................61
showlocaluser..............................................................61
showmonitor................................................................61
showterminal...............................................................62
telnet...........................................................................62
telnetmng....................................................................63
telnetmodem...............................................................63
SNMP...............................................................65
showsnmp...................................................................65
showsnmpcong..........................................................66
Page 6

showsnmpengine-id.....................................................66
showsnmpgroup..........................................................67
showsnmpuser............................................................67
snmp-serveraccess-list..................................................68
snmp-servercommunity.................................................68
snmp-servercontact......................................................69
snmp-servercontext......................................................69
snmp-serverenable.......................................................70
snmp-serverengine-id...................................................70
snmp-servergroup........................................................71
snmp-serverhost..........................................................72
snmp-serverlocation.....................................................73
snmp-serverpacketsize..................................................73
snmp-servertrap-source................................................74
snmp-serveruser..........................................................74
snmp-serverview..........................................................75
RMON..............................................................77
rmonalarm..................................................................77
rmoncollectionhistory...................................................78
rmoncollectionstatistics................................................79
rmonevent...................................................................80
NumberofDiscardedSCTPPackets..................................80
UAPSUplinkActive/StandbySwap..................83
uaps-group...................................................................83
revertive......................................................................83
protect-time.................................................................84
swap............................................................................84
portmaster-portlist.......................................................85
showuaps....................................................................85
FTP/TFTPServer.............................................87
copyclient....................................................................87
copytftp......................................................................88
ipftppassword.............................................................88
ipftpusername.............................................................89
AlarmManagement.........................................91
alarm{enable|disable}................................................91
alarmconrm...............................................................92
alarmtrap-conrm........................................................92
alarmlevel-change........................................................93
Page 7

showalarm...................................................................93
showalarm-level...........................................................94
showalarmcong.........................................................94
showalarmpool............................................................94
showalarmcounter.......................................................95
clearalarmpool............................................................95
clearalarmcounter........................................................96
Debugging.......................................................97
debugall......................................................................98
debugarp.....................................................................99
debugdhcp-option82.....................................................99
debuggroup-management............................................100
debugigmp................................................................100
debugip.....................................................................102
debugipbgpall..........................................................102
debugipbgpdampening..............................................102
debugipbgpevents....................................................103
debugipbgpin...........................................................103
debugipbgpkeepalives...............................................104
debugipbgpout.........................................................104
debugipbgpupdates...................................................104
debugipdestination....................................................105
debugipdhcp.............................................................105
debugipicmp.............................................................106
debugipicmpdetail....................................................106
debugipigmp.............................................................107
debugipigmp-snooping...............................................107
debugipinterface........................................................107
debugipmsdp............................................................108
debugipmulticast.......................................................109
debugipospfadj.........................................................109
debugipospfall..........................................................110
debugipospfcspf.......................................................110
debugipospfdatabase-timer........................................111
debugipospfevents....................................................111
debugipospfood......................................................111
debugipospflsa-generation.........................................112
debugipospfnsf.........................................................112
debugipospfpacket....................................................113
debugipospfretransmission.........................................113
Page 8

debugipospfspf.........................................................114
debugipospftree.......................................................114
debugippim-snooping.................................................115
debugippimdm..........................................................115
debugipprotocol........................................................116
debugiprip................................................................116
debugipripall............................................................117
debugipripdatabase..................................................117
debugipripevents......................................................117
debugipriptrigger......................................................118
debugipsource...........................................................118
debugiptcpall...........................................................119
debugiptcpdriver......................................................119
debugiptcpdriver-pak................................................119
debugiptcppacket.....................................................120
debugiptcptransactions..............................................120
debugipudp..............................................................121
debugiptvall..............................................................121
debugisisadj-packets..................................................122
debugisisall...............................................................123
debugisisnsf-event.....................................................123
debugisissnp-packets.................................................123
debugisisspf-events...................................................124
debugisisupdate-packets............................................124
debuglacpall.............................................................125
debuglacpfsm...........................................................125
debuglacppacket.......................................................126
debugmstpagreement................................................126
debugmstpall............................................................127
debugmstpbpdu-rx....................................................127
debugmstpbpdu-tx....................................................127
debugmstperrors.......................................................128
debugmstpush.........................................................128
debugmstpinfo..........................................................129
debugmstpmigration..................................................129
debugmstpproposals..................................................130
debugmstproles.........................................................130
debugmstpstate........................................................131
debugmstptc.............................................................131
debugnas..................................................................132
Page 9

debugport-location.....................................................132
debugpppoe-plus........................................................133
debugradiusaccounting...............................................134
debugradiusall...........................................................135
debugradiusauthentication..........................................135
debugradiusexception................................................136
debugradiususer........................................................136
debugsyscomm..........................................................137
debugsysctrl..............................................................137
debugversion-mng......................................................138
debugvlan.................................................................139
debugvrrp.................................................................140
debugmpnat..............................................................140
showdebugging..........................................................141
terminalmonitor.........................................................141
MPNATTranslationConguration..................143
mpnatservice.............................................................143
mpnattrans-table........................................................143
clearmpnat................................................................144
showmpnatcfg-table..................................................144
showmpnattrans-table................................................145
ListofGlossary..............................................147
Page 10
Page 11

Preface
PrerequisiteSkill
andKnowledge
WhatIsinThis
Purpose
ThismanualprovidesthetechnicalinformationontheFSAP9800
FullServiceAccessPlatform.
Intended
Audience
Thisdocumentisintendedforengineersandtechnicianswhoperforminstallation,operationandmaintenanceactivitiesontheFSAP
9800FullServiceAccessPlatform.
Tousethisdocumenteffectively ,usersshouldhaveageneralunderstandingofnetworktechnology.Familiaritywiththefollowing
ishelpful:
�TheFSAP9800systemanditsvariouscomponents
�Maintenanceprocedures
�Localoperatingprocedures
Thismanualcontainsthefollowingchapters:
Manual
TABLE1MANUALCONTENTS
ChapterSummary
Chapter1,
Overview
Chapter2,
BasicSystem
Management
Providesthecommandconventions,auxiliary
functionsandloginmode.
Describesthecommandsrelatedtobasicsystem
management.
Chapter3,
Hardware
Management
Chapter4,Fan
Management
Chapter5,Version
Management
Chapter6,
FileSystem
Management
Chapter7,User
Management
Chapter8,SNMPDescribesthecommandsrelatedtoSNMP .
Chapter9,RMONDescribesthecommandsrelatedtoRMON.
Chapter10,
UAPSUplink
Active/Standby
Swap
Describesthecommandsrelatedtohardware
management.
Describesthecommandsrelatedtofan
management.
Describesthecommandsrelatedtoversion
management.
Describesthecommandsrelatedtolesystem
management.
Describesthecommandsrelatedtouser
management.
DescribesthecommandsrelatedtoUAPSuplink
active/standbyswap
CondentialandProprietaryInformationofZTECORPORATIONi
Page 12

FSAP9800CommandManual(VolumeI)
ChapterSummary
Chapter11,
FTP/TFTPServer
Chapter12,Alarm
Management
Chapter13,
Debugging
Chapter14,
MPNATT ranslation
Conguration
Documentation
Related
Thefollowingdocumentsarerelatedtothismanual:
�FSAP9800(V3.2.0)FullServiceAccessPlatformDocumenta-
DescribesthecommandsrelatedtoFTP/TFTP
server .
Describesthecommandsrelatedtoalarm
management.
Describesthecommandsrelatedtodebugging.
DescribesthecommandsrelatedtoMPNA T
translationconguration.
tionGuide
�FSAP9800(V3.2.0)FullServiceAccessPlatformHardware
Manual
�FSAP9800(V3.2.0)FullServiceAccessPlatformTechnical
Manual
�FSAP9800(V3.2.0)FullServiceAccessPlatformHardwareIn-
stallationManual
�FSAP9800(V3.2.0)FullServiceAccessPlatformCommand
Manual(VolumeII)
�FSAP9800(V3.2.0)FullServiceAccessPlatformCommand
Manual(VolumeIII)
�FSAP9800(V3.2.0)FullServiceAccessPlatformCommand
Manual(VolumeIV)
�FSAP9800(V3.2.0)FullServiceAccessPlatformCommand
Manual(VolumeV)
�FSAP9800(V3.2.0)FullServiceAccessPlatformRoutineMain-
tenanceManual
�FSAP9800(V3.2.0)FullServiceAccessPlatformOperation
Manual(CLI)
�FSAP9800(V3.2.0)FullServiceAccessPlatformOperation
Manual(NetNumen)
Conventions
ZTEdocumentsemploythefollowingtypographicalconventions.
TABLE2TYPOGRAPHICALCONVENTIONS
Typeface
Italics
"Quotes"Linksonscreens.
Bold
iiCondentialandProprietaryInformationofZTECORPORATION
Meaning
ReferencestootherManualsand
documents.
Menus,menuoptions,function
names,inputelds,radiobutton
names,checkboxes,drop-down
Page 13

Preface
Typeface
CAPS
ConstantwidthTextthatyoutype,programcode,
[]Optionalparameters
{}Mandatoryparameters
I
Meaning
lists,dialogboxnames,window
names.
Keysonthekeyboardandbuttons
onscreensandcompanyname.
lesanddirectorynames,and
functionnames.
Selectoneoftheparametersthat
aredelimitedbyit.
Note:Providesadditional
informationaboutacertaintopic.
Note:
Checkpoint:Indicatesthata
particularstepneedstobe
Checkpoint:
Tip:
checkedbeforeproceeding
further .
Tip:Indicatesasuggestionorhint
tomakethingseasierormore
productiveforthereader .
HowtoGetin
Touch
MouseOperationConventionsareasfollows:
TABLE3MOUSEOPERATIONCONVENTIONS
Typeface
Click
Double-click
Right-click
Drag
Meaning
Referstoclickingtheprimary
mousebutton(usuallytheleft
mousebutton)once.
Referstoquicklyclickingthe
primarymousebutton(usually
theleftmousebutton)twice.
Referstoclickingthesecondary
mousebutton(usuallytheright
mousebutton)once.
Referstopressingandholding
amousebuttonandmovingthe
mouse.
Thefollowingsectionsprovideinformationonhowtoobtainsupportforthedocumentationandthesoftware.
CustomerSupport
Ifyouhaveproblems,questions,comments,orsuggestions
regardingyourproduct,contactusbye-mailatsupport@zt
CondentialandProprietaryInformationofZTECORPORA TIONiii
Page 14

FSAP9800CommandManual(VolumeI)
e.com.cn .Youcanalsocallourcustomersupportcenterat
(86)75526771900and(86)800-9830-9830.
DocumentationSupport
ZTEwelcomesyourcommentsandsuggestionsonthequal
ityandusefulnessofthisdocument.Forfurtherquestions,
comments,orsuggestionsonthedocumentation,youcan
contactusbye-mailatdoc@zte.com.cn
yourcommentsandsuggestionsto(86)75526772236.You
canalsobrowseourwebsiteathttp://support.zte.com.cn
whichcontainsvariousinterestingsubjectslikedocumentat
ion,knowledgebase,forumandservicerequest.
Declarationof
RoHSCompliance
Tominimizetheenvironmentalimpactandtakemoreresponsibilitytotheearthwelive,thisdocumentshallserveasformaldeclarationthatFSAP9800manufacturedbyZTECORPORATIONisin
compliancewiththeDirective2002/95/ECoftheEuropeanParliament-RoHS(RestrictionofHazardousSubstances)withrespect
tothefollowingsubstances:
�Lead(Pb)
�Mercury(Hg)
�Cadmium(Cd)
�HexavalentChromium(Cr(VI))
�PolyBrominatedBiphenyls(PBB's)
�PolyBrominatedDiphenylEthers(PBDE's)
;oryoucanfax
,
Thisdeclarationisissuedbasedonourcurrentlevelofknowledge.
Sinceconditionsofuseareoutsideourcontrol,ZTECORPORATION
makesnowarranties,expressorimplied,andassumesnoliabilityin
connectionwiththeuseofthisinformation.
ivCondentialandProprietaryInformationofZTECORPORATION
Page 15

Chapter 1
Overview
TableofContents
CommandConventions........................................................1
AuxiliaryFunctions.............................................................1
LoginMode........................................................................2
CommandConventions
Thismanualemploysthefollowingcommandconventions.
Typeface
/**/Comment(noneedtoinputcontents)
BoldCommandorkeyword
ItalicParameters
|
[]Optionalparameters
{}Mandatoryparameters
{x|y|z}Selectoneofx,yandzmandatorily
[x{y|z}]
Meaning
Selectoneoftheparametersthataredelimitedbyit.
Optionalparametersinsquarebrackets;
Whenselectingtheparametersinthe
squarebrackets,besuretoselectoneof
xandyinbraces
AuxiliaryFunctions
�Inanycommandmode,input?keyaftertheDOSprompt
toviewanyavailablecommandsinthismode.Usecontext
sensitivehelpfunctiontoviewkeywordsandparametersof
anycommands.
�Type?keyinanycommandmodetoviewallcommands
andtheirbriefdescriptionsinthismode.
CondentialandProprietaryInformationofZTECORPORA TION1
Page 16

FSAP9800CommandManual(VolumeI)
�Enter?aftercharactersorstringstoviewcommandsorkey
wordsstartingwiththischaractersorstrings.Pleasenote
thatthereshouldbenospacebetweencharacters(strings)
and?.
�PressTABkeyafterstringstogetthewholecommand
withaspaceifthiscommandorkeywordstartingwiththe
stringsisunique.PleasenotethatthereisnospacebetweenstringsandTABkey .
�Input?aftercommands,keywordsandparameterstodis-
playkeywordsorparameterstobeinputtednextandabrief
description.Pleasenotethatthereshouldbeaspacebeforequestionmark.
�Ifincorrectcommands,keywordsorparametersareinputted,
anerrorseparationisdisplayedwith“^”onuserinterfaceafter
entering.“^”markappearsundertherstcharacterofthe
incorrectcommands,keywordsorparameters.
�Itisallowedtoabbreviatecommandsandkeywordsintochar-
actersorstringsthatuniquelyidentifythiscommandorkeyword.Forexample,writeshowintoshorsho.
�Userinterfacessupportsrecallingfunctionforthetypedcom-
mands.Itcanrecordatmost10historycommandswhichis
helpfultorecalllongorcomplicatedcommandsorentrance.
Torecallcommandsfrombuffer ,executethefollowingoperations:
OperationFunction
PressCtrl-PorUpArrowRecallthelatestcommands
frombuffer .Presscontinuously
thekeytorecalltheolder
commands.
PressCtrl-NorDownArrowPressthekeytothelast
commandlineandrollback
fromthebeginningofbuffer .
LoginMode
Thefollowingtableliststhefollowingloginmodes:
ModeDOSpromptEntrancemode
UsermodeZXAN>-
Privilege
modeZXAN#Usermodeenable
Entrance
command
Enterusermodedirectlyafterlogging
intothesystem
Globalconguration
mode
2CondentialandProprietaryInformationofZTECORPORATION
ZXAN(cong)#Privilegemodecongureterminal
Page 17

Chapter1Overview
ModeDOSpromptEntrancemode
Clockcongurationmode
ZXAN(congclock)#
Interface
conguration
mode
ZXAN(congif)#
Routerconguration
mode
Routeraddressmode
Routermap
mode
ZXAN(congrouter)#
ZXAN(congrouter-af)#
ZXAN(congroute-map)
Standard
ACLcongurationmode
ZXAN(congstd-acl)#
Extanded
ACLcongurationmode
ZXAN(congext-acl)#
HybridACL
conguration
mode
ZXAN(conghybd-acl)#
Entrance
command
Globalcongurationmodeclock
Globalcongurationmodeinterface
Globalcongurationmoderouter
Routercongurationmodeaddress-family
Globalcongurationmoderoute-map
Globalcongurationmodeaclstandard
Globalcongurationmodeaclextended
Globalcongurationmodeaclhybrid
Linklayer
ACLcongurationmode
ZXAN(conglink-acl)#
Globalcongurationmodeacllink
VLANdatabasecongurationmodeZXAN(vlan)#Privilegemodevlandatabase
VLANcongurationmode
MSTPcongurationmode
CEScongurationmode
ZXAN(congvlan)#
ZXAN0(cong-mstp)#
ZXAN(congces)#
Globalcongurationmodevlan
Globalcongurationmode
Globalcongurationmodeces
spanning-treemst
conguration
CondentialandProprietaryInformationofZTECORPORA TION3
Page 18

FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
4CondentialandProprietaryInformationofZTECORPORATION
Page 19

Chapter 2
BasicSystem
Management
TableofContents
bannerincoming................................................................6
clock.................................................................................6
clocktimezone...................................................................6
clockset...........................................................................7
congureterminal..............................................................7
disable..............................................................................8
enable..............................................................................8
enablesecret.....................................................................9
end.................................................................................10
exit.................................................................................10
hostname.........................................................................10
multi-usercongure..........................................................11
nvramboot-password........................................................12
nvramboot-server.............................................................12
nvramboot-username........................................................13
nvramdefault-gateway......................................................14
nvramimgle-location........................................................14
nvrammng-ip-address.......................................................15
route-map........................................................................16
time-range.......................................................................16
username.........................................................................17
version............................................................................18
who.................................................................................18
anti-dos...........................................................................19
anti-dosdrop....................................................................19
anti-doslimit-num.............................................................20
showclock........................................................................20
showrunning-cong..........................................................21
showstartrunning-cong...................................................22
showsystem-group...........................................................23
showroute-map................................................................23
showtime-range...............................................................24
showusername.................................................................24
showusers.......................................................................24
showsourcealarm.............................................................25
showversion....................................................................25
showanti-dosblack-table...................................................26
CondentialandProprietaryInformationofZTECORPORA TION5
Page 20

FSAP9800CommandManual(VolumeI)
bannerincoming
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
bannerincomingend-char
TEXT
end-char
Tocongureincomingterminallinebanner
Thefollowingtableprovidesparameterdescription:
Parameter
end-charEndcharacterRange:1character
TEXT
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureincomingterminal
linebanner:
ZXAN(config)#bannerincoming#
EnterTEXTmessage.Endwiththecharacter'#'.
welcome
#
None
DescriptionValue
Greeting:text
includingspacesand
endswithcharacter
Range:1–255
characters
clock
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
clock
Toenterclockcongurationmode
None
ZXAN(cong)#
Thefollowingexampledisplayshowtoenterclockconguration
mode:
ZXAN(config)#clock
ZXAN(config-clock)#
None
clocktimezone
Syntax
clocktimezonetimezone-namehours[minutes]
noclocktimezone
6CondentialandProprietaryInformationofZTECORPORATION
Page 21

Chapter2BasicSystemManagement
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Toconguretimezone
Thefollowingtableprovidesparameterdescription:
Parameter
timezone-nameTimezonename
hours
minutes
DescriptionValue
HoursoffsetfromUTC
Minutesoffsetfrom
UTC
Range:1–10
characters
Range:-12-13
Range0–59
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretimezone:
ZXAN(config)#clocktimezonetest030
showclock
clockset
Syntax
Purpose
UsageGuidelines
Mode
Example
clocksetcurrent-timemonthdayyear
Toconguresystemclockinstandardtimeformat
Thefollowingtableprovidesparameterdescription:
Parameter
current-time
monthMonth
day
year
DescriptionValue
Currenttime
Day
Year
hh:mm:ss
Range:January–
December
Range1–31
Range:2001–2098
ZXAN#
Thefollowingexampledisplayshowtoconguresystemclockin
standardtimeformat:
ZXAN#clockset23:12:01feb232001
Related
Commands
showclock
configureterminal
Syntax
configureterminal
CondentialandProprietaryInformationofZTECORPORA TION7
Page 22

FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Toenterglobalcongurationmodefromprivilegemode
None
ZXAN#
Thefollowingexampledisplayshowtoenterglobalconguration
modefromprivilegemode:
ZXAN#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
ZXAN(config)#
Related
Commands
end
exit
disable
Syntax
Purpose
UsageGuidelines
Mode
Example
disable
Toreturnfromtheprivilegemodetoexecmode
None
ZXAN#
Thefollowingexampledisplayshowtoreturnfromtheprivilege
modetoexecmode:
ZXAN#disable
ZXAN>
Related
Commands
clocktimezone
enable
end
exit
enable
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
enable
Toenterprivilegemodefromusermode
None
ZXAN>
Thefollowingexampledisplayshowtoenterprivilegemodefrom
usermode:
ZXAN>enable
Password:
ZXAN#
disable
8CondentialandProprietaryInformationofZTECORPORATION
Page 23

Chapter2BasicSystemManagement
Related
Information
Itisnecessarytoinputprivilegeuserpassword.
Note:
Thepasswordisnotdisplayedonscreenanditiscasesensitive.
Bydefault,thepasswordisZXAN.
enablesecret
Syntax
Purpose
UsageGuidelines
enablesecret{0password|5password|password}
Tocongureloginpasswordinprivilegemode
Thefollowingtableprovidesparameterdescription:
Parameter
0passwordSetprivilege
5passwordSettheencrypted
DescriptionValue
password
privilegepassword
Range:3–16
characters
Range:24characters
password
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureprivilegelogin
Setdefaultprivilege
password
Range:3–16
characters
password:
ZXAN(config)#enablesecretZXAN
Related
Commands
Related
Information
enable
Theenablepassworddisplayedinshowrunning-configisen-
cryptedprivilegepassword.Theinputpasswordwithenablecom-
mandtoenterprivilegemodeisunencryptedpassword.
Note:
enablesecret0passwordandenablesecretpasswordhasthe
sameeffect.Bothareuncryptedpasswords.Useenablesecret5
passwordcommandtosetpassword.Whenthelengthofpassword
is24characters,theprivilegepasswordisencryptedpassword.In
othercases,itisnotencryptedpassword.
CondentialandProprietaryInformationofZTECORPORA TION9
Page 24

FSAP9800CommandManual(VolumeI)
end
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
end
Toreturntoprivilegemode
None
Allmodesexceptexecmodeandprivilegemode
Thefollowingexampledisplayshowtoreturntoprivilegemode:
ZXAN(config)#end
ZXAN#
congureterminal
Inallmodesexceptexecmodeandprivilegemode,endhasthe
samesyntaxandfunction.
exit
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
exit
Toquittheloginmodeorreturntopreviousmode
None
Allmodes
Thefollowingexampledisplayshowtoquittheloginmodeorreturntopreviousmode:
ZXAN(config)#exit
ZXAN#
congureterminal
login
logout
Executethiscommandinexecmodeandprivilegemodetoquit
fromdevicelogin.Executethiscommandinothermodestoreturn
topreviousmode.
hostname
Syntax
Purpose
UsageGuidelines
10CondentialandProprietaryInformationofZTECORPORATION
hostnamenetwork-name
nohostname
Toconguresystemnetworkname
Thefollowingtableprovidesparameterdescription:
Page 25

Chapter2BasicSystemManagement
Parameter
network-nameNetworkname
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguresystemnetwork
DescriptionValue
Range:1–16
characters
name:
ZXAN(config)#hostnameZXAN_9800
Related
Commands
Related
Information
None
Ittakeseffectimmediatelyafterhostnameismodied.
Bydefault,thesystemnetworknameisZXAN.
multi-userconfigure
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
multi-userconfigure
nomulti-userconfigure
Toallowmultipleuserstoentercongurationmode
None
ZXAN(cong)#
Thefollowingexampledisplayshowtoallowmultipleuserstoenter
congurationmode:
�Nousersareinthecongurationmode.
ZXAN#configureterminal
ZXAN(config)#multi-userconfigure
%Warning:allowothersconfigure,mustavoidconflict.
ZXAN(config)#
�Singleusermodeandthereisalreadyauserinthecongura-
tionmode.
ZXAN#configureterminal
%Simultaneousconfigsnotallowed.Lockedfrom168.1.168.168
ZXAN#
�Presumethatotherusersarestillinthecongurationmode.
ZXAN(config)#nomulti-userconf
%Someonehasenteredtheconfiguremode,cannotsetsingle-userconfigure!
ZXAN(config)#
congureterminal
Bydefault,onlyoneusercanenterglobalcongurationmode.
Afterthiscommandisexecuted,otheruserscanenterglobalcongurationmode.Usenocommandtoconguresingleusermode.
Butitcanbeexecutedonlywhenotherusersquitfromthecongurationmode.
CondentialandProprietaryInformationofZTECORPORATION11
Page 26

FSAP9800CommandManual(VolumeI)
Note:
Inmulti-userconguration,avoidthecongurationconicts
amongdifferentusers.
nvramboot-password
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
nvramboot-passwordpassword
TocongureFTPdownload
Thefollowingtableprovidesparameterdescription:
Parameter
passwordFTPpassword
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureFTPdownload:
ZXAN(config)#nvramboot-passwordpass
nvramboot-server
nvramboot-username
nvramcong-lename
nvramdefault-gateway
nvramimgle-location
Thelegalcharactersinclude:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-=~!@#$%^&_+[]{}|;':,./<>\\
Thiscommandisusedwithothercommands:nvramboot-ser
ver,nvramboot-username,nvramimgfile-location,nvram
default-gateway.
DescriptionValue
Range:3–16
characters
nvramboot-server
Syntax
Purpose
UsageGuidelines
12CondentialandProprietaryInformationofZTECORPORATION
nvramboot-serverip-address
TospecifyFTPserverIPaddress
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressIPaddress
DescriptionValue
A.B.C.D
Page 27

Chapter2BasicSystemManagement
Mode
Example
ZXAN(cong)#
ThefollowingexampledisplayshowtospecifyFTPserverIPaddress:
ZXAN(config)#nvrambootserver168.1.1.1
Related
Commands
nvramboot-password
nvramboot-username
nvramcong-lename
nvramdefault-gateway
nvramimgle-location
Related
Information
Thiscommandisusedwithothercommands:nvramboot-pa
ssword,nvramboot-username,nvramimgfile-location,n
vramdefault-gateway.
nvramboot-username
Syntax
Purpose
UsageGuidelines
nvramboot-usernameusername
TospecifyFTPserverusername
Thefollowingtableprovidesparameterdescription:
Parameter
username
Mode
Example
ZXAN(cong)#
ThefollowingexampledisplayshowtospecifyFTPserveruser
DescriptionValue
Loginusername
Range1–16
characters
name:
ZXAN(config)#nvramboot-usernametest
Related
Commands
nvramboot-password
nvramboot-server
nvramcong-lename
nvramdefault-gateway
nvramimgle-location
Related
Information
Thiscommandisusedwithothercommands:nvramboot-pas
sword,nvramdefault-gateway,nvramimgfile-location,n
vramboot-server.
CondentialandProprietaryInformationofZTECORPORATION13
Page 28

FSAP9800CommandManual(VolumeI)
nvramdefault-gateway
Syntax
Purpose
UsageGuidelines
Mode
Example
nvramdefault-gatewayip-address
ToconguredefaultgatewayIPaddress
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressGatewayIPaddress
DescriptionValue
A.B.C.D
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguredefaultgateway
IPaddress:
ZXAN(config)#nvramdefault-gateway168.1.1.1
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramimgle-location
Related
Information
Thiscommandisusedwithothercommands:nvramboot-pa
ssword,nvramboot-username,nvramimgfile-location,n
vramboot-server.
nvramimgfile-location
Syntax
Purpose
UsageGuidelines
Mode
Example
nvramimgfile-location{local|networkfilename}
Tocongureimagelelocation
Thefollowingtableprovidesparameterdescription:
Parameter
localLocal
networkNetwork
filename
DescriptionValue
Filename
–
–
Range:1–80
characters
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureimagelelocation:
�Bootfromlocal.
ZXAN(config)#nvramimgfile-locationlocal
�Bootfromnetwork.
14CondentialandProprietaryInformationofZTECORPORATION
Page 29

Chapter2BasicSystemManagement
ZXAN(config)#nvramimgfile-locationnetworksys.img
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramdefault-gateway
Related
Information
Thelegalcharactersofthelenameinclude:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ/.;,-=+$#~@%!&[]{}
Iftheleisbootedfromnetwork,thelenamecanincludethe
pathunderthespeciedFTPdirectory .Forexample,specify
"sysm"asFTPdirectory.Inthedirectory"nets"underthedirectory"sysm"ofFTPserver ,thelenamecanstillincludethepath
underthespecieddirectory"sysm/nets".Avoidpathrepetition.
Thiscommandisusedwithothercommands:nvramboot-pa
ssword,nvramdefault-gateway,nvramboot-username,n
vramboot-server.
nvrammng-ip-address
Syntax
Purpose
UsageGuidelines
Mode
Example
nvrammng-ip-addressip-addressnet-mask
TosetmanagementportIPaddress
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressIPaddress
net-maskNetmask
DescriptionValue
A.B.C.D
A.B.C.D
ZXAN(cong)#
ThefollowingexampledisplayshowtosetmanagementportIP
address:
ZXAN(config)#nvrammng-ip-address168.1.1.1255.255.0.0
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramdefault-gateway
Related
Information
Theconguredinterfaceaddressandthelocaladdressshouldnot
inthesamenetworksegment.
CondentialandProprietaryInformationofZTECORPORATION15
Page 30

FSAP9800CommandManual(VolumeI)
route-map
Syntax
Purpose
route-mapname[deny|permit][sequence]
Toenterroutemappingcongurationmodetocongurethesystemroutemapping
UsageGuidelines
Mode
Example
Thefollowingtableprovidesparameterdescription:
Parameter
name
deny|permitDeny/permit
sequence
DescriptionValue
Routemappingname
SequenceRange:0–65535
Range:1–16
characters
–
ZXAN(cong)#
Thefollowingexampledisplayshowtoenterroutemappingcongurationmodetocongurethesystemroutemapping:
ZXAN(config)#route-maptestpermit2
ZXAN(config-route-map)#
Related
Commands
showroute-map
time-range
Syntax
Purpose
UsageGuidelines
time-rangerange-namefromstarting-timesarting-date[toendi
ng-timeending-date]
time-rangerange-nametarting-timetoending-time{daily
|working-day|off-day|sunday|monday|tuesday|
wednesday|thursday|friday|saturday}
notime-rangerange-name
Tosettimerange
Thefollowingtableprovidesparameterdescription:
Parameter
range-name
starting-time
starting-dateStartingdatemm-dd-yyyy
ending-timeEndingtimehh:mm:ss
DescriptionValue
Rangename
Startingtime
Range:1–16characters
hh:mm:ss
Year2001–2099
16CondentialandProprietaryInformationofZTECORPORATION
Page 31

Chapter2BasicSystemManagement
Parameter
ending-dateEndingdatemm-dd-yyyy
daily|working
-day|off-day|
sunday|monday
|tuesday|wedne
sday|thursday|
friday|saturday
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
Thefollowingexampledisplayshowtosettimerange:
ZXAN(config)#time-rangetest1from00:00:0001-01-2008to23:59:5912-31-2009
ZXAN(config)#time-rangetest200:00:00to02:00:00saturday
showtime-range
Userscanspecifytheconsecutivetimerangeorspecifythetime
rangethatmeetssomecondition.
DescriptionValue
Timerestriction
Year2001–2099
–
username
Syntax
Purpose
UsageGuidelines
Mode
Example
usernameusernamepasswordpassword
nousernameusername
Tosetloginusernameandpassword
Thefollowingtableprovidesparameterdescription:
Parameter
username
passwordPassword
DescriptionValue
Username
Range:1–16
characters
Range:3–16
characters
ZXAN(cong)#
Thefollowingexampledisplayshowtosetloginusernameand
password:
ZXAN(config)#usernameabcpasswordpass
CondentialandProprietaryInformationofZTECORPORATION17
Page 32

FSAP9800CommandManual(VolumeI)
Related
Commands
Related
Information
showusername
Theparameterusenameallowsthefollowingcharacters:
0123456789abcdefghijklmorqrstuvwxyz_
Theparameterpasswordallowsthefollowingcharacters:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ`*-=~!@#$%^&_+[]{}|;':,./<>\\
version
Syntax
Purpose
UsageGuidelines
Mode
Example
version
Toenterversionmanagementmode
None
ZXAN#
Thefollowingexampledisplayshowtoenterversionmanagement
mode:
ZXAN#version
ZXAN(version)#
Related
Commands
exit
who
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
who
Todisplaycurrentloginuserlist
None
ZXAN#
Thefollowingexampledisplayscurrentloginuserlist:
ZXAN#who
LineUserHost(s)IdleLocation
*66vty0whoidle00:00:00168.1.200.57
67vty1abcidle00:00:00168.1.200.58
None
Thefollowingtableprovidesparameterdescription:
Parameter
DescriptionValue
LineVirtualterminal-
UserUsername-
HostHostIPaddress-
18CondentialandProprietaryInformationofZTECORPORATION
Page 33

Chapter2BasicSystemManagement
Parameter
IdleIdletime-
LocationClientlocation-
DescriptionValue
anti-dos
Syntax
Purpose
UsageGuidelines
Mode
Example
anti-dos{enable|disable}
Tocongureanti-DoSattackfunction
Thefollowingtableprovidesparameterdescription:
Parameter
enableEnableanti-DoS
disableDisableanti-DoS
DescriptionValue
-
attackfunction
-
attackfunction
ZXAN(control-panel)#
Thefollowingexampledisplayshowtocongureanti-DoSattack
function:
ZXAN(control-panel)#anti-dosenable
Related
Commands
Related
Information
None
�Beforeconguringanti-DoSattackfunction,entercon-
trol-panelmode.
�Anti-DoSfunctionaimstopreventsomeMACaddressonauser
portfromsendingexcessivepacketstoNE,whichmakesNE
CPUunabletodealwithit.Anti-DoSisnotconguredonuplink
port.
anti-dosdrop
Syntax
Purpose
UsageGuidelines
anti-dosdrop{enable|disable}
Toenable/disableanti-DoSattackfuntion
Thefollowingtableprovidesparameterdescription:
Parameter
enableEnableanti-DoS
disableDisableanti-DoS
DescriptionValue
attackfunction
attackfunction
-
-
Mode
ZXAN(control-panel)#
CondentialandProprietaryInformationofZTECORPORATION19
Page 34

FSAP9800CommandManual(VolumeI)
Example
Related
Commands
Related
Information
Thefollowingexampledisplayshowto
ZXAN(control-panel)#anti-dosdropenable
None
Whentheanti-DoSfunctionisenabled,someuser'sMACisinthe
blacklist.IfthesystemreceivesthepacketofthisMACaddress
nexttime,thesystemdiscardsthispacket.
anti-doslimit-num
Syntax
Purpose
UsageGuidelines
Mode
Example
anti-doslimit-numnumber
Tosettheanti-DoSattackthresholdvalue
Thefollowingtableprovidesparameterdescription:
Parameter
numberThresholdvalue
DescriptionValue
Range:10–1000
ZXAN(control-panel)#
Thefollowingexampledisplayshowtosettheanti-DoSattack
thresholdvalue:
ZXAN(control-panel)#anti-doslimit-num100
Related
Commands
Related
Information
None
Anti-DoSattackthresholdunitispps.Inthepast5seconds,ifthe
numberofpacketsofthisMACaddresssenttothemaincontrol
cardisgreaterthanvetimesthresholdvalue,thesystemconsidersitselfattackedbythisMACaddressandputthisMACaddress
intheblacklist.
showclock
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
showclock
Todisplaythesystemclock
None
Allmodes
Thefollowingexampledisplaythesystemclock:
ZXAN#showclock
00:59:05MonJan12001UTC
clockset
20CondentialandProprietaryInformationofZTECORPORATION
Page 35

Chapter2BasicSystemManagement
Related
Information
Thiscommanddisplaysthelocaltimethatbelongstothetimezone
afterthetimezoneiscongured.
showrunning-config
Syntax
Purpose
UsageGuidelines
showrunning-config[interfaceinterface-name|msanmodu
le-name]
showrunning-config[{begin|exclude|include}line]
Todisplaythecurrentsystemcongurationinformationorthe
speciedinterfacecongurationinformation
Thefollowingtableprovidesparameterdescription:
Parameter
interfaceinterfa
ce-nameInterfacename-
msanmodule-n
ameMSANmodulename
DescriptionValue
ces/dhcp-option82/epon/
gpon/igmp/
iptv/mac/portlocation/pppoeplus/vlan
Displaythecongurationin-
begin
exclude
include
lineSpecifycharactersorstrings-
Mode
Example
Allmodesexceptexecmode
Thefollowingexampledisplaysthecurrentsystemconguration
formationbeginningwiththe
speciedcharactersorstrings-
Displaythecongurationinformationexcludingwiththespeciedcharactersorstrings-
Displaythecongurationinformationincludingwiththespeciedcharactersorstrings-
informationorthespeciedinterfacecongurationinformation
ZXAN(config)#showrunning-configinterfaceshdsl_0/3/1
Buildingconfiguration...
!
end
Related
Commands
None
CondentialandProprietaryInformationofZTECORPORATION21
Page 36

FSAP9800CommandManual(VolumeI)
Related
Information
Theeffectivesystemcongurationisdisplayedincommandline.
showstartrunning-config
Syntax
Purpose
UsageGuidelines
showstartrunning-config[{begin|exclude|include}line]
Todisplaytherunningcongurationinformation
Thefollowingtableprovidesparameterdescription:
Parameter
begin
exclude
include
DescriptionValue
Displaycongurationinformationbeginningwith
thespeciedcharactersor
string-
Displaycongurationinformationexcludingthespeciedcharactersorstring-
Displaycongurationinformationincludingthespeciedcharactersorstring-
lineSpecifycharactersorstring-
Mode
Example
Allmodesexceptexecmode
Thefollowingexampledisplaystherunningcongurationinformation:
ZXAN(config)#showstartrunning-config|beginline
lineconsoleidle-timeout120
lineconsoleabsolute-timeout1440
linetelnetidle-timeout120
linetelnetabsolute-timeout1440
!
sshserverauthenticationispgroup1
sshserverauthenticationmodelocal
sshserverauthenticationtypechap
nosshserveronly
sshserverversion2
!
!
!
alarmenable
alarmconfirm
nms-hello-trapdisable
nms-hello-trapinterval120
!
sys-craft-terminalenable
!
!
Related
Commands
Related
Information
showrunning-cong
Thesavedsystemcongurationinformationisdisplayedincommandline.
22CondentialandProprietaryInformationofZTECORPORATION
Page 37

Chapter2BasicSystemManagement
Thiscommandisusedtogetherwithshowrunning-configto
checkwhetherthepreviouslysavedinformationtakeseffectafter
thesystemisbooted.
showsystem-group
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
showsystem-group
Todisplaythesysteminformation
None
Allmodes
Thefollowingexampledisplaysthesysteminformation:
ZXAN(config)#showsystem-group
SystemDescription:ZXR10ROSVersionV4.8.01
ZXR10_5224Software,VersionV3.0.2
Copyright(c)2000-2006byZTECorporation
CompiledNov82007,16:32:17
SystemObjectId:.iso.org.dod.internet.private.enterprises.zte.3.100.17
Startedbefore:1106434Seconds
Contactwith:+86-021-68895000
Systemname:ZXAN
Location:No.889BiBoRd.PuDongDistrict,ShangHai,China
Thissystemprimarilyoffersasetof78services
None
showroute-map
Syntax
Purpose
UsageGuidelines
showroute-map[name]
Todisplaythesystemconguredrouteaddress
Thefollowingtableprovidesparameterdescription:
Parameter
name
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplaysthesystemconguredroutead-
DescriptionValue
Routeaddressname
Range:1–16
characters
dress:
ZXAN#showroute-map
route-maptagpermit10
route-maptestpermit2
ZXAN#
ZXAN#showroute-maptest
route-maptestpermit2
ZXAN#
CondentialandProprietaryInformationofZTECORPORATION23
Page 38

FSAP9800CommandManual(VolumeI)
Related
Commands
route-map
showtime-range
Syntax
Purpose
UsageGuidelines
Mode
Example
showtime-range[range-name]
Todisplaythesystemconguredtimerange
Thefollowingtableprovidesparameterdescription:
Parameter
range-name
DescriptionValue
Rangetime
Allmodes
Thefollowingexampledisplayshowto
ZXAN#showtime-range
Currenttimeis07:04:4401-01-2001Monday
Time-range:test1
from00:00:0001-01-2008to23:59:5912-31-2009
Time-range:test2
00:00:00to02:00:00Saturday
ZXAN#
Range:1–16
characters
Related
Commands
time-range
showusername
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
showusername
Todisplaythelistoftheloginusernameandpassword
None
Allmodesexceptexecmode
Thefollowingexampledisplaysthelistoftheloginusernameand
password:
ZXAN#showusernameUsernamePasswordPrivilege
admin******15
test******0
abc******1
username
showusers
Syntax
Purpose
24CondentialandProprietaryInformationofZTECORPORATION
showusers
Todisplayterminaluserinformation
Page 39

Chapter2BasicSystemManagement
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
None
Allmodes
Thefollowingexampledisplaysterminaluserinformation:
ZXAN#showusers
LineUserHost(s)IdleLocation
*66vty0whoidle00:00:00170.1.1.16
ZXAN#
None
Thefollowingtableprovidestheparameterdescription:
Parameter
LineVirtualterminal-
UserLoginusername-
HostHostIPaddress-
IdleIdletime-
LocationClientlocation-
DescriptionValue
showsourcealarm
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
showsourcealarm
Todisplaysourceclockalarm
None
Allmodesexceptexecmode
Thefollowingexampledisplayssourceclockalarm:
ZXAN#showsourcealarm
InterfaceTypePriorityAlarm
....................................................
0/7/0internal251Normal
None
Thedisplayedinformationincludesinterface,types,priorityand
alarmtypes.
showversion
Syntax
Purpose
UsageGuidelines
Mode
showversion
Todisplaythesystemsoftwareandhardwareversioninformation
None
Allmodes
CondentialandProprietaryInformationofZTECORPORATION25
Page 40

FSAP9800CommandManual(VolumeI)
Example
Thefollowingexampledisplaysthesystemsoftwareandhardware
versioninformation:
ZXAN#showversion
ZXR10RouterOperatingSystemSoftware,ZTECorporation
ZXR10ROSVersionV4.8.01
ZXR10_5224Software,VersionV3.0.2,RELEASESOFTWARE
Copyright(c)2000-2006byZTECorporation
CompiledNov82007,16:32:17
Systemimagefilesareflash:/CSCM.MVR
ystemuptimeis12days,19hours,31minutes
Related
Commands
None
showanti-dosblack-table
Syntax
Purpose
UsageGuidelines
Mode
Example
showanti-dosblack-table
Todisplayanti-DoSblacklist
None
Allmodesexceptexecmode
Thefollowingexampledisplaysanti-DoSblacklist:
ZXAN#showanti-dosblack-table
------------------------------------------------------------mac-addressvlanportpktNumTotalpktNumDropped
-------------------------------------------------------------
Related
Commands
Related
Information
showigmp
�Usethiscommandtodisplaytheanti-DoSattackblacklistin-
cludingsourceMACaddress,VLAN,portID,thenumberof
packets,thenumberoflostpacketsandetc.
�Thenumberofreceivedpackets—ThenumberofMAC+VLAN
taggedpacketsinthetimerpollingperiod(5seconds)afterthe
userisintheblacklist
�Thenumberoflostpackets—Thenumberofdiscardedpackets
amongthereceivedMAC+VLANtaggedpacketsaftertheuser
isintheblacklist
�Asthecountedperiodisdifferential,itisallrightthatthelater
isgreaterthantheformer .
26CondentialandProprietaryInformationofZTECORPORATION
Page 41

Chapter 3
HardwareManagement
TableofContents
add-card..........................................................................27
add-rack..........................................................................28
add-shelf..........................................................................28
del-card...........................................................................29
del-rack...........................................................................29
del-shelf...........................................................................29
reboot..............................................................................30
reset-card........................................................................30
reset-at-suspend...............................................................31
showcard........................................................................31
swap...............................................................................32
add-card
Syntax
Purpose
UsageGuidelines
Mode
Example
add-card[racknorackno][shelfnoshelfno]{slotnoslotno}{
boardtype}
Toaddcard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber0
shelfnoshelfnoShelfnumber0
slotnoslotnoSlotnumberRange:1–8,10,12–18
boardtypeCardtype
ZXAN(cong)#
Thefollowingexampledisplayshowtoaddcard:
ZXAN(config)#add-cardshelfno0slotno12eps
DescriptionValue
AINCATM|AINCIMA|ASNG
|ASNV|EINA|EINB2|
EINB4|EINT|EPN|EPS|
ESP|GPN|ISNV|LTN|
STNG|VSNK|VTNE
CondentialandProprietaryInformationofZTECORPORATION27
Page 42

FSAP9800CommandManual(VolumeI)
Related
Commands
del-card
add-rack
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
add-rack{racknoracknoracktyperacktype}
Toaddrack
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
racktyperacktypeRacktype
DescriptionValue
ZXAN(cong)#
Thefollowingexampledisplayshowtoaddrack:
ZXAN(config)#add-rackrackno0racktypefsap-conrack
AddRack:RackNo:0,RackType:1
del-rack
0
FSAP-CONRACK
add-shelf
Syntax
Purpose
UsageGuidelines
Mode
Example
add-shelf[racknorackno]{shelfnoshelfnoshelftypeshelfty
pe}
Toaddshelf
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
shelftypeshelftypeShelftype
DescriptionValue
0
0
9800-SHELF/
9803-SHELF
ZXAN(cong)#
Thefollowingexampledisplayshowtoaddshelf:
ZXAN(config)#add-shelfrackno0shelfno0shelftype9800-shelf
28CondentialandProprietaryInformationofZTECORPORATION
Page 43

Chapter3HardwareManagement
Related
Commands
del-shelf
del-card
Syntax
Purpose
UsageGuidelines
Mode
Example
del-card[racknorackno][shelfnoshelfno]{slotnoslotno}
Todeletecard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnubmer
slotnoslotnoSlotnumber
ZXAN(cong)#
Thefollowingexampledisplayshowtodeletecard:
ZXAN(config)#del-cardrackno0shelfno0slotno3
DescriptionValue
0
0
Range:2–8,10,12
–18
Related
Commands
add-card
del-rack
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
del-rackracknorackno
Todeleterack
Thefollowingtableprovidesparameterdescription:
Parameter
racknoRacknumber
ZXAN(cong)#
Thefollowingexampledisplayshowtodeleterack:
ZXAN(config)#del-rackrackno0
add-rack
DescriptionValue
0
del-shelf
Syntax
del-shelf[racknorackno]{shelfnoshelfno}
CondentialandProprietaryInformationofZTECORPORATION29
Page 44

FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Todeleteshelf
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
DescriptionValue
ZXAN(cong)#
Thefollowingexampledisplayshowtodeleteshelf:
ZXAN(config)#del-rackshelfno0
add-shelf
0
0
reboot
Syntax
Purpose
UsageGuidelines
reboot[racknorackno][shelfnoshelfno]
Torebootsystem
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplayshowtorebootsystem:
ZXAN#reboot
Confirmtoreboot?[yes/no]:y
reset-card
DescriptionValue
0
0
reset-card
Syntax
Purpose
UsageGuidelines
reset-card[racknorackno][shelfnoshelfno]{slotnoslotno}
[subcardsubcardno]
Toresetcard
Thefollowingtableprovidesparameterdescription:
30CondentialandProprietaryInformationofZTECORPORATION
Page 45

Chapter3HardwareManagement
Parameter
racknoracknoRacknumber0
shelfnoshelfnoShelfnumber0
slotnoslotnoSlotnumber
subcardsubcar
dnoSub-cardnumberRange:0–3
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplayshowtoresetcard:
ZXAN#reset-cardrackno0shelfno0slotno3
Confirmtoresetcard?[yes/no]:y
SPresetcard,sunit=3
ResetCardSPN:0-0-3
reboot
DescriptionValue
Range:2–8,10,12
–18
reset-at-suspend
Syntax
reset-at-suspend
noreset-at-suspend
Purpose
UsageGuidelines
Mode
Example
Toenable/disableprocesssuspensionandNEresetfunction
None
ZXAN(cong)#
Thefollowingexampledisplayshowtoenable/disableprocesssuspensionandNEresetfunction:
ZXAN(config)#noreset-at-suspend
Related
Commands
None
showcard
Syntax
Purpose
UsageGuidelines
showcard[racknorackno][shelfnoshelfno][slotnoslotno]
Todisplaycardinformation
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION31
Page 46

FSAP9800CommandManual(VolumeI)
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
Mode
Example
Related
Commands
Allmodes
Thefollowingexampledisplaycardinformation:
ZXAN#showcard
RackShelfSlotCfgTypeRealTypePortHardVerSoftVerStatus
--------------------------------------------------------------------------006AENVAENVC64080701V3.0.2INSERVICE
009CSCMCSCE4050601V3.2.0T2INSERVICE
0011CSCM4OFFLINE
0013ISNVISNVC364071200V3.0.2INSERVICE
0014ASNVASNVC264061200V3.0.2INSERVICE
ZXAN#
add-card
DescriptionValue
0
0
Range:2–18
swap
Syntax
Purpose
UsageGuidelines
Mode
Example
swap[racknorackno][shelfnoshelfno][slotnoslotno]
Toswapactivecardswithstandbycards
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
DescriptionValue
0
0
9,11
ZXAN#
Thefollowingexampledisplayshowtoswapactivecardswith
standbycards:
ZXAN#swaprackno0shelfno0slotno9
Confirmtomasterswap?[yes/no]:y
Swapexecute:RackNo:0,ShelfNo:0,SlotfNo:9
Related
Commands
None
32CondentialandProprietaryInformationofZTECORPORATION
Page 47

Chapter 4
FanManagement
TableofContents
fancontrol........................................................................33
fanhigh-threshold.............................................................33
fanspeed.........................................................................34
showfan..........................................................................34
fancontrol
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
fancontrol{fixed-speed|temp_leveltempx1tempx2tempx3
temp4}
Tosetfanstatus
Thefollowingtableprovidesparameterdescription:
Parameter
fixed-speed
temp_level
tempx1tempx2
tempx3temp4
ZXAN(cong)#
Thefollowingexampledisplayshowtosetfanstatus:
ZXAN(config)#fancontroltemp_level30405060
showfan
DescriptionValue
Fixedspeed
Adjustthetemperatureautomatically
-
Range:0℃–70℃
Thevaluefromtempx1
totempx4risesin
order .Thedifference
oftwoadjacentvalues
is>=5℃.
fanhigh-threshold
Syntax
Purpose
UsageGuidelines
fanhigh-thresholdtempx
Tosetfanhighthresholdvalue
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION33
Page 48

FSAP9800CommandManual(VolumeI)
Parameter
tempx
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
Thefollowingexampledisplayshowtosetfanhighthreshold
value:
ZXAN(config)#fanhigh-threshold60
showfan
Topreventtoohightemperatureandachievehightemperature
alarm,theinspectionintervalis5minutes.Whentheinspected
temperatureishigherthanorequivalenttothethresholdvalue,
thesystemtakesthefollowingmeasures:
�Thesystemsendsamessagetothemaincontrolcard,inform-
ingthatthehightemperaturealarmistriggered.
�ThemaincontrolcardsendsatraptoSNMPsever .
�Allfansrunatfullspeed.
�Afterarunningperiod,whenthetemperaturesomewhereis
lowerthanthethresholdvalue,thefansrestoretonormal.
DescriptionValue
Alarmthresholdvalue
Range:60℃–80℃
Default:70℃
fanspeed
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
fanspeedspeed1
Tosetfanspeed
Thefollowingtableprovidesparameterdescription:
Parameter
speed1FanspeedFourspeeds
ZXAN(cong)#
Thefollowingexampledisplayshowtosetfanspeed:
ZXAN(config)#fanspeed2
showfan
DescriptionValue
showfan
Syntax
Purpose
showfan
Todisplayallfans
34CondentialandProprietaryInformationofZTECORPORATION
Page 49

Chapter4FanManagement
UsageGuidelines
Mode
Example
Related
None
Allmodesexceptexecmode
Thefollowingexampledisplaysallfans:
ZXAN(config)#showfan
FanConsoleMode:epm
FanControlType:temp-control
TemperatureThreshold:10203040(Celsiurscale)
FanAlarm:disable
ShiftSpeed(100rpm):23293541
HighTemperatureThreshold:63(Celsiurscale)
FanBoardTemperature:26.
EnvironmentTemperature:29.
Allfanactualstatus:
------------------------------------------fanonlineActualSpeed
------------------------------------------1off-line0
2off-line0
3off-line0
4off-line0
5off-line0
6off-line0
-------------------------------------------
None
Commands
Related
Information
Withparameters,thesystemdisplaysthespeciedfaninformation.Withoutparameters,thesystemdisplayinformationofall
fans.
CondentialandProprietaryInformationofZTECORPORATION35
Page 50

FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
36CondentialandProprietaryInformationofZTECORPORATION
Page 51

Chapter 5
VersionManagement
TableofContents
activateversion.................................................................37
downloadversion..............................................................38
eraseversion....................................................................38
main-backupversion..........................................................39
quit.................................................................................39
showcompound–version....................................................39
showupdate-status...........................................................40
showversion-running.........................................................41
showversion-saved...........................................................42
update-boot......................................................................43
update-version..................................................................44
update-cpld......................................................................44
activateversion
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
activateversionfile-name
Toactivatemainversionle
Thefollowingtableprovidesparameterdescription:
Parameter
file-nameVersionlename
ZXAN(version)#
Thefollowingexampledisplayshowtoactivatemainversionle:
ZXAN(version)#activateversionversion1
version1
Parseactivateversionok!
downloadversion
eraseversion
Onceamainversionleonamaincontrolcardisactivated,the
previouslyconguredactiveversionlewillbedeactivatedautomatically.Thisfunctiontakeseffectafterthedeviceisrebooted.
DescriptionValue
Range:1–16
characters
CondentialandProprietaryInformationofZTECORPORATION37
Page 52

FSAP9800CommandManual(VolumeI)
downloadversion
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
downloadversionhost-file-name
Todownloadversionles
Thefollowingtableprovidesparameterdescription:
Parameter
host-file-nameVersionlename
DescriptionValue
Range:1–16
characters
ZXAN(version)#
Thefollowingexampledisplayshowtodownloadversionles:
ZXAN(version)#downloadversionCSCE.bt
Startloadingfile
.....................
filedownloadsuccessfully.
activateversion
eraseversion
eraseversion
Syntax
Purpose
UsageGuidelines
Mode
Example
eraseversionfile-name
Todeleteversionlessavedinmaincontrolcard
Thefollowingtableprovidesparameterdescription:
Parameter
file-name
DescriptionValue
Filename
Range:0–16
characters
ZXAN(version)#
Thefollowingexampledisplayshowtodeleteversionlessaved
inmaincontrolcard:
ZXAN(version)#eraseversionversion1
EraseVersionParseok!
Filename:version1
Related
Commands
downloadversion
activateversion
38CondentialandProprietaryInformationofZTECORPORATION
Page 53

Chapter5VersionManagement
Related
Information
Theactiveversionleonthemaincontrolcardcannotbedeleted.
main-backupversion
Syntax
Purpose
UsageGuidelines
Mode
Example
main-backupversionsynchronization[host-file-name]
Tosynchronizetheactivemaincontrolcardtothestandbycontrol
card
Thefollowingtableprovidesparameterdescription:
Parameter
host-file-nameHostversionlename
ZXAN(version)#
Thefollowingexampledisplayshowtosynchronizetheactivemain
controlcardtothestandbycontrolcard:
ZXAN(version)#main-backupversionsynchronization
DescriptionValue
Range:1–16
characters
Related
Commands
showversion-running
quit
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
quit
Toquitfromversionmanagementmode
None
ZXAN(version)#
Thefollowingexampledisplayshowtoquitfromversionmanagementmode:
ZXAN(version)#quit
ZXAN#
version
showcompound–version
Syntax
Purpose
UsageGuidelines
showcompound-versionfile-name
Todisplaycompoundversionle
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION39
Page 54

FSAP9800CommandManual(VolumeI)
Parameter
file-nameCompoundversionle
Mode
Example
Related
Commands
Allmodesexceptexecmode
Thefollowingexampledisplayscompoundversionle:
ZXAN#showcompound-versionasnvb.mvr
FileNameFormatCompoundFlagBuildTimeFileLength
-----------------------------------------------------------ASNVB.MVRBINSINGLE2007-11-0721:27:001256394
ZXAN#
downloadversion
DescriptionValue
name
Range:1–16
characters
showupdate-status
Syntax
Purpose
UsageGuidelines
showupdate-status[racknorackno][shelfnoshelfno][slotno
slotno]
Todisplaylinecardversionupdatestatus
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
Mode
Example
Related
Commands
Related
Information
Allmodesexceptexecmode
Thefollowingexampledisplayslinecardversionupdatestatus:
ZXAN(version)#showupdate-status
ShelfSlotMVRFIRMWAREBOOTROM
-------------------------------------------------------------02ExecutetimeoutnotstartupdateExecutetimeout
09Executetimeoutnotstartupdatenotstartupdate
None
Thefollowingtableprovidestheparameterdescription:
Parameter
notstartupdateNotstartupdate-
DescriptionValue
DescriptionValue
0
0
Range:2–8,10,12
–17
Negotiating...Updateprocedureisnegotiating-
40CondentialandProprietaryInformationofZTECORPORATION
Page 55

Chapter5VersionManagement
Parameter
Downloading...
UpdatesuccessLinecardversionupdatesucceeds.-
Download
failedLinecardversiondownloadingfails.-
Noorsame
version
Boardnot
matchCardtypedoesnotmatch.-
Sendmsg
failedSendingmessagefails.-
ExecutetimeoutTimeout-
NoversionNoversion-
SameversionSameversion-
cfgboard
wrongConguredcardiswrong.-
DescriptionValue
Linecardisdownloadingversionfrom
maincontrolcard.-
Maincontrolcardhasnosameversion
asthatoflinecard.-
Vercheck
failedCardversioniswrong.-
Hardnomatch
ProgramwrongWrongprogram-
NotcfgboardCardisnotcongured.-
noversiontypeNoversiontype-
FailedinMToSlaveLinecardupdatefails.-
Cardhardwaretypesdoesnotmatch
thatofmaincontrolcard.-
Thiscommandisenteredaftertheupdateline-cardcommand
iscarriedout.Onlytheline-cardupdatestatusisdisplayed.If
theline-cardupdatestatusisnotdisplayed,thesystemdisplays“
can’tupdate”.
showversion-running
Syntax
Purpose
UsageGuidelines
showversion-running[racknorackno][shelfnoshelfno][slo
tnoslotno]
Todisplayallcardversionrunninginformation
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION41
Page 56

FSAP9800CommandManual(VolumeI)
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
Mode
Example
Allmodesexceptexecmode
Thefollowingexampledisplaysallcardversionrunninginforma-
DescriptionValue
0
0
Range2–8,10,12
–17
tion:
ZXAN#showversion-running
PhyLocVerTypeFileTypeVerTagVerLenthBuildTime
-----------------------------------------------------------------------------0/0/6APNVCMVRV3.0.214240172009-08-3113:17:02
0/0/698_2C50FIRMWAREV3.2.0T25069942009-07-2920:46:29
0/0/6APNVCBOOTROMV3.2.0T23066882009-07-3006:53:34
0/0/9CSCEMVRV3.2.0T297825592009-08-3100:03:08
0/0/9CSCEBOOTROMV3.2.0T23857922009-07-3006:46:37
0/0/13ASNVC3MVRV3.0.215729232009-09-0111:45:21
0/0/13ASNVC3BOOTROMV3.0.0P3T43070562009-06-0907:12:24
0/0/14ASNVC2MVRV3.0.213467062009-08-2615:41:38
0/0/1498_2C50FIRMWAREV3.2.0T25069942009-07-2920:46:29
0/0/14ASNVC2BOOTROMV3.0.0P3T42875202009-06-0101:32:43
ZXAN#
Related
Commands
downloadversion
showversion-saved
Syntax
Purpose
UsageGuidelines
Mode
Example
showversion-saved[racknorackno][shelfnoshelfno][slotno
slotno]
Todisplayversionleinformationsavedinmaincontrolcard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber0
shelfnoshelfnoShelfnumber0
slotnoslotnoSlotnubmerRange:2–8,10,12-17
DescriptionValue
Allmodesexceptexecmode
Thefollowingexampledisplaysversionleinformationsavedin
maincontrolcard:
ZXAN#showversion-saved
PhyLocFileNameVerTypeVerTagBuildTimeVerLenth
Active
----------------------------------------------------------------
---------------0/0/698_2c50.fw98_2C50V3.2.0T22009-07-2920:46:29506994
0
0/0/6apnvc.mvrAPNVCV3.0.22009-08-3113:17:021424017
0
42CondentialandProprietaryInformationofZTECORPORATION
Page 57

Chapter5VersionManagement
0/0/998_2c50.fw98_2C50V3.2.0T22009-07-2920:46:29506994
0
0/0/9apnvc.btAPNVCV3.2.0T22009-07-3006:53:34306688
0
0/0/9apnvc.mvrAPNVCV3.0.22009-08-3113:17:021424017
0
0/0/9asnvc.btASNVCV3.2.0T22009-07-3106:52:00288288
0
0/0/9asnvc2.btASNVC2V3.2.0T22009-08-2405:16:12288848
0
0/0/9asnvc2.mvrASNVC2V3.0.22009-08-2615:41:381346706
0
0/0/9asnvc3.mvrASNVC3V3.0.22009-09-0111:45:211572923
0
0/0/9asnvf.btASNVFV0.992009-07-3106:56:16281616
0
0/0/9csce.btCSCEV3.2.0T22009-07-3006:46:37385792
0
0/0/9csce.mvrCSCEV3.2.0T22009-08-3100:03:089782559
1
0/0/13asnvc3.mvrASNVC3V3.0.22009-09-0111:45:211572923
0
0/0/1498_2c50.fw98_2C50V3.2.0T22009-07-2920:46:29506994
0
0/0/14asnvc2.mvrASNVC2V3.0.22009-08-2615:41:381346706
0
ZXAN#
Related
downloadversion
Commands
update-boot
Syntax
Purpose
UsageGuidelines
update-boot[racknorackno][shelfnoshelfno]slotnoslotno{lo
cal}
Toupdatebootversionleandwriteintolinecard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
local
DescriptionValue
Updatefrommain
controlcard
0
0
Range:2–8,10,12
–17
–
Mode
Example
ZXAN(version)#
Thefollowingexampledisplayshowtoupdatebootversionleand
writeintolinecard:
ZXAN(version)#update-bootslotno8local
Confirmtoupdateboot?[yes/no]:y
CondentialandProprietaryInformationofZTECORPORATION43
Page 58

FSAP9800CommandManual(VolumeI)
Related
Commands
update-version
update-version
Syntax
Purpose
UsageGuidelines
update-version[racknorackno]shelfnoshelfnolocal
update-version[racknorackno][shelfnoshelfno]slotno
slotnolocal
Toupdatelinecardversionle
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber0
shelfnoshelfnoShelfnumber0
slotnoslotnoSlotnumber
local
DescriptionValue
Range:2–8,10,
12–17
Updatefrommaincontrol
card-
Mode
Example
ZXAN(version)#
Thefollowingexampledisplayshowtoupdatelinecardversion
le:
ZXAN(version)#update-versionslotno2local
Related
Commands
Related
Information
update-boot
Ifaslotnumberisselected,thecardstatusinthisslotwillbe
updated.Ifonlyshelfnumberisselected,allcardstatuswillbe
updatedinthisshelf.
update-cpld
Syntax
Purpose
UsageGuidelines
update-cpld[racknorackno][shelfnoshelfno]{slotnoslotno}
swtvalvalue
ToupdateCPLDonline
Thefollowingtableprovidesparameterdescription:
Parameter
DescriptionValue
racknoracknoRacknumber
shelfnoshelfnoShelfnubmer
44CondentialandProprietaryInformationofZTECORPORATION
0
0
Page 59

Chapter5VersionManagement
Parameter
slotnoslotnoSlotnumber
swtvalvalueCPLDupdate1:Update
Mode
Example
Related
Commands
ZXAN(version)#
Thefollowingexampledisplayshowto
ZXAN(version)#update-cpldslotno3swtval1
%Code35681:Cpldupdateflagissetsuccessfully
None
DescriptionValue
Range:2–8,10,12
–17
0:Noupdate
CondentialandProprietaryInformationofZTECORPORATION45
Page 60

FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
46CondentialandProprietaryInformationofZTECORPORATION
Page 61

Chapter 6
FileSystemManagement
TableofContents
cd...................................................................................47
copy................................................................................48
delete..............................................................................48
dir...................................................................................49
display.............................................................................49
formatash......................................................................50
mkdir...............................................................................50
pwd.................................................................................51
rename............................................................................51
rmdir...............................................................................51
write................................................................................52
writeash........................................................................53
writealarmlog...................................................................53
writenvram......................................................................53
cd
Syntax
Purpose
UsageGuidelines
Mode
Example
cddirectory
Toenteraspecicledeviceorledirectory
Thefollowingtableprovidesparameterdescription:
Parameter
directory
ZXAN#
Thefollowingexampledisplayshowtoenteraspecicledevice
orledirectory:
�Toentersystemashledevice
ZXAN#cdflash:
�Toenterdirectorybinunderthecurrentledevice
ZXAN#cd/bin
�Toenterupperdirectory
ZXAN#cd..
DescriptionValue
Directory
Range:1–80
characters
CondentialandProprietaryInformationofZTECORPORATION47
Page 62

FSAP9800CommandManual(VolumeI)
Related
Commands
dir
mkdir
pwd
rmdir
Related
Information
nvram:ash:
“.”“..”
copy
Syntax
Purpose
UsageGuidelines
copysource-devicesource-filedestination-devicedestination-file
Tocopysourceletoaspecicdirectory
Thefollowingtableprovidesparameterdescription:
Parameter
source-deviceSourcedevicenameash,ftp,tftp
source-file
DescriptionValue
Sourcedirectoryand
lenameRange:1–80characters
destination-de
vice
destination-f
ile
Mode
Example
ZXAN#
Thefollowingexampledisplayshowtocopysourceletoaspecic
Destinationdevice
nameash,ftp,tftp
Destinationdirectory
andlenameRange:1–80characters
directory:
ZXAN#copyflash:img/sys.datftp://168.1.1.1/sys.dat@test:pass
Related
Commands
delete
delete
Syntax
Purpose
UsageGuidelines
deletefilename
Todeletelesinthespecicdirectory
Thefollowingtableprovidesparameterdescription:
Parameter
DescriptionValue
filename
48CondentialandProprietaryInformationofZTECORPORATION
Directorynameand
lename
Range:1–80
characters
Page 63

Chapter6FileSystemManagement
Mode
Example
ZXAN#
Thefollowingexampledisplayshowtodeletelesinthespecic
directory:
ZXAN#deletesys.dat
Related
Commands
copy
rename
dir
Syntax
Purpose
UsageGuidelines
dir[directory]
Todisplayles
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directorynameor
devicename
Range:1–80
characters
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplaysles:
ZXAN#cdflash:
ZXAN#cdimg
ZXAN#dir
Directoryofflash:/img/
attributesizedatetimename
1-rwx9135845AUG-01-200214:26:02gar.zar
32007616bytestotal(40509440bytesfree)
cd
mkdir
pwd
rmdir
display
Syntax
Purpose
UsageGuidelines
displayfilename
Todisplayaspecicle
Thefollowingtableprovidesparameterdescription:
Parameter
filename
CondentialandProprietaryInformationofZTECORPORATION49
DescriptionValue
Filename
Range:1–128
characters
Page 64

FSAP9800CommandManual(VolumeI)
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplaysaspecicle:
ZXAN#displaytest
None
formatflash
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
formatflash
Toformatash
None
ZXAN#
Thefollowingexampledisplayshowtoformatash:
ZXAN#formatflash
Alldatawillbecleared.Continuetoformat?[yes/no]:y
None
Thiscommandisexecutedonlyunderashrootdirectory.
mkdir
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
mkdirdirectory
Tocreateanewledirectory
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directoryname
ZXAN#
Thefollowingexampledisplayshowtocreateanewledirectory:
ZXAN#mkdirtest
cd
dir
pwd
rmdir
Range:1–32
characters
50CondentialandProprietaryInformationofZTECORPORATION
Page 65

Chapter6FileSystemManagement
pwd
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
pwd
Todisplaythecurrentdirectorypath
None
ZXAN#
Thefollowingexampledisplaysthecurrentdirectorypath:
ZXAN#pwd
root:/flash:/
ZXAN#
cd
dir
mkdir
rmdir
rename
Syntax
Purpose
UsageGuidelines
renamesource-filenamedestination-filename
Tomodifydirectoryname
Thefollowingtableprovidesparameterdescription:
Parameter
source-filenameSourcelename
destination-filenameDestinationlename
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplayshowtomodifydirectoryname:
ZXAN#renameconfig/sys.datback.dat
copy
delete
rmdir
DescriptionValue
Range:1–80
characters
Range:1–80
characters
rmdir
Syntax
Purpose
rmdirdirectory
Todeletethespeciedledirectory
CondentialandProprietaryInformationofZTECORPORATION51
Page 66

FSAP9800CommandManual(VolumeI)
UsageGuidelines
Mode
Example
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directoryname
Range:1–80
characters
ZXAN#
Thefollowingexampledisplayshowtodeletethespeciedledirectory:
ZXAN#rmdirdirectory
Related
Commands
cd
copy
dir
mkdir
pwd
Related
Information
Iftherearelesinthedirectory,thisdirectorycannotbedeleted.
write
Syntax
Purpose
UsageGuidelines
Mode
Example
write[alarmlog|cmdlog|flash|nvram|snmplog]
Towritethecongurationinformationintoash
Thefollowingtableprovidesparameterdescription:
Parameter
alarmlogAlarmlog-
cmdlogCommandlog-
flashFlash-
nvramNVRAM-
snmplogSNMPlog-
DescriptionValue
ZXAN#
Thefollowingexampledisplayshowtowritethecongurationinformationintoash:
ZXAN#write
Buildingconfiguration...
[ok]
Related
Commands
Related
Information
52CondentialandProprietaryInformationofZTECORPORATION
writeash
writenvram
Thiscommandhasthefunctionofwriteflashandwritenvram
commandsifthecommandiswithouttheparameter .
Page 67

writeflash
Chapter6FileSystemManagement
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
writeflash
Towritethecurrentdevicecongurationintoash
None
ZXAN#
Thefollowingexampledisplayshowtowritethecurrentdevice
congurationintoash:
ZXAN#writeflash
BuildingconfigurationFLASH:...
[ok]
write
writenvram
Thecongurationintheashwilltakeeffectautomaticallyinthe
nextdevicestartup.
writealarmlog
Syntax
Purpose
UsageGuidelines
Mode
Example
writealarmlog
Towritealarmlogintole
None
ZXAN#
Thefollowingexampledisplayshowtowritealarmlogintole:
ZXAN#writealarmlog
Buildingloggingfile...
..
[ok]
Related
Commands
write
writenvram
writenvram
Syntax
Purpose
UsageGuidelines
Mode
Example
writenvram
TowritesystemparametersintoNVRAM
None
ZXAN#
Thefollowingexampledisplayshowtowritesystemparameters
intoNVRAM:
ZXAN#writenvram
Buildingconfiguration...
CondentialandProprietaryInformationofZTECORPORATION53
Page 68

FSAP9800CommandManual(VolumeI)
[ok]
Related
Commands
write
writeash
54CondentialandProprietaryInformationofZTECORPORATION
Page 69

Chapter 7
UserManagement
TableofContents
lineconsoleabsolute-timeout..............................................55
lineconsoleidle-timeout.....................................................56
linetelnetabsolute-timeout................................................56
linetelnetaccess-class.......................................................57
linetelnetidle-timeout.......................................................57
login................................................................................58
logout..............................................................................58
login-authentication-type....................................................58
login-authorization-type.....................................................59
quit.................................................................................59
rlogin...............................................................................60
script...............................................................................60
showhistory.....................................................................61
showlocaluser..................................................................61
showmonitor....................................................................61
showterminal...................................................................62
telnet...............................................................................62
telnetmng.......................................................................63
telnetmodem...................................................................63
lineconsoleabsolute-time
out
Syntax
Purpose
UsageGuidelines
Mode
Example
lineconsoleabsolute-timeoutabsolute-timeout
nolineconsoleabsolute-timeout
Tocongurelineconsoleabsolutetimeout
Thefollowingtableprovidesparameterdescription:
Parameter
absolute-timeoutAbsolutetimeout
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurelineconsoleabsolutetimeout:
ZXAN(config)#lineconsoleabsolute-timeout30
CondentialandProprietaryInformationofZTECORPORATION55
DescriptionValue
Range:1–10000
min
Default:oneday
Page 70

FSAP9800CommandManual(VolumeI)
Related
Commands
lineconsoleidle-timeout
lineconsoleidle-timeout
Syntax
Purpose
UsageGuidelines
Mode
Example
lineconsoleidle-timeoutidle-timeout
nolineconsoleidle-timeout
Tocongureconsoleidletimeout
Thefollowingtableprovidesparameterdescription:
Parameter
idle-timeoutIdletimeout
DescriptionValue
Range:1–10000
min
Default:2hr
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureconsoleidletimeout:
ZXAN(config)#lineconsoleidle-timeout30
Related
Commands
Related
Information
lineconsoleabsolute-timeout
Associatedwithlineconsoleabsolute-timeoutcommandtoter-
minateconsolesession.
linetelnetabsolute-timeout
Syntax
Purpose
UsageGuidelines
Mode
Example
linetelnetabsolute-timeoutabsolute-timeout
nolinetelnetabsolute-timeout
Toconguretelnetabsolutetimeout
Thefollowingtableprovidesparameterdescription:
Parameter
absolute-timeoutAbsolutetimeout
DescriptionValue
Range:1–10000
min
Default:1day
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetabsolute
timeout:
ZXAN(config)#linetelnetabsolute-timeout30
56CondentialandProprietaryInformationofZTECORPORATION
Page 71

Chapter7UserManagement
Related
Commands
Related
Information
linetelnetidle-timeout
Associatedwithlinetelnetidle-timeouttoterminatethesession
afteraperiodoftime.
linetelnetaccess-class
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
linetelnetaccess-classaccess-list-number
nolinetelnetaccess-class
Toconguretelnetaccessclass
Thefollowingtableprovidesparameterdescription:
Parameter
access-list-numberAccesslistnumber
DescriptionValue
Range:1–99
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetaccess
class:
ZXAN(config)#access-list2deny168.1.16.1180.0.0.0
ZXAN(config)#access-list2permitany
ZXAN(config)#linetelnetaccess-class2
access-list
Associatedwithaccess-listcommandtoacceptorrejectloginof
someIPaddresses.
linetelnetidle-timeout
Syntax
Purpose
UsageGuidelines
Mode
Example
linetelnetidle-timeoutidle-timeout
nolinetelnetidle-timeout
Toconguretelnetterminalidletimeout
Thefollowingtableprovidesparameterdescription:
Parameter
idle-timeoutIdletimeout
DescriptionValue
Range:1–1000min
Default:2hour
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetterminal
idletimeout:
ZXAN(config)#linetelnetidle-timeout30
CondentialandProprietaryInformationofZTECORPORATION57
Page 72

FSAP9800CommandManual(VolumeI)
Related
Commands
linetelnetabsolute-timeout
login
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
login
Tologintoadevice
None
ZXAN#
Thefollowingexampledisplayshowtologintoadevice:
ZXAN#login
Username:admin
Password:
ZXAN#
logout
quit
Execmodeandprivilegemodereturntoexecmodeafterthiscommandisexecuted.
logout
Syntax
Purpose
UsageGuidelines
Mode
Related
Commands
logout
Toquitfromloggingdevice
None
ZXAN>,ZXAN#
login
quit
login-authentication-type
Syntax
Purpose
UsageGuidelines
login-authentication-type{local|radius|tacacs+}
Toconguretheauthenticationmode
Thefollowingtableprovidesparameterdescription:
58CondentialandProprietaryInformationofZTECORPORATION
Page 73

Chapter7UserManagement
Parameter
localLocalauthentication
radius
tacacs+
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretheauthentica-
DescriptionValue
RADIUS
authentication
TACACS
authentication
-
-
-
tionmode:
ZXAN(config)#login-authentication-typelocal
Related
Commands
None
login-authorization-type
Syntax
Purpose
UsageGuidelines
login-authorization-type{local|tacacs+}
Tocongureauthorizationmodeintelnetlogin
Thefollowingtableprovidesparameterdescription:
Parameter
localLocalauthentication
tacacs+
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureauthorization
DescriptionValue
TACACS
authentication
-
-
modeintelnetlogin:
ZXAN(config)#login-authorization-typelocal
Related
Commands
Related
Information
None
IftheauthenticationmodeisRADIUS,itisneedlesstocongure
themode.
quit
Syntax
Purpose
UsageGuidelines
Mode
quit
Toquitfromlogindevice
None
ZXAN#,ZXAN>
CondentialandProprietaryInformationofZTECORPORATION59
Page 74

FSAP9800CommandManual(VolumeI)
Related
Commands
login
logout
rlogin
Syntax
Purpose
UsageGuidelines
Mode
Example
rlogin{commander|membermember-id}
Toestablishatelnetconnection
Thefollowingtableprovidesparameterdescription:
Parameter
commanderEstablishaconnection
membermember-idEstablishaconnection
DescriptionValue
forcommander
foragroup
ZXAN#
Thefollowingexampledisplayshowtoopenatelnetconnection:
ZXAN#rlogincommander
–
Range:1–255
Related
Commands
None
script
Syntax
scriptexecute{filename|printoff|printon}
Purpose
UsageGuidelines
Mode
Example
Toexecutescriptles
Thefollowingtableprovidesparameterdescription:
Parameter
filename
printoff
printonEnableprint
DescriptionValue
Filename
Disableprint
Range:1–128
characters
–
–
ZXAN#
Thefollowingexampledisplayshowtoexecutescriptles:
ZXAN#scriptexecutetest
60CondentialandProprietaryInformationofZTECORPORATION
Page 75

Chapter7UserManagement
Related
Commands
None
showhistory
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
showhistory
Todisplaythehistoryrecordoftheinputcommands
None
Allmodes
Thefollowingexampledisplaysthehistoryrecordoftheinputcommands:
ZXAN>showhistory
who
showiproute
en
None
10
showlocaluser
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
showlocaluser[user-id]
Todisplaylocalauthorizedusers
Thefollowingtableprovidesparameterdescription:
Parameter
user-id
Allmodesexceptexecmode
Thefollowingexampledisplayslocalauthorizedusers:
ZXAN#showlocaluser
MaxLocalUsers:1024
HistoryConfigTotal:0CurrentConfigTotal:0
None
DescriptionValue
UserID
Range:1–1024
showmonitor
Syntax
Purpose
showmonitorsessionsession-number
Todisplayuser-denedsessioninformation
CondentialandProprietaryInformationofZTECORPORATION61
Page 76

FSAP9800CommandManual(VolumeI)
UsageGuidelines
Mode
Example
Related
Commands
Thefollowingtableprovidesparameterdescription:
Parameter
session-numberSessionnumber
DescriptionValue
Allmodesexceptexecmode
Thefollowingexampledisplaysuser-denedsessioninformation:
ZXAN#showmonitorsession1
None
1
showterminal
Syntax
Purpose
UsageGuidelines
Mode
Example
showterminal
Todisplaycurrentuserterminalstatus
None
Allmodes
Thefollowingexampledisplayscurrentuserterminalstatus:
ZXAN#showterminal
Line66,Location:"",Type:"vt100"
Length:24lines,Width:80columns
Telnetidle-timeoutis:02:00:00
Telnetabsolute-timeoutis:1d00h00m
Baudrate(TX/RX)is9600/9600
Capabilities:none
Timesinceactivation:00:07:55
Editingisenabled.
Historyisenabled,historysizeis10.
Telnetaccess-classis:2
Related
Commands
Related
Information
None
Usethiscommandtoviewloginterminalinformation,suchasterminalID,terminaltype,terminalwindowsizeandloginrestriction.
telnet
Syntax
Purpose
UsageGuidelines
62CondentialandProprietaryInformationofZTECORPORATION
telnetip-address
Toenableaconnectionwithtelnet
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressSourceIPaddress
DescriptionValue
A.B.C.D
Page 77

Chapter7UserManagement
Mode
Example
ZXAN#,ZXAN>
Thefollowingexampledisplayshowtoenableaconnectionwith
telnet:
ZXAN#telnet168.1.200.77
Related
Commands
Related
Information
None
Usethiscommandtologintootherdevicesortelnetserver .
telnetmng
Syntax
Purpose
UsageGuidelines
telnetmngip-address
Toenabletelnetconnectionfromamanagementport
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressSourceIPaddress
DescriptionValue
A.B.C.D
Mode
Example
ZXAN#,ZXAN>
Thefollowingexampledisplayshowtoenabletelnetconnection
fromamanagementport:
ZXAN#telnetmng168.1.200.77
Related
Commands
Related
Information
None
Usethiscommandtologintootherdeviceortelnetserverfroma
managementport.
telnetmodem
Syntax
Purpose
UsageGuidelines
telnetmodemslotnoslotnoportnoportno
ToestablishatelnetconnectioninMODEMmode
Thefollowingtableprovidesparameterdescription:
Parameter
slotnoslotnoSlotnumber
DescriptionValue
Range:1–18
portnoportno
Mode
Example
ZXAN#,ZXAN>
Thefollowingexampledisplayshowtoestablishatelnetconnec-
Portnumber
Range:1–48
tioninMODEMmode:
CondentialandProprietaryInformationofZTECORPORATION63
Page 78

FSAP9800CommandManual(VolumeI)
ZXAN#telnetmodemslotno7portno1
Related
None
Commands
64CondentialandProprietaryInformationofZTECORPORATION
Page 79

Chapter 8
SNMP
TableofContents
showsnmp.......................................................................65
showsnmpcong..............................................................66
showsnmpengine-id.........................................................66
showsnmpgroup..............................................................67
showsnmpuser................................................................67
snmp-serveraccess-list......................................................68
snmp-servercommunity.....................................................68
snmp-servercontact..........................................................69
snmp-servercontext..........................................................69
snmp-serverenable...........................................................70
snmp-serverengine-id.......................................................70
snmp-servergroup............................................................71
snmp-serverhost..............................................................72
snmp-serverlocation.........................................................73
snmp-serverpacketsize......................................................73
snmp-servertrap-source....................................................74
snmp-serveruser..............................................................74
snmp-serverview..............................................................75
showsnmp
Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmp
TodisplaystatisticalinformationregardingSNMPpackets
None
Allmodes
Thefollowingexampledisplaysstatisticalinformationregarding
SNMPpackets:
ZXAN#showsnmp
Contact:+86-021-68895000
Location:No.889BiBoRd.PuDongDistrict,ShangHai,China
0SNMPpacketsinput
0BadSNMPversionerrors
0Unknowncommunityname
0Illegaloperationforcommunitynamesupplied
0Numberofrequestedvariables
0Numberofalteredvariables
0Get-requestPDUs
0Get-nextPDUs
0Set-requestPDUs
0SNMPpacketsoutput
0Toobigerrors(Maximumpacketsize3000)
0Nosuchnameerrors
CondentialandProprietaryInformationofZTECORPORATION65
Page 80

FSAP9800CommandManual(VolumeI)
0Badvalueserrors
0Generalerrors
0ResponsePDUs
0SNMPtrapPDUs
Related
Commands
None
showsnmpconfig
Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmpconfig
TodisplaySNMPconguration
None
Allmodes
ThefollowingexampledisplaysSNMPconguration:
ZXAN#showsnmpconfig
snmp-serverlocationNo.889BiBoRd.PuDongDistrict,ShangHai,China
snmp-servercontact+86-021-68895000
snmp-serverpacketSize3000
snmp-serverengine-id830900020300010289d64401
snmp-servercommunitypublicviewallviewrw
snmp-serverviewallviewinternetincluded
snmp-serverviewDefaultViewsystemincluded
snmp-serverenabletrapSNMP
snmp-serverenabletrapVPN
snmp-serverenabletrapBGP
snmp-serverenabletrapOSPF
snmp-serverenabletrapRMON
snmp-serverenabletrapSTALARM
Related
Commands
showsnmpgroup
showsnmpuser
showsnmpengine-id
showsnmp
showsnmpengine-id
Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmpengine-id
TodisplaySNMPengineID
None
Allmodes
ThefollowingexampledisplaysSNMPengineID:
ZXAN#showsnmpengine-id
theengine-id:830900020300010289d64401
66CondentialandProprietaryInformationofZTECORPORATION
Page 81

Chapter8SNMP
Related
Commands
snmp-serverengine-id8-4
showsnmpgroup
Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmpgroup
TodisplaySNMPgroup
None
Allmode
ThefollowingexampledisplaysSNMPgroup:
ZXAN#showsnmpgroup
groupName:test
sec_Model:v3
sec_Level:AUTH
readView:test
writeView:test
notifyView:tesr
rowStatus:ACTIVE
contextName:test
contextMatch:match-exact
groupName:group1
sec_Model:v3
sec_Level:PRIV
readView:view1
writeView:view1
notifyView:view1
rowStatus:ACTIVE
Related
Commands
snmp-servergroup
showsnmpuser
Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmpuser
TodisplaySNMPlocalusers
None
Allmodes
ThefollowingexampledisplaysSNMPlocalusers:
ZXAN#showsnmpuser
username:test
engine-id:123456678900000000000000
auth_type:SHA
group_name:test(v3)
encryptType:DES_CBC
storageType:NONVOLATILE
row_status:ACTIVE
CondentialandProprietaryInformationofZTECORPORATION67
Page 82

FSAP9800CommandManual(VolumeI)
Related
Commands
snmp-serveruser
snmp-serveraccess-list
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serveraccess-listacl
nosnmp-serveraccess-list
TousetheconguredACLtocontrolaccesslist
Thefollowingtableprovidesparameterdescription:
Parameter
aclACLlistorname
DescriptionValue
Range:1–31
characters
ZXAN(cong)#
ThefollowingexampledisplayshowtousetheconguredACLto
controlaccesslist:
ZXAN(config)#snmp-serveraccess-list1
Related
Commands
None
snmp-servercommunity
Syntax
Purpose
UsageGuidelines
snmp-servercommunitycommunity-name[viewview-name]
[ro|rw]
nosnmp-servercommunitycommunity-name
TocongureSNMPcommunityname
Thefollowingtableprovidesparameterdescription:
Parameter
community-name
viewview-name
ro|rwReadonly/readand
DescriptionValue
CommunitynameRange:1–32
Viewname
write
characters
Range:1–32
characters
–
Mode
Example
68CondentialandProprietaryInformationofZTECORPORATION
ZXAN(cong)#
Thefollowingexampledisplayshowto
ZXAN(config)#snmp-servercommunitymyCommunityviewmyviewrw
Page 83

Chapter8SNMP
Related
Commands
None
snmp-servercontact
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
snmp-servercontact
nosnmp-servercontactmib-syscontact-text
ToSNMP-servercontact
Thefollowingtableprovidesparameterdescription:
Parameter
mib-syscontact-text
ZXAN(cong)#
ThefollowingexampledisplayshowtoSNMP-servercontact:
ZXAN(config)#snmp-servercontactthisisC220,tel:(021)68895000
None
DescriptionValue
ContacttextRange:1–200
characters
snmp-servercontext
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-servercontextcontext-name
nosnmp-servercontextcontext-name
TodeneSNMPcontextname
Thefollowingtableprovidesparameterdescription:
Parameter
context-name
ZXAN(cong)#
ThefollowingexampledisplayshowtodeneSNMPcontextname:
ZXAN(config)#snmp-servercontextcontextA
DescriptionValue
ContextnameRange:1–30
characters
CondentialandProprietaryInformationofZTECORPORATION69
Page 84

FSAP9800CommandManual(VolumeI)
Related
Commands
None
snmp-serverenable
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverenable{inform|trap}[notification-type]
nosnmp-serverenable{inform|trap}[notification-type]
ToenableSNMPserver
Thefollowingtableprovidesparameterdescription:
Parameter
inform|trap
notification-typeSpecifynotication
DescriptionValue
Alarmtype
type
–
bgp,ospf,rmon,
snmp,stalarm,vpn
ZXAN(cong)#
ThefollowingexampledisplayshowtoenableSNMPserver:
ZXAN(config)#snmp-serverenableinform
ZXAN(config)#snmp-serverhost168.1.1.1informversion2cpublic
Related
Commands
Related
Information
snmp-serverhost
Bydefault,thesystemcansendallnoticationandtraps.
snmp-serverengine-id
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverengine-idengine-id
nosnmp-serverengine-id
TocongureanSNMPlocalengineID
Thefollowingtableprovidesparameterdescription:
Parameter
engine-idLocalSNMPengineID
DescriptionValue
Range:1-24
characters
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureanSNMPlocal
engineID:
ZXAN(config)#snmp-serverengine-id12345667890
70CondentialandProprietaryInformationofZTECORPORATION
Page 85

Chapter8SNMP
Related
Commands
showsnmpengine-id
snmp-servergroup
Syntax
Purpose
UsageGuidelines
snmp-servergroupgroupnamev3{auth|noauth|priv}[con
textcontext-name{match-prefix|match-exact}][readread
view][writewriteview][notifynotifyview]
nosnmp-servergroupgroupnamev3{auth|noauth|priv}
[contextcontext-name{match-prefix|match-exact}
TocongureanewSNMPgroup
Thefollowingtableprovidesparameterdescription:
Parameter
groupname
v3Version3
authAuthenticatepackets
noauthDonotauthenticate
DescriptionValue
Groupname
packets
Range:1–32characters
-
-
-
privAuthenticateanden-
contextcontext
-name
match-prefixMatchprex
match-exactMatchexactly
readreadviewReadviewRange:1–32characters
writewriteview
notifynotifyv
iew
Mode
Example
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureanewSNMP
cryptpackets
Contextname
Writeview
Notifyview
-
Range:1–32characters
-
-
Range:1–32characters
Range:1–32characters
group:
ZXAN(config)#snmp-servergroupgroup1v3privreadview1writeview1notifyview1
Related
Commands
showsnmpgroup
snmp-serveruser
CondentialandProprietaryInformationofZTECORPORATION71
Page 86

FSAP9800CommandManual(VolumeI)
snmp-serverhost
Syntax
snmp-serverhostip-address{trap|inform}version{1|2c|
3}{auth|noauth|priv}community-name{enable|disable}
{CRITICAL|INDETERMINATE|MAJOR|MINOR|NOTIFIC
ATIONS|WARNINGS}isnmsserver{server-indexserver-in
dex}[udp-portudp-port]
Purpose
UsageGuidelines
TocongurethedestinationtoreceiveSNMPmessage
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressHostIPaddress
trap
inform
version
1
2c
3
community-name
DescriptionValue
Sendtraptohost
Sendmessagetohost
SNMPversion
SNMPversionnumber
SNMPversionnumber
SNMPversionnumber
SNMPv1/v2communitynameorSNMPv3
username
A.B.C.D
-
-
-
-
-
-
Range:1–32characters1~32
CRITICAL|INDE
TERMINATE|
MAJOR|MINOR|
NOTIFICATIONS|
WARNINGS
isnmsserverserv
er-indexserver-in
dex
udp-portudp-port
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurethedestination
Alarmlevels
Congureastrap
server
SpecifyUDPportIDto
sendtrap
–
Range:1–8
Range:0–65535
toreceiveSNMPmessage:
ZXAN(config)#snmp-serverhost168.1.1.1informversion2ctestenable
CRITICALisnmsserver1
Related
Commands
None
72CondentialandProprietaryInformationofZTECORPORATION
Page 87

Chapter8SNMP
Related
Information
Defaultsendingtype:trap
Defaultversion:1
DefaultportID:162
snmp-serverlocation
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverlocationlocation-text
nosnmp-serverlocation
Tocongurephysicallocationthatnoderesides
Thefollowingtableprovidesparameterdescription:
Parameter
location-text
DescriptionValue
Locationtext
Range:1–200
characters
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurephysicallocation
thatnoderesides:
ZXAN(config)#snmp-serverlocationthisisC220inchina
Related
Commands
None
snmp-serverpacketsize
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverpacketsizesnmp-packet-max-size
nosnmp-serverpacketsize
TocongureSNMPpacketsize
Thefollowingtableprovidesparameterdescription:
Parameter
snmp-packet-max-s
ize
DescriptionValue
SNMPpacketsize
Range:484–3000
bytes
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureSNMPpacketsize:
ZXAN(config)#snmp-serverpacketsize1400
CondentialandProprietaryInformationofZTECORPORATION73
Page 88

FSAP9800CommandManual(VolumeI)
Related
Commands
None
snmp-servertrap-source
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
snmp-servertrap-sourceip-address
nosnmp-servertrap-source
Tocongurethesourceaddressforallthetraps
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressSourceaddress
DescriptionValue
A.B.C.D
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurethesourceaddressforallthetraps:
ZXAN(config)#snmp-servertrap-source10.1.1.1
None
snmp-serveruser
Syntax
Purpose
UsageGuidelines
snmp-serveruserusernamegroupnamev3[[encrypted]auth
{md5|sha}auth-password[privdes56priv-password]]
nosnmp-serveruserusername
TocongureSNMPv3users
Thefollowingtableprovidesparameterdescription:
Parameter
usernameSNMPusername
groupnameGroupname
v3Version3-
encryptedEncryptedpassword-
authAuthenticatingright-
md5
DescriptionValue
Range:1–32characters
Range:1–32characters
UseHMAC-MD5-96as
authenticationmode-
74CondentialandProprietaryInformationofZTECORPORATION
Page 89

Chapter8SNMP
Parameter
sha
auth-password
priv
des56
priv-passwordPassword
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureSNMPv3users:
ZXAN(config)#snmp-serveruseruser1group1v3authmd512345678
privdes5612345678
showsnmpuser
snmp-servergroup
Bydefault,thereisnoencryptionparameter .Itisonlypassword
text.
DescriptionValue
UseHMAC-SHA-96as
authenticationmode-
Authenticationpassword
Assignthisuserwith
encryptionprivilege-
UseCBC-DESasencryptionmode-
Range:1–32characters
Range:1–32characters
snmp-serverview
Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverviewview-namesubtree-id{included|excluded}
nosnmp-serverviewview-namesubtree-id
TodeneSNMPv2view
Thefollowingtableprovidesparameterdescription:
Parameter
view-nameViewname
subtree-id
included|excludedIncludeorexclude
DescriptionValue
SpecifyMIBsubtree
IDornodenamefor
view
subtree
Range:1–32
characters
Range:1–79
characters
–
ZXAN(cong)#
ThefollowingexampledisplayshowtodeneSNMPv2view:
ZXAN(config)#snmp-serverviewmyViewName1.3.6.1.2.1included
CondentialandProprietaryInformationofZTECORPORATION75
Page 90

FSAP9800CommandManual(VolumeI)
Related
snmp-servercommunity
Commands
76CondentialandProprietaryInformationofZTECORPORATION
Page 91

Chapter 9
RMON
TableofContents
mpnatservice.................................................................143
mpnattrans-table............................................................143
clearmpnat....................................................................144
showmpnatcfg-table......................................................144
showmpnattrans-table....................................................145
rmonalarm
Syntax
Purpose
UsageGuidelines
rmonalarmindexvariableinterval{delta|absolute}rising-t
hresholdvalue[event-index]falling-thresholdvalue[event-in
dex][ownerstring]
normonalarmindex
TosetalarmandMIBobjects
Thefollowingtableprovidesparameterdescription:
Parameter
indexIndexIDRange:1–65535
variableMIBvariables
intervalInterval
deltaDelta-
absoulteAbsolutevalue-
rising-thershold
value
event-indexEventindexRange:1–65535
DescriptionValue
Risingthreshold
value
Range:1–64characters
Range:1–2147483647
sec
Range:-2147483647–
2147483647
falling-threshold
value
ownerstringAlarmcreator
CondentialandProprietaryInformationofZTECORPORATION77
Fallingthreshold
value
Range:-2147483647–
2147483647
Range:1–30characters
Default:cong
Page 92

FSAP9800CommandManual(VolumeI)
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
ThefollowingexampledisplayshowtosetalarmandMIBobjects:
ZXAN(config)#rmonalarm1ip.2.010absolute
rising-threshold2001falling-threshold1001
ownerZTE
None
�Itisallowedforthesameinstancetoperformsamplingatthe
sameordifferentintervals.
�Ifanerrorpromptswhenanalarmitemiscreatedwiththe
sameindex,usenocommandtoeliminatethepreviousindex
conguration.
�Whenanonexistentindexitemisdeleted,thesystemprompts
“Unknownalarmnumber” .
�Whenthememoryorresourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .
�Thisalarmisassociatedwiththerelevanteventstoperform
thecorrespondingoperation.
rmoncollectionhistory
Syntax
Purpose
UsageGuidelines
Mode
Example
rmoncollectionhistoryindex[ownerstring][bucketsbucket-
number][intervalseconds]
normoncollectionhistoryindex
Toenableinterfacehistorycollectionfunction
Thefollowingtableprovidesparameterdescription:
Parameter
indexIndex
ownerstringHistorycreator
bucketsbucket-num
ber
intervalsecondsSamplinginterval
DescriptionValue
Bucketsize
Range:1–100
Range:1–30
characters
Default:monitor
Range:1–100
Default:50
Range:1–3600sec
Default:1800sec
ZXAN(cong-if)#
Thefollowingexampledisplayshowto
ZXAN(config-if)#rmoncollectionhistory1ownerztebuckets100interval300
Related
Commands
78CondentialandProprietaryInformationofZTECORPORATION
None
Page 93

Chapter9RMON
Related
Information
�Itisallowedtocongureseveralstatisticalitemsonthesame
interface.
�Itisallowedtodeletethestatisticalitemsofotherinterfaces
ininterfacemode.
�Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame
indexconguration.
�Whenthenonexistentindexitemisdeleted,thesystem
prompts:“UnknownetherStatsnumber”.
�Whenthememoryorsourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .
rmoncollectionstatistics
Syntax
Purpose
UsageGuidelines
rmoncollectionstatisticsindex[ownerstring]
normoncollectionstatisticsindex
Toenableinterfacestatisticalfunction
Thefollowingtableprovidesparameterdescription:
Parameter
indexIndex
ownerstring
Mode
Example
Related
Commands
Related
Information
ZXAN(cong-if)#
Thefollowingexampledisplayshowto
ZXAN(config-if)#rmoncollectionstatistics1ownerzte
None
�Itisallowedtocongureseveralstatisticalitemsonthesame
interface.
DescriptionValue
Range:1–65535
OwnerRange:1–30
characters
Default:monitor
�Itisallowedtodeletethestatisticalitemsofotherinterfaces
ininterfacemode.
�Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame
indexconguration.
�Whenthenonexistentindexitemisdeleted,thesystem
prompts:“UnknownetherStatsnumber”.
�Whenthememoryorsourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .
CondentialandProprietaryInformationofZTECORPORATION79
Page 94

FSAP9800CommandManual(VolumeI)
rmonevent
Syntax
Purpose
UsageGuidelines
Mode
Example
rmoneventindex[log][trapcommunity][descriptionstring][o
wnerstring]
normoneventindex
Tocongureanevent
Thefollowingtableprovidesparameterdescription:
Parameter
indexIndexRange:1–65535
logLog-
trapcommunityCommunityname
descriptionstringDescription
ownerstringEventcreator
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureanevent:
ZXAN(config)#rmonevent1logtrappublicdescriptionlog_trap_event
DescriptionValue
Range:1–30characters
Range:1–30characters
Default:zte
Range:1–30characters
Default:cong
Information
TriggeringPoint
Related
Commands
Related
None
�Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame
indexconguration.
�Whenthenonexistentindexitemisdeleted,thesystem
prompts:“UnknownetherStatsnumber”.
�Whenthememoryorsourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .
NumberofDiscardedSCTP
Packets
Name
Meaning
ThenumberofdiscardedSCTPpackets
ThenumberofIPpacketsdiscardedbytheassociation.
ThecounterincrementswhentheSCTPdiscardsanIPpacket.
parameterdescription:
80CondentialandProprietaryInformationofZTECORPORATION
Page 95

Chapter9RMON
Parameter
DescriptionValue
Displayallalarminfor-
alarms
mation-
Displayalleventinfor-
events
mation-
Displayallhistoryin-
history
formation-
statisticsDisplayallstatistics-
Mode
Example
Related
Commands
Allmodesexceptexecmode
ThefollowingexampledisplaysRMONconguration:
ZXAN(config)#showrmon
supportsStatisticsHistoryAlarmEventetc.group(s)ofRFC1757.
Configentries:
etherStats0
historyControl0
alarm0
event0
rmonalarm
rmoncollectionhistory
rmoncollectionstatistics
rmonevent
Related
Information
�Ifthereisnoparameterinthecommand,itdisplaysRMON
versioninformation.
�Ifthereisnocontrolentryinthespeciedcontrollist,itdis-
playsthefollowinginformation:
�“Statisticstableisempty”
�“Historytableisempty”
�“Alarmtableisempty”
�“Eventtableisempty”
CondentialandProprietaryInformationofZTECORPORATION81
Page 96

FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
82CondentialandProprietaryInformationofZTECORPORATION
Page 97

Chapter 10
UAPSUplink
Active/StandbySwap
TableofContents
uaps-group.......................................................................83
revertive..........................................................................83
protect-time.....................................................................84
swap...............................................................................84
portmaster-portlist...........................................................85
showuaps........................................................................85
uaps-group
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
uaps-groupgroupid[mode{csc-swap|port-swap}]
nouaps-groupgroupid
TocreateordeleteUAPSgroup
Thefollowingtableprovidesparameterdescription:
Parameter
groupid
csc-swap
port-swap
ZXAN(cong)#
Thefollowingexampledisplayshowtocreateordeleteuapsgroup:
ZXAN(config)#uaps-group1
None
DescriptionValue
GroupID
Portswapmode
Maincontrolswap
mode
Range:1–4
-
-
revertive
Syntax
revertive{enable|disable}
CondentialandProprietaryInformationofZTECORPORATION83
Page 98

FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Tocongureactive/standbyrevertiblefunctionforUAPSgroup
Thefollowingtableprovidesparameterdescription:
Parameter
enableEnableconvertible
disableDisableconvertible
DescriptionValue
-
function
-
function
ZXAN(cfg-uaps-groupid)#
Thefollowingexampledisplayshowtocongureactive/standby
revertiblefunctionforUSPSgroup:
ZXAN(cfg-uaps-1)#revertiveenable
Related
Commands
None
protect-time
Syntax
Purpose
UsageGuidelines
protect-timetime
TocongureUAPSgroupprotectiontime
Thefollowingtableprovidesparameterdescription:
Parameter
timeProtectiontime
Mode
Example
ZXAN(cfg-uaps-groupid)#
ThefollowingexampledisplayshowtocongureUAPSgrouppro-
DescriptionValue
Range:10–900
tectiontime
ZXAN(cfg-uaps-1)#protect-time400
Related
Commands
Related
Information
None
Bydefault,theprotectiontimeis300.
swap
Syntax
Purpose
UsageGuidelines
Mode
Example
swap
ToswapUAPSgroupbyforce
None
ZXAN(cfg-uaps-groupid)#
ThefollowingexampledisplayshowtoswapUAPSgroupbyforce:
ZXAN(cfg-uaps-1)#swap
84CondentialandProprietaryInformationofZTECORPORATION
Page 99

Chapter1UAPSUplinkActive/StandbySwap
Related
Commands
None
portmaster-portlist
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
portmaster-portlistportlistslave-portlistportlist
portmaster-portlistportlist
Toaddordeleteporttouplinkport
Thefollowingtableprovidesparameterdescription:
Parameter
portlistPortlist
DescriptionValue
-
ZXAN(cfg-uaps-groupid)#
Thefollowingexampledisplayshowtoaddordeleteporttouplink
port:
ZXAN(cfg-uaps-1)#portmaster-portlistgei_0/9/1slave-portlistegei_0/9/2
None
Currently,onlyonecoupleofportscanbeaddedonce.
Themasterportandslaveportmustbeconsistentincsc-swap
mode.
showuaps
Syntax
Purpose
UsageGuidelines
Mode
Example
showuapsgroupidgroupid
TodisplayUAPSgroupstatus
Thefollowingtableprovidesparameterdescription:
Parameter
groupid
DescriptionValue
GroupID
Allmodesexceptexecmode
Thefollowingexampledisplayshowto
ZXAN(config)#showuapsgroupid1
Swapmode:port-swap
Revertivecontrol:enble
Protectiontime:400s
Switchtype:trunkport
Inprotectedtime:no
Reserveswaptype:none
Lastswaprequesttype:none
Lastswaptype:none
Masterportsstatus:forwarding
CondentialandProprietaryInformationofZTECORPORATION85
Range:1-4
Page 100

FSAP9800CommandManual(VolumeI)
Slaveportsstatus:block
Related
None
gei_0/9/1:up
gei_0/9/2:down
Commands
86CondentialandProprietaryInformationofZTECORPORATION