Switch Management Commands 1875
Downloaded scripts are executed from privileged exec mode and should
contain a configure command as the first line of the script in order to enter
global configuration mode.
To configure TLS to use a particular CA root certificate with a client
certificate and client key for connecting to a SYSLOG server, all three of the
files must have the same index as is configured for the SYSLOG server.
If a CA root certificate, client certificate, or client key file is downloaded with
no index specified, it becomes the default set of certificates/key file for TLS
used when connecting to any SYSLOG server not configured with an index.
CA Root certificates may be self signed or signed by a certificate authority.
Applications may be installed on the switch in the user-apps directory. To
copy a single application to the switch, use the copy <source-url>
application syntax where the source-url identifies a single file. The switch will
extract the application file name from the source-url.
To copy a package of related application files to the switch, tar the files into
an archive (compressed or uncompressed). The switch will unpack the tarball
in the user-apps directory, and remove the downloaded archive file.
Examples
Example – Backing up the running-config
console#copy running-config backup-config
This operation may take a few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Configuration saved!
Example – Downloading new code to the switch
console#copy tftp://10.27.9.99/jmclendo/N4000v6.0.1.3.stk backup
Transfer Mode.................................. TFTP
Server IP Address.............................. 10.27.9.99
Source File Path............................... jmclendo/
Source Filename................................ N4000v6.0.1.3.stk
Data Type...................................... Code
Destination Filename........................... backup
Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y