Zte ZXR10 ZSR User manual

ZXR10ZSRV2
IntelligentIntegratedMulti-ServiceRouter
CongurationGuide(SystemManagement)
Version:2.00.10
ZTECORPORATION
No.55,Hi-techRoadSouth,ShenZhen,P .R.China
Postcode:518057
Tel:+86-755-26771900
Fax:+86-755-26770801
URL:http://ensupport.zte.com.cn
E-mail:[email protected]

LEGALINFORMATION
Copyright©2013ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionor
distributionofthisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwritten
consentofZTECORPORATIONisprohibited.Additionally,thecontentsofthisdocumentareprotectedby
contractualcondentialityobligations.
Allcompany,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTE
CORPORATIONoroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditions
aredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability,tnessforaparticularpurpose,
titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromthe
useoforrelianceontheinformationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplications
coveringthesubjectmatterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTE
CORPORATIONanditslicensee,theuserofthisdocumentshallnotacquireanylicensetothesubjectmatter
herein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.02014-05-10Firstedition
SerialNumber:SJ-20140504150128-007
PublishingDate:2014-05-10(R1.0)
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Contents
AboutThisManual.........................................................................................I
Chapter1DeviceConnectionmanagement............................................1-1
1.1ConnectingtheZXR10ZSRV2System...............................................................1-1
1.2ConguringConsolePortConnection..................................................................1-2
1.3ConguringTelnetConnection............................................................................1-2
1.4ConguringSSHConnection...............................................................................1-6
1.5FTPConnectionConguration..........................................................................1-10
1.5.1ConguringtheZXR10ZSRV2asanFTPServer....................................1-10
1.5.2ConguringtheZXR10ZSRV2asanFTPClient.....................................1-12
1.6ConguringTFTPConnection...........................................................................1-15
1.7SFTPConnectionCongration..........................................................................1-17
1.7.1ConguringtheZXR10ZSRV2asanSFTPServer.................................1-17
1.7.2ConguringtheZXR10ZSRV2asanSFTPClient...................................1-18
Chapter2FileSystemManagement.........................................................2-1
2.1FileSystemOverview.........................................................................................2-1
2.2ConguringFileSystemManagement.................................................................2-2
2.3FileSystemManagementCongurationExamples...............................................2-3
2.3.1FileSystemCongurationExample...........................................................2-3
2.3.2CongurationExampleofBackingUpaCongurationFileonaUSB
FlashDrive.............................................................................................2-4
Chapter3MIMConguration....................................................................3-1
3.1MIMOverview....................................................................................................3-1
3.2ConguringMIM.................................................................................................3-1
Chapter4UserManagement.....................................................................4-1
4.1UserManagementOverview...............................................................................4-1
4.2ConguringUserManagement............................................................................4-2
4.3UserManagementCongurationExamples.........................................................4-7
4.3.1LocalAuthenticationandAuthorizationUserCongurationExample............4-7
4.3.2RADIUS-LOCALAuthenticationandAuthorizationUserConguration
Example.................................................................................................4-8
4.3.3TACACS+AuthenticationandAuthorizationUserConguration
Example...............................................................................................4-10
4.3.4ConguringaPasswordPromptQuestionforResettingaPassword...........4-11
I
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

4.3.5ConguringOAMSecurityManagement..................................................4-13
4.3.6ConguringaPasswordValidityPeriod....................................................4-15
4.3.7ConguringFirst-LoginPasswordModication........................................4-17
4.3.8RelationsBetweenRaisingPrivilegeLevelsandtheEnableCommand......4-18
Chapter5CommandPrivilegeLevelClassication................................5-1
5.1CommandPrivilegeLevelOverview....................................................................5-1
5.2ConguringCommandPrivilege.........................................................................5-1
5.3CommandPrivilegeLevelCongurationExample.................................................5-2
Chapter6SNMPConguration.................................................................6-1
6.1SNMPBasicConguration..................................................................................6-1
6.1.1SNMPOverview.......................................................................................6-1
6.1.2ConguringSNMP....................................................................................6-1
6.1.3SNMPCongurationExample...................................................................6-6
6.2SNMPAnti-ViolenceAttack...............................................................................6-10
6.2.1SNMPAnti–BruteForceAttackOverview.................................................6-10
6.2.2ConguringSNMPAnti–BruteForceAttack..............................................6-11
6.2.3SNMPAnti–BruteForceAttackCongurationExample.............................6-13
Chapter7AlarmManagementConguration..........................................7-1
7.1AlarmOverview..................................................................................................7-1
7.2ConguringtheAlarmFunction...........................................................................7-2
7.3AlarmFunctionCongurationExample................................................................7-7
Chapter8SYSLOGConguration............................................................8-1
8.1SysLogOverview...............................................................................................8-1
8.2ConguringSyslog.............................................................................................8-1
8.3SyslogCongurationExample............................................................................8-2
Chapter9RMONConguration................................................................9-1
9.1RMONOverview................................................................................................9-1
9.2ConguringRMON.............................................................................................9-1
9.3RMONCongurationExample............................................................................9-3
Chapter10ClockandClockSynchronization.......................................10-1
10.1NTPConguration..........................................................................................10-1
10.1.1NTPOverview......................................................................................10-1
10.1.2ConguringNTP...................................................................................10-2
10.1.3NTPCongurationExamples................................................................10-4
10.2PhysicalPOSInterfaceClockConguratio.......................................................10-6
10.2.1PhysicalPOSInterfaceClock................................................................10-6
II
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

10.2.2ConguringaPhysicalPOSInterfaceClock...........................................10-7
10.2.3PhysicalPOS-InterfaceClockCongurationInstance.............................10-7
Chapter11PerformanceStatistics.........................................................11-1
11.1PerformanceManagementOverview................................................................11-1
11.2PerformanceManagementConguration..........................................................11-1
11.3PerformanceManagementCongurationExample............................................11-3
Chapter12NetFlowConguration.........................................................12-1
12.1NetFlowOverview..........................................................................................12-1
12.2ConguringNetFlow.......................................................................................12-3
12.3NetFlowCongurationExamples.....................................................................12-9
12.3.1NetFlowV5CongurationExample.......................................................12-9
12.3.2NetFlowV8CongurationExample......................................................12-11
12.3.3NetFlowV9CongurationExample......................................................12-12
Chapter13SQAConguration................................................................13-1
13.1SQAOverview...............................................................................................13-1
13.2ConguringSQA............................................................................................13-1
13.3SQACongurationExamples..........................................................................13-4
13.3.1ICMP-TypeSQACongurationExample................................................13-4
13.3.2FTP-TypeSQACongurationExample..................................................13-5
13.3.3TCP-TypeSQACongurationExample..................................................13-6
13.3.4UDP-TypeSQACongurationExample.................................................13-8
13.3.5DNS-TypeSQACongurationExample.................................................13-9
Chapter14LLDPConguration..............................................................14-1
14.1LLDPOverview..............................................................................................14-1
14.2ConguringLLDP...........................................................................................14-3
14.3LLDPCongurationExamples.........................................................................14-5
14.3.1LLDPNeighborCongurationExample..................................................14-5
14.3.2LLDPAttributeCongurationExample...................................................14-6
Chapter15NetworkLayerDetection......................................................15-1
15.1ConguringICMPFastResponse....................................................................15-1
15.2ConguringIPSourceRouteOptionProcessing...............................................15-4
15.3ConguringICMPUnreachablePacketFunction..............................................15-6
15.4EnablinganInterfacetoSendICMPUnreachablePackets...............................15-7
15.5ConguringIPPing.........................................................................................15-9
15.6ConguringIPTrace......................................................................................15-12
15.7ConguringLSPPing....................................................................................15-15
III
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

15.8ConguringLSPTrace...................................................................................15-21
15.9ConguringMulticastPing..............................................................................15-26
15.10ConguringMulticastTrace..........................................................................15-30
15.11ConguringMACPing..................................................................................15-32
15.12ConguringMACTrace................................................................................15-34
15.13IPPerformanceMaintenance.......................................................................15-37
Figures.............................................................................................................I
Glossary.........................................................................................................V
IV
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

AboutThisManual
Purpose
Thismanualdescribesfunctionalprinciples,congurationcommandsandexamples
relatedtoZXR10ZSRV2systemmanagement.
IntendedAudience
Thismanualisintendedforthefollowingengineers:
lNetworkplanningengineers
lCommissioningengineers
lMaintainingengineers
WhatIsinThisManual
Thismanualcontainsthefollowingcontents:
ChapterSummary
1,DeviceConnection
Management
Describesseveralmodes(includingthroughaConsoleport,
TELNET,SSH,FTP,TFTPandSFTP)andcongurationcommands
toconnecttoZXR10ZSRV2.
2,FileSystemManagementDescribesoperationalcommandsforthelesystemofthedevice.
3,MIMCongurationDescribesMIMprinciples,congurationcommandsand
congurationexamples.
4,UserManagementDescribesusermanagementprinciple,congurationcommandsand
congurationexamples.
5,CommandPrivilegeLevel
Classication
Describesuserandcommandprivilegelevelclassicationprinciple,
congurationcommandsandcongurationexample.
6,SNMPCongurationDescribesSNMPprinciples,congurationcommandsand
congurationexamples.
7,AlarmManagement
Conguration
Describesalarmmanagementprinciple,congurationcommands
andcongurationexample.
8,SYSLOGCongurationDescribesSYSLOGprinciple,congurationcommandsand
congurationexample.
9,RMONCongurationDescribesRMONprinciple,congurationcommandsand
congurationexample.
10,ClockandClock
Synchronization
Describesclockandclocksynchronizationprinciples,conguration
commandsandcongurationexamples.
I
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ChapterSummary
11,PerformanceStatisticsDescribesperformancestatisticsprinciple,congurationcommands
andcongurationexample.
12,NetFlowCongurationDescribesNetFlowprinciple,congurationcommandsand
congurationexamples.
13,SQACongurationDescribesSQAprinciple,congurationcommandsandconguration
examples.
14,LLDPCongurationDescribesLLDPprinciples,congurationcommandsand
congurationexamples.
15,NetworkLayerDetectionDescribestheprinciples,congurationcommands,andconguration
examplesofthenetworklayerdetection.
Conventions
Thismanualusesthefollowingtypographicalconventions:
TypefaceMeaning
ItalicsVariablesincommands.Itmayalsorefertootherrelatedmanualsanddocuments.
BoldMenus,menuoptions,functionnames,inputelds,optionbuttonnames,checkboxes,
drop-downlists,dialogboxnames,windownames,parameters,andcommands.
Constant
width
Textthatyoutype,programcodes,lenames,directorynames,andfunctionnames.
[]Optionalparameters.
|Separatesindividualparameterinseriesofparameters.
Warning:indicatesapotentiallyhazardoussituation.Failuretocomplycanresultin
seriousinjury,equipmentdamage,orinterruptionofmajorservices.
Caution:indicatesapotentiallyhazardoussituation.Failuretocomplycanresultin
moderateinjury,equipmentdamage,orinterruptionofminorservices.
Note:providesadditionalinformationaboutacertaintopic.
II
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1
DeviceConnection
management
TableofContents
ConnectingtheZXR10ZSRV2System.....................................................................1-1
ConguringConsolePortConnection.........................................................................1-2
ConguringTelnetConnection....................................................................................1-2
ConguringSSHConnection......................................................................................1-6
FTPConnectionConguration.................................................................................1-10
ConguringTFTPConnection..................................................................................1-15
SFTPConnectionCongration.................................................................................1-17
1.1ConnectingtheZXR10ZSRV2System
TheZXR10ZSRV2providesmultiplecongurationmodes,seeFigure1-1.
Figure1-1ZXR10ZSRV2CongurationModes
Userscanusedifferentcongurationmodesfordifferentnetworktypes.Theconguration
modesaredescribedbelow:
lConsoleportmode:Thisistheprimarycongurationmodeusedbyusers.
lTelecommunicationNetworkProtocol(TELNET)/SecureShell(SSH)mode:Users
canusethismodetoconguretheZXR10ZSRV2atanyaccessibleplaceofa
network.
1-1
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ZXR10ZSRV2CongurationGuide(SystemManagement)
lTrivialFileTransferProtocol(TFTP)/FileTransferProtocol(FTP)mode:Users
canusethismodetodownload/uploadroutercongurationles,andupdaterouter
congurations.
1.2ConguringConsolePortConnection
ThisproceduredescribeshowtoconnecttotheZXR10ZSRV2throughtheConsoleport.
Steps
1.CongureaHyperterminal.
ForhowtocongureaHyperterminal,refertothe"ConguringtheDeviceThrougha
ConsolePort"sectionintheZXR10M6000InitialCongurationGuide.
2.(Optional)Inthecongurationmode,runtheloginauthenticationcommandtoenable
theConsoleportconnectionauthenticationfunction.
Caution!
TheConsoleportconnectionauthenticationfunctioncanbeenabledonlyaftera
usernameandpasswordarecongured.Iftheusernameandpasswordarenot
conguredproperly,afterthefunctionisenabled,youcannotentertheZXR10>CLI
whenyouconnectthedevicenexttime.
ThefollowingexampleshowshowtoenableConsoleportauthentication.
ZXR10(config)#loginauthentication
Warning:
Pleasemakesurelocalorremoteauthenticationiscorrectlyconfigured.
Areyousuretoconfigureconsoleauthentication?[yes/no]:y
ZXR10(config)#
/*EnablestheConsoleportconnectionauthenticationfunction.*/
Forhowtocongureausernameandpasswordusedinserialportauthentication,
referto4.2ConguringUserManagement.
–EndofSteps–
1.3ConguringTelnetConnection
ThisproceduredescribeshowtoconnecttotheZXR10ZSRV2throughTelnet.
Prerequisite
Thelocalterminalcanaccesstheremoterouternetwork.
1-2
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1DeviceConnectionmanagement
Context
Telnetisusedforconguringroutersremotely.T opreventillegalusersfromaccessingthe
routerthroughTelnet,ausernameandpasswordhavetobesetontherouterforTelnet
accessing.Onlytheuserwhohasthepresetusernameandpasswordcanaccessthe
router.ForhowtocongureausernameandpasswordontheZXR10ZSRV2forTelnet
login,referto4.2ConguringUserManagement.
Steps
1.ConnecttotheZXR10ZSRV2throughTelnet.
AssumethattheIPaddressofaremoterouteris192.168.3.1andthatthelocal
terminal(conguredwiththeWindowsXPoperatingsystem,forexample)canaccess
theremoterouternetwork.Theoperationsonthelocalterminalareasfollows:
a.StarttheRunprogramonthelocalterminal,andenterthetelnet192.168.3.1
command,seeFigure1-2.
Figure1-2RunDialogBox
b.ClickOK.
Thefollowinginformationisdisplayed:
************************************************************
WelcometoZXR10IntelligentIntegratedMulti-ServiceRouter
ofZTECorporation
************************************************************
Loginat:19:46:3703-24-2014
Username:who
Password:
ZXR10>enable18
Password:
ZXR10#
c.Enterausernameandapasswordaccordingtotheprompt.Then,youcanlogin
totheremoterouter.
2.CongureaT elnetconnection.
1-3
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ZXR10ZSRV2CongurationGuide(SystemManagement)
OntheZXR10ZSRV2,runthefollowingcommandstocongureoptionalT elnet
parameters:
CommandFunction
ZXR10(config)#lineconsoleidle-timeout<idle-time>Conguresthemaximumidle
timeoutperiodoftheserialport.
Unit:minute,range:0–1000,
default:30.
ZXR10(config)#lineconsoleabsolute-timeout<absolute-time>Conguresthemaximumonline
timeoutperiodoftheserialport.
Unit:minute,range:0–10000,
default:1440.
ZXR10(config)#linetelnetidle-timeout<idle-time>Conguresthemaximumidle
timeoutperiodofTelnet.Unit:
minute,range:0–1000,default:
120.
ZXR10(config)#linetelnetabsolute-timeout<absolute-time>Conguresthemaximumonline
timeoutperiodofTelnet.Unit:
minute,range:0–10000,default:
1440.
ZXR10(config)#linetelnetaccess-class{ipv4|ipv6}<acl-name>Conguresthenameofan
AccessControlList(ACL)bound
toTelnet.
ZXR10(config)#linetelnetmax-link<max-number>Conguresthemaximum
numberofTelnetlinks.Range:
1–15,default:15.
ZXR10#terminallength<length>Congurestheterminalwindow
height.Unit:line,range:0–24.
ZXR10#linetelnetdscp<dscp-value>SpeciestheDSCPvalueof
controlplanepacketsforthe
IPv4/IPv6Telnetserver.Range:
0–63,default:48.
ZXR10#telnet{<dest-address>[{[<source-address
>],[<port-number>],[{vrf<vrf-name>|dcn}],[dscp
<dscp-value>]}]|<domain-name>[{[<port-number>],[vrf
<vrf-name>],[dscp<dscp-value>]}]}
Enablesthisroutertologintoan
IPv4Telnetserverasaclient.
<domain-name>:domainname
(Range:1–128characters).
ZXR10#telnet6{<dest-address>[{[interface<interface-na
me>],[vrf<vrf-name>],[<port-number>],[dscp<dscp-value
>]}]|<domain-name>[{[vrf<vrf-name>],[<port-number>],[dscp
<dscp-value>]}]}
Enablesthisroutertologintoan
IPv6Telnetserverasaclient.
1-4
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1DeviceConnectionmanagement
CommandFunction
ZXR10(config)#linetelnetserverenable[listen
{<23>|<49152-65535>}]
Allowsterminalstologinto
thisrouterinTelnetmode,and
allowsthespecicationofaport
number.
3.(Optional)RunthetelnetcommandontheZXR10ZSRV2tologintoanotherdevice
throughthelocalclient.
Fortheformatofthetelnetcommand,refertothefollowingtable:
CommandFunction
ZXR10#telnet{<dest-ipaddress>[vrf<vrf-name>][<
source-ipaddress>][<port-number>]|<domainname>[vrf<vrf-n
ame>][<port-number>]}
Conguresthisrouterasaclient
tologintoanotherdevice.
<port-number>:TransferControl
Protocol(TCP)portnumber
(range:0–65535).
4.Verifythecongurations.
CommandFunction
ZXR10#showterminalDisplaysinformationonthe
currentterminal.
ZXR10#showhistoryDisplaysthelasttenhistory
commands.
ZXR10#showusersDisplaystheloginuser
information.
ZXR10#whoDisplaystheloginuser
information.
5.MaintainT elnetconnections.
CommandFunction
ZXR10(config)#linetelnetserverdisableForbidsterminalsfromloggingin
tothisrouterinT elnetmode.
ZXR10#clearlinevty<vty-number>Forcesthevtyusertologout.
<vty-number>:speciesthe
terminalnumber(range:0–14).
–EndofSteps–
Example
ThefollowingprovidesaT elnetconnectioncongurationexample.
1-5
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ZXR10ZSRV2CongurationGuide(SystemManagement)
lCongurationDescription
ItisrequiredtoconnectaPCtoR1throughTelnet,seeFigure1-3.
Figure1-3TelnetConnectionCongurationExample
lCongurationFlow
1.ConnectaPCtoR1.
2.CongureT elnetonR1.
3.CongureanACLonR1tolterTCPconnections.
lCongurationCommands
RunthefollowingcommandsonR1:
R1(config)#linetelnetidle-timeout120
R1(config)#linetelnetabsolute-timeout1440
R1(config)#linetelnetaccess-classipv4wd
R1(config)#ipv4-access-listwd
R1(config-ipv4-acl)#rulepermittcp169.1.108.820.0.0.0any
R1(config-ipv4-acl)#exit
lCongurationVerication
IfnoACLiscongured,aPCwhoseIPaddressisinanynetworksegmentcanbe
connectedtoR1.
IfanACLiscongured,onlyPCswhoseIPaddressesareinthePermitcolumnof
theACLcanbeconnectedtoR1.
1.4ConguringSSHConnection
ThisproceduredescribeshowtoconnecttotheZXR10ZSRV2throughSSH.
Prerequisite
Thelocalterminalcanaccesstheremoterouternetwork.
Context
SecureShell(SSH)isdenedbytheIETFNetworkWorkingGroup.Itisasecurityprotocol
establishedonthebasisoftheapplicationlayerandtransportlayer.
TraditionalnetworkserviceprogramssuchasFTP,POP,andT elnetusecleartextto
transferdata.Therefore,usernamesandpasswordsarevulnerabletoman-in-the-middle
attacks.Comparedwithtraditionalnetworkserviceprograms,SSHismorereliable.It
providessecurityforremoteloginsessionsandothernetworkservices,andhasthe
followingadvantages:
1-6
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1DeviceConnectionmanagement
lTheSSHprotocolpreventsinformationleakageinremotemanagementprocesses.
lTheSSHprotocolencryptsalltransferreddata,andpreventsDNSspoongandIP
spoong.
lTheSSHprotocoltransferscompresseddata,acceleratingtransmission.
lTheSSHprotocolisusuallyusedtoreplaceT elnet,andprovidesasecure"channel"
forFTP ,POP ,orevenPPP.
Steps
1.CongureSSH.
StepCommandFunction
1ZXR10(config)#sshserverenable[listen
{<22>|<49152-65535>}]
EnablestheSSHserver
function,whichisdisabled
bydefault.Allowthe
specicationofaport
number.
2ZXR10(config)#sshserveraccess-class{ipv4|
ipv6}<acl-name>
BindsanACLforSSH.
3ZXR10(config)#sshserverdscp<dscp-value>SpeciestheDSCPvalue
ofcontrolplanepacketsfor
theIPv4/IPv6SSHserver.
Default:48.
4ZXR10#ssh<dest-address>encrypt{none|aes128|
blowfish|3des}compress{none|zlib}mac{none|
sha1|md5}[{[<source-address>],[<port-number>],[vrf
<vrf-name>],[dscp<dscp-value>]}]
Enablesthisroutertologin
asaclienttoanIPv4SSH
serverinSSHmode.
5ZXR10#ssh6<dest-address>encrypt{none|aes128|
blowfish|3des}compress{none|zlib}mac{none|sha1
|md5}[{[<port-number>],[vrf<vrf-name>],[interface
<interface-name>],[dscp<dscp-value>]}]
Enablesthisroutertologin
asaclienttoanIPv6SSH
serverinSSHmode.
2.MaintainSSH.
CommandFunction
ZXR10(config)#sshserverdisableDisablestheSSHserver
function.
3.CongureanSSHclient.
ThefollowingusesPuttyasanexampletodescribehowtocongureanSSHclient.
a.EnablePutty.exeontheSSHhost.TypetheIPaddressoftheremoterouter
(suchas192.168.5.3)intheHostNametextbox,seeFigure1-4.
1-7
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1DeviceConnectionmanagement
Figure1-5PuTTYCongurationDialogBox
c.ClickOpen.TheLogindialogboxisdisplayed.Enterthecorrectusernameand
passwordtologintotherouter,andthenconguretherouterinthecommandline
window.
loginas:zte
Furtherauthenticationrequired
[email protected]'spassword:
************************************************************
WelcometoZXR10IntelligentIntegratedMulti-ServiceRouter
ofZTECorporation
************************************************************
ZXR10#
4.Verifythecongurations.
CommandDescription
ZXR10#showsshShowsthecongurationstateofSSH.
–EndofSteps–
1-9
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ZXR10ZSRV2CongurationGuide(SystemManagement)
Example
ThefollowingprovidesanSSHcongurationexample.
lCongurationDescription
ItisrequiredtoconnectaPCtoR1throughSSH,seeFigure1-6.
Figure1-6SSHCongurationExample
lCongurationFlow
1.ConnectaPCtoR1.
2.CongureSSHonR1.
3.CongureanACLonR1tolterconnections.
lCongurationCommands
RunthefollowingcommandsonR1:
R1(config)#sshserverenable
R1(config)#sshserveraccess-classipv4wd
R1(config)#ipv4-access-listwd
R1(config-ipv4-acl)#rulepermittcp169.1.108.820.0.0.0any
R1(config-ipv4-acl)#exit
lCongurationVerication
IfnoACLiscongured,aPCwhoseIPaddressisinanynetworksegmentcanbe
connectedtoR1.
IfanACLiscongured,onlyPCswhoseIPaddressesareinthePermitcolumnof
theACLcanbeconnectedtoR1.
1.5FTPConnectionConguration
1.5.1ConfiguringtheZXR10ZSRV2asanFTPServer
ThisproceduredescribeshowtoconguretheZXR10ZSRV2asanFTPserver.
Prerequisite
Thelocalterminalcanaccesstheremoterouternetwork.
Steps
1.EnabletheFTPserverfunction.
1-10
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

Chapter1DeviceConnectionmanagement
CommandFunction
ZXR10(config)#ftp-serverenable[listen
<port-number>]
EnablestheFTPserverfunction,and
monitorsthespeciedport.
Theportrangeis21or2401–2420.
2.CongureotherFTPattributes.
CommandFunction
ZXR10(config)#ftp-servertop-directory
<directory>[{read-only|{[read-write],[copy]}}]
Setsthetop-leveldirectorythatthe
FTPserverallowsuserstoaccess
throughFTP .Bydefault,thedirectoryis
/datadisk0/.
ZXR10(config)#ftp-serveraccess-class
[ipv6]<acl-name>
BindsanACLtotheFTPserver.
ZXR10(config)#ftp-servermax-login<max-number>Conguresthemaximumnumberof
onlineusersoftheFTPserver.
ForhowtocongureanFTPserverusernameandpassword,referto“Chapter4User
Management”.
3.Verifythecongurations.
CommandFunction
ZXR10#showftp-serverShowsthecongurationinformationon
theFTPserver.
4.MaintaintheFTPServer.
CommandFunction
ZXR10(config)#ftp-serverkick-user<user-id>Disconnectsacurrentlyonlineuser.The
parametervalueisanonlineuserID.
–EndofSteps–
Example
ThefollowinggivesanFTPservercongurationexample.
lCongurationDescription
AsshowninFigure1-7,ZXR10ZSRV2isconnectedtoaPCandoperatesasanFTP
server.ThePCfunctionsasanFTPclientthatuploadsanddownloadsles.
1-11
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential

ZXR10ZSRV2CongurationGuide(SystemManagement)
Figure1-7FTPServerCongurationExample
lCongurationFlow
1.EnabletheFTPserverfunctionandlisteningport21oftheZXR10ZSRV2.
2.SettheFTPserverrootdirectoryto/datadisk0/LOG/.
3.SetboththeFTPserverusernameandpasswordtozte.
4.UploadanddownloadlesthroughtheFTPservertoverifytheFTPserver
function.
lCongurationCommands
ThecongurationowontheZXR10ZSRV2isshownbelow.Forhowtocongure
anFTPserverusernameandpassword,referto“Chapter4UserManagement”.
R1#configureterminal
Enterconfigurationcommands,oneperline.EndwithCTRL/Z.
R1(config)#ftp-serverenable
R1(config)#ftp-servertop-directory/datadisk0/LOG/
1.5.2ConfiguringtheZXR10ZSRV2asanFTPClient
ThisproceduredescribeshowtoconguretheZXR10ZSRV2asanFTPclient.
Prerequisite
TheZXR10ZSRV2canaccesstheFTPservernetwork.
Steps
1.CongureandstartanFTPserver.
ThefollowingtakestheWFTPDFTPserversoftwareasanexampletodescribehow
tocongureanFTPserver.
a.Runwftpd32.exe.TheWFTPDwindowisdisplayed,seeFigure1-8.
1-12
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandCondential
Other manuals for ZXR10 ZSR
4
Table of contents
Other Zte Network Router manuals

Zte
Zte ZXHN F660 Operating and installation instructions

Zte
Zte MF253 User manual

Zte
Zte ZXHN F660 User manual

Zte
Zte ZXR10 3800-8 Installation instructions

Zte
Zte ZXHN H368C User manual

Zte
Zte MC7010 User manual

Zte
Zte MF91D User manual

Zte
Zte R207-Z User manual

Zte
Zte MF28B User manual

Zte
Zte MC888 User manual