ZTE ZXR10 User Manual

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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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
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

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
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

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
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
Loading...
+ 107 hidden pages