CLI Guide

Table Of Contents
Switch Management Commands 1973
Script download performs syntax checking of downloaded scripts. If a syntax
error is detected, the user is prompted to save the file. If no error is detected,
the file is saved using the target file name.
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 tar ball
in the user-apps directory, and remove the downloaded archive file.
Applications in the user-apps directory may be overwritten by the copy
command to support ease of installing new versions of applications. There is
no warning if a file is overwritten. Application developers must embed version
information in their application file names if they wish to support multiple
versions of applications on the switch.
When copying files to or from a USB stick, do not remove the USB stick
during file transfer. Use the unmount command to cleanly detach the USB
stick before physical removal. After running the unmount command, the USB
stick must be physically removed and re-inserted before accessing again.
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