ZTE FSAP 9800 Command Manual

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,withoutthepriorwrittenconsentofZTECORPO­RATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany ,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORATION oroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredis­claimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability ,tnessforaparticularpurpose,titleornon-in­fringement.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
congureterminal..........................................................7
disable..........................................................................8
enable..........................................................................8
enablesecret.................................................................9
end.............................................................................10
exit.............................................................................10
hostname.....................................................................10
multi-usercongure.......................................................11
nvramboot-password....................................................12
nvramboot-server.........................................................12
nvramboot-username....................................................13
nvramdefault-gateway..................................................14
nvramimgle-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-cong......................................................21
showstartrunning-cong...............................................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
formatash..................................................................50
mkdir...........................................................................50
pwd.............................................................................51
rename........................................................................51
rmdir...........................................................................51
write............................................................................52
writeash....................................................................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
showsnmpcong..........................................................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
alarmconrm...............................................................92
alarmtrap-conrm........................................................92
alarmlevel-change........................................................93
Page 7
showalarm...................................................................93
showalarm-level...........................................................94
showalarmcong.........................................................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
debugipospfood......................................................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
debugmstpush.........................................................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
MPNATTranslationConguration..................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
Thisdocumentisintendedforengineersandtechnicianswhoper­forminstallation,operationandmaintenanceactivitiesontheFSAP 9800FullServiceAccessPlatform.
Tousethisdocumenteffectively ,usersshouldhaveageneralun­derstandingofnetworktechnology.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.
Describesthecommandsrelatedtolesystem management.
Describesthecommandsrelatedtouser management.
DescribesthecommandsrelatedtoUAPSuplink active/standbyswap
CondentialandProprietaryInformationofZTECORPORATIONi
Page 12
FSAP9800CommandManual(VolumeI)
ChapterSummary
Chapter11, FTP/TFTPServer
Chapter12,Alarm Management
Chapter13, Debugging
Chapter14, MPNATT ranslation Conguration
Documentation
Related
Thefollowingdocumentsarerelatedtothismanual:
FSAP9800(V3.2.0)FullServiceAccessPlatformDocumenta-
DescribesthecommandsrelatedtoFTP/TFTP server .
Describesthecommandsrelatedtoalarm management.
Describesthecommandsrelatedtodebugging.
DescribesthecommandsrelatedtoMPNA T translationconguration.
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
iiCondentialandProprietaryInformationofZTECORPORATION
Meaning
ReferencestootherManualsand documents.
Menus,menuoptions,function names,inputelds,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.
Thefollowingsectionsprovideinformationonhowtoobtainsup­portforthedocumentationandthesoftware.
CustomerSupport
Ifyouhaveproblems,questions,comments,orsuggestions regardingyourproduct,contactusbye-mailatsupport@zt
CondentialandProprietaryInformationofZTECORPORA 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
Tominimizetheenvironmentalimpactandtakemoreresponsibil­itytotheearthwelive,thisdocumentshallserveasformaldec­larationthatFSAP9800manufacturedbyZTECORPORATIONisin compliancewiththeDirective2002/95/ECoftheEuropeanParlia­ment-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.
ivCondentialandProprietaryInformationofZTECORPORATION
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
Selectoneoftheparametersthatarede­limitedbyit.
Optionalparametersinsquarebrackets; Whenselectingtheparametersinthe squarebrackets,besuretoselectoneof xandyinbraces

AuxiliaryFunctions

Inanycommandmode,input?keyaftertheDOSprompt
toviewanyavailablecommandsinthismode.Usecontext sensitivehelpfunctiontoviewkeywordsandparametersof anycommands.
Type?keyinanycommandmodetoviewallcommands
andtheirbriefdescriptionsinthismode.
CondentialandProprietaryInformationofZTECORPORA TION1
Page 16
FSAP9800CommandManual(VolumeI)
Enter?aftercharactersorstringstoviewcommandsorkey
wordsstartingwiththischaractersorstrings.Pleasenote thatthereshouldbenospacebetweencharacters(strings) and?.
PressTABkeyafterstringstogetthewholecommand
withaspaceifthiscommandorkeywordstartingwiththe stringsisunique.Pleasenotethatthereisnospacebe­tweenstringsandTABkey .
Input?aftercommands,keywordsandparameterstodis-
playkeywordsorparameterstobeinputtednextandabrief description.Pleasenotethatthereshouldbeaspacebe­forequestionmark.
Ifincorrectcommands,keywordsorparametersareinputted,
anerrorseparationisdisplayedwith“^”onuserinterfaceafter entering.“^”markappearsundertherstcharacterofthe incorrectcommands,keywordsorparameters.
Itisallowedtoabbreviatecommandsandkeywordsintochar-
actersorstringsthatuniquelyidentifythiscommandorkey­word.Forexample,writeshowintoshorsho.
Userinterfacessupportsrecallingfunctionforthetypedcom-
mands.Itcanrecordatmost10historycommandswhichis helpfultorecalllongorcomplicatedcommandsorentrance.
Torecallcommandsfrombuffer ,executethefollowingopera­tions:
OperationFunction
PressCtrl-PorUpArrowRecallthelatestcommands
frombuffer .Presscontinuously thekeytorecalltheolder commands.
PressCtrl-NorDownArrowPressthekeytothelast
commandlineandrollback fromthebeginningofbuffer .

LoginMode

Thefollowingtableliststhefollowingloginmodes:
ModeDOSpromptEntrancemode
UsermodeZXAN>-
Privilege modeZXAN#Usermodeenable
Entrance
command
Enterusermodedi­rectlyafterlogging intothesystem
Globalcon­guration mode
2CondentialandProprietaryInformationofZTECORPORATION
ZXAN(con­g)#Privilegemodecongureterminal
Page 17
Chapter1Overview
ModeDOSpromptEntrancemode
Clockcong­urationmode
ZXAN(cong­clock)#
Interface conguration mode
ZXAN(cong­if)#
Routercon­guration mode
Routerad­dressmode
Routermap mode
ZXAN(cong­router)#
ZXAN(cong­router-af)#
ZXAN(cong­route-map)
Standard ACLcongu­rationmode
ZXAN(cong­std-acl)#
Extanded ACLcongu­rationmode
ZXAN(cong­ext-acl)#
HybridACL conguration mode
ZXAN(cong­hybd-acl)#
Entrance
command
Globalcongura­tionmodeclock
Globalcongura­tionmodeinterface
Globalcongura­tionmoderouter
Routercongu­rationmodeaddress-family
Globalcongura­tionmoderoute-map
Globalcongura­tionmodeaclstandard
Globalcongura­tionmodeaclextended
Globalcongura­tionmodeaclhybrid
Linklayer ACLcongu­rationmode
ZXAN(cong­link-acl)#
Globalcongura­tionmodeacllink
VLANdata­basecong­urationmodeZXAN(vlan)#Privilegemodevlandatabase
VLANcong­urationmode
MSTPcong­urationmode
CEScongu­rationmode
ZXAN(cong­vlan)#
ZXAN0(con­g-mstp)#
ZXAN(cong­ces)#
Globalcongura­tionmodevlan
Globalcongura­tionmode
Globalcongura­tionmodeces
spanning-treemst conguration
CondentialandProprietaryInformationofZTECORPORA TION3
Page 18
FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
4CondentialandProprietaryInformationofZTECORPORATION
Page 19
Chapter 2

BasicSystem Management

TableofContents
bannerincoming................................................................6
clock.................................................................................6
clocktimezone...................................................................6
clockset...........................................................................7
congureterminal..............................................................7
disable..............................................................................8
enable..............................................................................8
enablesecret.....................................................................9
end.................................................................................10
exit.................................................................................10
hostname.........................................................................10
multi-usercongure..........................................................11
nvramboot-password........................................................12
nvramboot-server.............................................................12
nvramboot-username........................................................13
nvramdefault-gateway......................................................14
nvramimgle-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-cong..........................................................21
showstartrunning-cong...................................................22
showsystem-group...........................................................23
showroute-map................................................................23
showtime-range...............................................................24
showusername.................................................................24
showusers.......................................................................24
showsourcealarm.............................................................25
showversion....................................................................25
showanti-dosblack-table...................................................26
CondentialandProprietaryInformationofZTECORPORA TION5
Page 20
FSAP9800CommandManual(VolumeI)

bannerincoming

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
bannerincomingend-char
TEXT
end-char
Tocongureincomingterminallinebanner
Thefollowingtableprovidesparameterdescription:
Parameter
end-charEndcharacterRange:1character
TEXT
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureincomingterminal 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
Toenterclockcongurationmode
None
ZXAN(cong)#
Thefollowingexampledisplayshowtoenterclockconguration mode:
ZXAN(config)#clock ZXAN(config-clock)#
None

clocktimezone

Syntax
clocktimezonetimezone-namehours[minutes]
noclocktimezone
6CondentialandProprietaryInformationofZTECORPORATION
Page 21
Chapter2BasicSystemManagement
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Toconguretimezone
Thefollowingtableprovidesparameterdescription:
Parameter
timezone-nameTimezonename
hours
minutes
DescriptionValue
HoursoffsetfromUTC
Minutesoffsetfrom UTC
Range:1–10 characters
Range:-12-13
Range0–59
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretimezone:
ZXAN(config)#clocktimezonetest030
showclock

clockset

Syntax
Purpose
UsageGuidelines
Mode
Example
clocksetcurrent-timemonthdayyear
Toconguresystemclockinstandardtimeformat
Thefollowingtableprovidesparameterdescription:
Parameter
current-time
monthMonth
day
year
DescriptionValue
Currenttime
Day
Year
hh:mm:ss
Range:January– December
Range1–31
Range:2001–2098
ZXAN#
Thefollowingexampledisplayshowtoconguresystemclockin standardtimeformat:
ZXAN#clockset23:12:01feb232001
Related
Commands
showclock

configureterminal

Syntax
configureterminal
CondentialandProprietaryInformationofZTECORPORA TION7
Page 22
FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Toenterglobalcongurationmodefromprivilegemode
None
ZXAN#
Thefollowingexampledisplayshowtoenterglobalconguration 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
8CondentialandProprietaryInformationofZTECORPORATION
Page 23
Chapter2BasicSystemManagement
Related
Information
Itisnecessarytoinputprivilegeuserpassword.
Note:
Thepasswordisnotdisplayedonscreenanditiscasesensitive. Bydefault,thepasswordisZXAN.

enablesecret

Syntax
Purpose
UsageGuidelines
enablesecret{0password|5password|password}
Tocongureloginpasswordinprivilegemode
Thefollowingtableprovidesparameterdescription:
Parameter
0passwordSetprivilege
5passwordSettheencrypted
DescriptionValue
password
privilegepassword
Range:3–16 characters
Range:24characters
password
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureprivilegelogin
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.
CondentialandProprietaryInformationofZTECORPORA TION9
Page 24
FSAP9800CommandManual(VolumeI)
end
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
end
Toreturntoprivilegemode
None
Allmodesexceptexecmodeandprivilegemode
Thefollowingexampledisplayshowtoreturntoprivilegemode:
ZXAN(config)#end ZXAN#
congureterminal
Inallmodesexceptexecmodeandprivilegemode,endhasthe samesyntaxandfunction.

exit

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
exit
Toquittheloginmodeorreturntopreviousmode
None
Allmodes
Thefollowingexampledisplayshowtoquittheloginmodeorre­turntopreviousmode:
ZXAN(config)#exit ZXAN#
congureterminal
login
logout
Executethiscommandinexecmodeandprivilegemodetoquit fromdevicelogin.Executethiscommandinothermodestoreturn topreviousmode.

hostname

Syntax
Purpose
UsageGuidelines
10CondentialandProprietaryInformationofZTECORPORATION
hostnamenetwork-name
nohostname
Toconguresystemnetworkname
Thefollowingtableprovidesparameterdescription:
Page 25
Chapter2BasicSystemManagement
Parameter
network-nameNetworkname
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguresystemnetwork
DescriptionValue
Range:1–16 characters
name:
ZXAN(config)#hostnameZXAN_9800
Related
Commands
Related
Information
None
Ittakeseffectimmediatelyafterhostnameismodied.
Bydefault,thesystemnetworknameisZXAN.

multi-userconfigure

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
multi-userconfigure
nomulti-userconfigure
Toallowmultipleuserstoentercongurationmode
None
ZXAN(cong)#
Thefollowingexampledisplayshowtoallowmultipleuserstoenter congurationmode:
Nousersareinthecongurationmode.
ZXAN#configureterminal
ZXAN(config)#multi-userconfigure %Warning:allowothersconfigure,mustavoidconflict. ZXAN(config)#
Singleusermodeandthereisalreadyauserinthecongura-
tionmode.
ZXAN#configureterminal
%Simultaneousconfigsnotallowed.Lockedfrom168.1.168.168 ZXAN#
Presumethatotherusersarestillinthecongurationmode.
ZXAN(config)#nomulti-userconf
%Someonehasenteredtheconfiguremode,cannotsetsingle-userconfigure! ZXAN(config)#
congureterminal
Bydefault,onlyoneusercanenterglobalcongurationmode. Afterthiscommandisexecuted,otheruserscanenterglobalcon­gurationmode.Usenocommandtoconguresingleusermode. Butitcanbeexecutedonlywhenotherusersquitfromthecon­gurationmode.
CondentialandProprietaryInformationofZTECORPORATION11
Page 26
FSAP9800CommandManual(VolumeI)
Note:
Inmulti-userconguration,avoidthecongurationconicts amongdifferentusers.

nvramboot-password

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
nvramboot-passwordpassword
TocongureFTPdownload
Thefollowingtableprovidesparameterdescription:
Parameter
passwordFTPpassword
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureFTPdownload:
ZXAN(config)#nvramboot-passwordpass

nvramboot-server

nvramboot-username
nvramcong-lename
nvramdefault-gateway
nvramimgle-location
Thelegalcharactersinclude:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI­JKLMNOPQRSTUVWXYZ`*-=~!@#$%^&_+[]{}|;':,./<>\\
Thiscommandisusedwithothercommands:nvramboot-ser
ver,nvramboot-username,nvramimgfile-location,nvram default-gateway.
DescriptionValue
Range:3–16 characters
nvramboot-server
Syntax
Purpose
UsageGuidelines
12CondentialandProprietaryInformationofZTECORPORATION
nvramboot-serverip-address
TospecifyFTPserverIPaddress
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressIPaddress
DescriptionValue
A.B.C.D
Page 27
Chapter2BasicSystemManagement
Mode
Example
ZXAN(cong)#
ThefollowingexampledisplayshowtospecifyFTPserverIPad­dress:
ZXAN(config)#nvrambootserver168.1.1.1
Related
Commands
nvramboot-password

nvramboot-username

nvramcong-lename
nvramdefault-gateway
nvramimgle-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(cong)#
ThefollowingexampledisplayshowtospecifyFTPserveruser
DescriptionValue
Loginusername
Range1–16 characters
name:
ZXAN(config)#nvramboot-usernametest
Related
Commands
nvramboot-password
nvramboot-server
nvramcong-lename
nvramdefault-gateway
nvramimgle-location
Related
Information
Thiscommandisusedwithothercommands:nvramboot-pas sword,nvramdefault-gateway,nvramimgfile-location,n vramboot-server.
CondentialandProprietaryInformationofZTECORPORATION13
Page 28
FSAP9800CommandManual(VolumeI)

nvramdefault-gateway

Syntax
Purpose
UsageGuidelines
Mode
Example
nvramdefault-gatewayip-address
ToconguredefaultgatewayIPaddress
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressGatewayIPaddress
DescriptionValue
A.B.C.D
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguredefaultgateway IPaddress:
ZXAN(config)#nvramdefault-gateway168.1.1.1
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramimgle-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}
Tocongureimagelelocation
Thefollowingtableprovidesparameterdescription:
Parameter
localLocal
networkNetwork
filename
DescriptionValue
Filename
Range:1–80 characters
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureimageleloca­tion:
Bootfromlocal.
ZXAN(config)#nvramimgfile-locationlocal
Bootfromnetwork.
14CondentialandProprietaryInformationofZTECORPORATION
Page 29
Chapter2BasicSystemManagement
ZXAN(config)#nvramimgfile-locationnetworksys.img
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramdefault-gateway
Related
Information
Thelegalcharactersofthelenameinclude:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI­JKLMNOPQRSTUVWXYZ/.;,-=+$#~@%!&[]{}
Iftheleisbootedfromnetwork,thelenamecanincludethe pathunderthespeciedFTPdirectory .Forexample,specify "sysm"asFTPdirectory.Inthedirectory"nets"underthedirec­tory"sysm"ofFTPserver ,thelenamecanstillincludethepath underthespecieddirectory"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(cong)#
ThefollowingexampledisplayshowtosetmanagementportIP address:
ZXAN(config)#nvrammng-ip-address168.1.1.1255.255.0.0
Related
Commands
nvramboot-password
nvramboot-server
nvramboot-username
nvramcong-lename
nvramdefault-gateway
Related
Information
Theconguredinterfaceaddressandthelocaladdressshouldnot inthesamenetworksegment.
CondentialandProprietaryInformationofZTECORPORATION15
Page 30
FSAP9800CommandManual(VolumeI)

route-map

Syntax
Purpose
route-mapname[deny|permit][sequence]
Toenterroutemappingcongurationmodetocongurethesys­temroutemapping
UsageGuidelines
Mode
Example
Thefollowingtableprovidesparameterdescription:
Parameter
name
deny|permitDeny/permit
sequence
DescriptionValue
Routemappingname
SequenceRange:0–65535
Range:1–16 characters
ZXAN(cong)#
Thefollowingexampledisplayshowtoenterroutemappingcon­gurationmodetocongurethesystemroutemapping:
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–16charac­ters
hh:mm:ss
Year2001–2099
16CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
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(cong)#
Thefollowingexampledisplayshowtosetloginusernameand password:
ZXAN(config)#usernameabcpasswordpass
CondentialandProprietaryInformationofZTECORPORATION17
Page 32
FSAP9800CommandManual(VolumeI)
Related
Commands
Related
Information
showusername
Theparameterusenameallowsthefollowingcharacters:
0123456789abcdefghijklmorqrstuvwxyz_
Theparameterpasswordallowsthefollowingcharacters:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI­JKLMNOPQRSTUVWXYZ`*-=~!@#$%^&_+[]{}|;':,./<>\\

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-
18CondentialandProprietaryInformationofZTECORPORATION
Page 33
Chapter2BasicSystemManagement
Parameter
IdleIdletime-
LocationClientlocation-
DescriptionValue

anti-dos

Syntax
Purpose
UsageGuidelines
Mode
Example
anti-dos{enable|disable}
Tocongureanti-DoSattackfunction
Thefollowingtableprovidesparameterdescription:
Parameter
enableEnableanti-DoS
disableDisableanti-DoS
DescriptionValue
-
attackfunction
-
attackfunction
ZXAN(control-panel)#
Thefollowingexampledisplayshowtocongureanti-DoSattack function:
ZXAN(control-panel)#anti-dosenable
Related
Commands
Related
Information
None
Beforeconguringanti-DoSattackfunction,entercon-
trol-panelmode.
Anti-DoSfunctionaimstopreventsomeMACaddressonauser
portfromsendingexcessivepacketstoNE,whichmakesNE
CPUunabletodealwithit.Anti-DoSisnotconguredonuplink
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)#
CondentialandProprietaryInformationofZTECORPORATION19
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 cardisgreaterthanvetimesthresholdvalue,thesystemconsid­ersitselfattackedbythisMACaddressandputthisMACaddress intheblacklist.

showclock

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
showclock
Todisplaythesystemclock
None
Allmodes
Thefollowingexampledisplaythesystemclock:
ZXAN#showclock 00:59:05MonJan12001UTC
clockset
20CondentialandProprietaryInformationofZTECORPORATION
Page 35
Chapter2BasicSystemManagement
Related
Information
Thiscommanddisplaysthelocaltimethatbelongstothetimezone afterthetimezoneiscongured.

showrunning-config

Syntax
Purpose
UsageGuidelines
showrunning-config[interfaceinterface-name|msanmodu
le-name]
showrunning-config[{begin|exclude|include}line]
Todisplaythecurrentsystemcongurationinformationorthe speciedinterfacecongurationinformation
Thefollowingtableprovidesparameterdescription:
Parameter
interfaceinterfa
ce-nameInterfacename-
msanmodule-n ameMSANmodulename
DescriptionValue
ces/dhcp-op­tion82/epon/ gpon/igmp/ iptv/mac/port­location/pppoe­plus/vlan
Displaythecongurationin-
begin
exclude
include
lineSpecifycharactersorstrings-
Mode
Example
Allmodesexceptexecmode
Thefollowingexampledisplaysthecurrentsystemconguration
formationbeginningwiththe speciedcharactersorstrings-
Displaythecongurationinfor­mationexcludingwiththespeci­edcharactersorstrings-
Displaythecongurationinfor­mationincludingwiththespeci­edcharactersorstrings-
informationorthespeciedinterfacecongurationinformation
ZXAN(config)#showrunning-configinterfaceshdsl_0/3/1 Buildingconfiguration... ! end
Related
Commands
None
CondentialandProprietaryInformationofZTECORPORATION21
Page 36
FSAP9800CommandManual(VolumeI)
Related
Information
Theeffectivesystemcongurationisdisplayedincommandline.

showstartrunning-config

Syntax
Purpose
UsageGuidelines
showstartrunning-config[{begin|exclude|include}line]
Todisplaytherunningcongurationinformation
Thefollowingtableprovidesparameterdescription:
Parameter
begin
exclude
include
DescriptionValue
Displaycongurationin­formationbeginningwith thespeciedcharactersor string-
Displaycongurationinfor­mationexcludingthespeci­edcharactersorstring-
Displaycongurationinfor­mationincludingthespeci­edcharactersorstring-
lineSpecifycharactersorstring-
Mode
Example
Allmodesexceptexecmode
Thefollowingexampledisplaystherunningcongurationinforma­tion:
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-cong
Thesavedsystemcongurationinformationisdisplayedincom­mandline.
22CondentialandProprietaryInformationofZTECORPORATION
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]
Todisplaythesystemconguredrouteaddress
Thefollowingtableprovidesparameterdescription:
Parameter
name
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplaysthesystemconguredroutead-
DescriptionValue
Routeaddressname
Range:1–16 characters
dress:
ZXAN#showroute-map route-maptagpermit10 route-maptestpermit2 ZXAN# ZXAN#showroute-maptest route-maptestpermit2 ZXAN#
CondentialandProprietaryInformationofZTECORPORATION23
Page 38
FSAP9800CommandManual(VolumeI)
Related
Commands
route-map

showtime-range

Syntax
Purpose
UsageGuidelines
Mode
Example
showtime-range[range-name]
Todisplaythesystemconguredtimerange
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
24CondentialandProprietaryInformationofZTECORPORATION
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
CondentialandProprietaryInformationofZTECORPORATION25
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 .
26CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
Thefollowingexampledisplayshowtoaddcard:
ZXAN(config)#add-cardshelfno0slotno12eps
DescriptionValue
AINCATM|AINCIMA|ASNG |ASNV|EINA|EINB2| EINB4|EINT|EPN|EPS| ESP|GPN|ISNV|LTN| STNG|VSNK|VTNE
CondentialandProprietaryInformationofZTECORPORATION27
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(cong)#
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(cong)#
Thefollowingexampledisplayshowtoaddshelf:
ZXAN(config)#add-shelfrackno0shelfno0shelftype9800-shelf
28CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
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(cong)#
Thefollowingexampledisplayshowtodeleterack:
ZXAN(config)#del-rackrackno0
add-rack
DescriptionValue
0
del-shelf
Syntax
del-shelf[racknorackno]{shelfnoshelfno}
CondentialandProprietaryInformationofZTECORPORATION29
Page 44
FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Todeleteshelf
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
DescriptionValue
ZXAN(cong)#
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:
30CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
Thefollowingexampledisplayshowtoenable/disableprocesssus­pensionandNEresetfunction:
ZXAN(config)#noreset-at-suspend
Related
Commands
None

showcard

Syntax
Purpose
UsageGuidelines
showcard[racknorackno][shelfnoshelfno][slotnoslotno]
Todisplaycardinformation
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION31
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
32CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
Thefollowingexampledisplayshowtosetfanstatus:
ZXAN(config)#fancontroltemp_level30405060
showfan
DescriptionValue
Fixedspeed
Adjustthetempera­tureautomatically
-
Range:0℃–70 Thevaluefromtempx1
totempx4risesin order .Thedifference oftwoadjacentvalues is>=5℃.

fanhigh-threshold

Syntax
Purpose
UsageGuidelines
fanhigh-thresholdtempx
Tosetfanhighthresholdvalue
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION33
Page 48
FSAP9800CommandManual(VolumeI)
Parameter
tempx
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
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(cong)#
Thefollowingexampledisplayshowtosetfanspeed:
ZXAN(config)#fanspeed2
showfan
DescriptionValue
showfan
Syntax
Purpose
showfan
Todisplayallfans
34CondentialandProprietaryInformationofZTECORPORATION
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,thesystemdisplaysthespeciedfaninforma­tion.Withoutparameters,thesystemdisplayinformationofall fans.
CondentialandProprietaryInformationofZTECORPORATION35
Page 50
FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
36CondentialandProprietaryInformationofZTECORPORATION
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
Toactivatemainversionle
Thefollowingtableprovidesparameterdescription:
Parameter
file-nameVersionlename
ZXAN(version)#
Thefollowingexampledisplayshowtoactivatemainversionle:
ZXAN(version)#activateversionversion1 version1 Parseactivateversionok!
downloadversion
eraseversion
Onceamainversionleonamaincontrolcardisactivated,the previouslyconguredactiveversionlewillbedeactivatedauto­matically.Thisfunctiontakeseffectafterthedeviceisrebooted.
DescriptionValue
Range:1–16 characters
CondentialandProprietaryInformationofZTECORPORATION37
Page 52
FSAP9800CommandManual(VolumeI)

downloadversion

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
downloadversionhost-file-name
Todownloadversionles
Thefollowingtableprovidesparameterdescription:
Parameter
host-file-nameVersionlename
DescriptionValue
Range:1–16 characters
ZXAN(version)#
Thefollowingexampledisplayshowtodownloadversionles:
ZXAN(version)#downloadversionCSCE.bt Startloadingfile
.....................
filedownloadsuccessfully.
activateversion

eraseversion

eraseversion
Syntax
Purpose
UsageGuidelines
Mode
Example
eraseversionfile-name
Todeleteversionlessavedinmaincontrolcard
Thefollowingtableprovidesparameterdescription:
Parameter
file-name
DescriptionValue
Filename
Range:0–16 characters
ZXAN(version)#
Thefollowingexampledisplayshowtodeleteversionlessaved inmaincontrolcard:
ZXAN(version)#eraseversionversion1 EraseVersionParseok! Filename:version1
Related
Commands
downloadversion
activateversion
38CondentialandProprietaryInformationofZTECORPORATION
Page 53
Chapter5VersionManagement
Related
Information
Theactiveversionleonthemaincontrolcardcannotbedeleted.

main-backupversion

Syntax
Purpose
UsageGuidelines
Mode
Example
main-backupversionsynchronization[host-file-name]
Tosynchronizetheactivemaincontrolcardtothestandbycontrol card
Thefollowingtableprovidesparameterdescription:
Parameter
host-file-nameHostversionlename
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)#
Thefollowingexampledisplayshowtoquitfromversionmanage­mentmode:
ZXAN(version)#quit ZXAN#
version

showcompound–version

Syntax
Purpose
UsageGuidelines
showcompound-versionfile-name
Todisplaycompoundversionle
Thefollowingtableprovidesparameterdescription:
CondentialandProprietaryInformationofZTECORPORATION39
Page 54
FSAP9800CommandManual(VolumeI)
Parameter
file-nameCompoundversionle
Mode
Example
Related
Commands
Allmodesexceptexecmode
Thefollowingexampledisplayscompoundversionle:
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
notstartup­dateNotstartupdate-
DescriptionValue
DescriptionValue
0
0
Range:2–8,10,12 –17
Negotiating...Updateprocedureisnegotiating-
40CondentialandProprietaryInformationofZTECORPORATION
Page 55
Chapter5VersionManagement
Parameter
Downloading...
Updatesuc­cessLinecardversionupdatesucceeds.-
Download failedLinecardversiondownloadingfails.-
Noorsame version
Boardnot matchCardtypedoesnotmatch.-
Sendmsg failedSendingmessagefails.-
Executetime­outTimeout-
NoversionNoversion-
SameversionSameversion-
cfgboard wrongConguredcardiswrong.-
DescriptionValue
Linecardisdownloadingversionfrom maincontrolcard.-
Maincontrolcardhasnosameversion asthatoflinecard.-
Vercheck failedCardversioniswrong.-
Hardnomatch
ProgramwrongWrongprogram-
NotcfgboardCardisnotcongured.-
noversiontypeNoversiontype-
FailedinMTo­SlaveLinecardupdatefails.-
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:
CondentialandProprietaryInformationofZTECORPORATION41
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]
Todisplayversionleinformationsavedinmaincontrolcard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber0
shelfnoshelfnoShelfnumber0
slotnoslotnoSlotnubmerRange:2–8,10,12-17
DescriptionValue
Allmodesexceptexecmode
Thefollowingexampledisplaysversionleinformationsavedin 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
42CondentialandProprietaryInformationofZTECORPORATION
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}
Toupdatebootversionleandwriteintolinecard
Thefollowingtableprovidesparameterdescription:
Parameter
racknoracknoRacknumber
shelfnoshelfnoShelfnumber
slotnoslotnoSlotnumber
local
DescriptionValue
Updatefrommain controlcard
0
0
Range:2–8,10,12 –17
Mode
Example
ZXAN(version)#
Thefollowingexampledisplayshowtoupdatebootversionleand writeintolinecard:
ZXAN(version)#update-bootslotno8local Confirmtoupdateboot?[yes/no]:y
CondentialandProprietaryInformationofZTECORPORATION43
Page 58
FSAP9800CommandManual(VolumeI)
Related
Commands

update-version

update-version
Syntax
Purpose
UsageGuidelines
update-version[racknorackno]shelfnoshelfnolocal
update-version[racknorackno][shelfnoshelfno]slotno slotnolocal
Toupdatelinecardversionle
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
44CondentialandProprietaryInformationofZTECORPORATION
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
CondentialandProprietaryInformationofZTECORPORATION45
Page 60
FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
46CondentialandProprietaryInformationofZTECORPORATION
Page 61
Chapter 6

FileSystemManagement

TableofContents
cd...................................................................................47
copy................................................................................48
delete..............................................................................48
dir...................................................................................49
display.............................................................................49
formatash......................................................................50
mkdir...............................................................................50
pwd.................................................................................51
rename............................................................................51
rmdir...............................................................................51
write................................................................................52
writeash........................................................................53
writealarmlog...................................................................53
writenvram......................................................................53
cd
Syntax
Purpose
UsageGuidelines
Mode
Example
cddirectory
Toenteraspecicledeviceorledirectory
Thefollowingtableprovidesparameterdescription:
Parameter
directory
ZXAN#
Thefollowingexampledisplayshowtoenteraspecicledevice orledirectory:
Toentersystemashledevice
ZXAN#cdflash:
Toenterdirectorybinunderthecurrentledevice
ZXAN#cd/bin
Toenterupperdirectory
ZXAN#cd..
DescriptionValue
Directory
Range:1–80 characters
CondentialandProprietaryInformationofZTECORPORATION47
Page 62
FSAP9800CommandManual(VolumeI)
Related
Commands
dir
mkdir
pwd
rmdir
Related
Information
nvram:ash:
“.”“..”

copy

Syntax
Purpose
UsageGuidelines
copysource-devicesource-filedestination-devicedestination-file
Tocopysourceletoaspecicdirectory
Thefollowingtableprovidesparameterdescription:
Parameter
source-deviceSourcedevicenameash,ftp,tftp
source-file
DescriptionValue
Sourcedirectoryand lenameRange:1–80characters
destination-de vice
destination-f ile
Mode
Example
ZXAN#
Thefollowingexampledisplayshowtocopysourceletoaspecic
Destinationdevice nameash,ftp,tftp
Destinationdirectory andlenameRange:1–80characters
directory:
ZXAN#copyflash:img/sys.datftp://168.1.1.1/sys.dat@test:pass
Related
Commands

delete

delete
Syntax
Purpose
UsageGuidelines
deletefilename
Todeletelesinthespecicdirectory
Thefollowingtableprovidesparameterdescription:
Parameter
DescriptionValue
filename
48CondentialandProprietaryInformationofZTECORPORATION
Directorynameand lename
Range:1–80 characters
Page 63
Chapter6FileSystemManagement
Mode
Example
ZXAN#
Thefollowingexampledisplayshowtodeletelesinthespecic directory:
ZXAN#deletesys.dat
Related
Commands
copy
rename
dir
Syntax
Purpose
UsageGuidelines
dir[directory]
Todisplayles
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directorynameor devicename
Range:1–80 characters
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplaysles:
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
Todisplayaspecicle
Thefollowingtableprovidesparameterdescription:
Parameter
filename
CondentialandProprietaryInformationofZTECORPORATION49
DescriptionValue
Filename
Range:1–128 characters
Page 64
FSAP9800CommandManual(VolumeI)
Mode
Example
Related
Commands
ZXAN#
Thefollowingexampledisplaysaspecicle:
ZXAN#displaytest
None

formatflash

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
formatflash
Toformatash
None
ZXAN#
Thefollowingexampledisplayshowtoformatash:
ZXAN#formatflash Alldatawillbecleared.Continuetoformat?[yes/no]:y
None
Thiscommandisexecutedonlyunderashrootdirectory.

mkdir

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
mkdirdirectory
Tocreateanewledirectory
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directoryname
ZXAN#
Thefollowingexampledisplayshowtocreateanewledirectory:
ZXAN#mkdirtest
cd
dir
pwd
rmdir
Range:1–32 characters
50CondentialandProprietaryInformationofZTECORPORATION
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-filenameSourcelename
destination-filenameDestinationlename
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
Todeletethespeciedledirectory
CondentialandProprietaryInformationofZTECORPORATION51
Page 66
FSAP9800CommandManual(VolumeI)
UsageGuidelines
Mode
Example
Thefollowingtableprovidesparameterdescription:
Parameter
directory
DescriptionValue
Directoryname
Range:1–80 characters
ZXAN#
Thefollowingexampledisplayshowtodeletethespeciedledi­rectory:
ZXAN#rmdirdirectory
Related
Commands
cd
copy
dir
mkdir
pwd
Related
Information
Iftherearelesinthedirectory,thisdirectorycannotbedeleted.

write

Syntax
Purpose
UsageGuidelines
Mode
Example
write[alarmlog|cmdlog|flash|nvram|snmplog]
Towritethecongurationinformationintoash
Thefollowingtableprovidesparameterdescription:
Parameter
alarmlogAlarmlog-
cmdlogCommandlog-
flashFlash-
nvramNVRAM-
snmplogSNMPlog-
DescriptionValue
ZXAN#
Thefollowingexampledisplayshowtowritethecongurationin­formationintoash:
ZXAN#write Buildingconfiguration... [ok]
Related
Commands
Related
Information
52CondentialandProprietaryInformationofZTECORPORATION
writeash
writenvram
Thiscommandhasthefunctionofwriteflashandwritenvram commandsifthecommandiswithouttheparameter .
Page 67

writeflash

Chapter6FileSystemManagement
Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
writeflash
Towritethecurrentdevicecongurationintoash
None
ZXAN#
Thefollowingexampledisplayshowtowritethecurrentdevice congurationintoash:
ZXAN#writeflash BuildingconfigurationFLASH:... [ok]
write

writenvram

Thecongurationintheashwilltakeeffectautomaticallyinthe nextdevicestartup.

writealarmlog

Syntax
Purpose
UsageGuidelines
Mode
Example
writealarmlog
Towritealarmlogintole
None
ZXAN#
Thefollowingexampledisplayshowtowritealarmlogintole:
ZXAN#writealarmlog Buildingloggingfile... .. [ok]
Related
Commands
write
writenvram
writenvram
Syntax
Purpose
UsageGuidelines
Mode
Example
writenvram
TowritesystemparametersintoNVRAM
None
ZXAN#
Thefollowingexampledisplayshowtowritesystemparameters intoNVRAM:
ZXAN#writenvram Buildingconfiguration...
CondentialandProprietaryInformationofZTECORPORATION53
Page 68
FSAP9800CommandManual(VolumeI)
[ok]
Related
Commands
write
writeash
54CondentialandProprietaryInformationofZTECORPORATION
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
Tocongurelineconsoleabsolutetimeout
Thefollowingtableprovidesparameterdescription:
Parameter
absolute-timeoutAbsolutetimeout
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurelineconsoleab­solutetimeout:
ZXAN(config)#lineconsoleabsolute-timeout30
CondentialandProprietaryInformationofZTECORPORATION55
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
Tocongureconsoleidletimeout
Thefollowingtableprovidesparameterdescription:
Parameter
idle-timeoutIdletimeout
DescriptionValue
Range:1–10000 min
Default:2hr
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureconsoleidletime­out:
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
Toconguretelnetabsolutetimeout
Thefollowingtableprovidesparameterdescription:
Parameter
absolute-timeoutAbsolutetimeout
DescriptionValue
Range:1–10000 min
Default:1day
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetabsolute timeout:
ZXAN(config)#linetelnetabsolute-timeout30
56CondentialandProprietaryInformationofZTECORPORATION
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
Toconguretelnetaccessclass
Thefollowingtableprovidesparameterdescription:
Parameter
access-list-numberAccesslistnumber
DescriptionValue
Range:1–99
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetaccess 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
Toconguretelnetterminalidletimeout
Thefollowingtableprovidesparameterdescription:
Parameter
idle-timeoutIdletimeout
DescriptionValue
Range:1–1000min Default:2hour
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretelnetterminal idletimeout:
ZXAN(config)#linetelnetidle-timeout30
CondentialandProprietaryInformationofZTECORPORATION57
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
Execmodeandprivilegemodereturntoexecmodeafterthiscom­mandisexecuted.
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+}
Toconguretheauthenticationmode
Thefollowingtableprovidesparameterdescription:
58CondentialandProprietaryInformationofZTECORPORATION
Page 73
Chapter7UserManagement
Parameter
localLocalauthentication
radius
tacacs+
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtoconguretheauthentica-
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+}
Tocongureauthorizationmodeintelnetlogin
Thefollowingtableprovidesparameterdescription:
Parameter
localLocalauthentication
tacacs+
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureauthorization
DescriptionValue
TACACS authentication
-
-
modeintelnetlogin:
ZXAN(config)#login-authorization-typelocal
Related
Commands
Related
Information
None
IftheauthenticationmodeisRADIUS,itisneedlesstocongure themode.

quit

Syntax
Purpose
UsageGuidelines
Mode
quit
Toquitfromlogindevice
None
ZXAN#,ZXAN>
CondentialandProprietaryInformationofZTECORPORATION59
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
Toexecutescriptles
Thefollowingtableprovidesparameterdescription:
Parameter
filename
printoff
printonEnableprint
DescriptionValue
Filename
Disableprint
Range:1–128 characters
ZXAN#
Thefollowingexampledisplayshowtoexecutescriptles:
ZXAN#scriptexecutetest
60CondentialandProprietaryInformationofZTECORPORATION
Page 75
Chapter7UserManagement
Related
Commands
None

showhistory

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
Related
Information
showhistory
Todisplaythehistoryrecordoftheinputcommands
None
Allmodes
Thefollowingexampledisplaysthehistoryrecordoftheinputcom­mands:
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-denedsessioninformation
CondentialandProprietaryInformationofZTECORPORATION61
Page 76
FSAP9800CommandManual(VolumeI)
UsageGuidelines
Mode
Example
Related
Commands
Thefollowingtableprovidesparameterdescription:
Parameter
session-numberSessionnumber
DescriptionValue
Allmodesexceptexecmode
Thefollowingexampledisplaysuser-denedsessioninformation:
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,suchaster­minalID,terminaltype,terminalwindowsizeandloginrestriction.

telnet

Syntax
Purpose
UsageGuidelines
62CondentialandProprietaryInformationofZTECORPORATION
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:
CondentialandProprietaryInformationofZTECORPORATION63
Page 78
FSAP9800CommandManual(VolumeI)
ZXAN#telnetmodemslotno7portno1
Related
None
Commands
64CondentialandProprietaryInformationofZTECORPORATION
Page 79
Chapter 8

SNMP

TableofContents
showsnmp.......................................................................65
showsnmpcong..............................................................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
CondentialandProprietaryInformationofZTECORPORATION65
Page 80
FSAP9800CommandManual(VolumeI)
0Badvalueserrors 0Generalerrors 0ResponsePDUs 0SNMPtrapPDUs
Related
Commands
None

showsnmpconfig

Syntax
Purpose
UsageGuidelines
Mode
Example
showsnmpconfig
TodisplaySNMPconguration
None
Allmodes
ThefollowingexampledisplaysSNMPconguration:
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
66CondentialandProprietaryInformationofZTECORPORATION
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
CondentialandProprietaryInformationofZTECORPORATION67
Page 82
FSAP9800CommandManual(VolumeI)
Related
Commands
snmp-serveruser

snmp-serveraccess-list

Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serveraccess-listacl
nosnmp-serveraccess-list
TousetheconguredACLtocontrolaccesslist
Thefollowingtableprovidesparameterdescription:
Parameter
aclACLlistorname
DescriptionValue
Range:1–31 characters
ZXAN(cong)#
ThefollowingexampledisplayshowtousetheconguredACLto controlaccesslist:
ZXAN(config)#snmp-serveraccess-list1
Related
Commands
None

snmp-servercommunity

Syntax
Purpose
UsageGuidelines
snmp-servercommunitycommunity-name[viewview-name] [ro|rw]
nosnmp-servercommunitycommunity-name
TocongureSNMPcommunityname
Thefollowingtableprovidesparameterdescription:
Parameter
community-name
viewview-name
ro|rwReadonly/readand
DescriptionValue
CommunitynameRange:1–32
Viewname
write
characters
Range:1–32 characters
Mode
Example
68CondentialandProprietaryInformationofZTECORPORATION
ZXAN(cong)#
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(cong)#
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
TodeneSNMPcontextname
Thefollowingtableprovidesparameterdescription:
Parameter
context-name
ZXAN(cong)#
ThefollowingexampledisplayshowtodeneSNMPcontextname:
ZXAN(config)#snmp-servercontextcontextA
DescriptionValue
ContextnameRange:1–30
characters
CondentialandProprietaryInformationofZTECORPORATION69
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-typeSpecifynotication
DescriptionValue
Alarmtype
type
bgp,ospf,rmon, snmp,stalarm,vpn
ZXAN(cong)#
ThefollowingexampledisplayshowtoenableSNMPserver:
ZXAN(config)#snmp-serverenableinform ZXAN(config)#snmp-serverhost168.1.1.1informversion2cpublic
Related
Commands
Related
Information
snmp-serverhost
Bydefault,thesystemcansendallnoticationandtraps.

snmp-serverengine-id

Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverengine-idengine-id
nosnmp-serverengine-id
TocongureanSNMPlocalengineID
Thefollowingtableprovidesparameterdescription:
Parameter
engine-idLocalSNMPengineID
DescriptionValue
Range:1-24 characters
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureanSNMPlocal engineID:
ZXAN(config)#snmp-serverengine-id12345667890
70CondentialandProprietaryInformationofZTECORPORATION
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}
TocongureanewSNMPgroup
Thefollowingtableprovidesparameterdescription:
Parameter
groupname
v3Version3
authAuthenticatepackets
noauthDonotauthenticate
DescriptionValue
Groupname
packets
Range:1–32characters
-
-
-
privAuthenticateanden-
contextcontext
-name
match-prefixMatchprex
match-exactMatchexactly
readreadviewReadviewRange:1–32characters
writewriteview
notifynotifyv
iew
Mode
Example
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureanewSNMP
cryptpackets
Contextname
Writeview
Notifyview
-
Range:1–32characters
-
-
Range:1–32characters
Range:1–32characters
group:
ZXAN(config)#snmp-servergroupgroup1v3privreadview1writeview1notifyview1
Related
Commands
showsnmpgroup
snmp-serveruser
CondentialandProprietaryInformationofZTECORPORATION71
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
TocongurethedestinationtoreceiveSNMPmessage
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressHostIPaddress
trap
inform
version
1
2c
3
community-name
DescriptionValue
Sendtraptohost
Sendmessagetohost
SNMPversion
SNMPversionnumber
SNMPversionnumber
SNMPversionnumber
SNMPv1/v2commun­itynameorSNMPv3 username
A.B.C.D
-
-
-
-
-
-
Range:1–32charac­ters1~32
CRITICAL|INDE TERMINATE| MAJOR|MINOR| NOTIFICATIONS| WARNINGS
isnmsserverserv er-indexserver-in
dex
udp-portudp-port
Mode
Example
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurethedestination
Alarmlevels
Congureastrap server
SpecifyUDPportIDto sendtrap
Range:1–8
Range:0–65535
toreceiveSNMPmessage:
ZXAN(config)#snmp-serverhost168.1.1.1informversion2ctestenable CRITICALisnmsserver1
Related
Commands
None
72CondentialandProprietaryInformationofZTECORPORATION
Page 87
Chapter8SNMP
Related
Information
Defaultsendingtype:trap
Defaultversion:1
DefaultportID:162

snmp-serverlocation

Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverlocationlocation-text
nosnmp-serverlocation
Tocongurephysicallocationthatnoderesides
Thefollowingtableprovidesparameterdescription:
Parameter
location-text
DescriptionValue
Locationtext
Range:1–200 characters
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurephysicallocation thatnoderesides:
ZXAN(config)#snmp-serverlocationthisisC220inchina
Related
Commands
None

snmp-serverpacketsize

Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverpacketsizesnmp-packet-max-size
nosnmp-serverpacketsize
TocongureSNMPpacketsize
Thefollowingtableprovidesparameterdescription:
Parameter
snmp-packet-max-s ize
DescriptionValue
SNMPpacketsize
Range:484–3000 bytes
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureSNMPpacketsize:
ZXAN(config)#snmp-serverpacketsize1400
CondentialandProprietaryInformationofZTECORPORATION73
Page 88
FSAP9800CommandManual(VolumeI)
Related
Commands
None

snmp-servertrap-source

Syntax
Purpose
UsageGuidelines
Mode
Example
Related
Commands
snmp-servertrap-sourceip-address
nosnmp-servertrap-source
Tocongurethesourceaddressforallthetraps
Thefollowingtableprovidesparameterdescription:
Parameter
ip-addressSourceaddress
DescriptionValue
A.B.C.D
ZXAN(cong)#
Thefollowingexampledisplayshowtocongurethesourcead­dressforallthetraps:
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
TocongureSNMPv3users
Thefollowingtableprovidesparameterdescription:
Parameter
usernameSNMPusername
groupnameGroupname
v3Version3-
encryptedEncryptedpassword-
authAuthenticatingright-
md5
DescriptionValue
Range:1–32charac­ters
Range:1–32charac­ters
UseHMAC-MD5-96as authenticationmode-
74CondentialandProprietaryInformationofZTECORPORATION
Page 89
Chapter8SNMP
Parameter
sha
auth-password
priv
des56
priv-passwordPassword
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
ThefollowingexampledisplayshowtocongureSNMPv3users:
ZXAN(config)#snmp-serveruseruser1group1v3authmd512345678 privdes5612345678
showsnmpuser
snmp-servergroup
Bydefault,thereisnoencryptionparameter .Itisonlypassword text.
DescriptionValue
UseHMAC-SHA-96as authenticationmode-
Authenticationpass­word
Assignthisuserwith encryptionprivilege-
UseCBC-DESasen­cryptionmode-
Range:1–32charac­ters
Range:1–32charac­ters

snmp-serverview

Syntax
Purpose
UsageGuidelines
Mode
Example
snmp-serverviewview-namesubtree-id{included|excluded}
nosnmp-serverviewview-namesubtree-id
TodeneSNMPv2view
Thefollowingtableprovidesparameterdescription:
Parameter
view-nameViewname
subtree-id
included|excludedIncludeorexclude
DescriptionValue
SpecifyMIBsubtree IDornodenamefor view
subtree
Range:1–32 characters
Range:1–79 characters
ZXAN(cong)#
ThefollowingexampledisplayshowtodeneSNMPv2view:
ZXAN(config)#snmp-serverviewmyViewName1.3.6.1.2.1included
CondentialandProprietaryInformationofZTECORPORATION75
Page 90
FSAP9800CommandManual(VolumeI)
Related
snmp-servercommunity
Commands
76CondentialandProprietaryInformationofZTECORPORATION
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–64charac­ters
Range:1–2147483647 sec
Range:-2147483647– 2147483647
falling-threshold
value
ownerstringAlarmcreator
CondentialandProprietaryInformationofZTECORPORATION77
Fallingthreshold value
Range:-2147483647– 2147483647
Range:1–30charac­ters
Default:cong
Page 92
FSAP9800CommandManual(VolumeI)
Mode
Example
Related
Commands
Related
Information
ZXAN(cong)#
ThefollowingexampledisplayshowtosetalarmandMIBobjects:
ZXAN(config)#rmonalarm1ip.2.010absolute rising-threshold2001falling-threshold1001
ownerZTE
None
Itisallowedforthesameinstancetoperformsamplingatthe
sameordifferentintervals.
Ifanerrorpromptswhenanalarmitemiscreatedwiththe
sameindex,usenocommandtoeliminatethepreviousindex conguration.
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(cong-if)#
Thefollowingexampledisplayshowto
ZXAN(config-if)#rmoncollectionhistory1ownerztebuckets100interval300
Related
Commands
78CondentialandProprietaryInformationofZTECORPORATION
None
Page 93
Chapter9RMON
Related
Information
Itisallowedtocongureseveralstatisticalitemsonthesame
interface.
Itisallowedtodeletethestatisticalitemsofotherinterfaces
ininterfacemode.
Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame indexconguration.
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(cong-if)#
Thefollowingexampledisplayshowto
ZXAN(config-if)#rmoncollectionstatistics1ownerzte
None
Itisallowedtocongureseveralstatisticalitemsonthesame
interface.
DescriptionValue
Range:1–65535
OwnerRange:1–30
characters Default:monitor
Itisallowedtodeletethestatisticalitemsofotherinterfaces
ininterfacemode.
Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame indexconguration.
Whenthenonexistentindexitemisdeleted,thesystem
prompts:“UnknownetherStatsnumber”.
Whenthememoryorsourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .
CondentialandProprietaryInformationofZTECORPORATION79
Page 94
FSAP9800CommandManual(VolumeI)

rmonevent

Syntax
Purpose
UsageGuidelines
Mode
Example
rmoneventindex[log][trapcommunity][descriptionstring][o wnerstring]
normoneventindex
Tocongureanevent
Thefollowingtableprovidesparameterdescription:
Parameter
indexIndexRange:1–65535
logLog-
trapcommunityCommunityname
descriptionstringDescription
ownerstringEventcreator
ZXAN(cong)#
Thefollowingexampledisplayshowtocongureanevent:
ZXAN(config)#rmonevent1logtrappublicdescriptionlog_trap_event
DescriptionValue
Range:1–30char­acters
Range:1–30char­acters
Default:zte
Range:1–30char­acters
Default:cong
Information
TriggeringPoint
Related
Commands
Related
None
Iferroroccurswhenthestatisticalitemiscreatedwiththe
sameindex,usenocommandtodeletetheprevioussame indexconguration.
Whenthenonexistentindexitemisdeleted,thesystem
prompts:“UnknownetherStatsnumber”.
Whenthememoryorsourceisnotenough,thesystem
prompts“Allocbuffererror”or“Resourceunavailable” .

NumberofDiscardedSCTP Packets

Name
Meaning
ThenumberofdiscardedSCTPpackets
ThenumberofIPpacketsdiscardedbytheassociation.
ThecounterincrementswhentheSCTPdiscardsanIPpacket.
parameterdescription:
80CondentialandProprietaryInformationofZTECORPORATION
Page 95
Chapter9RMON
Parameter
DescriptionValue
Displayallalarminfor-
alarms
mation-
Displayalleventinfor-
events
mation-
Displayallhistoryin-
history
formation-
statisticsDisplayallstatistics-
Mode
Example
Related
Commands
Allmodesexceptexecmode
ThefollowingexampledisplaysRMONconguration:
ZXAN(config)#showrmon supportsStatisticsHistoryAlarmEventetc.group(s)ofRFC1757.
Configentries:
etherStats0 historyControl0 alarm0
event0
rmonalarm
rmoncollectionhistory
rmoncollectionstatistics
rmonevent
Related
Information
Ifthereisnoparameterinthecommand,itdisplaysRMON
versioninformation.
Ifthereisnocontrolentryinthespeciedcontrollist,itdis-
playsthefollowinginformation:
“Statisticstableisempty”
“Historytableisempty”
“Alarmtableisempty”
“Eventtableisempty”
CondentialandProprietaryInformationofZTECORPORATION81
Page 96
FSAP9800CommandManual(VolumeI)
Thispageisintentionallyblank.
82CondentialandProprietaryInformationofZTECORPORATION
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(cong)#
Thefollowingexampledisplayshowtocreateordeleteuapsgroup:
ZXAN(config)#uaps-group1
None
DescriptionValue
GroupID
Portswapmode
Maincontrolswap mode
Range:1–4
-
-
revertive
Syntax
revertive{enable|disable}
CondentialandProprietaryInformationofZTECORPORATION83
Page 98
FSAP9800CommandManual(VolumeI)
Purpose
UsageGuidelines
Mode
Example
Tocongureactive/standbyrevertiblefunctionforUAPSgroup
Thefollowingtableprovidesparameterdescription:
Parameter
enableEnableconvertible
disableDisableconvertible
DescriptionValue
-
function
-
function
ZXAN(cfg-uaps-groupid)#
Thefollowingexampledisplayshowtocongureactive/standby revertiblefunctionforUSPSgroup:
ZXAN(cfg-uaps-1)#revertiveenable
Related
Commands
None
protect-time
Syntax
Purpose
UsageGuidelines
protect-timetime
TocongureUAPSgroupprotectiontime
Thefollowingtableprovidesparameterdescription:
Parameter
timeProtectiontime
Mode
Example
ZXAN(cfg-uaps-groupid)#
ThefollowingexampledisplayshowtocongureUAPSgrouppro-
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
84CondentialandProprietaryInformationofZTECORPORATION
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
CondentialandProprietaryInformationofZTECORPORATION85
Range:1-4
Page 100
FSAP9800CommandManual(VolumeI)
Slaveportsstatus:block
Related
None
gei_0/9/1:up
gei_0/9/2:down
Commands
86CondentialandProprietaryInformationofZTECORPORATION
Loading...