Chapter6SystemManagement
AftertheTFTPcongurationiscompleted,performtheTFTPoper-
ationsontheswitch.Fordetails,seethelatersections.
ImportandExportof
Configuration
TheZXR102920/2928/2952/2936-FIprovidestheimportandex-
portfunctionsofcongurationinformation,whichmakesiteasyto
congureandmanagetheswitch.
1.Exportthecongurationinformation
Usethecommandshowrunning-configtoFiletoexportthe
executionresultofshowrunning-configtoacong.txtand
saveitintheFLASHmemory.Thislecanalsobeuploadedto
theTFTPserverforviewing.
zte(cfg-tffs)#tftp192.168.1.102uploadconfig.txt
2.Importthecongurationinformation
Running.cfgisabinarycongurationleinashandisgen-
eratedbyusingthecommandsaveconfig.Cong.txtisa
text-formatcongurationleandisgeneratedbyusingthe
commandshowrunning-configtoFile.Contentsofthecon-
g.txtcanbeeditedmanuallyasneededandthendownloaded
totheswitchbyusingthecommandtftp.Afterthecong-
urationleisdownloadedintotheashofswitch,rebootthe
switchtoimporttheconguration.
zte(cfg-tffs)#tftp192.168.1.102downloadconfig.txt
Innormalcase,duringtherebootingprocessofswitch,userun-
ning.cfgletorecovertheconguration.Ifswitchcan’tndrun-
ning.cfg,switchwillcheckifcong.txtexists,ifso,switchwilluse
thisletorecovertheconguration.
BackupandRecoveryof
Files
Thelesmentionedhererefertothecongurationleandversion
leintheFLASHmemory.
1.Backupthecongurationle
Whenacommandisusedtomodifytheswitchconguration,
thedataisrunninginthememoryinrealtime.Whenthe
switchisrestarted,allthecontentsnewlyconguredwillbe
lost.Thus,youneedtoexecutethecommandsaveconfigto
savethecurrentcongurationintotheFLASHmemory.The
followingshowsthesaveconfigcommand:
zte(cfg)#saveconfig
CondentialandProprietaryInformationofZTECORPORATION59