Setting loader defaults – Allied Telesis AR400 Series Router User Manual
Page 61
Operating the router
61
Software Release 2.6.1
C613-02021-00 REV D
To load a file onto the router using the HTTP protocol, enter the command:
LOAD [METHOD={HTTP|WEB|WWW}] [DELAY=delay]
[DESTFILE=destfilename] [DESTINATION=BOOTBLOCK|FLASH}]
[HTTPPROXY={hostname|ipadd} [PASSWORD=password]
[PROXYPORT=1..65535]] [SERVER={hostname|ipadd}]
[SERVPORT={1..65535|DEFAULT}] [SRCFILE|FILE=filename]
[USERNAME=username]
The router can only load one file at a time. Wait for the current transfer to
complete before initiating another transfer. To display the default configuration
of the LOADER module, and the progress of any current transfer, enter the
command:
SHOW LOADER
To stop a load at any time, leaving the LOADER module ready to load again,
enter the command:
RESET LOADER
Setting LOADER Defaults
You are likely to repeat the process of downloading files onto the router 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 router, see
the Operations chapter in the AR400 Series Router Software Reference.
Example: Load a Patch File Using HTTP
This example loads a patch file onto the router 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 router 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 router’s FLASH for the new patch file.