ZXR10
Router/EthernetSwitch
CommandManual(BasicCongurationVolumeI)
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
LEGALINFORMATION
Copyright©2006ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionordistributionof
thisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwrittenconsentofZTECORPORATIONisprohibited.Additionally ,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany ,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORA TION
oroftheirrespectiveowners.
Thisdocumentisprovided“asis” ,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability,tnessforaparticularpurpose,titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromtheuseoforrelianceonthe
informationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplicationscoveringthesubject
matterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTECORPORATIONanditslicensee,
theuserofthisdocumentshallnotacquireanylicensetothesubjectmatterherein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORA TION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.0Dec.28,2008
FirstEdition
SerialNumber:sjzl20086528
AboutThisManual..............................................i
CommandIntroduction.....................................1
ManualUseGuide...........................................................1
DescriptionofMan-MachineCommands.............................1
AuxiliaryFunction...........................................................2
CommandMode.............................................................3
BasicSystemManagement................................7
auto-downloadcong......................................................8
bannerincoming............................................................8
bootcong-le...............................................................9
clockset........................................................................9
clocktimezone..............................................................10
congureterminal.........................................................10
disable.........................................................................11
enable.........................................................................11
enablesecret................................................................12
end.............................................................................13
exit.............................................................................13
ah-protectpower-off....................................................14
hostname.....................................................................14
helpmessage................................................................15
more...........................................................................15
multi-usercongure.......................................................16
nvramboot-password....................................................17
nvramboot-server.........................................................17
nvramboot-username....................................................18
nvramdefault-gateway..................................................18
nvramimgle-location....................................................19
nvrammng-ip-address...................................................20
privilege.......................................................................20
reload..........................................................................21
servicepassword-encryption...........................................21
showauto-download-cong............................................22
showclock....................................................................22
showdiagnosticinformation............................................22
showprivilege...............................................................27
showrunning-cong......................................................27
showstartrunning-cong...............................................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
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
showash-check...........................................................43
unmount......................................................................44
update-imgle...............................................................44
write............................................................................45
writeash....................................................................45
writeimgle.................................................................46
writenvram..................................................................47
UserInterfaceManagement............................49
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
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
logginglesavetime.......................................................67
logginglter-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
showlogle..................................................................74
showloggingalarm........................................................74
showloggingcongure...................................................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
cleariptrafc-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
iptcpnwait-time.......................................................105
iptcpqueuemax.........................................................106
iptcpsynwait-tim........................................................106
iptcpwindow-size.......................................................107
ipunnumbered............................................................107
ipunreachable............................................................108
netow-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
showiptrafc.............................................................119
showntpstatus...........................................................120
showtcp....................................................................120
showtcpbrief.............................................................121
showtcpcong...........................................................121
showtcpline..............................................................121
showtcpstatistics.......................................................122
showtcptcb...............................................................122
showtcptty................................................................123
showtcpvty...............................................................124
showvlan-forwarding...................................................124
trace..........................................................................125
tracempls..................................................................125
vlanarp-mode............................................................126
vlan-forwarding...........................................................127
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,includingthecongurationand
viewingcommands
Describestheoperationandmanagement
commandsforthelesystem
Describestheoperationandmanagement
commandsfortheuserinterfaces
Describestheoperationandmanagement
commandsforthesystemlogandstatistics
Describestheoperationandmanagement
commandsfortheFTP/TFTPserver
Describesthecongurationandview
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)
CondentialandProprietaryInformationofZTECORPORATIONi
ZXR10CommandManual(BasicCongurationVolumeI)
�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)
iiCondentialandProprietaryInformationofZTECORPORATION
Chapter1
CommandIntroduction
TableofContents
ManualUseGuide...............................................................1
DescriptionofMan-MachineCommands.................................1
AuxiliaryFunction...............................................................2
CommandMode.................................................................3
ManualUseGuide
Thecommandsinothervolumesareclassiedbyfunctionalmodules,andeachfunctionalmodulecorrespondstoachapterand
thecommandsinthechapterareorganizedintheformoflevel2
directoryandintheorderofa–z.
Tosearchacommand,doasfollows:
1.FindthedesiredcommandbyreferringtoZXR10Router/EthernetSwitchCommandManual—CommandIndex.
2.Findcommanddetailsbythevolume,chapter/sectionandpage
oftheobtainedcommand.
DescriptionofMan-Machine
Commands
EachMMLcommandisdescribedbythefollowingitems:
�Function
Itdescribesthefunctionimplementedbythiscommand.
�CommandMode
Itdescribesthemodeinwhichthiscommandcanbeexecuted.
�Format
Itdescribesthecompleteformatofthiscommand,including
thenoformatifpossible.
�ParameterDescription
Itdescribesparametersinthiscommandintheformandprescribestherangeanddefaultvalue.Ifdifferentproductshave
CondentialandProprietaryInformationofZTECORPORATION1
ZXR10CommandManual(BasicCongurationV olumeI)
differentparameterrangesordefaultvalues,anadditional
formisusedfordescription.
�Default
Thedefaultvalueisavailableinthecasethatthiscommandis
notset.Thedefaultparametervalueisnotdescribedherefor
valueselection.
Additionaldescriptionshallbegivenifdifferentproductshave
differentdefaultvalues.
�Instructions
Firstdescribestheplatformversioninformationaboutthis
command.Forexample,“TheplatformversionX.X.XXorlater
supportsthiscommand”indicatesthiscommandisprovided
fromthebeginningoftheplatformversionX.X.XX.Thiscommandisprovidedfromtheplatformversion2.6bydefault.
Seconddescribestheusemethodandprecautionsofthiscommand.
�Example
Itdescribestheuseofthiscommandinanexample.
�RelatedCommands
Liststhecommand(s)relatedtothiscommand.
�HistoryCommand
Itdescribeshistoryversioninformationrelatedtothiscommandifacommandischangedafterversionupgrade.
Donotdescribethehistorycommandifthisentrydoesnotexist.
AuxiliaryFunction
TheauxiliaryfunctionforZXR10devicesisasfollows.
1.Inanycommandmode,enteraquestionmark(?)afterthe
DOSpromptofthesystem,alistofavailablecommandsinthe
commandmodewillbedisplayed.Withthecontext-sensitive
helpfunction,thekeywordsandparameterlistsofanycommandscanbeobtained.
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.
2CondentialandProprietaryInformationofZTECORPORATION
Chapter1CommandIntroduction
iv.Inputaquestionmarkafteracommand,akeywordora
parameter ,thenextkeywordorparametertobeinputwill
belisted,andalsoabriefexplanationwillbegiven.Note
thataspacemustbeenteredbeforethequestionmark.
2.Ifincorrectcommand,keywordorparameterisinput,theerror
isolationisofferedwith^intheuserinterfaceafteryoupress
ENTER.The^isbelowtherstcharacteroftheinputincorrect
command,keywordorparameter .
3.ZXR10router/Ethernetswitchallowsthecommandorkeywordtobeabbreviatedintoacharacterorcharacterstringthat
uniquelyidentiesthiscommandorkeyword.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>
Admission
Mode
Entry
Command
entersdirectly
afterlogging
thesystem
Functions
Viewssimple
information
Privileged
mode
Global
conguration
mode
ZXR10#
ZXR10(config)#
CondentialandProprietaryInformationofZTECORPORATION3
Exec
mode
Privileged
mode
enable
configure
terminal
Congures
system
parameters
Congures
globalservice
parameters
ZXR10CommandManual(BasicCongurationV olumeI)
Mode
Interface
conguration
mode
Subinterface
mode
VLAN
database
conguration
mode
VLAN
conguration
mode
Prompt
ZXR10(configif)#
ZXR10(configsubif)#
ZXR10(vlandb)#
ZXR10(configvlan)#
Admission
Entry
Functions
Command
Mode
Global
conguration
mode
interfaceCongures
port
parameters
andselects
aporttype
dependingon
thekeyword
Global
conguration
mode
interfaceCongures
subinterface
parameters
ofthe
NPCI/NPCT
Privileged
vlandatab
ase
mode
Global
vlan
conguration
Createsor
deletesVLANs
inbatches
Congures
VLAN
parameters
mode
MSTP
conguration
mode
Basic
ACL
conguration
ZXR10(configmstp)#
ZXR10(configbasic-acl)#
Global
conguration
spanning-t
reemstconf
iguration
Congures
MSTP
parameters
mode
Global
cong-
aclbasic
Denesbasic
ACLrule
uration
mode
mode
Extended
ACL
cong-
ZXR10(configext-acl)#
Global
conguration
aclextend
Denes
extendedACL
rule
mode
uration
mode
Line
conguration
mode
ZXR10(configline)#
Global
conguration
mode
lineconsole
0
line<1~64
>(GAR)
Congures
parameters
relatedto
serialport
andtelnet
connection
Layer
2ACL
conguration
ZXR10(configlink-acl)#
Global
cong-
acllink
Deneslayer
2ACLrule
uration
mode
mode
4CondentialandProprietaryInformationofZTECORPORATION
Chapter1CommandIntroduction
Mode
Prompt
Admission
Entry
Functions
Command
Mode
Hybrid
ACL
conguration
ZXR10(confighybd-acl)#
Global
cong-
aclhybrid
Deneshybrid
ACLrule
uration
mode
mode
Router
standardACL
mode
Router
extended
ACL
ZXR10(configstd-nacl)#
ZXR10(configext-nacl)#
Global
conguration
ipaccess-list
Denesrouter
standardACL
rule
mode
Global
conguration
ipaccess-list
Denesrouter
extendedACL
rule
mode
mode
Route
conguration
mode
ZXR10(configrouter)#
Global
conguration
routerrip
Congures
RIP
parameters
mode
routerospfCongures
OSPF
parameters
routerisis
Congures
IS-IS
parameters
routerbgp
Congures
BGP
parameters
router
pimsm
Congures
PIM-SM
parameters
ipv6router
rip
Congures
RIPng
parameters.
ipv6router
ospf
Congures
OSPFv3
parameters
VRF
conguration
mode
VFIconguration
mode
ZXR10(configvrf)#
ZXR10(configvfi)#
Global
conguration
ipvrfCongures
VRF
parameters
mode
Global
conguration
vfiCongures
VPLSrelated
parameters
mode
CondentialandProprietaryInformationofZTECORPORATION5
ZXR10CommandManual(BasicCongurationV olumeI)
Mode
IPv4address
family
conguration
mode
IPv6
unicast
address
family
conguration
mode
Route
map
conguration
mode
Prompt
ZXR10(configrouter-af)#
ZXR10(configrouter-af)#
ZXR10(configroute-map)#
Admission
Mode
Route
conguration
mode
(RIP)
Route
conguration
mode
(BGP)
Route
conguration
mode
(BGP4+)
Route
conguration
mode
(ISISv6)
Global
conguration
mode
Entry
Command
address-fam
ilyipv4vrf
address-fam
ilyvpnv4
address-fam
ilyipv4vrf
address-fam
ilyipv6
address-fam
ilyipv6
route-map
Functions
Congures
RIPVRF
parameters
Congures
BGPVPN
andVRF
parameters
Congures
BGP4+
unicast
addressfamily
Congures
IS-ISv6
addressfamily
Congures
routemap
matchingitem
andoperation
Channelization
conguration
ZXR10(configcontrol)#
Global
conguration
mode
control
Congures
channelization
force1,ce3
andcpos3
mode
Dial
peer
conguration
mode
Voice
port
conguration
ZXR10(configvoip100)#
ZXR10(configvoice-port)#
Global
conguration
mode
dial-peer
voice
Congures
business
relatedto
integrated
service
Global
cong-
voice-port
Congures
voiceservice
uration
mode
mode
IPSec
conguration
mode
Diagnosismode
ZXR10(configipsec)#
ZXR10(diag)#
Global
conguration
ipsec
Congures
IPv6IPSec
protection
mode
Privi-
diagnose
leged
mode
TestsCPU
andmemory
usage
6CondentialandProprietaryInformationofZTECORPORATION
Chapter2
BasicSystem
Management
TableofContents
auto-downloadcong..........................................................8
bannerincoming................................................................8
bootcong-le...................................................................9
clockset...........................................................................9
clocktimezone..................................................................10
congureterminal.............................................................10
disable.............................................................................11
enable.............................................................................11
enablesecret....................................................................12
end.................................................................................13
exit.................................................................................13
ah-protectpower-off........................................................14
hostname.........................................................................14
helpmessage....................................................................15
more...............................................................................15
multi-usercongure..........................................................16
nvramboot-password........................................................17
nvramboot-server.............................................................17
nvramboot-username........................................................18
nvramdefault-gateway......................................................18
nvramimgle-location........................................................19
nvrammng-ip-address.......................................................20
privilege...........................................................................20
reload..............................................................................21
servicepassword-encryption...............................................21
showauto-download-cong................................................22
showclock........................................................................22
showdiagnosticinformation................................................22
showprivilege...................................................................27
showrunning-cong..........................................................27
showstartrunning-cong...................................................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
CondentialandProprietaryInformationofZTECORPORATION7
ZXR10CommandManual(BasicCongurationV olumeI)
username.........................................................................34
user-group.......................................................................34
who.................................................................................35
auto-downloadconfig
PurposeUsethiscommandtoenabledownloadingthecongurationle
automatically.
CommandModesGlobalConguration
Syntaxauto-downloadconfig
noauto-downloadconfig
InstructionsThiscommandistoenabledownloadingcongurationleauto-
matically.Ifthecongurationles(startrunandcong)already
exist,deletethemandreboottheracktodownloadthemautomatically.Whenthisfunctionisdisabled,ifthedownloadingisin
theprocess,thenitinformstheTFTPmoduleaboutshuttingthe
downloading.
DefaultsItisenabledbydefaultandthecongurationiswrittinginto
NVRAM.Itsupports52a.
ExampleThisexampledescribeshowtoenabledownloadingthecongura-
tionleautomatically.
ZXR10(config)#auto-downloadconfig
Related
Commands
bootconfig-file
showauto-download-config
bannerincoming
FunctionUsethiscommandtosetthegreetingforthesystemstartup.
CommandmodeGlobalconguration
Formatbannerincoming<end-char><TEXT><end-char>
Syntax
Description
DefaultDefaultwelcomeprompt.
Instructions1.Settheuser-dened<end-char>,withonlyonecharacter:
8CondentialandProprietaryInformationofZTECORPORATION
<end-char>Endcharacter ,withonecharacter
<TEXT>
bannerincoming#.AfteryoupressENTER,thesystem
promptsthefollowinginformation:
EnterTEXTmessage.Endwiththecharacter’#’.
Greeting:textincludingspacesandENTER.It
doesnotexceed253charactersatmostand
endwith<end-char>
Chapter2BasicSystemManagement
2.Entertheformalgreetingtext,whichmayincludespecialcharacters(except?)suchasspaceandENTER.Itendswith’#’ .
Note:
Thespecialcharacter?isregardedasthehelppromptbydefault.Asaresult,allthecommandparameters(text-type)or
thepasswordcannotinclude?.
ExampleThisexampledescribeshowtosetthegreetingtowelcome.
ZXR10(config)#bannerincoming#
EnterTEXTmessage.Endwiththecharacter’#’.
welcome
#
bootconfig-file
PurposeUsethiscommandtosetthepathforcongle.
CommandModesGlobalConguration
Syntaxbootconfig-file<filename>
Syntax
Description
InstructionsThiscommandistospecifythepathforcongle.Thecongura-
DefaultsItisenabledbydefaultandthecongurationiswrittinginto
ExampleThisexampledescribeshowtosetthepathforcongurationle
Related
Commands
<filename>Setsthepathforcongle.
tioniswrittingintoNVRAM.Itonlysupports52acurrently .
NVRAM.Itsupports52a.
tocfg/cong.dat
ZXR10(config)#bootconfig-filecfg/config.dat
ZXR10(config)#
auto-downloadconfig
showauto-download-config
clockset
PurposeUsethiscommandtocongurethesystemclockinstandardtime
format.
CommandModesPrivilegedEXEC
Syntaxclockset<current-time><month><day><year>
CondentialandProprietaryInformationofZTECORPORATION9
ZXR10CommandManual(BasicCongurationV olumeI)
Syntax
Description
<current-time>
<month>Month,jan~dec
Thecurrenttimeintheformat:hh:mm:ss.
<day>
<year>
ExampleThisexampledescribeshowtosetthesystemtimeto12minutes
1secondpast23o’clockonFeb.23,2001withthefollowingcommand.
ZXR10#clockset23:12:01feb232001
Related
Commands
showclock
clocktimezone
PurposeUsethiscommandtoconguretimezoneinformation.
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.
ExampleThisexampledescribeshowtoconguretimezoneasBeijingand
the<hours-offset>as8.
ZXR10#clocktimezoneBeijing80
Related
Commands
showclock
configureterminal
PurposeUsethiscommandtochangefromtheprivilegedEXECtotheglobal
congurationmode.
CommandModesPrivilegedEXEC
Syntaxconfigureterminal
ExampleThisexampledescribeshowtochangefromtheprivilegedEXEC
totheglobalcongurationmode.
10CondentialandProprietaryInformationofZTECORPORATION
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>
Instructions�Passwordisrequiredwhenenteringintoeachauthoritylevel.
Authoritylevel,thedefaultvalueis15.
Ifthepasswordshavenotbeencongured,thenenteringinto
theauthoritylevelisnotpermitted.
CondentialandProprietaryInformationofZTECORPORATION11
ZXR10CommandManual(BasicCongurationV 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.
CommandModeGlobalconguration
Syntaxenablesecret{0<password>|5<password>|<password>}
enablesecret[level<level-number>]{0<password>|5<pass
word>|<password>}
noenablesecretlevel<1~14>
Syntax
Description
Instructions�Theenablepassworddisplayedinshowrunning-congisthe
level<level-number
>
0<password>Setstheprivilegedpasswordwith3–16
5<password>Setsencryptedprivilegedpasswordwith3–24
<password>Setsprivilegedpasswordwith3–16characters
Designatesauthoritylevel,thedefaultvalue
is15
characterstoentertheprivilegedmode
characters
bydefault
encryptedprivilegedpassword,whilethepasswordthatisused
forenabletoentertheprivilegedmodeisunencryptedprivilegedpassword.
�Thecommandenablesecret[level<1~15>]{0<passwor
d>|5<password>|<password>}isonlyapplicabletoZXR10
T64E/T128.
12CondentialandProprietaryInformationofZTECORPORATION
Bothcommandsenablesecret0<password>andenablesecret
<password>areusedtoenteranunencryptedpassword.Setthe
passwordwiththeenablesecret5<password>command.The
conguredpasswordisnotanencryptedprivilegedpasswordunlessthelengthof<password>is24.
ExampleThisexampledescribeshowtosettheprivilegepasswordto
ZXR10.
ZXR10(config)#enablesecretZXR10
RelatedCommandenable
end
Chapter2BasicSystemManagement
Note:
PurposeUsethiscommandtoreturntotheprivilegedEXECmode.
CommandModesThecommandisavailableforallmodesotherthantheEXECand
privilegedEXECmode.
Syntaxend
ExampleThisexampledescribeshowtoreturnfromtheglobalconguration
modetotheprivilegedEXECmode.
ZXR10(config)#end
ZXR10#
Related
Commands
configureterminal
interface
routerbgp
routerospf
routerrip
exit
PurposeUsethiscommandtoquittheloginrouterorreturntothelast
mode.
CommandModesAllmodes
Syntaxexit
InstructionsWhenitisexecutedundertheEXECmodeorprivilegedEXEC
mode,itmeansexitingtheloginrouter .Whileinothermodes,
itmeansreturningtothelastmode.
ExampleThisexampledescribeshowtoexitfromtheglobalconguration
modetotheprivilegedEXECmode.
ZXR10(config)#exit
ZXR10#
CondentialandProprietaryInformationofZTECORPORATION13
ZXR10CommandManual(BasicCongurationV olumeI)
Related
Commands
configureterminal
login
logout
flah-protectpower-off
PurposeUsethiscommandtoconrmthepower-off.
CommandModesPrivilegedEXEC
Syntaxflash-protectpower-off[force]
Syntax
Description
InstructionsTheplatformversion4.8.22supportsthiscommand.Thecom-
Example�Thisexampledescribeshowtosetforcepower-offmanually .
forceForcesthepower-offmanually .
mandwiththeparameterforcemeansforcingpower-offmanu-
allyandbeingrelatedtoash-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.
CommandModesGlobalconguration
Syntaxhostname<network-name>
nohostname
Syntax
Description
DefaultsBydefault,thedefaultsystemnetworknameisZXR10.
14CondentialandProprietaryInformationofZTECORPORATION
<network-name>Networkname,with1~32characters
Chapter2BasicSystemManagement
InstructionsThemodiedhostnametakeseffectimmediately .
ExampleThisexampledescribeshowtosetthenetworknameoftherouter
toZXR10_router .
ZXR10(config)#hostnameZXR10_router
ZXR10_router(config)#
helpmessage
FunctionUsethiscommandtosetwhethertodisplayallcommandcom-
ments.
CommandModeGlobalcongurationmode
Formathelpmessage[full|partial]
Syntax
Description
FullDisplayallcomments
Partial
InstructionBydefault,thecommentsaredisplayedinpartialmode.
ExampleThisexampledescribeshowtosethelpmessagetofull.
ZXR10(config)#helpmessagefull
Omitsomecomments
more
PurposeUsethiscommandtodisplaytheashasciitextsuchaslog,dead
halt.
CommandModesPrivilegedEXEC
Syntaxmore<word>[ascii|binary[width]]
Syntax
Description
<word>
<ascii>
<binary>Thebinarydisplaymode
<width>
Thepathforthisle
Thedisplaymodeofthetext
Thebytewidthoftheunit
InstructionsTheplatformversion4.8.22supportsthiscommand.Thecom-
mandwiththeparameterforcemeansforcingpower-offmanu-
allyandbeingrelatedtoash-protect.Ifthecommandiswiththe
parameterforce,regardlessofwhethertheFlashisinusageor
not,unloadtheFlashdeviceandpower-offmanually.Or ,ifthe
Flashisinusage,itcannotpower-offmanually.
Example�Thisexampledescribeshowtosetforcepower-offmanually .
ZXR10#flash-protectpower-offforce
Areyousuretopoweroffthemachine?
CondentialandProprietaryInformationofZTECORPORATION15
ZXR10CommandManual(BasicCongurationV 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
FunctionUsethiscommandtopermitmultipleuserstoenterthecongura-
tionmode.Congurethesingleusercongurationmodewiththe
nocommand.
CommandModeGlobalconguration
Formatmulti-userconfigure
nomulti-userconfigure
InstructionsBydefault,onlyausercanentertheglobalcongurationmode.
Usethiscommandtopermitotherusersenterintotheglobalcongurationmode.Thenocommandisusedtocongurethesingle
usertoenterintocongurationmode.Makesurethatotherusers
haveexitedcongurationmode,thenusenocommand.
Note:
Whenmultipleusersareconguring,theircongurationsshould
notconict.
Example�Thisexampledescribeshowtoenterthecongurationmode
andallowmultipleusercongurationswhenthereisnouserin
thecongurationmode.
ZXR10#configureterminal
ZXR10(config)#multi-userconfigure
%Warning:allowothersconfigure,mustavoidconflict.
ZXR10(config)#
�Thisexampledescribeshowtoenterthesingleusercongu-
rationmodewhenthereisoneuserinthecongurationmode.
ZXR10#configureterminal
%Simultaneousconfigsnotallowed.Lockedfrom168.1.168.168
ZXR10#
�Thisexampledescribeshowtodowhenotherusershavenot
exitedthecongurationmode.
ZXR10(config)#nomulti-userconf
%Someonehasenteredtheconfiguremode,
cannotsetsingle-userconfigure!
ZXR10(config)#
RelatedCommandconfigureterminal
16CondentialandProprietaryInformationofZTECORPORATION
nvramboot-password
FunctionUsethiscommandtostarttheFTPdownloadsettingforthemap-
pingleandspecifythepasswordoftheFTPserverfordownload.
CommandModeGlobalconguration
Formatnvramboot-password<password>
Syntax
Description
Instructions�Validcharactersareasfollows:0123456789abcdefghi-
ExampleThisexampledescribeshowtoSettheloginpasswordforthemap-
Related
Commands
<password>FTPpassword,with3~16characters
jklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ‘*=~!@#$%^&()_+[]{}|;’:,./<>\\
�Thiscommandworkswithsuchcommandsasnvramboot-se
rver,nvramboot-username,nvramimgfile-locationand
nvramdefault-gateway.
pingledownloadFTPtopass.
ZXR10(config)#nvramboot-passwordpass
nvramboot-server
nvramboot-username
nvramdefault-gateway
nvramimgfile-location
Chapter2BasicSystemManagement
nvramboot-server
FunctionUsethiscommandtoenabletheFTPdownloadsettingsformap-
pinglesandspecifytheIPaddressoftheFTPserverfordownload.
CommandModeGlobalconguration
Syntaxnvramboot-server<ip-address>
Syntax
Description
InstructionThiscommandworkswiththesecommands:nvramboot-pass-
ExampleThisexampledescribeshowtosettheIPaddressforthemapping
Related
Commands
<ip-address>IPaddressinthedotteddecimalnotation
word,nvramboot-usernam,nvramimgle-locationandnvramdefault-gateway.
downloadFTPto168.1.1.1.
ZXR10(config)#nvrambootserver168.1.1.1
nvramboot-password
nvramboot-username
nvramdefault-gateway
nvramimgfile-location
CondentialandProprietaryInformationofZTECORPORATION17
ZXR10CommandManual(BasicCongurationV olumeI)
nvramboot-username
FunctionUsethiscommandtoenabletheFTPdownloadsettingformapping
lesandspecifytheusernameoftheFTPserverfordownload.
CommandModeGlobalconguration
Syntaxnvramboot-username<username>
Syntax
Description
Instructions�Thevalidcharactersincludetheletters,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 .
CommandModeGlobalconguration
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
18CondentialandProprietaryInformationofZTECORPORATION
nvramimgfile-location
PurposeUsethiscommandtosetthelocationforbootingthemappingle.
CommandModesGlobalconguration
Syntaxsetethernet-oamlink-monitorframe-secondsthreshold
<xxx>window<yyy>
nvramimgfile-location{local{flash|sd}<filename>}|netw
ork<filename>}
Syntax
Description
local
Chapter2BasicSystemManagement
Themappingleislocatedlocally.
flashIftheversionrebootsfromlocal,thestorage
sd
network
<filename>
Instructions�Thevalidcharactersforthelenameareasfollows.
devicetypeisash.
Iftheversionrebootsfromlocal,thestorage
devicetypeissdcard.
Themappingleislocatedinthenetwork.
Filename,with1~80characters.
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ/.;,-=+$#~@%()!&[]{}
Ifitisspeciedasnetworkboot,thelenamecanincludethe
pathofthespeciedFTPdirectory .Forexample,thespecied
FTPdirectoryissysmandnowitisinthenetsdirectoryunder
sysmoftheFTPserver,andthelenamecanalsoinclude
thepathunderthesysm/netsdirectory .Notethatthepath
sysm/netscannotbeincludedrepeatedly.
�Thiscommandworkswiththesecommands:nvramboot-p
assword,nvramboot-server,nvramboot-usernameand
nvramdefault-gateway.
�Theplatformversion4.8.22supportsrebootingfromSDcard
whentheversionstartsfromlocal.
Example�Thisexampledescribeshowtoresetthecardinslot3.
ZXR10#reloadslot3
Proceedwithreload?[yes/no]:y
ZXR10#
�Thisexampledescribeshowtoresettherightsfc.
ZXR10#reloadsfc2
Proceedwithreload?[yes/no]:y
ZXR10#
�ThisexampledescribeshowtoresettheslaveMP .
ZXR10#reloadmpslave
Proceedwithreload?[yes/no]:y
ZXR10#
CondentialandProprietaryInformationofZTECORPORATION19
ZXR10CommandManual(BasicCongurationV olumeI)
nvrammng-ip-address
FunctionSettheIPaddressoftherouterMNG(managementinterface).
CommandModeGlobalconguration
Syntaxnvrammng-ip-address<ip-address><net-mask>
Syntax
Description
InstructionThisaddresscanbeusedtologintotherouterfromaninternal
<ip-address>
<net-mask>Subnetmaskinthedotteddecimalnotation
networkport.
Note:
Theconguredinterfaceaddressandthisaddresscannotbeinthe
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.
CommandModeGlobalconguration
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
20CondentialandProprietaryInformationofZTECORPORATION