beautypg.com

Setting loader defaults, Example: load a patch file using http – Allied Telesis AT-8700XL Series Switch User Manual

Page 54

background image

54

AT-8700XL Series Switch User Guide

Software Release 2.6.1

C613-02030-00 REV B

Setting LOADER Defaults

You are likely to repeat the process of downloading files onto the switch using
a similar method each time. You can set defaults for some or all of the LOADER
parameters. You can then use or override some or all of these defaults for each
particular load.

To set LOADER defaults, enter the command:

SET LOADER [ATTRIBUTE={CERT|CRL|CACERT|DEFAULT}]

[BASEOBJECT={dist-name|DEFAULT}] [DELAY={delay|DEFAULT}]

[DESTFILE=dest-filename] [DESTINATION={FLASH|DEFAULT}]

[HTTPPROXY={hostname|ipadd|DEFAULT}]

[METHOD={HTTP|LDAP|TFTP|WEB|WWW|ZMODEM|NONE|DEFAULT}]

[PASSWORD=password] [PROXYPORT={1..65535|DEFAULT}]

[{SCRFILE|FILE}=filename]

[SERVER={host-name|ipadd|DEFAULT}]

[SERVPORT={1..65535|DEFAULT}] [USERNAME=username]

You can set all parameters except DESTFILE, SCRFILE and FILE back to the
factory defaults with the option DEFAULT.

For more information about setting the LOADER defaults on your switch, see
the Operations chapter in the AT-8700XL Series Software Reference.

Example: Load a Patch File Using HTTP

This example loads a patch file onto the switch from a HTTP server on the
network. Before following this procedure, make sure:

The HTTP server is operating on a host with an IP address (for example
192.168.1.1) on the network, and that the patch file is in the server’s HTTP
directory.

The switch has an IP address (for example 192.168.1.2) on the interface
connecting it to the HTTP server, and that it can communicate with the
server.

There is enough space in the switch’s FLASH for the new patch file.

T

o load a patch file

1.

Configure the LOADER.

Set the LOADER module with defaults to make the process of
downloading files in future simpler.

SET LOADER METHOD=HTTP SERVER=192.168.1.1

DESTINATION=FLASH

2.

Download the patch file.

Download the patch file onto the switch, using the defaults set above.

LOAD FILE=87251-01.paz

When the download has completed, check that the file is in FLASH.

SHOW FILE

This shows the file

87251-01.paz

is present.

To activate the patch see “To upgrade to a new patch file:” on page 59.