nvram:startup-config

copy

Event log (also called the error log or the persistent log) (nvram:errorlog)

Buffered message log (also called the System log) (nvram:log)

startup configuration (nvram:startup-config)

trap log (nvram:traplog)

See also copy (clibanner).

Specify a URL for the destination in this form:

copy nvram:clibanner tftp://tftp_server_ip_address/path/filename copy nvram:errorlog tftp://tftp_server_ip_address/ path/filename copy nvram:log tftp://tftp_server_ip_address/path/filename copy nvram:traplog tftp://tftp_server_ip_address/path/filename

copy nvram:script scriptname tftp://tftp_server_ip_address/path/filename copy nvram:startup-config tftp://tftp_server_ip_address/path/filename

The copy command can also be used to download the following files:

HTTP secure-server certificates (sslpem-root,sslpem-server,sslpem-dhweak, or sslpem-dhstrong)

SSH key files (sshkey-rsa,sshkey-rsa2, or sshkey-dsa)

SFTOS system software (system:image)

startup configuration (startup-config)

Download the startup configuration or code image and the destination as either

by specifying the TFTP source as a URL or system:image, respectively.

The command can also be used to the save the running configuration to NVRAM by specifying the source as system:running-config and the destination as nvram:startup-config.

The following commands download to the switch (source specified first):

copy tftp://tftp_server_ip_address/path/filename nvram:clibanner copy tftp://tftp_server_ip_address/path/filename nvram:script copy tftp://tftp_server_ip_address/path/filename nvram:sslpem-root copy tftp://tftp_server_ip_address/path/filename nvram:sslpem-server copy tftp://tftp_server_ip_address/path/filename nvram:sslpem-dhweak copy tftp://tftp_server_ip_address/path/filename nvram:sslpem-dhstrong copy tftp://tftp_server_ip_address/path/filename nvram:sshkey-rsa1 copy tftp://tftp_server_ip_address/path/filename nvram:sshkey-rsa2 copy tftp://tftp_server_ip_address/path/filename nvram:sshkey-dsa copy tftp://tftp_server_ip_address/path/filename nvram:startup-config copy tftp://tftp_server_ip_address/path/filename system:image

Note: You can use the command

copy tftp //tftp_server_ip_address/path/filename nvram:startup-config

to copy either a binary file or a text file to the startup-config file. The result is a text file.

140

System Configuration Commands

Page 140
Image 140
Force10 Networks S2410s manual Specify a URL for the destination in this form, Copy, Trap log nvramtraplog