Allied Telesis AT-S63 User Manual

Page 231

Advertising
background image

AT-S63 Stack Command Line User’s Guide

Section II: Advanced Operations

231

Examples

The following command uses TFTP to upload a configuration file called
“sw22 boot.cfg” from the switch’s file system to a TFTP server with an IP
address of 149.88.88.88. The command stores the file on the server with
the same name that it has on the switch:

upload method=tftp destfile="sw22 boot.cfg"

server=149.88.88.88 srcfile="sw22 boot.cfg"

The following command uses TFTP to upload the switch’s active
configuration file from the file system to a TFTP server with the IP address
149.11.11.11. The active boot file is signified with the SWITCHCFG option
rather than by its filename. This option is useful in situations where you do
not know the name of the active boot configuration file. The file is stored as
“master112.cfg” on the TFTP server:

upload method=tftp destfile=master112.cfg

server=149.11.11.11 srcfile=switchcfg

The following command uploads a SSL certificate enrollment request form
titled “sw12_ssl_enroll.csr” from the file system to the TFTP server. It
changes the name of the file to “slave5b enroll.csr”:

upload method=tftp destfile="slave5b enroll.csr"

server=149.11.11.11 srcfile=sw12_ssl_enroll.csr

The following command uploads a configuration file called “sales2.cfg”
from a compact flash memory card in the switch to a TFTP server with an
IP address of 149.124.88.88. The command stores the file on the server
with the same name that it has on the card:

upload method=tftp destfile=sales2.cfg

server=149.124.88.88

srcfile=cflash:sales2.cfg

The following command uploads the switch’s active AT-S63 image file to a
TFTP server with an IP addresses 149.55.55.55. The file is given the
name “ats63 sw12.img”:

upload method=tftp destfile="ats63 sw12.img"

server=149.55.55.55 srcfile=appblock

Advertising