Parameters:

Name

Description

src <src-filename>

This specifies the name of the configuration file on the system. The files that can be

 

uploaded are: /nvram/system/primcfg - The primary configuration file created on the

 

system after commit operation has been performed once.

 

/nvram/system/seccfg - The secondary configuration file created on the system after

 

commit operation has been performed twice.

 

Type: Mandatory

 

Valid values: String of up to 128 characters (all characters except ';', ' ', '?')

 

 

dest <dest-filename>

This specifies the name of the configuration file to be uploaded to a remote host. The

 

filename contains the complete path on the host. The filename extension can be .cfg

 

or .bin or any other user specified extension. Type: Mandatory

 

Valid values: String of up to 128 characters (all characters except ';', ' ', '?')

 

 

ip <ip-address>

This specifies the IP address of the remote host to which the file is to be uploaded.

 

Type: Mandatory

 

Valid values: Any valid IP address

 

 

mode tftp ftp

This specifies the protocol to be used for uploading the file. Currently, only TFTP is

 

supported.

 

Type: Optional

 

Valid values: TFTP

 

 

Example:

$ upload src /nvram/system/primcfg dest myconfig.cfg ip 198.168.1.1

Output:

Verbose Mode On

Uploading The Code File. . .

Upload Completed

Verbose Mode Off

Uploading The Code File. . .

Upload Completed

Output Fields:

None

Caution:

Ensure that the TFTP server is running on the remote host.

References:

Commit command

686

IDL series User Guide