574 CN4093 Application Guide for N/OS 8.4
Loading a New Switch Image
Toloadanewswitchimagewiththename“MyNewImage-1.img”intoimage2,
followthestepsbelow.ThisexampleshowsanFTP/TFTP/SFTPserveratIPv4
address192.168.10.10,thoughIPv6isalsosupported.
1. SettheFTP/TFTP/SFTPserveraddresswheretheswitchimageresides:
Set agTransferServer.0 "192.168.10.10"
2. Settheareawherethenewimage
willbeloaded:
Set agTransferImage.0 "image2"
3. Setthenameoftheimage:
Set agTransferImageFileName.0 "MyNewImage-1.img"
4. IfyouareusinganSFTP/FTPserver,enterausername:
Set agTransferUserName.0 "MyName"
5. IfyouareusinganSFTP/FTPserver,enterapassword:
Set agTransferPassword.0 "MyPassword"
6. Initiatethetransfer.Totransferaswitchimage,enter2(gtimg):
Set agTransferAction.0 "2"
Loading a Saved Switch Configuration
Toloadasavedswitchconfigurationwiththename“MyRunningConfig.cfg”into
theswitch,followthestepsbelow.ThisexampleshowsaTFTPserveratIPv4
address192.168.10.10,thoughIPv6isalsosupported.
1. SettheFTP/TFTP/SFTPserveraddresswheretheswitchConfig urationFileresides:
Set agTransferServer.0 "192.168.10.10"
2. Setthenameoftheconfiguration
file:
Set agTransferCfgFileName.0 "MyRunningConfig.cfg"
3. IfyouareusinganSFTP/FTPserver,enterausername:
Set agTransferUserName.0 "MyName"
4. IfyouareusinganSFTP/FTPserver,enterapassword:
Set agTransferPassword.0 "MyPassword"
5. Initiatethetransfer.Torestorearunningconfiguration,enter3:
Set agTransferAction.0 "3"