Chapter4SystemManagement
Note:
TheapplicationscenariosforFTPandTFTParethesame,includingcongurationle
importandexport,andautomaticsoftwareversiondownload.
–EndofSteps–
4.4ImportingandExportingtheCongurationFile
TheZXR102900Eswitchprovidesthecongurationimport/exportfunction,which
facilitatestheswitchcongurationandmanagement.
ExportingtheConguration
Inglobalcongurationmode,usethewritecommandtoexportthecurrentsystem
congurationtostartrun.datandsaveitintheFlashmemory.Thislecanalsobe
uploadedtotheTFTPserverforview,modicationandbulkconguration.
zte(cfg-tffs)#cdcfg
zte(cfg-tffs)#tftp192.168.1.102uploadstartrun.dat
zte(cfg-tffs)#cd..
ImportingtheConguration
startrun.datisacongurationle.Itcanbeeditedmanuallyasneededand
downloadedtothe/cfgdirectoryoftheZXR102900Eswitchbyusingthetftpcommand.
AfterthecongurationleisdownloadedtotheFlashmemoryoftheswitch,rebootthe
switchtoimporttheconguration.
zte(cfg-tffs)#cdcfg
zte(cfg-tffs)#tftp192.168.1.102downloadstartrun.dat
zte(cfg-tffs)#cd..
4.5BackingUpandRecoveringFiles
ThelesmentionedinthistopicrefertothecongurationleandversionleintheFlash
memory.
BackingUptheCongurationFile
Iftheswitchcongurationismodied,thedataisrunninginthememoryinreal-time.Ifthe
switchisrestarted,allthenewcongurationdatawillbelost.T oavoidthis,usethewrite
commandtosavethecurrentcongurationintheFlashmemory.Thefollowingshowsthe
writecommand:
zte(cfg)#write
4-7
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential