ZTE ZXR10 User Manual

Page 1
ZXR10
Router/EthernetSwitch
CommandManual(BasicCongurationVolumeI)
Version4.8.22
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,ofZTECORPORA TION 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.
TheultimaterighttointerpretthisproductresidesinZTECORPORA TION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.0Dec.28,2008
FirstEdition
SerialNumber:sjzl20086528
Page 3
AboutThisManual..............................................i
CommandIntroduction.....................................1
ManualUseGuide...........................................................1
DescriptionofMan-MachineCommands.............................1
AuxiliaryFunction...........................................................2
CommandMode.............................................................3
BasicSystemManagement................................7
auto-downloadcong......................................................8
bannerincoming............................................................8
bootcong-le...............................................................9
clockset........................................................................9
clocktimezone..............................................................10
congureterminal.........................................................10
disable.........................................................................11
enable.........................................................................11
enablesecret................................................................12
end.............................................................................13
exit.............................................................................13
ah-protectpower-off....................................................14
hostname.....................................................................14
helpmessage................................................................15
more...........................................................................15
multi-usercongure.......................................................16
nvramboot-password....................................................17
nvramboot-server.........................................................17
nvramboot-username....................................................18
nvramdefault-gateway..................................................18
nvramimgle-location....................................................19
nvrammng-ip-address...................................................20
privilege.......................................................................20
reload..........................................................................21
servicepassword-encryption...........................................21
showauto-download-cong............................................22
showclock....................................................................22
showdiagnosticinformation............................................22
showprivilege...............................................................27
showrunning-cong......................................................27
showstartrunning-cong...............................................28
Page 4
showsystem-group.......................................................29
showusername.............................................................29
showusers...................................................................29
showuser-group...........................................................30
showversion................................................................30
showversionhardware...................................................30
showversionmec..........................................................31
showversionmidplane...................................................32
showversionnpc...........................................................32
showversionsoftware....................................................32
showversionsfc............................................................33
showversionupc...........................................................33
username.....................................................................34
user-group...................................................................34
who.............................................................................35
FileSystemManagement.................................37
cd...............................................................................37
checkdev-using............................................................38
copy............................................................................39
delete..........................................................................39
dir...............................................................................40
format.........................................................................41
mkdir...........................................................................41
pwd.............................................................................42
rename........................................................................42
rmdir...........................................................................43
showash-check...........................................................43
unmount......................................................................44
update-imgle...............................................................44
write............................................................................45
writeash....................................................................45
writeimgle.................................................................46
writenvram..................................................................47
UserInterfaceManagement............................49
answer-manual.............................................................49
answer-remote..............................................................50
lineconsole0................................................................50
lineconsoleabsolute-timeout..........................................50
lineconsoleidle-timeout.................................................51
linetelnetabsolute-timeout............................................51
Page 5
linetelnetaccess-class...................................................52
linetelnetidle-timeout...................................................52
login............................................................................53
loginauthentication.......................................................53
logout..........................................................................54
quit.............................................................................54
session........................................................................54
showconsole-info..........................................................54
showhistory.................................................................55
showterminal...............................................................55
telnet...........................................................................56
telnetmng....................................................................56
terminallength.............................................................57
user-authentication-type................................................57
user-authorization-type..................................................57
SystemLog/StatisticsManagement................59
alarm...........................................................................60
alarmcpuload-interval...................................................60
alarmcpuload-on..........................................................61
alarmcpuload-threshold.................................................61
alarmlevel-change........................................................62
check...........................................................................62
clearlogging.................................................................63
clearprocessor..............................................................63
cpuload-threshold..........................................................63
environ........................................................................64
lter............................................................................64
loggingalarmlog-interval................................................65
loggingbuffer...............................................................65
loggingcmdftp.............................................................66
loggingcmdlog-interval..................................................66
loggingconsole.............................................................67
logginglesavetime.......................................................67
logginglter-map..........................................................68
loggingftp....................................................................69
logginglevel.................................................................70
loggingmode................................................................70
loggingnatftp..............................................................71
loggingon....................................................................71
loggingsynchronize.......................................................72
Page 6
loggingtimestamps.......................................................72
loggingtrap-enable........................................................72
memory-threshold.........................................................73
showalarm-level...........................................................73
showlogle..................................................................74
showloggingalarm........................................................74
showloggingcongure...................................................75
showprocessor.............................................................75
showprocessordetails...................................................77
showtemperature.........................................................77
syslog-serverfacility......................................................78
syslog-serverhost.........................................................79
syslog-serversource......................................................80
temper-threshold..........................................................80
write...........................................................................81
writecmdlog.................................................................82
writelogging.................................................................82
FTP/TFTPServer.............................................83
copy(FTPClient)............................................................83
copyTFTPClient.......................................................84
ftp-serverenable...........................................................84
ftp-servertick-user........................................................84
ftp-servertop-directory..................................................85
ipftppassword.............................................................85
ipftpusername.............................................................86
showftp-server.............................................................86
showftp-server-user......................................................86
IPV4BasicProtocols.......................................89
address........................................................................90
arptimeout..................................................................91
cleararp......................................................................91
cleariptrafc-statistics..................................................92
cleartcpconnect...........................................................92
cleartcpline.................................................................93
cleartcpstatistics..........................................................93
cleartcptcb..................................................................93
cleartcptty..................................................................93
cleartcpvty.................................................................94
detectloop-time............................................................94
detectoption................................................................94
Page 7
detecttry-times............................................................95
detcettime-out.............................................................95
detect-group.................................................................96
detect-list.....................................................................96
ipaddress....................................................................97
ipforwarding-mode.......................................................97
ipload-sharing..............................................................98
iplocalpolicyroute-map................................................99
ipmtu..........................................................................99
ippolicyroute-map......................................................100
ipproxy-arp................................................................100
ipredirect...................................................................101
iproute......................................................................101
ipsource-route...........................................................102
ipstreamcache...........................................................103
ipstreamenable.........................................................104
ipstreamexport..........................................................104
iptcpnwait-time.......................................................105
iptcpqueuemax.........................................................106
iptcpsynwait-tim........................................................106
iptcpwindow-size.......................................................107
ipunnumbered............................................................107
ipunreachable............................................................108
netow-sample-rate.....................................................108
ntpauthenticate..........................................................109
ntpauthentication-key.................................................109
ntpenable..................................................................110
ntpserver..................................................................110
ntpsource..................................................................111
ntptrusted-key...........................................................111
ping...........................................................................111
pingmng....................................................................113
pingmpls...................................................................113
setarp.......................................................................114
showarp....................................................................115
showdetect-group.......................................................116
showipforwarding......................................................117
showipprotocolrouting...............................................117
showipprotocolroutingsummary.................................118
showiproute..............................................................118
Page 8
showiptrafc.............................................................119
showntpstatus...........................................................120
showtcp....................................................................120
showtcpbrief.............................................................121
showtcpcong...........................................................121
showtcpline..............................................................121
showtcpstatistics.......................................................122
showtcptcb...............................................................122
showtcptty................................................................123
showtcpvty...............................................................124
showvlan-forwarding...................................................124
trace..........................................................................125
tracempls..................................................................125
vlanarp-mode............................................................126
vlan-forwarding...........................................................127
Page 9
WhatIsinThis

AboutThisManual

PurposeThismanualprovidesproceduresandguidelinesthatsupportthe
operationofZXR10routerandEthernetswitch.
Intended Audience
Manual
Thismanualisintendedforengineersandtechnicianswhoperform operationactivitiesonZXR10routerandEthernetswitch.
Thismanualcontainsthefollowingchapters:
Chapter
Chapter1,Command Introduction
Chapter2BasicSystem Management
Chapter3FileSystem Management
Chapter4UserInterface Management
Chapter5System Log/Statistics Management
Chapter6FTP/TFTP Server
Chapter7IPV4Basic Protocols
Summary
Thisdescribestheusemethodofthe commandmanual,commanddescription, formatconvention,auxiliaryfunctionand mode.
Describesthebasicsystemmanagement commands,includingthecongurationand viewingcommands
Describestheoperationandmanagement commandsforthelesystem
Describestheoperationandmanagement commandsfortheuserinterfaces
Describestheoperationandmanagement commandsforthesystemlogandstatistics
Describestheoperationandmanagement commandsfortheFTP/TFTPserver
Describesthecongurationandview commandsofIPV4basicprotocols, includingtheARP ,IP ,TCP ,DHCP ,NATand VRRP
Documentation
Related
Thefollowingdocumentationisrelatedtothismanual:
ZXR10Router/EthernetSwitchCommandManual(Command
IndexVolume)
ZXR10Router/EthernetSwitchCommandManual(Ethernet
SwitchVolume)
ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeII)
ZXR10Router/EthernetSwitchCommandManual(BasicCon-
gurationVolumeIII)
ZXR10Router/EthernetSwitchCommandManual(RemoteAc-
cessVolume)
ZXR10Router/EthernetSwitchCommandManual(IPv4Rout-
ingVolumeI)
CondentialandProprietaryInformationofZTECORPORATIONi
Page 10
ZXR10CommandManual(BasicCongurationVolumeI)
ZXR10Router/EthernetSwitchCommandManual(IPv4Rout-
ingVolumeII)
ZXR10Router/EthernetSwitchCommandManual(MPLSVol-
ume)
ZXR10Router/EthernetSwitchCommandManual(QoSVol-
ume)
ZXR10Router/EthernetSwitchCommandManual(Security
Volume)
ZXR10Router/EthernetSwitchCommandManual(Network
ManagementVolume)
ZXR10Router/EthernetSwitchCommandManual(Multicast
Volume)
ZXR10Router/EthernetSwitchCommandManual(IPv6Vol-
ume)
ZXR10Router/EthernetSwitchCommandManual(Voiceand
VideoServiceVolume)
iiCondentialandProprietaryInformationofZTECORPORATION
Page 11
Chapter1

CommandIntroduction

TableofContents
ManualUseGuide...............................................................1
DescriptionofMan-MachineCommands.................................1
AuxiliaryFunction...............................................................2
CommandMode.................................................................3

ManualUseGuide

Thecommandsinothervolumesareclassiedbyfunctionalmod­ules,andeachfunctionalmodulecorrespondstoachapterand thecommandsinthechapterareorganizedintheformoflevel2 directoryandintheorderofa–z.
Tosearchacommand,doasfollows:
1.FindthedesiredcommandbyreferringtoZXR10Router/Eth­ernetSwitchCommandManual—CommandIndex.
2.Findcommanddetailsbythevolume,chapter/sectionandpage oftheobtainedcommand.

DescriptionofMan-Machine Commands

EachMMLcommandisdescribedbythefollowingitems:
Function
Itdescribesthefunctionimplementedbythiscommand.
CommandMode
Itdescribesthemodeinwhichthiscommandcanbeexecuted.
Format
Itdescribesthecompleteformatofthiscommand,including thenoformatifpossible.
ParameterDescription
Itdescribesparametersinthiscommandintheformandpre­scribestherangeanddefaultvalue.Ifdifferentproductshave
CondentialandProprietaryInformationofZTECORPORATION1
Page 12
ZXR10CommandManual(BasicCongurationV olumeI)
differentparameterrangesordefaultvalues,anadditional formisusedfordescription.
Default
Thedefaultvalueisavailableinthecasethatthiscommandis notset.Thedefaultparametervalueisnotdescribedherefor valueselection.
Additionaldescriptionshallbegivenifdifferentproductshave differentdefaultvalues.
Instructions
Firstdescribestheplatformversioninformationaboutthis command.Forexample,“TheplatformversionX.X.XXorlater supportsthiscommand”indicatesthiscommandisprovided fromthebeginningoftheplatformversionX.X.XX.Thiscom­mandisprovidedfromtheplatformversion2.6bydefault.
Seconddescribestheusemethodandprecautionsofthiscom­mand.
Example
Itdescribestheuseofthiscommandinanexample.
RelatedCommands
Liststhecommand(s)relatedtothiscommand.
HistoryCommand
Itdescribeshistoryversioninformationrelatedtothiscom­mandifacommandischangedafterversionupgrade.
Donotdescribethehistorycommandifthisentrydoesnotexist.

AuxiliaryFunction

TheauxiliaryfunctionforZXR10devicesisasfollows.
1.Inanycommandmode,enteraquestionmark(?)afterthe DOSpromptofthesystem,alistofavailablecommandsinthe commandmodewillbedisplayed.Withthecontext-sensitive helpfunction,thekeywordsandparameterlistsofanycom­mandscanbeobtained.
i.Inanycommandmode,enteraquestionmark"?"afterthe
DOSpromptofthesystem,andalistofallcommandsin themodeandthebriefdescriptionofthecommandswill bedisplayed.
ii.Inputthequestionmarkbehindacharacterorcharacter
stringtoviewthelistofcommandsorkeywordsbeginning withthischaracterorcharacterstring.Notethatthereis nospacebetweenthecharacter(string)andthequestion mark.
iii.PressTABbehindthecharacterstring.Ifthecommandor
keywordbeginningwiththischaracterstringisunique,it shallbecompletedwithaspaceattheend.Notethatthere isnospacebetweenthecharacterstringandtheTAB.
2CondentialandProprietaryInformationofZTECORPORATION
Page 13
Chapter1CommandIntroduction
iv.Inputaquestionmarkafteracommand,akeywordora
parameter ,thenextkeywordorparametertobeinputwill belisted,andalsoabriefexplanationwillbegiven.Note thataspacemustbeenteredbeforethequestionmark.
2.Ifincorrectcommand,keywordorparameterisinput,theerror isolationisofferedwith^intheuserinterfaceafteryoupress ENTER.The^isbelowtherstcharacteroftheinputincorrect command,keywordorparameter .
3.ZXR10router/Ethernetswitchallowsthecommandorkey­wordtobeabbreviatedintoacharacterorcharacterstringthat uniquelyidentiesthiscommandorkeyword.Forexample,the showcommandcanbeabbreviatedtoshorsho.
4.Theuserinterfacesupportsthefunctionofrecordinginput commands.Amaximumoftenhistorycommandscanbe recorded.Thefunctionisveryusefulinre-invocationofalong orcomplicatedcommandoringress.
Tore-invokeacommandfromtherecordbuffer ,conductone ofthefollowingoperations,asshownbelow.
CommandFunction
PressCTRL-Porthe uparrowkey
PressCTRL-Northe downarrowkey
Re-invokesthelatestcommandinthe recordbuffer .Repeatthesekeysto invokeoldcommandsforwards.
Rollsthecommandsdownward.Whenthe lastcommandlineisreached,onemore operationwillrollthecommandsfromthe beggingofthebuffercyclically.
Inanymode,executetheshowhistorycommandtolistthe latestcommandsinputinthismode.

CommandMode

Thecommandmodesinthismanualareshownbelow.
Mode
Exec mode
Prompt
ZXR10>
Admis­sion Mode
Entry Command
entersdirectly afterlogging thesystem
Functions
Viewssimple information
Privi­leged mode
Global cong­uration mode
ZXR10#
ZXR10(config)#
CondentialandProprietaryInformationofZTECORPORATION3
Exec mode
Privi­leged mode
enable
configure terminal
Congures system parameters
Congures globalservice parameters
Page 14
ZXR10CommandManual(BasicCongurationV olumeI)
Mode
Inter­face cong­uration mode
Subin­terface mode
VLAN data­base cong­uration mode
VLAN cong­uration mode
Prompt
ZXR10(config­if)#
ZXR10(config­subif)#
ZXR10(vlan­db)#
ZXR10(config­vlan)#
Admis­sion
Entry
Functions
Command
Mode
Global cong­uration mode
interfaceCongures
port parameters andselects aporttype dependingon thekeyword
Global cong­uration mode
interfaceCongures
subinterface parameters ofthe NPCI/NPCT
Privi­leged
vlandatab ase
mode
Global
vlan
cong­uration
Createsor deletesVLANs inbatches
Congures VLAN parameters
mode
MSTP cong­uration mode
Basic ACL cong­uration
ZXR10(config­mstp)#
ZXR10(config­basic-acl)#
Global cong­uration
spanning-t reemstconf iguration
Congures MSTP parameters
mode
Global cong-
aclbasic
Denesbasic
ACLrule uration mode
mode
Ex­tended ACL cong-
ZXR10(config­ext-acl)#
Global cong­uration
aclextend
Denes
extendedACL
rule mode
uration mode
Line cong­uration mode
ZXR10(config­line)#
Global cong­uration mode
lineconsole 0
line<1~64
>(GAR)
Congures
parameters
relatedto
serialport
andtelnet
connection
Layer 2ACL cong­uration
ZXR10(config­link-acl)#
Global cong-
acllink
Deneslayer
2ACLrule uration mode
mode
4CondentialandProprietaryInformationofZTECORPORATION
Page 15
Chapter1CommandIntroduction
Mode
Prompt
Admis­sion
Entry
Functions
Command
Mode
Hybrid ACL cong­uration
ZXR10(config­hybd-acl)#
Global cong-
aclhybrid
Deneshybrid
ACLrule uration mode
mode
Router stand­ardACL mode
Router ex­tended ACL
ZXR10(config­std-nacl)#
ZXR10(config­ext-nacl)#
Global cong­uration
ipaccess-list
Denesrouter
standardACL
rule mode
Global cong­uration
ipaccess-list
Denesrouter
extendedACL
rule mode
mode
Route cong­uration mode
ZXR10(config­router)#
Global cong­uration
routerrip
Congures
RIP
parameters mode
routerospfCongures
OSPF
parameters
routerisis
Congures
IS-IS
parameters
routerbgp
Congures
BGP
parameters
router pimsm
Congures
PIM-SM
parameters
ipv6router rip
Congures
RIPng
parameters.
ipv6router ospf
Congures
OSPFv3
parameters
VRF cong­uration mode
VFIcon­gu­ration mode
ZXR10(config­vrf)#
ZXR10(config­vfi)#
Global cong­uration
ipvrfCongures
VRF
parameters mode
Global cong­uration
vfiCongures
VPLSrelated
parameters mode
CondentialandProprietaryInformationofZTECORPORATION5
Page 16
ZXR10CommandManual(BasicCongurationV olumeI)
Mode
IPv4ad­dress family cong­uration mode
IPv6 unicast address family cong­uration mode
Route map cong­uration mode
Prompt
ZXR10(config­router-af)#
ZXR10(config­router-af)#
ZXR10(config­route-map)#
Admis­sion Mode
Route cong­uration mode (RIP)
Route cong­uration mode (BGP)
Route cong­uration mode (BGP4+)
Route cong­uration mode (IS­ISv6)
Global cong­uration mode
Entry Command
address-fam ilyipv4vrf
address-fam ilyvpnv4
address-fam ilyipv4vrf
address-fam ilyipv6
address-fam ilyipv6
route-map
Functions
Congures RIPVRF parameters
Congures BGPVPN andVRF parameters
Congures BGP4+ unicast addressfamily
Congures IS-ISv6 addressfamily
Congures routemap matchingitem andoperation
Channe­lization cong­uration
ZXR10(config­control)#
Global cong­uration mode
control
Congures channelization force1,ce3 andcpos3
mode
Dial peer cong­uration mode
Voice port cong­uration
ZXR10(config­voip100)#
ZXR10(config­voice-port)#
Global cong­uration mode
dial-peer voice
Congures business relatedto integrated service
Global cong-
voice-port
Congures
voiceservice uration mode
mode
IPSec cong­uration mode
Diagno­sismode
ZXR10(config­ipsec)#
ZXR10(diag)#
Global cong­uration
ipsec
Congures
IPv6IPSec
protection mode
Privi-
diagnose
leged mode
TestsCPU
andmemory
usage
6CondentialandProprietaryInformationofZTECORPORATION
Page 17
Chapter2

BasicSystem Management

TableofContents
auto-downloadcong..........................................................8
bannerincoming................................................................8
bootcong-le...................................................................9
clockset...........................................................................9
clocktimezone..................................................................10
congureterminal.............................................................10
disable.............................................................................11
enable.............................................................................11
enablesecret....................................................................12
end.................................................................................13
exit.................................................................................13
ah-protectpower-off........................................................14
hostname.........................................................................14
helpmessage....................................................................15
more...............................................................................15
multi-usercongure..........................................................16
nvramboot-password........................................................17
nvramboot-server.............................................................17
nvramboot-username........................................................18
nvramdefault-gateway......................................................18
nvramimgle-location........................................................19
nvrammng-ip-address.......................................................20
privilege...........................................................................20
reload..............................................................................21
servicepassword-encryption...............................................21
showauto-download-cong................................................22
showclock........................................................................22
showdiagnosticinformation................................................22
showprivilege...................................................................27
showrunning-cong..........................................................27
showstartrunning-cong...................................................28
showsystem-group...........................................................29
showusername.................................................................29
showusers.......................................................................29
showuser-group...............................................................30
showversion....................................................................30
showversionhardware.......................................................30
showversionmec..............................................................31
showversionmidplane.......................................................32
showversionnpc...............................................................32
showversionsoftware........................................................32
showversionsfc................................................................33
showversionupc...............................................................33
CondentialandProprietaryInformationofZTECORPORATION7
Page 18
ZXR10CommandManual(BasicCongurationV olumeI)
username.........................................................................34
user-group.......................................................................34
who.................................................................................35

auto-downloadconfig

PurposeUsethiscommandtoenabledownloadingthecongurationle
automatically.
CommandModesGlobalConguration
Syntaxauto-downloadconfig
noauto-downloadconfig
InstructionsThiscommandistoenabledownloadingcongurationleauto-
matically.Ifthecongurationles(startrunandcong)already exist,deletethemandreboottheracktodownloadthemauto­matically.Whenthisfunctionisdisabled,ifthedownloadingisin theprocess,thenitinformstheTFTPmoduleaboutshuttingthe downloading.
DefaultsItisenabledbydefaultandthecongurationiswrittinginto
NVRAM.Itsupports52a.
ExampleThisexampledescribeshowtoenabledownloadingthecongura-
tionleautomatically.
ZXR10(config)#auto-downloadconfig
Related
Commands
bootconfig-file
showauto-download-config

bannerincoming

FunctionUsethiscommandtosetthegreetingforthesystemstartup.
CommandmodeGlobalconguration
Formatbannerincoming<end-char><TEXT><end-char>
Syntax
Description
DefaultDefaultwelcomeprompt.
Instructions1.Settheuser-dened<end-char>,withonlyonecharacter:
8CondentialandProprietaryInformationofZTECORPORATION
<end-char>Endcharacter ,withonecharacter
<TEXT>
bannerincoming#.AfteryoupressENTER,thesystem promptsthefollowinginformation:
EnterTEXTmessage.Endwiththecharacter’#’.
Greeting:textincludingspacesandENTER.It doesnotexceed253charactersatmostand endwith<end-char>
Page 19
Chapter2BasicSystemManagement
2.Entertheformalgreetingtext,whichmayincludespecialchar­acters(except?)suchasspaceandENTER.Itendswith’#’ .
Note:
Thespecialcharacter?isregardedasthehelppromptbyde­fault.Asaresult,allthecommandparameters(text-type)or thepasswordcannotinclude?.
ExampleThisexampledescribeshowtosetthegreetingtowelcome.
ZXR10(config)#bannerincoming# EnterTEXTmessage.Endwiththecharacter’#’. welcome #

bootconfig-file

PurposeUsethiscommandtosetthepathforcongle.
CommandModesGlobalConguration
Syntaxbootconfig-file<filename>
Syntax
Description
InstructionsThiscommandistospecifythepathforcongle.Thecongura-
DefaultsItisenabledbydefaultandthecongurationiswrittinginto
ExampleThisexampledescribeshowtosetthepathforcongurationle
Related
Commands
<filename>Setsthepathforcongle.
tioniswrittingintoNVRAM.Itonlysupports52acurrently .
NVRAM.Itsupports52a.
tocfg/cong.dat
ZXR10(config)#bootconfig-filecfg/config.dat ZXR10(config)#
auto-downloadconfig
showauto-download-config

clockset

PurposeUsethiscommandtocongurethesystemclockinstandardtime
format.
CommandModesPrivilegedEXEC
Syntaxclockset<current-time><month><day><year>
CondentialandProprietaryInformationofZTECORPORATION9
Page 20
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
<current-time>
<month>Month,jan~dec
Thecurrenttimeintheformat:hh:mm:ss.
<day>
<year>
ExampleThisexampledescribeshowtosetthesystemtimeto12minutes
1secondpast23o’clockonFeb.23,2001withthefollowingcom­mand.
ZXR10#clockset23:12:01feb232001
Related
Commands
showclock

clocktimezone

PurposeUsethiscommandtoconguretimezoneinformation.
CommandModesPrivilegedEXEC
Syntaxclocktimezone<name-of-time-zone><hours-offset>[<minutes
-offset>]
Syntax
Description
<name-of-time-zo ne>
Date,1~31
Year ,2001~2098
Nameoftimezone
<hours-offset>HoursoffsetfromUTC
<minutes-offset>MinutesoffsetfromUTC
InstructionsTheparameter<minutes-offset>isaddedinversions4.8.21and
above.
ExampleThisexampledescribeshowtoconguretimezoneasBeijingand
the<hours-offset>as8.
ZXR10#clocktimezoneBeijing80
Related
Commands
showclock

configureterminal

PurposeUsethiscommandtochangefromtheprivilegedEXECtotheglobal
congurationmode.
CommandModesPrivilegedEXEC
Syntaxconfigureterminal
ExampleThisexampledescribeshowtochangefromtheprivilegedEXEC
totheglobalcongurationmode.
10CondentialandProprietaryInformationofZTECORPORATION
Page 21
ZXR10#configureterminal Enterconfigurationcommands,oneperline.EndwithCNTL/Z. ZXR10(config)#
Related
Commands
end
exit

disable

FunctionUsethiscommandtoreturnfromtheprivilegedmodetoexec
mode.Lowerthecurrentauthoritylevel.
CommandModeEXEC,PrivilegedEXEC
Syntaxdisable
disable[<level>]
Syntax
Description
<level>
Chapter2BasicSystemManagement
Authoritylevel,0~15,thedefaultvalueis1.
Instructiondisable[<level>]isonlyapplicabletoZXR10T64E/T128
T600/T1200.
ExampleThisexampledescribeshowtoreturnfromtheprivilegedmodeto
EXECmodeandlowertheauthoritylevelto1.
ZXR10#disable1 ZXR10> ZXR10>showprivilege Currentprivilegelevelis1 ZXR10>
Related
Commands

enable

showprivilege
enable
FunctionUsethiscommandtoenterfromtheEXECtoprivilegeEXECmode.
Heightenthecurrentauthoritylevel.
CommandModeEXEC,PrivilegeEXEC
Formatenable
enable[<level>]
Parameter
Description
Parameter
Description
<level>
InstructionsPasswordisrequiredwhenenteringintoeachauthoritylevel.
Authoritylevel,thedefaultvalueis15.
Ifthepasswordshavenotbeencongured,thenenteringinto theauthoritylevelisnotpermitted.
CondentialandProprietaryInformationofZTECORPORATION11
Page 22
ZXR10CommandManual(BasicCongurationV olumeI)
Thecommandenable<level>isonlyapplicabletoZXR10
T64E/T128,T600/T1200.
Note:
Thispasswordisnotdisplayedonthescreenwhileitisentered, andiscasesensitive.
ExampleThisexampledescribeshowtoheightenauthoritylevelto2;enter
fromtheEXECtoprivilegeEXECmode.
ZXR10>enable2 Password: ZXR10# ZXR10#showprivilege Currentprivilegelevelis2 ZXR10#
Related
Commands
disable
showprivilege

enablesecret

FunctionUsethiscommandtosetthepasswordforeachmode.Usetheno
commandtocancelthisset.
CommandModeGlobalconguration
Syntaxenablesecret{0<password>|5<password>|<password>}
enablesecret[level<level-number>]{0<password>|5<pass
word>|<password>}
noenablesecretlevel<1~14>
Syntax
Description
InstructionsTheenablepassworddisplayedinshowrunning-congisthe
level<level-number
>
0<password>Setstheprivilegedpasswordwith3–16
5<password>Setsencryptedprivilegedpasswordwith3–24
<password>Setsprivilegedpasswordwith3–16characters
Designatesauthoritylevel,thedefaultvalue is15
characterstoentertheprivilegedmode
characters
bydefault
encryptedprivilegedpassword,whilethepasswordthatisused forenabletoentertheprivilegedmodeisunencryptedprivi­legedpassword.
Thecommandenablesecret[level<1~15>]{0<passwor
d>|5<password>|<password>}isonlyapplicabletoZXR10
T64E/T128.
12CondentialandProprietaryInformationofZTECORPORATION
Page 23
Bothcommandsenablesecret0<password>andenablesecret <password>areusedtoenteranunencryptedpassword.Setthe passwordwiththeenablesecret5<password>command.The conguredpasswordisnotanencryptedprivilegedpasswordun­lessthelengthof<password>is24.
ExampleThisexampledescribeshowtosettheprivilegepasswordto
ZXR10.
ZXR10(config)#enablesecretZXR10
RelatedCommandenable
end
Chapter2BasicSystemManagement
Note:
PurposeUsethiscommandtoreturntotheprivilegedEXECmode.
CommandModesThecommandisavailableforallmodesotherthantheEXECand
privilegedEXECmode.
Syntaxend
ExampleThisexampledescribeshowtoreturnfromtheglobalconguration
modetotheprivilegedEXECmode.
ZXR10(config)#end ZXR10#
Related
Commands
configureterminal
interface
routerbgp
routerospf
routerrip

exit

PurposeUsethiscommandtoquittheloginrouterorreturntothelast
mode.
CommandModesAllmodes
Syntaxexit
InstructionsWhenitisexecutedundertheEXECmodeorprivilegedEXEC
mode,itmeansexitingtheloginrouter .Whileinothermodes, itmeansreturningtothelastmode.
ExampleThisexampledescribeshowtoexitfromtheglobalconguration
modetotheprivilegedEXECmode.
ZXR10(config)#exit ZXR10#
CondentialandProprietaryInformationofZTECORPORATION13
Page 24
ZXR10CommandManual(BasicCongurationV olumeI)
Related
Commands
configureterminal
login
logout

flah-protectpower-off

PurposeUsethiscommandtoconrmthepower-off.
CommandModesPrivilegedEXEC
Syntaxflash-protectpower-off[force]
Syntax
Description
InstructionsTheplatformversion4.8.22supportsthiscommand.Thecom-
ExampleThisexampledescribeshowtosetforcepower-offmanually .
forceForcesthepower-offmanually .
mandwiththeparameterforcemeansforcingpower-offmanu- allyandbeingrelatedtoash-protect.Ifthecommandiswiththe parameterforce,regardlessofwhethertheFlashisinusageor not,unloadtheFlashdeviceandpower-offmanually.Or ,ifthe Flashisinusage,itcannotpower-offmanually.
ZXR10#flash-protectpower-offforce Areyousuretopoweroffthemachine? Ifyouexecutethecommandsuccessfully, anyotheroperationisinvalidexceptpower-off. [yes/no]:y ..OK!Youcanpoweroffthemachinelater. ZXR10#
Thisexampledescribeshowtosetpower-offmanually .
ZXR10#flash-protectpower-off Areyousuretopoweroffthemachine? Ifyouexecutethecommandsuccessfully, anyotheroperationisinvalidexceptpower-off. [yes/no]:y ..OK!Youcanpoweroffthemachinelater. ZXR10#

hostname

PurposeUsethiscommandtosetthenetworknameofthesystem.cancel
thenetworknamewiththenocommand.
CommandModesGlobalconguration
Syntaxhostname<network-name>
nohostname
Syntax
Description
DefaultsBydefault,thedefaultsystemnetworknameisZXR10.
14CondentialandProprietaryInformationofZTECORPORATION
<network-name>Networkname,with1~32characters
Page 25
Chapter2BasicSystemManagement
InstructionsThemodiedhostnametakeseffectimmediately .
ExampleThisexampledescribeshowtosetthenetworknameoftherouter
toZXR10_router .
ZXR10(config)#hostnameZXR10_router ZXR10_router(config)#

helpmessage

FunctionUsethiscommandtosetwhethertodisplayallcommandcom-
ments.
CommandModeGlobalcongurationmode
Formathelpmessage[full|partial]
Syntax
Description
FullDisplayallcomments
Partial
InstructionBydefault,thecommentsaredisplayedinpartialmode.
ExampleThisexampledescribeshowtosethelpmessagetofull.
ZXR10(config)#helpmessagefull
Omitsomecomments

more

PurposeUsethiscommandtodisplaytheashasciitextsuchaslog,dead
halt.
CommandModesPrivilegedEXEC
Syntaxmore<word>[ascii|binary[width]]
Syntax
Description
<word>
<ascii>
<binary>Thebinarydisplaymode
<width>
Thepathforthisle
Thedisplaymodeofthetext
Thebytewidthoftheunit
InstructionsTheplatformversion4.8.22supportsthiscommand.Thecom-
mandwiththeparameterforcemeansforcingpower-offmanu- allyandbeingrelatedtoash-protect.Ifthecommandiswiththe parameterforce,regardlessofwhethertheFlashisinusageor not,unloadtheFlashdeviceandpower-offmanually.Or ,ifthe Flashisinusage,itcannotpower-offmanually.
ExampleThisexampledescribeshowtosetforcepower-offmanually .
ZXR10#flash-protectpower-offforce Areyousuretopoweroffthemachine?
CondentialandProprietaryInformationofZTECORPORATION15
Page 26
ZXR10CommandManual(BasicCongurationV olumeI)
Ifyouexecutethecommandsuccessfully, anyotheroperationisinvalidexceptpower-off. [yes/no]:y ..OK!Youcanpoweroffthemachinelater. ZXR10#
Thisexampledescribeshowtosetpower-offmanually .
ZXR10#flash-protectpower-off Areyousuretopoweroffthemachine? Ifyouexecutethecommandsuccessfully, anyotheroperationisinvalidexceptpower-off. [yes/no]:y ..OK!Youcanpoweroffthemachinelater. ZXR10#

multi-userconfigure

FunctionUsethiscommandtopermitmultipleuserstoenterthecongura-
tionmode.Congurethesingleusercongurationmodewiththe
nocommand.
CommandModeGlobalconguration
Formatmulti-userconfigure
nomulti-userconfigure
InstructionsBydefault,onlyausercanentertheglobalcongurationmode.
Usethiscommandtopermitotherusersenterintotheglobalcon­gurationmode.Thenocommandisusedtocongurethesingle usertoenterintocongurationmode.Makesurethatotherusers haveexitedcongurationmode,thenusenocommand.
Note:
Whenmultipleusersareconguring,theircongurationsshould notconict.
ExampleThisexampledescribeshowtoenterthecongurationmode
andallowmultipleusercongurationswhenthereisnouserin thecongurationmode.
ZXR10#configureterminal ZXR10(config)#multi-userconfigure %Warning:allowothersconfigure,mustavoidconflict. ZXR10(config)#
Thisexampledescribeshowtoenterthesingleusercongu-
rationmodewhenthereisoneuserinthecongurationmode.
ZXR10#configureterminal %Simultaneousconfigsnotallowed.Lockedfrom168.1.168.168 ZXR10#
Thisexampledescribeshowtodowhenotherusershavenot
exitedthecongurationmode.
ZXR10(config)#nomulti-userconf %Someonehasenteredtheconfiguremode, cannotsetsingle-userconfigure! ZXR10(config)#
RelatedCommandconfigureterminal
16CondentialandProprietaryInformationofZTECORPORATION
Page 27

nvramboot-password

FunctionUsethiscommandtostarttheFTPdownloadsettingforthemap-
pingleandspecifythepasswordoftheFTPserverfordownload.
CommandModeGlobalconguration
Formatnvramboot-password<password>
Syntax
Description
InstructionsValidcharactersareasfollows:0123456789abcdefghi-
ExampleThisexampledescribeshowtoSettheloginpasswordforthemap-
Related
Commands
<password>FTPpassword,with3~16characters
jklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ‘*­=~!@#$%^&()_+[]{}|;’:,./<>\\
Thiscommandworkswithsuchcommandsasnvramboot-se
rver,nvramboot-username,nvramimgfile-locationand nvramdefault-gateway.
pingledownloadFTPtopass.
ZXR10(config)#nvramboot-passwordpass

nvramboot-server

nvramboot-username
nvramdefault-gateway
nvramimgfile-location
Chapter2BasicSystemManagement
nvramboot-server
FunctionUsethiscommandtoenabletheFTPdownloadsettingsformap-
pinglesandspecifytheIPaddressoftheFTPserverfordownload.
CommandModeGlobalconguration
Syntaxnvramboot-server<ip-address>
Syntax
Description
InstructionThiscommandworkswiththesecommands:nvramboot-pass-
ExampleThisexampledescribeshowtosettheIPaddressforthemapping
Related
Commands
<ip-address>IPaddressinthedotteddecimalnotation
word,nvramboot-usernam,nvramimgle-locationandnvramde­fault-gateway.
downloadFTPto168.1.1.1.
ZXR10(config)#nvrambootserver168.1.1.1
nvramboot-password
nvramboot-username
nvramdefault-gateway
nvramimgfile-location
CondentialandProprietaryInformationofZTECORPORATION17
Page 28
ZXR10CommandManual(BasicCongurationV olumeI)

nvramboot-username

FunctionUsethiscommandtoenabletheFTPdownloadsettingformapping
lesandspecifytheusernameoftheFTPserverfordownload.
CommandModeGlobalconguration
Syntaxnvramboot-username<username>
Syntax
Description
InstructionsThevalidcharactersincludetheletters,numeralsandunder-
ExampleThisexampledescribeshowtosettheusernameforthemapping
RelatedCommandnvramboot-password.
<username>
line,caseinsensitivefortheletters.
Thiscommandworkswiththesecommands:nvramboot-pa
ssword,nvramboot-server,nvramimgfile-locationand nvramdefault-gateway.
ledownloadFTPtoZXR10.
ZXR10(config)#nvramboot-usernameZXR10
nvramboot-server

nvramdefault-gateway

nvramimgfile-location
Loginusername,with1~16characters
nvramdefault-gateway
FunctionUsethiscommandtosettheIPaddressofthedefaultgateway .
CommandModeGlobalconguration
Syntaxnvramdefault-gateway<ip-address>
Syntax
Description
InstructionThiscommandworkswiththesecommands:nvramboot-passw
ExampleThisexampledescribeshowtosetthedefaultgatewayas
Related
Commands
<ip-address>
ord,nvramboot-server,nvramimgfile-locationandnvram boot-username.
168.1.1.1.
ZXR10(config)#nvramdefault-gateway168.1.1.1
nvramboot-password
nvramboot-server
nvramboot-username
nvramimgfile-location
IPaddressofthegatewayinthedotted decimalnotation
18CondentialandProprietaryInformationofZTECORPORATION
Page 29

nvramimgfile-location

PurposeUsethiscommandtosetthelocationforbootingthemappingle.
CommandModesGlobalconguration
Syntaxsetethernet-oamlink-monitorframe-secondsthreshold
<xxx>window<yyy>
nvramimgfile-location{local{flash|sd}<filename>}|netw ork<filename>}
Syntax
Description
local
Chapter2BasicSystemManagement
Themappingleislocatedlocally.
flashIftheversionrebootsfromlocal,thestorage
sd
network
<filename>
InstructionsThevalidcharactersforthelenameareasfollows.
devicetypeisash.
Iftheversionrebootsfromlocal,thestorage devicetypeissdcard.
Themappingleislocatedinthenetwork.
Filename,with1~80characters.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI­JKLMNOPQRSTUVWXYZ/.;,-=+$#~@%()!&[]{}
Ifitisspeciedasnetworkboot,thelenamecanincludethe pathofthespeciedFTPdirectory .Forexample,thespecied FTPdirectoryissysmandnowitisinthenetsdirectoryunder sysmoftheFTPserver,andthelenamecanalsoinclude thepathunderthesysm/netsdirectory .Notethatthepath sysm/netscannotbeincludedrepeatedly.
Thiscommandworkswiththesecommands:nvramboot-p
assword,nvramboot-server,nvramboot-usernameand nvramdefault-gateway.
Theplatformversion4.8.22supportsrebootingfromSDcard
whentheversionstartsfromlocal.
ExampleThisexampledescribeshowtoresetthecardinslot3.
ZXR10#reloadslot3 Proceedwithreload?[yes/no]:y ZXR10#
Thisexampledescribeshowtoresettherightsfc.
ZXR10#reloadsfc2 Proceedwithreload?[yes/no]:y ZXR10#
ThisexampledescribeshowtoresettheslaveMP .
ZXR10#reloadmpslave Proceedwithreload?[yes/no]:y ZXR10#
CondentialandProprietaryInformationofZTECORPORATION19
Page 30
ZXR10CommandManual(BasicCongurationV olumeI)

nvrammng-ip-address

FunctionSettheIPaddressoftherouterMNG(managementinterface).
CommandModeGlobalconguration
Syntaxnvrammng-ip-address<ip-address><net-mask>
Syntax
Description
InstructionThisaddresscanbeusedtologintotherouterfromaninternal
<ip-address>
<net-mask>Subnetmaskinthedotteddecimalnotation
networkport.
Note:
Theconguredinterfaceaddressandthisaddresscannotbeinthe samenetworksegment.
IPaddressoftheMNGinthedotteddecimal notation
ExampleThisexampledescribeshowtosettheMNGIPaddressto168.1.1.1
andthesubnetmaskto255.255.0.0.
ZXR10(config)#nvrammng-ip-address168.1.1.1255.255.0.0

privilege

FunctionUsethiscommandtosetcommandauthoritylevel.Usenocom-
mandtorecoverdefaultauthoritylevel.
CommandModeGlobalconguration
Syntaxprivilege<logic-mode>[all]level<0~15><command-keywor
ds>noprivilege<logic-mode>[all]reset<command-keywor ds>
Syntax
Description
<logic-mode>Logicmodetype
allSupportsallthecommandsthatthiscommand
level<0~15>Authoritylevel
<command-keywor ds>
keywordappearshead
lCommandkeywords
ExampleThisexampledescribeshowtosetallwriteappearsaheadinpriv-
ilegeexeccommandauthoritylevelto7.
ZXR10(config)#privilegeexecalllevel7write
RelatedCommandshowprivilege
20CondentialandProprietaryInformationofZTECORPORATION
Page 31
Chapter2BasicSystemManagement

reload

PurposeUsethiscommandtorebootthesystemorresettheboardina
specicslot.
CommandModesPrivilegedEXEC
Syntaxreload[slot<slot-number>|sfc<slot-number>|mpslave]
reload[mpslave][force]
Syntax
Description
InstructionsTheplatformversion4.6.02andupgradeversionssupportthis
ExampleThisexampledescribeshowtoresetthecardinslot3.
<slot-number>
sfc<slot-number>Flagofsfc(1:leftsfc;2rightsfc).
mpslaveRestartstheslaveboard.
forceRestartsthedeviceorslaveboardbyforce.
Slotnumber ,intherangeof1~8.
command.
Thecommandwithoutparameterisusedtorebootthewhole
system.
Thecommandwithparameterslotisusedtoresettheboard
inaspecicslot.
Thecommandwithparametersfcisusedtoresetaspecicsfc
board.
ZXR10#reloadslot3 Proceedwithreload?[yes/no]:y ZXR10#
Thisexampledescribeshowtoresettherightsfc.
ZXR10#reloadsfc2 Proceedwithreload?[yes/no]:y ZXR10#
ThisexampledescribeshowtoresettheslaveMP .
ZXR10#reloadmpslave Proceedwithreload?[yes/no]:y ZXR10#

servicepassword-encryption

FunctionUsethiscommandtosetuserpasswordencryptiondisplayfunc-
tion.
CommandModeGlobalcongurationmode
Formatservicepassword-encryption
noservicepassword-encryption
InstructionAlluserpassworddisplayinencryptionafterthiscommandiscon-
gured.
CondentialandProprietaryInformationofZTECORPORATION21
Page 32
ZXR10CommandManual(BasicCongurationV olumeI)
Relatedcommandusername

showauto-download-config

PurposeUsethiscommandtodisplaytherelatedcongurationwhenstart-
ingauto-download-conguration.
CommandModesPrivilegedEXEC
Syntaxshowauto-download-config
InstructionsThiscommandsupports52a.
ExampleThisexampledescribeshowtoresetthecardinslot3.
ZXR10#showauto-download-config Configfile:flash:/config.text autodownloadconfig:yes
Related
Commands
bootconfig-file
auto-downloadconfig

showclock

PurposeUsethiscommandtodisplaythesystemclock.
CommandModesAllmodes
Syntaxshowclock
InstructionsWhenthetimezoneisconguredwiththiscommand,thelocal
timewillbedisplayed.
Related
Commands
clockset

showdiagnosticinformation

PurposeUsethiscommandtodisplayallthesysteminformation,when
thereisfaultinthesystemorinafunctionalmodule.Itisusedto analyzethefaultcause.Thiscommandcontainsshowversion,s
howprocessor,showprivilege,showrunning-config,show logfileandotherinformation.
CommandModesPrivilegedEXEC
Syntaxshowdiagnosticinformation[{[detail[{[module<module-n
ame>[|{begin|exclude|include}]][|{begin|exclude|incl ude}]}]]|[module<module-name>[|{begin|exclude|inclu de}]]|[save]}]
22CondentialandProprietaryInformationofZTECORPORATION
Page 33
Chapter2BasicSystemManagement
Syntax
Description
detail
Displaysdetailedinformationofsystem.
module<module-na
Displaysinformationofaspeciedmodule.
me>
begin
Displaysthecongurationinformationstarting withthelineincludingthespeciedcharacter orcharacterstring.
exclude
Displaysthecongurationinformation exclusiveofthelineincludingthespecied characterorcharacterstring.
include
Displaysthecongurationinformation inclusiveofthelineincludingthespecied characterorcharacterstring.
save
Savesthecurrentsysteminformationtoash.
DefaultsBydefault,briefsysteminformationisdisplayedinpagination,but
notsaved.
InstructionsTheplatformversion4.8.21andupgradeversionssupportthis
command.
Displaythesysteminformationincommandmode.
Executethiscommandonlyonsingleterminal,otherwisean
erroroccurs.
Cannotperformthisoperationwhensavingtheconguration
usingWritecommand,otherwiseanerroroccurs.
Theterminallength0commandneedstobeusedinprivi-
legedmodewhencontentsneedstobedisplayedinonepage.
ExampleThisexampledescribeshowtouseshowdiagnosticinformati
on.
ZXR10#showdiagnosticinformation ZXR10T128Software,VersionV2.08.21,RELEASESOFTWARE Copyright(c)2000-2007byZTECorporation CompiledFeb202008,09:38:17 ZXR10RouterOperatingSystemSoftware,ZTECorporation ZXR10ROSVersionV4.08.21 Systemimagefilesfromnet <ftp://192.168.3.111/zxr10.zar> Systemuptimeis0days,0hours,5minutes
[RPU,Panel2,master] Mainprocessor:X86-2with512Mbytesofmemory ROM:SystemBootstrap,Version:Copyright1984-1996Wi, RELEASESOFTWARE
[MPU2,Panel2,master] Mainprocessor:X86-2with512Mbytesofmemory 8Kbytesofnon-volatileconfigurationmemory 64MbytesofprocessorboardSystemflash(Read/Write) ROM:SystemBootstrap,Version:Copyright1984-1996Wi, RELEASESOFTWARE Systemserial:6
[SFC2,Panel1,master] Mainprocessor:Powerpc-2with32Mbytesofmemory ROM:SystemBootstrap,Version:ZXR10BOOTV2.6.02-003, RELEASESOFTWARE
[SFC,Panel2,slave]
CondentialandProprietaryInformationofZTECORPORATION23
Page 34
ZXR10CommandManual(BasicCongurationV olumeI)
Mainprocessor:Powerpc-1with64Mbytesofmemory ROM:SystemBootstrap,Version:,RELEASESOFTWARE
[NPCT,Panel5] Mainprocessor:XSCALEwith512Mbytesofmemoryinslot5 Systemwithmultipleprocessors(2Networkprocessors) Everynetworkprocessorwith512Mbytesofmemory ROM(4M):SystemBootstrap,Version:ZXR10T128BOOT2.6.02, RELEASESOFTWARE FPGAVersion(Switch):V42 CPLDVersion(Np):V65
CPLDVersion(Interface):V18
[NPCT,Panel7] Mainprocessor:XSCALEwith512Mbytesofmemoryinslot7 Systemwithmultipleprocessors(2Networkprocessors) Everynetworkprocessorwith512Mbytesofmemory ROM(4M):SystemBootstrap,Version:ZXR10T128BOOT2.6.02,
RELEASESOFTWARE FPGAVersion(Switch):V42 CPLDVersion(Np):V23 CPLDVersion(Interface):V17 M:Masterprocessor S:Slaveprocessor PhyMem:Physicalmemory(megabyte)
PanelCPU(5s)CPU(1m)CPU(5m)PhyMemBufferMemory
SP(M)15%5%4%321%40.637% RP(M)27%7%7%5110%48.950% MP(M)24%5%17%5110%40.383% SP(S)29%9%7%641%23.153% NP(M)516%20%57%3820%39.983% NP(M)719%22%56%3820%39.981% Currentprivilegelevelis15 Buildingconfiguration... !**********Beforeinterface--showrunonRPstart!********* ! ! urpflogoff ! eoamdisable noeoamauthentication-key ! ! protect protectcpu-protectdisable protectslot1token400 protectslot2token400 protectslot3token400 ! ! interfacenull1
out_index1 ! interfacefei_5/1
physical-layermodenpct
out_index3
negotiationauto
protectinterfacetoken25 ! interfacegei_7/1
physical-layermodenpct
out_index19
negotiationauto
protectinterfacetoken100 ! !**********Afterinterface--showrunonRPstart!********** ! ipnatstop ipnattranslationtimeoutclassa20 ipnattranslationtimeoutclassb60 ipnattranslationtimeoutclassc150
24CondentialandProprietaryInformationofZTECORPORATION
Page 35
Chapter2BasicSystemManagement
ipnattranslationtimeoutclassd300 ipnattranslationtimeoutclasse1200 ipnattranslationtimeoutprotocolicmpa ipnattranslationtimeoutprotocolipd ipnattranslationtimeoutprotocoltcpd ipnattranslationtimeoutprotocoltcpport80a ipnattranslationtimeoutprotocoludpc ipnattranslationtimeoutprotocoludpport4000d ipnattranslationmaximaldefault65535 ! ! time-rangedisable ! bfd-version1 ! ! versionV4.08.21 ! nvrammng-ip-address192.168.3.12255.255.0.0 ! nvramboot-usernamewby !
nvramboot-password123456 ! nvramboot-server192.168.3.111 ! nvramdefault-gateway192.168.3.111 ! nvramimgfile-locationnetworkzxr10.zar ! hostnameZXR10 ! enablesecretlevel155RcMLuUKvnFZX9kNAV6A/UA== ! ! user-authentication-typelocal user-authorization-typelocal ! lineconsole0
nologinauthentication ! bannerincoming@
************************************************** WelcometoZXR10Carrier-ClassHigh-endRouterof **************************************************
*****************
ZTECorporation *****************@ ! ! lfapdisable lfapmax-send-fun-size100 lfapupdate-interval60 lfapserver-retry-interval60 lfapmessage-response-interval60 lfapka-interval60 lfapflow-expired-time600 ! ! ! snmp-serverlocationNo.68ZijinghuaRd.YuhuataiDistrict,
Nanjing,China snmp-servercontact+86-25-52870000
snmp-serverpacketsize1400 snmp-serverengine-id830900020300010289d64401 snmp-serverviewAllViewinternetincluded snmp-serverviewDefaultViewsystemincluded ! ! ! protect tcpsynflood-protectdisable
CondentialandProprietaryInformationofZTECORPORATION25
Page 36
ZXR10CommandManual(BasicCongurationV olumeI)
tcpsynflood-protectdefence0waittime30num1 tcpsynflood-protectmax-connecthigh90low60 tcpsynflood-protectone-minutehigh80low50 ! noftp-serverenablelisten21 ftp-servertop-directory/flash/ ! loggingon loggingbuffer200 loggingmodefullcycle loggingconsolenotifications logginglevelnotifications loggingcmdlog-interval2880 loggingtimestampsdatetimelocaltime syslog-serverfacilitylocal0 ! environ
alarmcpuloadon alarmtemperon alarmfanon alarmpoweron checkcpuloadinterval3 checktemperinterval3 checkfaninterval3 checkpowerinterval3 cpuload-thresholdhigh-grade95middle-grade85low-grade75
temper-thresholdBIClocallowthreshold-20 first-highthreshold55second-high threshold70
temper-thresholdUPCmasterlocallowthreshold-20 first-highthreshold55seco nd-highthreshold70 !
lineconsoleidle-timeout120 lineconsoleabsolute-timeout1440 linetelnetidle-timeout120 linetelnetabsolute-timeout1440 ! sshserverauthenticationispgroup1 sshserverauthenticationmodelocal sshserverauthenticationtypechap nosshserveronly sshserverversion2 ! ! radiusauto-changeoff ! ! tacacsdisable tacacs-servertimeout5 tacacs-serverpacket1024 ! ! ! end
con019:59:2401/29/2001UTCshowrunning-config
con019:59:2401/29/2001UTCshowprivilege
con019:59:2401/29/2001UTCshowprocessor
con019:59:1901/29/2001UTCshowversion
con019:59:1901/29/2001UTCshowdiaginf
con019:58:4301/29/2001UTCdircfg
con019:58:3201/29/2001UTCdirdata
con019:58:3001/29/2001UTCend
con019:58:0601/29/2001UTCshowrun|begintem
con019:57:3901/29/2001UTCshowrun|begintem
con019:57:3301/29/2001UTCshowtemperature
con019:57:2701/29/2001UTCshowtemperature
con019:57:2401/29/2001UTCcont
con019:57:2201/29/2001UTCen
con019:56:1201/29/2001UTC
ZXR10#
26CondentialandProprietaryInformationofZTECORPORATION
Page 37
Chapter2BasicSystemManagement
Related
Commands
PurposeUsethiscommandtodisplaythecurrentterminalauthoritylevel
CommandModesAllmodes
Syntaxshowprivilege[{cur-mode|show-mode}{detail|level<
Syntax
Description
showrun

showprivilege

andcommandauthoritycongurationinformation.
level>|node<command-keywords>}]
cur-modeDisplaysthecurrentcommandmodeauthority
show-modeDisplaysshowcommandmodeauthority
detailDisplaysallcommandsauthoritylevel.
level<level>
<command-keywor ds>
information.
information.
Displaysspeciedauthoritylevelcommand.
Displaysspeciccommandauthoritylevel.
InstructionsThecommandshowprivilegeinEXECmodeiswithoutparame-
ters.
ExampleThisexampledescribeshowtodisplayallcommandsthatauthority
levelis6inprivilegedmode.
ZXR10#showprivilegecur-modelevel6
Related
Commands
privilege

showrunning-config

FunctionUsethiscommandtodisplaythecurrentcongurationinformation
ofthesystemoraspeciedinterface.
CommandModeAllmodesexceptexec
Formatshowrunning-config[interface<interface-name>|voice-p
ort<voice-port>]
showrunning-config[{begin|exclude|include}<line>
Syntax
Description
interface<interface-
name>
Interfacename
voice-port
<voice-port>
Voiceinterfacename,onlysupportingthe GARwiththetoneboard
CondentialandProprietaryInformationofZTECORPORATION27
Page 38
ZXR10CommandManual(BasicCongurationV olumeI)
begin
exclude
include
<line>
InstructionsThiscommanddisplaystheactivesystemconguration.
Displaysthecongurationinformationstarting withthelineincludingthespeciedcharacter orcharacterstring
Displaysthecongurationinformation exclusiveofthelineincludingthespecied characterorcharacterstring
Displaysthecongurationinformation inclusiveofthelineincludingthespecied characterorcharacterstring
Speciesacharacterorcharacterstring
ForZXR10GARwiththetoneboard,thiscommandcanbeused
tospecifythetoneinterface.Theothermodelroutershaveno toneinterfaceparametersincetheydonotsupportVOIP .

showstartrunning-config

FunctionUsethiscommandtodisplaythesavedsystemcongurationin-
formation.
CommandModeAllmodesexceptexec
Syntaxshowstartrunning-config[{begin|exclude|include}<lin
e>]
Syntax
Description
begin
Displaysthecongurationinformationstarting withthelineincludingthespeciedcharacter orcharacterstring
exclude
include
<line>
InstructionsThiscommandshowsthesavedsystemcongurationinforma-
Displaysthecongurationinformation exclusiveofthelineincludingthespecied characterorcharacterstring
Displaysthecongurationinformation inclusiveofthelineincludingthespecied characterorcharacterstring
Speciesacharacterorcharacterstring
tion.
Thiscommandisusedwiththeshowrunning-congcommand
tocheckwhetherallthesavedcontentstakeeffectaftersys­temstartup.
RelatedCommandshowrunning-config
28CondentialandProprietaryInformationofZTECORPORATION
Page 39
FunctionUsethiscommandtodisplaythesysteminformation.
CommandModeAll
Syntaxshowsystem-group
ExampleThisexampledescribeshowtodisplaythesysteminformationof
Chapter2BasicSystemManagement

showsystem-group

GAR.
ZXR10#showsystem-group SystemDescription:ZXR10RouterOperatingSystemSoftwareZTECorporation ZXROSV4.6.01.ZXR10_GARV2.6.01.Compiled: SystemObjectId:.iso.org.dod.internet.private.enterprises.zte.3.100.6 Startedbefore:23374Seconds Contactwith:+86-25-52870000 Systemname:ZXR10 Location:No.68ZijinghuaRd.YuhuataiDistrict,Nanjing,China Thissystemprimarilyoffersasetof78services ZXR10#

showusername

FunctionUsethiscommandtodisplaythelistoftheusernameswhoare
authorizedforlogin,thepasswordsandauthoritylevel.
CommandModeAllmodesexceptexec
Syntaxshowusername
ExampleThisexampledescribeshowtodisplaythelistoftheusernames,
whoareauthorizedforlogin,thepasswordsandauthoritylevel.
ZXR10#showusername UsernamePasswordPrivilege user1abcd6 user2cdef15
RelatedCommandusername

showusers

FunctionUsethiscommandtodisplaytheterminaluserinformation.
CommandModeAll
Syntaxshowusers
ExampleThisexampledescribeshowtodisplaytheterminaluserinforma-
tion.
ZXR10#showusers
LineUserHost(s)IdleLocation
*66vty0whoidle00:00:00170.1.1.16
ZXR10#
Thedescriptionsoftheresulteldsaredisplayedbelow.
CondentialandProprietaryInformationofZTECORPORATION29
Page 40
ZXR10CommandManual(BasicCongurationV olumeI)
Line
UserLoginusername
Host
IdleIdletime
Location

showuser-group

FunctionUsethiscommandtodisplaythecongureduseraccountinforma-
tion.
CommandModeAllmodesexceptexec
Syntaxshowuser-group[default|special<usergroup-name>]
Syntax
Description
defaultSpeciestocongurethepublicaccount
special
Numberofthevirtualterminalwiththeuser loginLoginusernameress
IPaddressoftheloginserverwhenthisrouter logsintoanothertelnetserverasaclient
Clientaddress
group
Speciestoconguretheprivateaccount group
<usergroup-name>
InsturctionItisonlyapplicabletoZXR10GAR,ZXR10ZSR.
Related
Commands
showusername
user-group
username
Nameoftheprivateaccountgroup,with 1~16characters

showversion

FunctionUsethiscommandtodisplaythesoftwareandhardwareversions
ofthesystem.
CommandModeAll
Syntaxshowversion

showversionhardware

FunctionUsethiscommandtodisplaythesoftwareversionofthesystem.
CommandModeAllmodesexceptexec
30CondentialandProprietaryInformationofZTECORPORATION
Page 41
Chapter2BasicSystemManagement
Syntaxshowversionhardware
ExampleThisexampleshowshowtodisplaythehardwareversionofthe
system.
ZXR10#showversionhardware
[RPU,Panel2,master] Mainprocessor:X86-2with512Mbytesofmemory ROM:SystemBootstrap,Version:Copyright1984-1996Wi,RELEASESOFTWARE [MPU2,Panel2,master] Mainprocessor:X86-2with512Mbytesofmemory 8Kbytesofnon-volatileconfigurationmemory 64MbytesofprocessorboardSystemflash(Read/Write) ROM:SystemBootstrap,Version:Copyright1984-1996Wi,RELEASESOFTWARE Systemserial:30000 [SFC2,Panel2,master] Mainprocessor:Powerpc-2with32Mbytesofmemory ROM:SystemBootstrap,Version:ZXR10BOOTV2.6.02-003,RELEASESOFTWARE [NPCT,Panel2] Mainprocessor:XSCALEwith512Mbytesofmemoryinslot2 Systemwithmultipleprocessors(2Networkprocessors) Everynetworkprocessorwith512Mbytesofmemory ROM(4M):SystemBootstrap,Version:ZXR10BOOT2.6.03-001,RELEASESOFTWARE FPGAVersion(Switch):V43 CPLDVersion(Np):V65 CPLDVersion(Interface):V18 [NPCT,Panel6] Mainprocessor:XSCALEwith512Mbytesofmemoryinslot6 Systemwithmultipleprocessors(2Networkprocessors) Everynetworkprocessorwith512Mbytesofmemory ROM(4M):SystemBootstrap,Version:ZXR10T128BOOT2.6.02,RELEASESOFTWARE FPGAVersion(Switch):V43 CPLDVersion(Np):V65 CPLDVersion(Interface):V16

showversionmec

PurposeUsethiscommandtodisplayhardwareversioninformationofMEC
board.ZXR106900seriesracksupportsthiscommand.
CommandModesPrivilegedEXEC
Syntaxshowversionmec<1~2>
Syntax
Description
ExampleThisexampledescribeshowtoshowmecversioninformation.
Related
Commands
1~2
ZXR10#showversionmec2
PanelNo2MEC(Master)versioninformation:
Processorversioninformation:
bootconfig-file
auto-downloadconfig
ThepanelnoofUPCboard
PCBVersion:040100 FPGAVersion:0x41 CPLDVersion:0x00
BootVersion:Copyright1984-1996Wi DRAMmemorysize:512MBytes Flashmemorysize64MBytes NVRAMmemorysize8KBytes
CondentialandProprietaryInformationofZTECORPORATION31
Page 42
ZXR10CommandManual(BasicCongurationV olumeI)

showversionmidplane

FunctionUsethiscommandtodisplaytheslotinformation.
CommandModeAllmodesexceptexec
Syntaxshowversionmidplane
ExampleThisexampleshowshowtodisplaytheslotinformation.
ZXR10#showversionmidplane
Midplaneinformation:
MidplaneWID:01 PCBVersion:050401 UPCSlotquantity:2 SFCSlotquantity:2 NPCSlotquantity:16 LICSlotquantity:16 BICSlotquantity:1

showversionnpc

FunctionUsethiscommandtodisplaythehardwareversionofnpcboard
CommandModeAllmodesexceptexec
Syntaxshowversionnpc<1~16>
Syntax
Description
ExampleThisexampleshowshowtodisplaythehardwareversionofnpc
ThepanelNo.ofnpcboard
board.
ZXR10#showversionnpc2
PanelNo2NPCTmainversioninformation:
PCBVersion:040100 FPGAVersion:0x2b CPLDVersion:0x41
Processor1(MasterNP)versioninformation:
PCBVersion:040100 CPLDVersion:0x13 BootVersion:ZXR10BOOT2.6.03-001 SRAMmemorysize:32MBytes DRAMmemorysize512MBytes
Processor2(SlaveNP)versioninformation:
PCBVersion:040100 CPLDVersion:0x13 BootVersion:ZXR10BOOT2.6.03-001 SRAMmemorysize:32MBytes DRAMmemorysize512MBytes

showversionsoftware

FunctionUsethiscommandtodisplaythesoftwareversionofthesystem.
CommandModeAllmodesexceptexec
Syntaxshowversionsoftware
32CondentialandProprietaryInformationofZTECORPORATION
Page 43
Chapter2BasicSystemManagement
ExampleThisexampleshowshowtodisplaythesoftwareversionofthe
system.
ZXR10#showversionsoftware ZXR10T128Software,VersionV2.08.21.B.04,RELEASESOFTWARE Copyright(c)2000-2007byZTECorporation CompiledApr102008,10:04:31 ZXR10RouterOperatingSystemSoftware,ZTECorporation ZXR10ROSVersionV4.08.21 Systemimagefilesfromnet:ftp://192.168.3.201/zxr10.zar

showversionsfc

FunctionUsethiscommandtodisplaythehardwareversionofsfcboard.
CommandModeUsethiscommandtodisplaythehardwareversionofsfcboard.
Syntaxshowversionupc<1~2>
Syntax
Description
ExampleThisexampleshowshowtodisplaythehardwareversionofsfc
ThepanelNo.ofsfcboard
board.
ZXR10#showversionsfc2
PanelNo2SFCversioninformation:
PCBVersion:040100 FPGAVersion:0x21 CPLDVersion:0x00 BootVersion:ZXR10BOOTV2.6.02-003 DRAMmemorysize:32MBytes

showversionupc

FunctionUsethiscommandtodisplaythehardwareversionofupcboard.
CommandModeAllmodesexceptexec
Syntaxshowversionupc<1~2>
Syntax
Description
ExampleThisexampleshowshowtodisplaythehardwareversionofupc
ThepanelNo.ofupcboard
boar
ZXR10#showversionupc2
PanelNo2UPC(Master)versioninformation:
PCBVersion:040100 FPGAVersion:0x41 CPLDVersion:0x00
Processor1(MPU)versioninformation:
BootVersion:Copyright1984-1996Wi DRAMmemorysize:512MBytes Flashmemorysize64MBytes NVRAMmemorysize8KBytes
Processor2(RPU)versioninformation:
BootVersion:Copyright1984-1996Wi DRAMmemorysize:512MBytes
ESCversioninformation:
PCBVersion:050403 BandType:1
CondentialandProprietaryInformationofZTECORPORATION33
Page 44
ZXR10CommandManual(BasicCongurationV olumeI)

username

FunctionUsethiscommandtoconguretheloginusernameandpassword.
Canceltheusernamewiththenocommand.
CommandModeGlobalcongurationmode
Syntaxusername<username>password<password>
username<username>password{encrypted<encrypted-pa ssword>|<password>}[privilege<0~15>]
Syntax
Description
<username>
Username,with1~16charactersandspace notallowed
<encrypted-passwo rd>
<password>Password,with3~32charactersandspace
privilege<0~15>Authoritylevelthatbindswiththisuser,the
InstructionsThevalidcharactersfortheparameter<username>areasfol-
lows,
0123456789abcdefghijklmorqrstuvwxyz_
Thevalidcharactersfortheparameter<password>
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI­JKLMNOPQRSTUVWXYZ‘*-=~!@#$%^&()_+[]{}|;’:,./<>\\
username<username>password<password>[privilege
<0~15>]isonlyapplicabletoZXR10T64E/T128.
ExampleThisexampledescribeshowtosettheloginpasswordfortheuser
tomtopassandauthoritylevelis6.
ZXR10(config)#usernametompasswordpassprivilege6
RelatedCommandshowusername
Encryptedpassword,with64charactersand spacenotallowed
notallowed
defaultvalueis1

user-group

FunctionUsethiscommandtoconguretheuseraccountinformation.
Deletetheuseraccountwiththenocommand.
CommandModeGlobalconguration
Syntaxuser-group{default|special<usergroup-name>}<username
><password>
nouser-group{default|special<usergroup-name>}[<usern ame>]
34CondentialandProprietaryInformationofZTECORPORATION
Page 45
Chapter2BasicSystemManagement
Syntax
Description
defaultSpeciestocongurethepublicaccount
group
special
<usergroup-name>
<username>
<password>Accountpassword,with3~16characters
InstructionsThepublicaccountgroupcanalsobeconguredwiththeuser
Speciestoconguretheprivateaccount group
Nameoftheprivateaccountgroup,with 1~16characters
Accountname,with1~16characters
namecommandwiththesameeffect.
Here,accountgroupnameandaccountnameisnotcase-sen-
sitive,butpasswordiscase-sensitive.
ThiscommandisonlyapplicabletoZXR10GARZXR10ZSR.
ExampleThisexampledescribeshowtocongureapublicaccount
group,
ZXR10(config)#user-groupdefaultwhowho
Thisexampledescribeshowtoconguretheuseraccountof
theprivateaccountgroupzxr10.
ZXR10(config)#user-groupspecialzxr10whowho
Related
Commands
showuser-group
username
FunctionUsethiscommandtodisplaythelistofthecurrentloginusers.
CommandModePrivileged
ExampleThisexampledescribeshowtodisplaythelistofthecurrentlogin
who
Syntaxwho
users.
ZXR10#who LineUserHost(s)IdleLocation *66vty0whoidle00:00:00168.1.200.57 67vty1abcidle00:00:00168.1.200.58
Thedescriptionsoftheresulteldsaredisplayedbelow.
FieldDescription
Line
UserLoginusername
Numberofthevirtualterminalwiththeuser login
CondentialandProprietaryInformationofZTECORPORATION35
Page 46
ZXR10CommandManual(BasicCongurationV olumeI)
FieldDescription
Host
IdleIdletime
Location
IPaddressoftheloginserverwhenthisrouter logsintoanothertelnetserverasaclient
Clientaddress
36CondentialandProprietaryInformationofZTECORPORATION
Page 47
Chapter3

FileSystemManagement

TableofContents
cd...................................................................................37
checkdev-using................................................................38
copy................................................................................39
delete..............................................................................39
dir...................................................................................40
format.............................................................................41
mkdir...............................................................................41
pwd.................................................................................42
rename............................................................................42
rmdir...............................................................................43
showash-check...............................................................43
unmount..........................................................................44
update-imgle..................................................................44
write................................................................................45
writeash........................................................................45
writeimgle.....................................................................46
writenvram......................................................................47
cd
FunctionUsethiscommandtoenteraspecicledeviceortheledirectory
ofthecurrentledevice.
CommandModePrivilegedconguration
Syntaxcd<directory>
Syntax
Description
InstructionsTypesofthedevicenamexedinthesystemincludeash,
<directory>
usb1,usb2,sdandsoon.Notethattheledevicenamemust beenteredcompletelywhenenterintoaspeciedledevice.
Toentertheupper-leveldirectory,the“. ”and“..”directory
declaratorsaresupported.
ThelesystemsofZXR10seriesdataproductsvarywiththe
model.ZXR10GERlenameshouldbenotmorethan32char­acters.Forthelesystemonlysupportingotherdataproducts in8.3format,itslenameshouldbenotmorethaneightchar­acters.
Twotypesareavailable:ledirectoryname orledevicename,with1~80characters
CondentialandProprietaryInformationofZTECORPORATION37
Page 48
ZXR10CommandManual(BasicCongurationV olumeI)
ExampleThisexampledescribeshowtoentertheashledeviceofthe
system.
ZXR10#cdflash:
Thisexampledescribeshowtoenterthebindirectoryofthe
currentledevice.
ZXR10#cd/bin
Thisexampledescribeshowtoentertheupper-leveldirectory .
Notethatthespacebetween“cd”and“.. ”cannotbeomitted.
ZXR10#cd.
Related
Commands
dir
mkdir
pwd
rmdir

checkdev-using

FunctionUsethiscommandtocheckthestatusofthespeciedstorage
device.
CommandModePrivilegedconguration
Syntaxcheckdev-using{flash|usb1|usb2|cf|sd}
Syntax
Description
ash
UsbPeripheralstoragedevice:usb1
UsbPeripheralstoragedevice:usb2
cf
sdPeripheralstoragedevice:SecureDisk
InstructionOnlysupportUSB,CFandSDinracksofspecifcproducts
ExampleThisexampledescribeshowtochecktheusestutsofinbuiltFLASH
InbuiltFlashstoragedevice
Peripheralstoragedevice:compactdevice
incurrentrack
ZXR10#checkdev-usingflash
Related
Commands
copy
format
38CondentialandProprietaryInformationofZTECORPORATION
Page 49

copy

FunctionUsethiscommandtocopylesfromaspecieddirectoryofthe
sourcelesystemtoaspecieddirectoryofthedestinationle system.
CommnandModePrivilegedconguration
Syntaxcopy<source-device><source-file><destination-device><desti
nation-file>
Syntax
Description
<source-device>Sourcedevicename
Chapter3FileSystemManagement
<source-file>Sourcedirectoryandlename,with1~80
<destination-device>Destinationdevicename
<destination-file>Destinationdirectoryandlename,with
InstructionsThedevicenameisofthexedtypeinthesystem:ash:,tftp:
andftp.Addmngcommandwhencopyingthroughnetwork managementinterface.
Sincehigh-endrouterssuchast12869supportperipheralstor-
agedevice,ashandotherperipheralstoragecardssuchassd, cfcanbeusedaslocalstoragedevice.
Sincehigh-endrouterssuchast12869supportperipheralstor-
agedevice,ashandotherperipheralstoragecardssuchassd, cfcanbeusedaslocalstoragedevice.
Thetotallengthofthedirectorynameandlenamecannot
exceed80characters.ZXR10GERlenameshouldbenot morethan32characters.Forthelesystemonlysupporting otherdataproductsin8.3format,itslenameshouldbenot morethaneightcharacters.
ExampleThisexampledescribeshowtocopythesys.datleundertheimg
directoryoftheashdeviceintotherootdirectoryoftheFTPserver withIPaddress168.1.1.1,usernametestandpasswordpass.
ZXR10#copyflash:img/sys.datftp://168.1.1.1/sys.dat@test:pass
RelatedCommanddelete
characters
1~80characters

delete

FunctionUsethiscommandtodeletethelesinaspecieddirectoryofthe
currentledevice.
CommandModePrivilegedconguration
Syntaxdelete<filename>
CondentialandProprietaryInformationofZTECORPORATION39
Page 50
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
InstructionThetotallengthofthedirectorynameandlenamecannot
<filename>Directorynameandlename,with1~80
exceed80characters.TheZXR10GERlenameshouldbenot morethan32characters.Forthelesystemonlysupporting otherdataproductsin8.3format,itslenameshouldbenot morethaneightcharacters.
The“. ”and“.. ”directorydeclaratorsaresupported.
ExampleThisexampledescribeshowtodeletethesys.datleinthecurrent
directory.
ZXR10#deletesys.dat
Related
Commands
copy
rename
characters
dir
FunctionUsethiscommandtodisplaythelesintherootdirectoryofa
speciedledevice.Displaythelesinaspecieddirectoryor thecurrentdirectoryofthecurrentledevice.
CommandModePrivilegedconguration
Syntaxdir[<directory>]
Syntax
Description
InstructionsIfthedevicenameisinput,itshouldbeofthexedtypeinthe
ExampleThisexampledescribeshowtoshowtheimgdirectoryexistsin
<directory>Directorynameordevicename,with1~80
characters
system:cf,ash,usb1,usb2,sd.
Thetotallengthofthedirectorynameandlenamecannotex­ceed80characters.TheZXR10GERlenameshouldbenotmore than32characters.Forthelesystemonlysupportingotherdata productsin8.3format,itslenameshouldbenotmorethaneight characters.
ash,
\ZXR10#cdflash: ZXR10#cdimg ZXR10#dir Directoryofflash:/img/
attributesizedatetimename 1-rwx9135845AUG-01-200214:26:02gar.zar 32007616bytestotal(40509440bytesfree)
Thedisplayedelddescriptionsareshownbelow.
FieldDescription
AttributeFileattributes:d:directory ,r:readable,w:
40CondentialandProprietaryInformationofZTECORPORATION
writeable,x:executable
Page 51
FieldDescription
Chapter3FileSystemManagement
Size
Date
Time
Name
Related
Commands
cd

mkdir

pwd
rmdir

format

FunctionUsethiscommandtoformatthestoragedevice.
CommandModePrivilegedconguration
Syntaxformat{flash|usb1|usb2|cf|sd}
Syntax
Description
flash
Filesize
Filecreateddate
Filecreatedtime
Filename
InbuiltFlashstoragedevice
usb1Peripheralstoragedevice:usb1
usb2Peripheralstoragedevice:usb2
cf
sdPeripheralstoragedevice:SecureDisk
InstructionOnlysupportUSB,CFandSDinracksofspecifcproducts
ExampleThisexampledescribeshowtoformatinbuiltFLASHincurrent
Peripheralstoragedevice:compactdevice
rack.
ZXR10#formatflash
Related
Commands
checkdev-using
mkdir
FunctionUsethiscommandtocreateanewsub-ledirectoryunderthe
currentdirectory.
CommandModePrivilegedconguration
Syntaxmkdir<directory>
CondentialandProprietaryInformationofZTECORPORATION41
Page 52
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
InstructionThetotallengthofthedirectorynameandlenamecannotex-
ExampleThisexampledescribeshowtocreateasub-directorynamedtest
Related
Commands
<directory>Createddirectoryname,with1~80characters
ceed80characters.ZXR10GERlenameshouldbenotmore than32characters.Forthelesystemonlysupportingotherdata productsin8.3format,itslenameshouldbenotmorethaneight characters.
underthecurrentdirectory .
ZXR10#mkdirtest
cd
dir
pwd
rmdir
pwd
FunctionUsethiscommandtodisplaythecurrentdirectorypath.
CommandModePrivilegedconguration
Syntaxpwd
ExampleTheseexamplesdescribehowtodisplaythecurrentdirectorypath.
Thecurrentdirectoryistherootdirectoryinthesystem.
ZXR10#pwd root:/
Thecurrentdirectoryistherootdirectoryofashledevice.
ZXR10#pwd flash:/
Thecurrentdirectoryisthecfgdirectoryofashledevice
ZXR10#pwd flash:/cfg
Related
Commands
cd
dirr
mkdir
rmdir

rename

FunctionUsethiscommandtomodifythenameofaspeciedledirectory .
42CondentialandProprietaryInformationofZTECORPORATION
Page 53
CommandModePrivilegedconguration
Syntaxrename<source-filename><destination-filename>
Syntax
Description
<source-filename>Sourcelenameordirectory ,with1~80
Chapter3FileSystemManagement
characters
<destination-filena me>
InstructionsThetotallengthofthedirectorynameandlenamecannot
exceed80characters.ZXR10GERlenameshouldbenot morethan32characters.Forthelesystemonlysupporting otherdataproductsin8.3format,itslenameshouldbenot morethaneightcharacters.
Thesourcelenamecanincludethepath,butthesecondpa-
rameteronlyincludesthemodiednameforthelenamein thedirectoryspeciedintherstparameter.
ExampleThisexampledescribeshowtorenamethesys.daleincong
directoryintoback.dat.
ZXR10#renameconfig/sys.datback.dat
Related
Commands
copy
delete

rmdir

Modiedlename,with1~12characters
rmdir
FunctionUsethiscommandtodeletethespeciedledirectory.
CommandModePrivilegedconguration
Syntaxrmdir<directory>
Syntax
Description
Related
Commands
<directory>Directoryname,with1~80characters
cd
copy
dir
mkdir
pwd

showflash-check

PurposeUsethiscommandtocheckwhetherFlashspaceismatchingor
not.
CondentialandProprietaryInformationofZTECORPORATION43
Page 54
ZXR10CommandManual(BasicCongurationV olumeI)
CommandModesPrivilegedEXEC
Syntaxshowflash-check
InstructionsTheplatformversion4.8.22andtheupgradeversionssupportthis
command.CheckwhetherFlashismatchingornot.Ifthesumof freespaceandusagespaceinFlashisgreaterthanFlashspace, thenitwilldisplaythatFlashmemorycheckresultistoolarge.Or , itwilldisplaythatFlashmemorycheckresultistoosmall.
ExampleThisexampledescribeshowtocheckwhetherFlashspaceisfull
ornot.
ZXR10#showflash-check MasterMPflashisloaded. MasterMPflashcheckedOK. SlaveMPflashisloaded. SlaveMPflashcheckedOK. ZXR10#

unmount

PurposeUsethiscommandtouninstallamemorydevice.
CommandModesPrivilegedEXEC
Syntaxunmountsd[slave]
Syntax
Description
InstructionsTheplatformversion4.8.22andtheupgradeversionssupportthis
sdUninstallssdcard.
slaveOnlyuninstallsmemorydeviceonslave
control.
command.ItisusedonZXR106900andZXR108900.Onlysup­portsSDcardcurrently .Othermemorydevicesneedtobeex­tendedbyaddingcommandparameter .
ExampleThisexampledescribeshowtouninstallsdcard.
ZXR10#unmountsd SDdevicewillberemoved.Continuetounmount?[yes/no]y StartingunmountSDaboutseveralminutes,pleasewait... ...UnmountSDdevicesuccessfully! ZXR10#

update-imgfile

FunctionUsethiscommandtoreplacetheversionlesin/system/withles
in/ash/imgincurrentdirectory .
CommandModePrivilegedconguration
Syntaxupdate-imgfile
ExampleUsethiscommandtoreplacetheversionlesin/system/withles
in/ash/imgincurrentdirectory .
44CondentialandProprietaryInformationofZTECORPORATION
Page 55
ZXR10#update-imgfile Updatingtheimgfileinsystem:... [ok]

write

PurposeUsethiscommandtowritecongurationinformationofthecurrent
routerintotheash,orwritethecurrentrouter-relatedsystem parametersintothenvram.
CommandModesPrivilegedEXEC
Syntaxwrite
write[{master|slave}][sd]
Syntax
Description
master
Chapter3FileSystemManagement
Masterdevice
slaveSlavedevice
sdUninstallssdcard
InstructionsItisequivalenttotheexecutionofbothwriteashandwritenvram
commands.
Theplatformversion4.8.22andtheupgradeversionssupport writingcongurationtoSDcard.
ExampleThisexampledescribeshowtosavethecurrentrouterinfor-
mation.
ZXR10#write Buildingconfiguration... [ok]
Thisexampledescribeshowtosavethecurrentrouterinfor-
mationtoSDcardonmasterandslavedevices.
ZXR10#writesd Buildingconfiguration...
............Writeconfigresultonthesd:
UPCStatus
masterSuccessfully
Related
commands

writeflash

writenvram
writeflash
FunctionUsethiscommandtowritethecongurationinformationofthe
currentrouterintotheash.
CommandModePrivilegedconguration
Syntaxwriteflash
CondentialandProprietaryInformationofZTECORPORATION45
Page 56
ZXR10CommandManual(BasicCongurationV olumeI)
InstructionWhentheequipmentisstartedthenexttime,thecongurationin
theashwilltakeeffectautomatically .
ExampleThisexampledescribeshowtowritethecongurationinformation
ofthecurrentrouterintotheash.
ZXR10#writeflash BuildingconfigurationFLASH:... [ok]
Related
Commands
write
writenvram

writeimgfile

PurposeUsethiscommandtowritethecurrentrunningversionintothe
ash.
CommandModesPrivilegedEXEC
Syntaxwriteimgfile[{master|slave}][sd]
Syntax
Description
master
Writesversionletomasterboard.
slave
sd
InstructionsWhenusingthecommandwriteimgfiletakesalongtime,save
Writesversionletoslaveboard.
Writesversionletosdcard.
thecongurationtothemasterandslaveboardsrespectivelyby addingparameters(master ,slave)inenvironmentssupporting master/slaveracks(69,t128).Inthiswaytoexecutewrite imgfilewillnottakealongtime.
Theplatformversion4.8.22andtheupgradeversionssupport writingcongurationtoSDcard.
ExampleThisexampledescribeshowtosavethecurrentrouterinfor-
mation.
ZXR10#write Buildingconfiguration... [ok]
Thisexampledescribeshowtosavethecurrentrouterinfor-
mationtoSDcardonmasterandslavedevices.
ZXR10#writesd Buildingconfiguration...
............Writeconfigresultonthesd:
UPCStatus
masterSuccessfully
Related
commands
writeflash
writenvram
46CondentialandProprietaryInformationofZTECORPORATION
Page 57

writenvram

FunctionUsethiscommandtowritethecurrentrouter-relatedsystempa-
rametersintothenvram.
CommandModePrivilegedconguration
Syntaxwritenvram
ExampleThisexampledescribeshowtowritethecurrentrouter-related
systemparametersintothenvram.
ZXR10#writenvram Buildingconfiguration... [ok]
Chapter3FileSystemManagement
Related
Commands
write
writeflash
CondentialandProprietaryInformationofZTECORPORATION47
Page 58
ZXR10CommandManual(BasicCongurationVolumeI)
Thispageisintentionallyblank.
48CondentialandProprietaryInformationofZTECORPORATION
Page 59
Chapter4

UserInterface Management

TableofContents
answer-manual.................................................................49
answer-remote..................................................................50
lineconsole0....................................................................50
lineconsoleabsolute-timeout..............................................50
lineconsoleidle-timeout.....................................................51
linetelnetabsolute-timeout................................................51
linetelnetaccess-class.......................................................52
linetelnetidle-timeout.......................................................52
login................................................................................53
loginauthentication...........................................................53
logout..............................................................................54
quit.................................................................................54
session............................................................................54
showconsole-info..............................................................54
showhistory.....................................................................55
showterminal...................................................................55
telnet...............................................................................56
telnetmng.......................................................................56
terminallength.................................................................57
user-authentication-type....................................................57
user-authorization-type......................................................57

answer-manual

FunctionWhenremoteaccessisconguredasmanualanswerintherouter ,
thiscommandisinputtoallowtheusertologinremotelyand managetherouter .
CommandModePrivilegedconguration
Syntaxanswer-manual
InstructionItisonlyapplicabletoZXR10GER,ZXR10GARandZXR10ZSR.
CondentialandProprietaryInformationofZTECORPORATION49
Page 60
ZXR10CommandManual(BasicCongurationV olumeI)
Related
Commands

answer-remote

answer-remote
FunctionUsethiscommandtoconguretheremoteaccessmodeasauto-
maticanswerormanualanswerwiththeanswer-manualcommand intherouter .
CommandModeGlobalconguration
Syntaxanswer-remote{manual|auto}
Syntax
Description
InstructionItisonlyapplicabletoZXR10GER,ZXR10GARandZXR10ZSR.
Relatedcommandanswer-manual
manualManualanswer
auto
Automaticanswer

lineconsole0

FunctionUsethiscommandtoenterintoLINEcongurationmode
CommandModeGlobalconguration
Syntaxlineconsole0
ExampleThisexampledescribeshowtoenterLINEcongurationmode.
ZXR10(config)#lineconsole0 ZXR10(config-line)#
RelatedCommandloginauthentication

lineconsoleabsolute-time out

FunctionUsethiscommandtocongurethetotalusingtimeofthelogin
serialinterfaceterminal.Afterthiscommandisexecuted,thetotal usingtimeoftheconsoleterminalisspecied.Afterthisspecied time,theserialinterfaceterminalsessionwillbeclosed.Cancel therestrictionwiththenocommand
CommandModeGlobalconguration
Syntaxlineconsoleabsolute-timeout<absolute-timeout>noline
consoleabsolute-timeout
50CondentialandProprietaryInformationofZTECORPORATION
Page 61
Syntax
Description
InstructionItcanworkwiththelineconsoleidle-timeoutcommandtoclose
ExampleThisexampledescribeshowtosetthetotalusetimeoftheserial
RelatedCommandlineconsoleidle-timeout
<absolute-timeout>
theserialinterfaceterminalsessionafteraspeciedperiod.
interfaceterminalto30minutes.
ZXR10(config)#lineconsoleabsolute-timeout30
Totalusetimeoftheterminal(unit:minute), intherangeof1~10000.Thedefaultvalue isoneday .

lineconsoleidle-timeout

FunctionUsethiscommandtoconguretheidletimeoftheloginserial
interfaceterminal.Afterthiscommandisexecuted,ifthereisno keyboardinputinthespeciedperiod,theserialinterfaceterminal sessionwillbeclosed.Canceltherestrictionwiththenocommand.
CommandModeGlobalconguration
Syntaxlineconsoleidle-timeout<idle-timeout>
nolineconsoleidle-timeout
Syntax
Description
<idle-timeout>
Idletimeoftheterminal(unit:minute),in therangeof1~1000.Thedefaultvalueis 2hours.
Chapter4UserInterfaceManagement
InstructionItcanworkwiththelineconsoleabsolute-timeoutcommandto
closetheserialinterfaceterminalsessionafteraspeciedperiod.
ExampleThisexampledescribeshowtosettheidletimeoftheserialinter-
faceterminalto30minutes.
ZXR10(config)#lineconsoleidle-timeout30
RelatedCommandlineconsoleabsolute-timeout

linetelnetabsolute-timeout

FunctionUsethiscommandtocongurethetotalusingtimeoftheT elnet
terminal.Afterthiscommandisexecuted,thetotalusingtime oftheTelnetterminalisspecied.Afterthisspeciedtime,the Telnetterminalsessionwillbeclosedandtheconnectionwillbe disconnected.Canceltherestrictionwiththenocommand.
CommandModeGlobalconguration
Syntaxlinetelnetabsolute-timeout<absolute-timeout>
nolinetelnetabsolute-timeout
CondentialandProprietaryInformationofZTECORPORATION51
Page 62
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
InstructionItcanworkwiththelinetelnetidle-timeoutcommandtoclosethe
<absolute-timeout>
Telnetterminalsessionafteraspeciedperiod.
ExampleThisexampledescribeshowtosetthetotalusetimeoftheT elnet
terminalas30minutes.
ZXR10(config)#linetelnetabsolute-timeout30
RelatedCommandlinetelnetidle-timeout

linetelnetaccess-class

FunctionUsethiscommandtosettheloginIPrestrictionoftheTelnetter-
minal.Thiscommandisusedtoalloworrefusetheloginfrom someIPaddresses.Canceltherestrictionwiththenocommand.
CommandModeGlobalconguration
Syntaxlinetelnetaccess-class<access-list-number>
nolinetelnetaccess-class
Syntax
Description
<access-list-number>
Totalusetimeoftheterminal(unit:minute), intherangeof1~10000.Thedefaultvalue isoneday .
Accessaddresslist,intherangeof1~199
DefaultThereisnologinaddressrestriction.
InstructionItcanworkwiththeaccess-listcommandtoacceptorrejectthe
loginfromsomeIPaddresses.
ExampleThisexampledescribeshowtorefusetheloginfromtheaddress
168.1.16.118.
ZXR10(config)#access-list2deny168.1.16.1180.0.0.0 ZXR10(config)#access-list2permitany ZXR10(config)#linetelnetaccess-class2
RelatedCommandaccess-list

linetelnetidle-timeout

FunctionUsethiscommandtoconguretheidletimeoftheT elnetterminal.
Afterthiscommandisexecuted,ifthereisnokeyboardinputin thespeciedperiod,theT elnetterminalsessionwillbeclosedand theconnectionisdisconnected.Canceltherestrictionwiththeno command.
CommandModeGlobalconguration
Syntaxlinetelnetidle-timeout<idle-timeout>
nolinetelnetidle-timeout
52CondentialandProprietaryInformationofZTECORPORATION
Page 63
Syntax
Description
InstructionItcanworkwiththelinetelnetabsolute-timeoutcommandtoclose
<idle-timeout>
theT elnetterminalsessionafteraspeciedperiod.
ExampleThisexampledescribeshowtosettheidletimeoftheT elnetter-
minalto30minutes.
ZXR10(config)#linetelnetidle-timeout30
RelatedCommandlinetelnetabsolute-timeout

login

FunctionUsethiscommandtoenableanotherusernametologintothe
router .
CommandModeCommandModeExecmode/privileged
Syntaxlogin
InstructionExecmodeandprivilegedmodearereturnedtotheexecmode
afterthiscommandisexecuted.
ExampleThisexampledescribeshowtoenabletologintherouterwiththe
usernamezxr10.
ZXR10>loginUsername:zxr10Password:ZXR10>
Related
Commands
logout
quit
Chapter4UserInterfaceManagement
Idletimeoftheterminal(unit:minute),in therangeof1~1000.Thedefaultvalueis2 hours.

loginauthentication

FunctionUsethiscommandtosettoenableserialportauthentication.Close
authenticationwiththenocommand.
CommandModeLineconguration
Syntaxloginauthentication
loginauthenticationnologinauthentication
ExampleThisexampledescribeshowtoenableserialportauthentication.
ZXR10(config)#lineconsole0 ZXR10(config-line)#loginauthentication Warning: Pleasemakesurelocalorremoteauthenticationiscorrectlyconfigured. Areyousuretoconfigureconsoleauthentication?[yes/no]:yes
Related
Commands
logout
quit
CondentialandProprietaryInformationofZTECORPORATION53
Page 64
ZXR10CommandManual(BasicCongurationV olumeI)

logout

FunctionUsethiscommandtoquittheloginrouter .
CommandModeExecmode/privileged
Syntaxlogout
InstructionDisconnectfromtherouterproactively.
Related
Commands
login

quit

quit
FunctionUsethiscommandtoquittheloginrouter .
CommandModeExecmode/privileged
Syntaxquit
InstructionDisconnecttheloginrouterproactively.
Related
Commands
login
logout

session

FunctionUsethiscommandtomakemembersinthestackablesystemac-
cesseachother .
CommandModepriviledged
Syntaxsession<stack-id>
Syntax
Description
InstructionUsethiscommandtomakemembersinthestackablesystemac-
ExampleLoginthestackabledevice2fromthestackablemasterdevice.
<stack-id>
cesseachother .
ZXR10#session2 ZXR10(stack-2)#
DeviceIDofmembersinthestackable system,intherangeof1-9

showconsole-info

FunctionUsethiscommandtodisplaycongurationconditionofAUXinter-
faceofthecurrentrouter .
54CondentialandProprietaryInformationofZTECORPORATION
Page 65
Chapter4UserInterfaceManagement
CommandModeAllmodesexceptexec
Syntaxshowconsole-info
InstructionItisonlyapplicabletoZXR10GER,ZXR10GARandZXR10ZSR.

showhistory

FunctionUsethiscommandtodisplaythehistoryrecordsoftheinputcom-
mands.Itcanbeusedtoviewthecommandsenteredbefore.
CommandModeAll
Syntaxshowhistory
InstructionThiscommandcanbeusedtoviewthecommandsenteredre-
cently,10atmost.
ExampleThisexampledescribeshowtoviewthecommandsenteredre-
cently.
ZXR10>showhistory who showiproute en dir

showterminal

FunctionUsethiscommandtodisplaythestatusofthecurrentusertermi-
nal.
CommandModeAll
Syntaxshowterminal
InstructionThiscommandcanbeusedtoviewtheinformationofthelogin
terminal,includingtheterminalnumber ,terminaltype,andtermi­nalwindowsizeandloginrestrictions.
ExampleThisexampledescribeshowtoviewtheinformationofthecurrent
loginterminal.
ZXR10#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
CondentialandProprietaryInformationofZTECORPORATION55
Page 66
ZXR10CommandManual(BasicCongurationV olumeI)

telnet

FunctionUsethiscommandtoopenaT elnetconnection.
CommandModeAllmodes
Syntaxtelnet<ip-address>[vrf<vrf-name>]
Syntax
Description
<ip-address>DestinationIPaddressinthedotteddecimal
notation
source<ip-address >
vrf<vrf-name>
InstructionThiscommandcanbeusedtologinintootherswitches,routersor
SourceIPaddress,inthedotteddecimal notation
VPFname,with1~16characters
Telnetservers.
ExampleThisexampledescribeshowtologintheserverwithaddress
168.1.200.77.
ZXR10#telnet168.1.200.77
Thisexampledescribeshowtologintheserverwithad-
dress168.1.200.77.Thesourceaddressislocaladdress
168.1.200.78.
Thisexampledescribeshowtologintheserverwithaddress
168.1.200.77inthevpn1VPN.
ZXR10#telnet168.1.200.77vrfvpn1

telnetmng

FunctionUsethiscommandtoopenaT elnetconnectionstartingfromthe
managementinterface.
CommandModeExecmodeandprivileged
Syntaxtelnetmng<ip-address>
Syntax
Description
<ip-address>DestinationIPaddressinthedotteddecimal
notation
InstructionThiscommandcanbeusedtologinfromthemanagementinter-
facetootherroutersorT elnetservers.
ExampleThisexampledescribeshowtologinfromthemanagementinter-
facetotheserverwithaddress168.1.200.77.
ZXR10#telnetmng168.1.200.77
56CondentialandProprietaryInformationofZTECORPORATION
Page 67
FunctionUsethiscommandtosetthelinelengthofterminal.
CommandModePrivileged
Description
ExampleThisexampledescribeshowtosetthelinelengthoftheterminal

terminallength

Syntaxterminallength<length>
Syntax
<length>
is1.
ZXR10#terminallength1

user-authentication-type

Chapter4UserInterfaceManagement
LineLengthofterminal,intherangeof 0~512,24bydefault.
FunctionUsethiscommandtospecifytheuserauthenticationmodeforthe
Telnetlogin.
CommandmodeGlobalcongurationmode
Syntaxuser-authentication-type{local|radius<group>[{chap|
pap}]|tacacs+}
Syntax
Description
DefaultLocalauthenticationisthedefaultsetting.
InstuctionInordertomeettherequirementsofservice,therangeofRadius
ExampleThisexampledescribeshowtocongurethelocalauthentication.
Related
Commands
localLocalauthentication
radius<group>Radiusauthenticationandgroupnumber ,in
chap|papPapauthenticationmodeandChap
tacacs+
authenticationandgroupnumberis1~2000inUASV4.8.01.
ZXR10(config)#user-authentication-typelocal
radiusserver
telnet
therangeof1~10
authenticationmode PerformauthenticationusingAAA
authenticationlist

user-authorization-type

FunctionUsethiscommandtospecifytheuserauthorizationtypeforthe
Telnetlogin.
CondentialandProprietaryInformationofZTECORPORATION57
Page 68
ZXR10CommandManual(BasicCongurationV olumeI)
CommandModeGlobalcongurationmode
Syntaxuser-authorization-type{local|tacacs+}
Syntax
Description
localLocalauthentication
tacacs+
PerformauthorizationusingTACACS+ authorizationlist
DefaultLocalauthorizationisthedefaultsetting..
ExampleThisexampledescribeshowtoconguretheTACACS+authoriza-
tion.
ZXR10(config)#user-authorization-typetacacs+
Related
Commands
user-authentication-type
58CondentialandProprietaryInformationofZTECORPORATION
Page 69
Chapter5

SystemLog/Statistics Management

TableofContents
alarm...............................................................................60
alarmcpuload-interval.......................................................60
alarmcpuload-on..............................................................61
alarmcpuload-threshold.....................................................61
alarmlevel-change............................................................62
check...............................................................................62
clearlogging.....................................................................63
clearprocessor..................................................................63
cpuload-threshold..............................................................63
environ............................................................................64
lter................................................................................64
loggingalarmlog-interval....................................................65
loggingbuffer...................................................................65
loggingcmdftp.................................................................66
loggingcmdlog-interval......................................................66
loggingconsole.................................................................67
logginglesavetime...........................................................67
logginglter-map..............................................................68
loggingftp........................................................................69
logginglevel.....................................................................70
loggingmode....................................................................70
loggingnatftp..................................................................71
loggingon........................................................................71
loggingsynchronize...........................................................72
loggingtimestamps...........................................................72
loggingtrap-enable............................................................72
memory-threshold.............................................................73
showalarm-level...............................................................73
showlogle......................................................................74
showloggingalarm............................................................74
showloggingcongure.......................................................75
showprocessor.................................................................75
showprocessordetails.......................................................77
showtemperature.............................................................77
syslog-serverfacility..........................................................78
syslog-serverhost.............................................................79
syslog-serversource..........................................................80
temper-threshold..............................................................80
write...............................................................................81
writecmdlog.....................................................................82
writelogging.....................................................................82
CondentialandProprietaryInformationofZTECORPORATION59
Page 70
ZXR10CommandManual(BasicCongurationV olumeI)

alarm

FunctionUsethiscommandtoopenenvironmentalarm.Closethisalarm
withnocommand.
CommandModeGlobalconguration
Syntaxalarm<type>on
Syntax
Description
InstructionForZXR10T128,ZXR10T1200onlyCPUloadalarmisenabled.
ExampleThisexampledescribeshowtoenableCPUloadalarm.
<type>
Temperaturealarmandmemoryalarmtakeeffect.
ZXR10(config)#environ ZXR10(config-environ)#alarmcpuloadon
Environmentalarmtypes
allallkindsofenvironmentalarmtypes
cpuloadCPUloadalarm
fanfanalarm
powerpoweralarm
temperaturetemperaturealarm
memorymemoryalarm

alarmcpuload-interval

FunctionUsethiscommandtosetCPUloadalarmtesttimeinterval.Re-
coverdefaultvaluewithnocommand.
CommandModeGlobalconguration
Syntaxalarmcpuload-interval<30~120>
noalarmcpuload-interval
Syntax
Description
DefaultCPUloadalarmtesttimeintervalis30sbydefault.
InstructionsMakesurethatalarmcpuload-onisusedbeforeusingthiscom-
ExampleThisexampledescribeshowtosetCPUloadalarmtesttimeinter-
<30~120>
CPUloadalarmtesttimeinterval,therange isfrom30to120(unit:second).
mand.
InZXR10T128,ZXR10T1200,thiscommandisincludedin
checkcommandinenvironmentcongurationmode.See checkcommandinenvironmentcongurationmodeformore information.
valto60s.
ZXR10(config)#alarmcpuload-interval60
60CondentialandProprietaryInformationofZTECORPORATION
Page 71
Chapter5SystemLog/StatisticsManagement

alarmcpuload-on

FunctionUsethiscommandtoopen/closecpuloadalarm.Closethisalarm
withnocommand.
CommandModeGlobalconguration
Syntaxalarmcpuload-on
noalarmcpuload-on
Instructionsalarmcpuload-onhastheeffectonthefollowingcommands:
alarmcpuload-interval,alarmcpuload-threshold.
Whenrunnoalarmcpuload-oncommand,theabovecom-
mandsareinvalid.
ExampleThisexampledescribeshowtocloseCPUloadalarm.
ZXR10(config)#noalarmcpuload-on

alarmcpuload-threshold

FunctionUsethiscommandtosetCPUloadalarmthreshold.Recoverde-
faultvaluewithnocommand.
CommandModeGlobalconguration
Syntaxalarmcpuload-threshold{[low-grade<percent>]|[middle-
grade<percent>]|[high-grade<percent>]}
noalarmcpuload-threshold
Syntax
Description
DefaultBydefault,low-gradeis75%,middle-gradeis85%andhigh-grade
InstructionLow-grademiddle-gradehigh-gradecanbesetatthesame
ExampleThisexampledescribeshowtosetalarmcpuload-thresholdlow-
<percent>
is95%.
timealsocanbesetone,theprerequistieislow-grademid­dle-gradehigh-grade.
Makesureusecommandalarmcpuload-onrstly .
InZXR10T128,ZXR10T1200,thiscommandisreplacedby
cpuload-thresholodSeecpuload-thresholodcommandinenvi­ronmentcongurationmodeformoreinformation
gradeto20%.
ZXR10(config)#alarmcpuload-thresholdlow-grade20
Cpuutility,therangeisfrom0to100(unit :%)
CondentialandProprietaryInformationofZTECORPORATION61
Page 72
ZXR10CommandManual(BasicCongurationV olumeI)

alarmlevel-change

FunctionUsethiscommandtomodifythecorrespondingalarmlevelofthe
alarmcode.
CommandModeGlobalconguration
Syntaxalarmlevel-change<alarm-code><level>
Syntax
Description
<alarm-code>
Alarmcode,intherangeof1~65535.Itis onlyallowedtomodifythealarmcodefor levels4~8.
<level>Alarmlevel(4:errors;5:warnings;6:
InstructionsOnlythealarmcodesforlevels4-8canbemodied.
notications;7:informational;8:debugging)
Fortheexplanationsofthealarmcodes,seeZXR10
Router/EthernetSwitchInformationManual.
ExampleThisexampledescribeshowtochangethealarmlevelofalarm
code18720as7.
ZXR10(config)#alarmlevel-change18720informational

check

FunctionUsethiscommandtosetenvironmentalarmcheckinterval.Re-
coverdefaultvaluewithnocommand.
CommandModeEnvironmentconguration
Syntaxcheck<type>interval<second>
Syntax
Description
<type>
Environmentalarmtypes
allallkindsofenvironmentalarmtypes
cpuloadCPUloadalarm
fanfanalarm
powerpoweralarm
temperaturetemperaturealarm
memorymemoryalarm
<second>
InstructionForZXR10T128andZXR10T1200onlycpuloadalarmisen-
Interval:10sbydefault,intherangeof3-20
abled.T emperaturealarmandmemoryalarmtakeeffectMake surealarmswitchisonbeforesetanalarmcheckinterval.
Thedefaultvalueis3.
ExampleThisexampledescribeshowtosetCPUloadcheckintervalto5s.
ZXR10(config)#environ ZXR10(config-environ)#checkcpuloadinterval5
62CondentialandProprietaryInformationofZTECORPORATION
Page 73
FunctionUsethiscommandtoclearthecontentsinthealarmlogbuffer .
CommandModePrivileged
ExampleThisexampledescribeshowtoclearthecontentsinthealarmlog
FunctionUsethiscommandtocleartheCPUmaximumutilizationinthe
CommandModePrivileged
Description
Chapter5SystemLog/StatisticsManagement

clearlogging

Syntaxclearlogging
buffer .
ZXR10#clearlogging

clearprocessor

systemresourcestatisticsinformation.
Syntaxclearprocessor[<cpu-type><panel-number>]
Syntax
<cpu-type>
CPUtype,suchasMP ,RP ,NPandSP .
<panel-number>SlotNo.
InstructionThiscommandisusedtocleartheCPUutilizationpeakinthere-
sourcestatisticsinformationofthespeciedCPU.
ExampleThisexampledescribeshowtocleartheCPUutilizationpeakinthe
resourcestatisticsinformationofthespeciedCPU.
ZXR10#clearprocessormp1

cpuload-threshold

FunctionUsethiscommandtosettheCPUalarmthreshold.Recoverdefault
valuewithnocommand.
CommandModeEnvironmentconguration
Syntaxcpuload-threshold{[low-grade<percent>]|[middle-grade
<percent>]|[high-grade<percent>]}
nocpuload-threshold
Syntax
Description
<percent>
CPUutilization,intherangeof0~100 (unit:%)
InstructionThiscommandisusedtocleartheCPUutilizationpeakinthere-
sourcestatisticsinformationofthespeciedCPU.
CondentialandProprietaryInformationofZTECORPORATION63
Page 74
ZXR10CommandManual(BasicCongurationV olumeI)
ExampleThisexampledescribeshowtocleartheCPUutilizationpeakinthe
resourcestatisticsinformationofthespeciedCPU.
ZXR10#clearprocessormp1

environ

FunctionUsethiscommandtoenterenvironmentmode.
CommandModeGlobalconguration
Syntaxenviron
ExampleThisexampledescribeshowtoentertheenvironmentcongura-
tionmode.
ZXR10(config)#environ

filter

FunctionUsethiscommandtocongurethelter-mapfunctionwhichis
created.Cancelthiscongurationwiththenocommand.
CommandModeAlarm-lterconguration
Syntaxfilter{disable-all|enable-all|(disable-all<alarmtype>)|
(enable-all<alarmtype>}}[except<range>]
nofilter{disable-all|enable-all|(disable-all<alarmtype>) |(enable-all<alarmtype>}
Syntax
Description
InstructionUsethelogginglter-mapcommandtoenterintoalarm-ltercon-
ExampleThisexampledescribeshowtoenablethealarmfunctionwhich
disable-all
enable-all
<alarmtype>Alarmtype
except
<range>
Disableallalarmltertypes
Enableallalarmltertypes
Thespeciedalarmcodewhichisnotincluded inthisconguration.
Therangeofalarmcode
gurationmode,andthencongurethecreatedlter-map.
alarmtypeisOAM.
ZXR10(config)#loggingfilter-mapzte ZXR10(config-alarm-filter)filterenableoam
64CondentialandProprietaryInformationofZTECORPORATION
Page 75

loggingalarmlog-interval

PurposeUsethiscommandtosettimeintervalandperipheralequipment
ofalarmlog.Deletethecongurationwiththenocommand.
CommandModesGlobalConguration
Syntaxloggingalarmlog-interval<minute>{flash|sd}
nologgingalarmlog-interval
Syntax
Description
<minute>
flashThestoragedeviceforalarmlogisash.
Chapter5SystemLog/StatisticsManagement
Timeinterval(inminutes),10~65535.
sd
InstructionsOnlytheT128/T1200supportthisfunction.Atpresent
T128/T1200onlysupportstheashperipheraldevice.Document wayanddocumentnameisdata/alarm001.log.Documentname circulatesfromalarm001.logtoalarm010.log.Aftereachcong­uration,startswrittingfromalarm001.logtocover .
Afteralarmlogbufferisfull,writealarmlogtoperipheraldevice accordingtologperipheral.Thepathandlenamearethesame asthiscommand.Noalarmlogifthiscommandisnotset.
ExampleThisexampledescribeshowtosetwrittingalarmintervalto100
minutesandwriteittoash.
ZXR10(config)#loggingalarmlog-interval100flash
Thestoragedeviceforalarmlogissd.

loggingbuffer

FunctionUsethiscommandtosetthesizeofthealarmlogbuffer .Cancel
thesettingandrestoredefaultwiththenocommand.
CommandModeGlobalconguration
Syntaxloggingbuffer<buffer-size>
nologgingbuffer
Syntax
Description
<buffer-size>Sizeofthealarmbuffer(unit:KB),inthe
rangeof100~1000,and200KBbydefault
InstructionRuntheloggingoncommandbeforethiscommand.
ExampleThisexampledescribeshowtosetthesizeofthealarmlogbuffer
as100K.
ZXR10(config)#loggingbuffer100
CondentialandProprietaryInformationofZTECORPORATION65
Page 76
ZXR10CommandManual(BasicCongurationV olumeI)

loggingcmdftp

FunctionUsethiscommandtosettosendcmdlogtoremoteFTPserver .
Cancelthissettingwiththenocommand.
CommandModeGlobalconguration
Syntaxloggingcmdftp[vrf<vrf-name>]<ftp-server><username><p
assword><time><filename><interval>]
nologgingcmdftp
Syntax
Description
Vrf<vrf-name>
VPFname,with1~16characters
<ftp-server>DestinationIPaddressoftheFTPserverin
<username>
<password>
<time>
<filename>Filenameprexofstoringalarmmessages,
<interval>
InstructionRuntheloggingoncommandbeforethiscommand.
ExampleThisexampledescribeshowtosettosendthecmdlogtothe
thedotteddecimalnotation
LoginusernamefortheFTPserver ,with1~31 characters
LoginpasswordfortheFTPserver ,with1~31 charactersSpecifytimeforupdatingthelog lename
Specifytimeforupdatingtheloglename
with1~31charactersIntervalperiod(inday).
Inthespeciedtimeforupdatinglogle name,generateanewleontheFTPserver intheformatofconguredlenameprex+ currentdate,suchaslognat_20050802.log, andsendthegeneratedNATlogtoanewle.
168.1.1.111FTPserver .TheloginusernameforFTPserveristar­get,andthepasswordistarget.Thelenameprexofstoring alarmmessagesiscmdlog.Andspecifythetimeforupdatingthe loglenameis2days.Theupdatingtimeis11:11:11.
ZXR10(config)#loggingcmdftp168.1.1.111targettargetcmdlog11:11:112

loggingcmdlog-interval

FunctionUsethiscommandtosettheintervaltimeofwritingcmdlog.T o
resetthissettingtothedefaultvalue2880usethenocommand.
CommandModeGlobalconguration
Syntaxloggingcmdlog-interval<10~65535>
nologgingcmdlog-interval
66CondentialandProprietaryInformationofZTECORPORATION
Page 77
Syntax
Description
ExampleThisexampledescribeshowtosettheintervaltimeofwritingcmd
<minute>
logto100minutes.
ZXR10(config)#loggingcmdlog-interval100

loggingconsole

FunctionUsethiscommandtosendthealarmmessagestotheconsoleCOM
interfaceortelnetterminal.Cancelthesettingwiththenocom­mand.
CommandModeGlobalconguration
Syntaxloggingconsole<level>
nologgingconsole
Syntax
Description
<level>Alarmlevel(1:emergencies;2:alerts;
Chapter5SystemLog/StatisticsManagement
Thetimeinterval(inminute),intherangeof 10~65535.Bydefault,itis2880minutes.
3:critical;4:errors;5:warnings;6: notications;7:informational;8:debugging)
<map-name>
InstructionsAfterthesysteminitialization,thealarmmessageswiththe
levelofnoticationsaresenttotheCOMinterface.
Runtheloggingoncommandbeforethiscommand.Theno
commandstopssendingthealarmmessagestotheCOMin­terface.Thealarmmessageoutputcanbeopened(closed) withthe(no)terminalmonitorcommandontheconsoleCOM interfaceortelnetterminal.
filter<map-name>commandcanbeusedafterthiscommand,
whichltersacertainalarms.T ocongurefilter<map-name >usecommandloggingfilter-map
ExampleThisexampledescribeshowtosendthealarmmessageswithlevel
5andabovetotheconsoleserialinterface,
ZXR10(config)#loggingconsolewarnings
Alarmltertablename

loggingfilesavetime

FunctionUsethiscommandtosetthetimeforwritingalarmlogintole
andsendingtotheFTPserver .Cancelthesettingwiththeno command.
CommandModeGlobalconguration
Syntaxloggingfilesavetimeinterval<time>|everyday<time>|
week<weekday><time>|month<mothday><time>[vrf
CondentialandProprietaryInformationofZTECORPORATION67
Page 78
ZXR10CommandManual(BasicCongurationV olumeI)
<vrf-name>|mng]<ftp-server><username><password>[<file name>]
nologgingfilesavetime
Description
interval<time>
Timeintervalforsavingalarmlogle,noless than1hourwiththeaccuracyof1minute
everyday<time>
week<weekday><ti
me>
month<mothday><t ime>
vrf<vrf-name>
mng
<ftp-server>SavedIPaddressoftheFTPserverinthe
<username>
<password>
<filename>PrexofthelenamesavedintheFTPserver ,
Timewhenthealarmlogleissaved everyday
Dateandtimeforsavingalarmlogleevery week(therangeoftheweekdayisfrom MondaytoSunday)
Dateandtimeforsavingalarmlogleevery month,therangeofthemonthdayisfrom 1~31
VPFname,with1~16characters
Managementinterface
dotteddecimalnotation
LoginusernamefortheFTPserver ,with1~31 characters
LoginpasswordfortheFTPserver ,with1~31 characters
beingZXR10AlarmLogbydefault,andwith 1~31characters
InstructionRuntheloggingoncommandbeforethiscommand.
ExampleThisexampledescribeshowtosavethealarmlogleat0’clock
everydayandsendittotheFTPserverat168.1.70.100FTP ,where theloginusernameistarget,thepasswordistargetandthele prexiszxrt64log.
ZXR10(config)#loggingfilesavetimeeveryday0:0:0168.1.70.100
targettargetzxrt64log

loggingfilter-map

FunctionUsethiscommandtocreatelter-maptolteralarmtype.Delete
lter-mapwiththenocommand.
CommandModeGlobalconguration
Syntaxloggingfilter-map<map-name>
nologgingfilter-map<map-name>
Syntax
Description
<map-name>
Filter-mapname,with1~20characters
68CondentialandProprietaryInformationofZTECORPORATION
Page 79
Chapter5SystemLog/StatisticsManagement
InstructionUsethiscommandtoenterintoalarm-ltercongurationmode,
andcongurelter-map.
ExampleThisexampledescribeshowtocreatealter-map,andthename
iszte.
ZXR10(config)#loggingfilter-mapzte

loggingftp

PurposeUsethiscommandtosetthealarmlevelforthealarmmessages
senttotheFTPserver .Cancelthesettingwiththenocommand.
CommandModesGlobalconguration
Syntaxloggingftp<level>[vrf<vrf-name>|mng]<ftp-server><usern
ame><password>[<filename>]
nologgingftp
Syntax
Description
<level>Alarmlevel(1:emergencies;2:alerts;
3:critical;4:errors;5:warnings;6: notications;7:informational;8:debugging)
vrf<vrf-name>
mng
<ftp-server>DestinationIPaddressoftheFTPserverin
<username>
<password>
<filename>Filenameofstoringalarmmessages,with
InstructionsRuntheloggingoncommandbeforethiscommand.Inad-
VPFname,with1~16characters
Managementinterface
thedotteddecimalnotation
LoginusernamefortheFTPserver ,with1~31 characters
LoginpasswordfortheFTPserver ,with1~31 characters
1~31characters.Thedefaultvalueis Zxr10Alarm.log.
dition,thelenameconguredinthiscommandmustexistin thecorrespondingFTPserverdirectoryandmustbewriteable (Zxr10Alarm.logbydefault).
ExampleThisexampledescribeshowtosendthealarmmessagesabove
level6totheFTPserverat168.1.70.100,wherethelogin usernameistarget,thepasswordistargetandthesavingleis zxralarm.log.
ZXR10(config)#loggingftpnotificational168.1.70.100 targettargetzxralarm.log
CondentialandProprietaryInformationofZTECORPORATION69
Page 80
ZXR10CommandManual(BasicCongurationV olumeI)

logginglevel

FunctionUsethiscommandtosetthealarmmessagelevelrecordedinthe
alarmlogle.Cancelthesettingwiththenocommand:notica­tions.
CommandModeGlobalconguration
Syntaxlogginglevel<level>
nologginglevel
Syntax
Description
InstructionRuntheloggingoncommandbeforethiscommand.
ExampleThisexampledescribeshowtorecordthealarmmessageinlevel
<level>Alarmlevel(1:emergencies;2:alerts;
4andaboveinthealarmlogle.
ZXR10(config)#logginglevelerrors
3:critical;4:errors;5:warnings;6: notications)

loggingmode

FunctionUsethiscommandtosettheclearingmodeofthealarmlogwhen
itisfull.Cancelthesettingwiththenocommand:fullcycle.
CommandModeGlobalcongurationmode
Syntaxloggingmode<mode>[<interval>]
nologgingmode
Syntax
Description
InstructionRuntheloggingoncommandbeforethiscommand.
ExampleThisexampledescribeshowtoselecttheclearallexistingalarm
<mode>
<interval
messageswhenthebufferisfull.
ZXR10(config)#loggingmodeFULLCLEAR
Theclearingmodewhenthealarmbufferis full.FULLEND:discardedalarmmessage. FULLCLEAR:Clearallalarmmessagesin analarmcache.FULLCYCLE:Clearalarm messagesintherst1/3partinanalarm cache.ThedefaultvalueisFULLCYCLE.
Timeintervalfortimingstoringalarmsinlog (inminute),intherangeof10~65535
70CondentialandProprietaryInformationofZTECORPORATION
Page 81

loggingnatftp

FunctionUsethiscommandtosettosendNATlogtotheFTPserver .Cancel
thesettingwiththenocommand.
CommandModeGlobalconguration
Syntaxloggingnatftp[vrf<vrf-name>|mng]<ftp-server><usernam
e><password><time><filename><interval>
nologgingnatftp
Chapter5SystemLog/StatisticsManagement
vrf<vrf-name>
mng
<ftp-server>DestinationIPaddressoftheFTPserverin
<username>
<password>
<time>
<filename>Filenameprexofstoringalarmmessages,
<interval>
InstructionRuntheloggingoncommandbeforethiscommand.Moreover ,it
VPFname,with1~16charactersManagement interface
Managementinterface
thedotteddecimalnotation LoginusernamefortheFTPserver ,with1~31
characters
LoginpasswordfortheFTPserver ,with1~31 characters
Specifytimeforupdatingtheloglename
with1~31characters
Intervalperiod(inday).Inthespecied timeforupdatingloglename,generatea newleontheFTPserverintheformatof conguredlenameprex+currentdate, suchaslognat_20050802.log,andsendthe generatedNATlogtoanewle.
isnecessarytoenableNATlogrecordingfunction.Refertotheip natloggingcommand.AlotofNATwillbegenerated.Thiscom­mandisusedtocongureintervaltime(inday)andprecisetime. Generateanewleaccordingtothecurrentdateandcongured lenameprexontheFTPserverandse
ExampleThisexampledescribeshowtosettosendNATlogtothe
168.1.70.100FTPserver .Theloginusernameistarget,andthe passwordistarget,lenameprexisnatlog,timeintervalistwo days,speciedtimeof08:00:00.Generateanewlogle.
ZXR10(config)#loggingnatftp168.1.70.100targettarget08:00:00natlog2

loggingon

FunctionUsethiscommandtoenablethesystemlogfunction.Disablethe
functionwiththenocommand.
CommandModeGlobalconguration
CondentialandProprietaryInformationofZTECORPORATION71
Page 82
ZXR10CommandManual(BasicCongurationV olumeI)
Syntaxloggingon
nologgingon
DefaultEnablethesystemlogfunction.
InstructionsTheloggingoncommandaffectsthefollowingcommands,
loggingmode,loggingconsole,loggingbuffer ,logginglevel, loggingftp,loggingtrapandlogginglesavetime.
Whenthenologgingoncommandisexecuted,theabove
commandscannotbecongured,andwillnottakeeffect.

loggingsynchronize

FunctionUsethiscommandtosetthefunctionwhichexecuteenteraction
automaticallyafterusedebuginformationeverytime.Cancelthis congurationwithnocommand.
CommandModeGlobalconguration
Syntaxloggingsynchronize
ExampleThisexampledescribeshowtosetthefunctionwhichexecuteen-
teractionautomaticallyafterusedebuginformationeverytime.
ZXR10(config)#loggingsynchronize

loggingtimestamps

FunctionUsethiscommandtosetthetimedisplayformatofalarm.
CommandModeGlobalconguration
Syntaxloggingtimestamps{localtime|datatime|uptime}
Syntax
Description
ExampleThisexampledescribeshowtosetthetimedisplayformatislocal
datetime
localtime
uptime
date.
ZXR10(config)#loggingtimestampsdatetimelocaltime

loggingtrap-enable

FunctionUsethiscommandtosetthealarmlevelforthealarmmessages
senttothetrapserver .Cancelthesettingswiththenocommand.
Thetimedisplayformatisdate
Thetimedisplayformatislocaldate
Thetimedisplayformatisthetimeofrackup.
72CondentialandProprietaryInformationofZTECORPORATION
Page 83
CommandModeGlobalcongurationmode
Syntaxloggingtrap-enable<level>[filter<map-name>]
nologgingtrap-enable
Syntax
Description
<level>Alarmlevel(1:emergencies;2:alerts;
Chapter5SystemLog/StatisticsManagement
3:critical;4:errors;5:warnings;6: notications;7:informational;8:debugging)
<map-name>
InstructionsRuntheloggingoncommandbeforethiscommand.
Thiscommandworkswithfilter<map-name>commandtol-
teralarms.Tocongurefilter<map-name>command,uselo
ggingfilter-mapcommand
ExampleThisexampledescribeshowtosendthealarmmessagesabove
level6tothesyslogserver .
ZXR10(config)#loggingtrap-enablenotifications
Alarmltertablename

memory-threshold

FunctionUsethiscommandtosetmemoryalarmthreshold.Recoverde-
faultvaluewithnocommand.
CommandModeEnvironmentconguration
Syntaxmemory-threshold<1-100>
Syntax
Description
<1-100>
threshold,therange0~100(unit:%)
DefaultThedefaultvalueis60.
InstructionConrmalarmmemoryonbeforeconguringthiscommand.
Onlysupportthiscommand.
ExampleThisexampledescribeshowtosetthememoryalarmthresholdas
70.
ZXR10(config-environ)#memory-threshold70

showalarm-level

FunctionUsethiscommandtoshowthelevelofalarmcode.
CommandModeAllmodesexceptexec
Syntaxshowalarmlevel[<alarm-code>]
CondentialandProprietaryInformationofZTECORPORATION73
Page 84
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
InstructionThecommandwithoutparameter ,thatmeanstheinformationof
<alarm-code>Alarmcode,therange0~65535.Onlythe
allalarmcodesaredisplayed.
ExampleThisexampledescribeshowtoshowthealarmlevelwhichwith
alarmcode512.
ZXR10(config)#showalarm-level512

showlogfile

FunctionUsethiscommandtodisplaytherecordsofthehistorycongura-
tionoperationcommandsstoredinthecommandlogbuffer .
CommandModeAllmodesexceptexec
Syntaxshowlogfile{[username<string>][start-time<date><time
>][end-time<date><time>][vtyno<string>][ipaddress<ip- address>]}
Syntax
Description
username<string>
alarmcodeswhichbelongtoalarmlevel4-8 arepermittedtomodify.
Loginusername,with1~32characters
start-time
<date><time>
end-time<date><ti me><time><date>
vtyno<string>
ipaddress
<ip-address>
DefaultAlltherecordsinthecommandlogbufferaredisplayed.
ExampleThisexampledescribeshowtoshowallcommandlogs.
ZXR10#showlogfile

showloggingalarm

FunctionUsethiscommandtodisplaythealarminformationrecordsinthe
alarmlogbuffer .
CommandModeAllmodesexceptexec
Syntaxshowloggingalarm{[typeid<type>][start-date<date>][en
d-date<date>][level<level>]}
Starttimeofcongurationcommand
Endtimeofcongurationcommand
Loginvtyterminalnumber
IPaddressofthehostusedwhenlogin,in thedotteddecimalnotation.ItsupportsIPv4 andIPv6.
74CondentialandProprietaryInformationofZTECORPORATION
Page 85
Chapter5SystemLog/StatisticsManagement
Syntax
Description
typeid<type>
Alarmtypeofthealarmmessagetobeshown
start-date<date>
end-date<date>
level<level>
InstructionNow,thesupportedalarmmessagetypesareasfollows:
ENVIRON,BOARD,PORT ,ROS,DATABASE,OAM,SECURITY , OSPF ,RIP ,BGP ,DRP ,TCP-UDP ,IP ,IGMP ,TELNET ,ARP ,ISIS,ICMP , SNMP ,RMON,NAT ,URPF ,VSWITCH,ACL,VRRP ,PPP ,SCAN, MAC,ALG,LOOPDETECT ,SESSION,DHCP ,MLD,STP ,VLAN, LOCAL-ACCOUNTING,RADIUS,LDP ,AMAT ,L2VPN,RSVP ,ZESR, IGMP-SNOOPING,FR,ATM,SSH,TDM,QOS,TACACS,AAA,IPV6, PIM,MUXandBFD
ExampleThisexampledescribeshowtodisplaythealarminformationthat
istheIPtypefromMay.22,2002.
ZXR10#showloggingalarmtypeidipstart-time5-22-2002
Alarmmessagetobeshowniscreatedafter thisdate(includingthisdate)
Alarmmessagetobeshowniscreatedbefore thisdate(includingthisdate)
Levelofalarmmessagestobedisplayed(1: emergencies;2:alerts;3:critical;4:errors; 5:warnings;6:notications)

showloggingconfigure

FunctionUsethiscommandtodisplaythecongurationinformationofthe
statisticsalarmfunctionalmodule.
CommandModeAllmodesexceptexec
Syntaxshowloggingconfigure
ExampleThisexampledescribeshowtodisplaythecongurationinforma-
tionofthestatisticsalarmfunctionalmodule.
ZXR10#showloggingconfigure

showprocessor

FunctionUsethiscommandtodisplaythesystemresourcestatistics,such
asCPUutilizationandmemoryutilization.
Syntaxshowprocessor[(mp<1~2>)|(rp<1~2>)|(sp<1~2>)|
(np<1~num>)]
CondentialandProprietaryInformationofZTECORPORATION75
Page 86
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
num
Themaximumnumberofeachboard,vary withracktype.Inordertoobtainthenumber ofMPboards,executeshowprocessormp. Thevalueofnumisdisplayed.
mp
<1~2>
rp
<1~2>
sp
<1~2>
np
<1~num>
InstructionsThiscommanddisplaytheresourcestatisticsofthespecied
Resourcestatisticsinformationofmp
mpslotno.
Resourcestatisticsinformationofrp
rpslotno
Resourcestatisticsinformationofsp
spslotno
Resourcestatisticsinformationofnp
npslotno.
CPU,suchastheCPUutilization(at5s,1minutes,5minutes period),memorysize,memoryutilizationandsystembuffer utilization.
Thiscommanddisplaytheresourcestatisticsofthespecied
CPU,suchastheCPUutilization(at5s,1minutes,5minutes period),memorysize,memoryutilizationandsystembuffer utilization.
ExampleThisexampledescribeshowtodisplaytheresourcestatisticsin-
formationofmp1.
ZXR10(config)#showprocessmp1 M:Masterprocessor S:Slaveprocessor PhyMem:Physicalmemory(megabyte)
PanelCPU(5s)CPU(1m)CPU(5m)PhyMemBufferMemory
MP(M)117%17%16%5120%55.585%
Thedisplayedinformationisdescribedbelow.
PanelPanelnumberwheretheboardlocates
CPU(5s)CPUutilizationat5speriod
CPU(1m)CPUutilizationat1minuteperiod
CPU(5mCPUutilizationat5minuteperiod
PhyMemPhysicalmemorysize(mb)
BufferSystembufferutilization
Memory
76CondentialandProprietaryInformationofZTECORPORATION
Memoryutilization
Page 87

showprocessordetails

FunctionUsethiscommandtodisplaythehistoryCPUutilizationraterecord.
Syntax
CommandModeAllmodesexceptexec
Syntaxshowprocessordetails[mp<1~2>|rp<1~2>|sp<1~2>|
np<1~num>]
Syntax
Description
num
Chapter5SystemLog/StatisticsManagement
Themaximumnumberofeachboard,vary withracktype.Inordertoobtainthenumber ofMPboards,executeshowprocessormp?. Thevalueofnumisdisplayed.
mp
<1~2>
rp
<1~2>
sp
<1~2>
np
<1~2>
InstructionThiscommandisusedtoshowthehistoryCPUutilizationrate
DisplaythehistoryCPUutilizationraterecord ofmp
mpslotno.
DisplaythehistoryCPUutilizationraterecord ofrp
rpslotno
DisplaythehistoryCPUutilizationraterecord ofsp
spslotno
DisplaythehistoryCPUutilizationraterecord ofnp
npslotno.
recordofthespeciedsingleboard,orshowallofworkingboards bydefault.
ExampleThisexampledescribeshowtodisplaythehistoryCPUutilization
raterecord.

showtemperature

FunctionUsethiscommandtodisplaylocalendandremoteendtempera-
tureofboardforZXR10T128series.Usethiscommandtodisplay racktemperatureofboardforZXR1069series.
CommandModeAllexceptexec
SyntaxForZXR10T128series,showtemperature[{bic|upc{master
|slave}|sfc{master|slave}|np<variable>}]
ForZXR1069series,showtemperature{environment|mec {master|slave}}
CondentialandProprietaryInformationofZTECORPORATION77
Page 88
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
environmentDisplayracktemperature
upc
sfcDisplaysfctemperature
mec
np
master
slave
bicDisplaybictemperature
<variable>
InstructionsTheformatforZXR10T128seriesisshownbelow.
PanelLocal(/)Remote(/) BIC20681864 UPC221692780 SFC222713696
Therstcolumeisboardtype.
Panel:boardnumber .
Local(/):localendtemperature(CreferstoCelsius,F
Displayupctemperature
Displaymectemperature
Displaynptemperature
Displayupc,sfctemperature,selectmaster board
Displayupc,sfctemperature,selectslave board
slotnumberofnpboard
referstoFahrenheit).
Remote(/):remoteendtemperature(CreferstoCel-
sius,FreferstoFahrenheit).
TheformatforZXR10T6900seriesisshownbelow.
Temperature:30C/86F
CreferstoCelsiusFreferstoFahrenheit.
ExampleThisexampledescribeshowtodisplaythetemperatureofSFC
masterboard.
ZXR10#showtemperaturesfcmaster

syslog-serverfacility

FunctionUsethiscommandtosetsyslogtype.Cancelthesettingswiththe
nocommand.
CommandModeGlobalcongurationmode
Syntaxsyslog-serverfacility<facility>
nosyslog-serverfacility
78CondentialandProprietaryInformationofZTECORPORATION
Page 89
Syntax
Description
DefaultThedefaultvalueislocal0
ExampleThisexampledescribeshowtodisplaysetsyslogtypeasnews.
<facility>
ZXR10(config)#syslog-serverfacilitynews

syslog-serverhost

FunctionUsethiscommandtosetthehostaddressofsyslogserver .Cancel
thissettingwiththenocommand.
CommandModeGlobalconguration
Syntaxsyslog-serverhost[vrf<vrf-name>]<ip-address>[(alarmlog
level<level>)][cmdlog][debugmsg][(fport<portnumber >)][(lport<portnumber>)]
nosyslog-serverhost[vrf<vrf-name>]<ip-address>[alarmlo g][cmdlog][debugmsg]
Syntax
Description
vrf<vrf-name>
Chapter5SystemLog/StatisticsManagement
Facilitytype24types(0:kern;1:user;2: mail;3:daemon;4:auth;5:syslog;6:lpr; 7:news;8:uucp;9:sys9;10:sys10;11: sys11;12:sys12;13:sys13;14:sys14;15: cron;16:local0;17:local1;18:local2;19: local3;20:local4;21:local5;22:local6; 23:local7.)
VRFname.with1-16characters
<ip-address>
alarmlogEnablethealarmlogsendtosyslogserver
level<level>Alarmlevel.1emergencies2alerts3crit-
cmdlogEnablethecmdlogsendtosyslogserver
debugmsg
fportTheportofserver
lportLocalport
<portnumber>Portnumber ,0~65535
InstructionTheportnumberoffportandlportis514bydefault,andsetto
SpecifythehostIPaddress
ical4errors5warnings6notications7informa­tional8debugging
Enabledebuginformationsendtosyslog server
sendalarmlog,cmdlog,debugmsgtosyslogserverbydefault. Thealarmlevelisnoticationsbydefault.
ExampleThisexampledescribeshowtodisplayconguretheIPaddress
of168.1.1.111syslogserveronlysendalarmlogtosyslogserver . Alarmleveliserrors.
ZXR10(config)#syslog-serverhost168.1.1.111alarmloglevelerrors
CondentialandProprietaryInformationofZTECORPORATION79
Page 90
ZXR10CommandManual(BasicCongurationV olumeI)

syslog-serversource

FunctionUsethiscommandtosetsyslogsourceaddress.Canceltheset-
tingswiththenocommand.
CommandModeGlobalconguration
Syntaxsyslog-serversource<ip-address>
nosyslog-serversource
Syntax
Description
ExampleThisexampledescribeshowtodisplaysetsyslogsourceaddress
<ip-address>Syslogsourceaddressinthedotteddecimal
as10.40.56.19.
ZXR10(config)#syslog-serversource10.40.56.19
notation

temper-threshold

PurposeUsethiscommandtosetboardtemperaturealarmthreshold.Re-
coverdefaultvaluewithnocommand.
CommandModesEnvironmentconguration
Syntaxtemper-threshold{{bic|(upc{master|slave})|(sfc{mas
ter|slave})|(np<variable>)}}{remote|local}{[lowthres hold<temperature>]|[first-highthreshold<temperature>]|[ second-highthreshold<temperature>]}
notemper-threshold{{bic|(upc{master|slave})|(sfc {master|slave})|(np<variable>)}}{remote|local}
Syntax
Description
Defaults
<temperature>
<variable>NPslotnumber
lowthresholdlowthresholdvalue
first-highthresholdrst-highthresholdvalue
second-highthresh old
Boardtype
Temperaturerange,-65~127(unit:℃)
second-highthresholdvalue
LocalendtemperatureRemoteend
temperature
Low thresh­old
80CondentialandProprietaryInformationofZTECORPORATION
rst-high threshold
second­high threshold
Low thresh­old
rst­high thresh­old
sec­ond­high thresh­old
Page 91
Chapter5SystemLog/StatisticsManagement
ENVI­RON_UPC3
ENVI­RON_SFC
ENVI­RON_SFC2
ENVI­RON_SFC3
ENVI­RON_BIC
ENVI­RON_NPCIX
ENVI­RON_NPCH
ENVI­RON_NPCT
InstructionsLowthreshold,rst-highthresholdsecond-highthresholdcan
-20
-20
-20
-20
-20
-20
-20
-20
55
55
55
55
55
55
55
55
70-20100120
70-207090
70-20100120
70-20100120
70-20
70-2085100
70-2065
70–2065
5575
besetatthesametime,alsocanbesetonetheprerequistie islowthreshold,lowthreshold,first-highthreshold lowthreshold
Theplatformversion4.8.22andtheupgradeversionssupport
writingcongurationtoSDcard.
rst-highthreshold,second-highthresholdarehightempera-
turethresholds.Whenthetempuratureishigherthanthem, therackoccursalarm.
Beforeconguringthiscommand,makesurealarmtempera
tureonalreadybeopen.
OnlyZXR10T128,ZXR10T1200supportthiscommand.
ExampleThisexampledescribeshowtosetthelowthresholdonlocalend
ofsfcboardto-40.
ZXR10(config)#environ ZXR10(config-environ)#temper-thresholdsfcmasterlocallowthreshold-40
75
75

write

FunctionUsethiscommandtowritecongurationinformationofthecurrent
routerintotheash,orwritethecurrentrouter-relatedsystem parametersintothenvram.
CommandModePrivilegedcongurationm
Syntaxwrite
InstructionInstructionsItisequivalenttotheexecutionofbothwriteflash
andwritenvramcommands.
ExampleThisexampledescribeshowtosavethecurrentrouterinformation.
CondentialandProprietaryInformationofZTECORPORATION81
Page 92
ZXR10CommandManual(BasicCongurationV olumeI)
ZXR10#write Buildingconfiguration... [ok]
Related
Commands
writeflash
writenvram

writecmdlog

FunctionUsethiscommandtosavethecontentsinthealarmlogbufferin
aleunderash:data/log.dat
CommandmodePrivileged
Syntaxwritecmdlog
InstructionFilenameiscmdxxx..log,therangexxxis001-040.Whenthe
valuereachescmd040,itwillbeginfromcmd001.
ExampleThisexampledescribeshowtowritelogles.
ZXR10(config)#writecmdlog

writelogging

FunctionUsethiscommandtosavethecontentsinthealarmlogbufferin
aleunderash:data/log.dat.
CommandModePrivileged
Formatwritelogging
InstructionWritealarmmessagesatthefollowinglevelinthealarmbufferinto
alewiththiscommand:1:emergencies;2:alerts;3:critical; 4:errors
ExampleThisexampledescribeshowtowritealarmlogles.
ZXR10(config)#writelogging
82CondentialandProprietaryInformationofZTECORPORATION
Page 93
Chapter6

FTP/TFTPServer

TableofContents
copy(FTPClient)................................................................83
copyTFTPClient..........................................................84
ftp-serverenable...............................................................84
ftp-servertick-user............................................................84
ftp-servertop-directory......................................................85
ipftppassword.................................................................85
ipftpusername.................................................................86
showftp-server.................................................................86
showftp-server-user..........................................................86

copy(FTPClient)

FunctionUsethiscommandtocopyaspeciedlein/outofthespecied
remotehostinFTPmodewiththespeciedusernameandlogin password.Ifnousernameandpasswordarespecied,thedefault usernameandpasswordwillbeused.Iftherearenodefaultuser­nameandpassword,errorinformationwillbereported.
CommandModePrivilegedmode
Formatcopyftp:[vrf<vrf-name>|mng]//remotehostaddress
orhostname/filepath/filename[@username[:password]] root:path/filename
copyflash:path/filenameftp:[vrf<vrf-name>|mng]//re motehostaddressorhostname/filepath/filename[@user name[:password]]
InstructionsInZXR10GARandZXR10ZSR,themanagementinterfacepa-
rametermngisnotsupported.
Insomedevicesthelocaldirectorymightnotbeash,such
as:itisrootinZXR10T128.
ExamplesThisexampledescribeshowtocopytheledb.datunderthe
cfgdirectoryoftheashintotheworkingdirectoryoftheFTP userzxr10onthehost168.1.1.1.
ZXR10#copyflash:/cfg/db.datftp://168.1.1.1/db.dat@zxr10:zxr10
Thisexampledescribeshowtocopytheledb.datunderthe
workingdirectoryoftheFTPuserzxr10onthehost168.1.1.1 intotherootdirectoryoftherouterFLASH.
ZXR10#copyftp://168.1.1.1/db.dat@zxr10:zxr10rootdb.dat
CondentialandProprietaryInformationofZTECORPORATION83
Page 94
ZXR10CommandManual(BasicCongurationV olumeI)
copyTFTPClient
FunctionUsethiscommandtocopythespeciedletoorfromthespecied
remotehostintheTFTPmode.
CommandModePrivileged
Syntaxcopytftp:[vrf<vrf-name>|mng]//remotehostaddressor
hostname/filepath/filenameroot:path/filename
copyflash:path/filenametftp:[vrf<vrf-name>|mng]//re motehostaddressorhostname/filepath/filename
InstructionsInZXR10GARandZXR10ZSR,themanagementinterfacepa-
rametermngisnotsupported.
Insomedevicesthelocaldirectorymightnotbeash,such
as:itisrootinZXR10T128.
ExampleThisexampledescribeshowtocopytheledb.datunderthe
cfgdirectoryoftheashintotheworkingdirectoryoftheTFTP serveronthehost168.1.1.1.
ZXR10#copyroot/cfg/db.dattftp://168.1.1.1/db.dat
Thisexampledescribeshowtocopytheledb.datunderthe
workingdirectoryoftheTFTPserveronthehost168.1.1.1into therootdirectoryoftherouterFLASH.
ZXR10#copytftp://168.1.1.1/db.datrootdb.dat

ftp-serverenable

FunctionUsethiscommandtoenableFTP-SERVERfunction.CloseFTP-
SERVERwiththenocommand.
CommandModeGlobalconguration
Syntaxftp-serverenable[listen<port>]
noftp-serverenable
Syntax
Description
InstructionOnlytheunusedportcanbemonitored,includinglocalportand
ExampleThisexampledescribeshowtoenableFTPSERVERon2405port
listen<port>
remoteport.Monitorport21bydefault.
ZXR10(config)#ftp-serverenablelisten2405
EnableFTPServertomonitorspeciedport, intherangeof2401-2420

ftp-servertick-user

FunctionUsethiscommandtodisconnectcurrentuser .
84CondentialandProprietaryInformationofZTECORPORATION
Page 95
Chapter6FTP/TFTPServer
CommandModeGlobalconguration
Syntaxftp-servertick-user<userid>
Syntax
Description
Instructionshowftp-servercanbeusedtoviewwhethertheuserison-line.
ExampleThisexampledescribeshowtodeletecurrenton-lineuser
Related
Commands
<userid>On-lineuserID,thevaliduseris1
ZXR10(config)#ftp-servertick-user1
showftp-server

ftp-servertop-directory

FunctionUsethiscommandtosetFTPSERVER.Allowusertologinthetop
directory.Usersonlycanaccesslesinthisdirectoryandoperate inthedirectory.
CommandModeGlobalconguration
Syntaxftp-servertop-directory<directory>
Syntax
Description
<directory>Theuserdirectorynamemustacomplete
path.Thedirectorymustexist.
InstructionThedirectoriesinZXR10shouldbe/ash/,/cf,/bd,/bd1,
/bd2…(numberofUSBdevicesvarywithrouters)
Onlydirectoriesbeginningwith/system/arevalid.
ExampleThisexampledescribeshowtosetthetopworkingdirectoryto
/ash/cfg/.
ZXR10(config)#ftp-servertop-directory/flash/cfg/

ipftppassword

FunctionUsethiscommandtosetthedefaultloginpasswordoftheFTP
client.Usenocommandtocancelclientdefaultloginpassword.
CommandModeGlobalconguration
Syntaxipftppassword<password>
noipftppassword
Syntax
Description
<password>
DefaultloginpasswordattheFTPclient,with 3~16characters
InstructionThepasswordiscasesensitive.
CondentialandProprietaryInformationofZTECORPORATION85
Page 96
ZXR10CommandManual(BasicCongurationV olumeI)
ExampleThisexampledescribeshowtosettheFTPloginpasswordas
zxr10.
ZXR10(config)#ipftppasswordzxr10
RelatedCommandipftpusername

ipftpusername

FunctionUsethiscommandtosetthedefaultloginusernameoftheFTP
client.Usenocommandtocancelclientdefaultloginpassword.
CommandModeGlobalconguration
Syntaxipftpusrname<username>
noipftpusrname
Syntax
Description
<username>
DefaultusernameattheFTPclient,with1~16 characters
InstructionThevalidcharactersincludetheletters,numeralsandunderline,
caseinsensitivefortheletters.
ExampleThisexampledescribeshowtosettheFTPloginusernameas
zxr10.
ZXR10(config)#ipftpusernamezxr10
RelatedCommandipftppassword

showftp-server

FunctionUsethiscommandtoshowFTPserver-relatedcongurationinfor-
mation.
Synateshowftp-server
ExampleThisexampledescribeshowtoshowFTPserver-relatedcongu-
rationinformation.
ZXR10(config)#showftp-server
RelatedCommandftp-servertop-directory
ftp-serverenable

showftp-server-user

FunctionUsethiscommandtoshowon-lineusersofFTPserver .
CommandModeAllmodesexeceptexec
Syntaxshowftp-server-user<userid>
86CondentialandProprietaryInformationofZTECORPORATION
Page 97
Chapter6FTP/TFTPServer
Syntax
Description
<userid>On-lineuserID,thevalidvalueis1
CondentialandProprietaryInformationofZTECORPORATION87
Page 98
ZXR10CommandManual(BasicCongurationVolumeI)
Thispageisintentionallyblank.
88CondentialandProprietaryInformationofZTECORPORATION
Page 99
Chapter7

IPV4BasicProtocols

TableofContents
address............................................................................90
arptimeout......................................................................91
cleararp..........................................................................91
cleariptrafc-statistics......................................................92
cleartcpconnect...............................................................92
cleartcpline.....................................................................93
cleartcpstatistics..............................................................93
cleartcptcb.....................................................................93
cleartcptty......................................................................93
cleartcpvty.....................................................................94
detectloop-time................................................................94
detectoption....................................................................94
detecttry-times................................................................95
detcettime-out.................................................................95
detect-group.....................................................................96
detect-list.........................................................................96
ipaddress........................................................................97
ipforwarding-mode...........................................................97
ipload-sharing..................................................................98
iplocalpolicyroute-map....................................................99
ipmtu..............................................................................99
ippolicyroute-map..........................................................100
ipproxy-arp....................................................................100
ipredirect......................................................................101
iproute..........................................................................101
ipsource-route...............................................................102
ipstreamcache...............................................................103
ipstreamenable.............................................................104
ipstreamexport..............................................................104
iptcpnwait-time...........................................................105
iptcpqueuemax.............................................................106
iptcpsynwait-tim............................................................106
iptcpwindow-size...........................................................107
ipunnumbered................................................................107
ipunreachable................................................................108
netow-sample-rate.........................................................108
ntpauthenticate..............................................................109
ntpauthentication-key.....................................................109
ntpenable......................................................................110
ntpserver......................................................................110
ntpsource......................................................................111
ntptrusted-key...............................................................111
ping...............................................................................111
pingmng.......................................................................113
pingmpls.......................................................................113
setarp...........................................................................114
CondentialandProprietaryInformationofZTECORPORATION89
Page 100
ZXR10CommandManual(BasicCongurationV olumeI)
showarp........................................................................115
showdetect-group...........................................................116
showipforwarding..........................................................117
showipprotocolrouting...................................................117
showipprotocolroutingsummary.....................................118
showiproute..................................................................118
showiptrafc.................................................................119
showntpstatus...............................................................120
showtcp........................................................................120
showtcpbrief.................................................................121
showtcpcong...............................................................121
showtcpline..................................................................121
showtcpstatistics...........................................................122
showtcptcb...................................................................122
showtcptty...................................................................123
showtcpvty...................................................................124
showvlan-forwarding.......................................................124
trace..............................................................................125
tracempls......................................................................125
vlanarp-mode................................................................126
vlan-forwarding...............................................................127

address

FunctionUsethiscommandtoconguretheIPaddressrangeofsubnet
segmentinmulti-netsegmentpool.DeleteIPaddressrangewith nocommand.
CommandModeNATaddresspoolconguration
Syntaxaddress<start-address><end-address>
noaddress<start-address><end-address>
Syntax
Description
ExampleThisexampledescribeshowtoconguretwosubnetsegmentsin
RelatedCommandipnatmultipool
<start-address>
<end-address>
NATmulti-netsegmentpool.The<start-address>and<end-add ress>ofone.sub-networksegmentare70.70.70.1,70.70.70.10 respectively.Thoseofanothersubnetsegmentare80.80.80.1and
80.80.80.5.
ZXR10(config)ipnatmultipoolzteprefix-length24 ZXR10(config-ipnat-pool)#address70.70.70.170.70.70.10 ZXR10(config-ipnat-pool)#address80.80.80.180.80.80.5
ThestartaddressofsubnetsegmentinNAT multi-netsegmentpool,indotteddecimal notation.
TheendaddressofsubnetsegmentinNAT multi-netsegmentpool,indotteddecimal notation.
90CondentialandProprietaryInformationofZTECORPORATION
Loading...