Users Guide

Table Of Contents
Switch Management Commands 2006
When copying scripts to the switch, use the script <filename> target syntax.
Internally, all scripts, including the startup-config and backup-config, are
stored with a header. The header is added when the script is downloaded to
the switch and removed when the script is uploaded from the switch. Using
the flash://<filename> syntax as the target or source bypasses adding of the
script header, ensuring that when a script is applied on the switch which was
previously copied to the switch using the flash://<filename> syntax, a syntax
error will result.
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.