Page 101 / 998 Scroll up to view Page 96 - 100
SwUpdate command reference
Software update
1-69
iMG/RG Software Reference Manual (System Configuration)
TABLE 1-4
SwUpdate Commands
1.4.4.1.1 SWUPDATE MAC
Syntax
SWUPDATE MAC {ENABLE | DISABLE}
Description
This command forces the
SwUpdate
module to look for the MD5SUM file on the FTP
server into a directory having the same value as the unit MAC address.
The working directory is therefore the home directory followed by the unit MAC
address.
If the path value is set using SWUPDATE SET PATH command, the working directory is
the user home directory + the MAC address + the path.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Option
Fiber
A
Fiber
B
Fiber
C
Fiber
D
Fiber
E
Modular
ADSL
A
ADSL
B
ADSL
C
SWUPDATE MAC
X
X
X
X
X
X
X
X
X
SWUPDATE SET LOGIN
X
X
X
X
X
X
X
X
X
SWUPDATE SET PASSWORD
X
X
X
X
X
X
X
X
X
SWUPDATE SET PATH
X
X
X
X
X
X
X
X
X
SWUPDATE SET RETRY PERIOD
X
X
X
X
X
X
X
X
X
SWUPDATE SET SERVER
X
X
X
X
X
X
X
X
X
SWUPDATE SHOW
X
X
X
X
X
X
X
X
X
SWUPDATE START
X
X
X
X
X
X
X
X
X
SWUPDATE START TIME
X
X
X
X
X
X
X
X
X
SWUPDATE STOP
X
X
X
X
X
X
X
X
X
SWUPDATE STOP TIME
X
X
X
X
X
X
X
X
X
Option
Description
Default Value
E
NABLED
Enable the use of MAC address as qualifier for the
working directory. The name of the working direc-
tory will be for example:00_20_30_40_50_60
Enabled
Page 102 / 998
Software update
SwUpdate command reference
iMG/RG Software Reference Manual (System Configuration)
1-70
Example
--> swupdate mac enable
See also
SWUPDATE SET PATH
SWUPDATE SHOW
1.4.4.1.2 SWUPDATE SET LOGIN
Syntax
SWUPDATE SET LOGIN < login>
Description
This command set the login name used when
SwUpdate
connects to an FTP server.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set login administrator
See also
SWUPDATE SET PATH
SWUPDATE SET PASSWORD
SWUPDATE SHOW
1.4.4.1.3 SWUPDATE SET PASSWORD
Syntax
SWUPDATE SET PASSWORD < password>
Description
This command set the password key used when
SwUpdate
connects to an FTP server.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set password superuser
D
ISABLED
Disable the use of MAC address as qualifier for the
working directory.
Option
Description
Default Value
L
OGIN
The login name used to access ftp server.
manager
Option
Description
Default Value
P
ASSWORD
The password key used to access ftp server.
friend
Option
Description
Default Value
Page 103 / 998
SwUpdate command reference
Software update
1-71
iMG/RG Software Reference Manual (System Configuration)
See also
SWUPDATE SET LOGIN
SWUPDATE SHOW
1.4.4.1.4 SWUPDATE SET PATH
Syntax
SWUPDATE SET PATH <path>
Description
This command set the path used when
SwUpdate
navigate into the FTP server.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set path rel-x-y-z
See also
SWUPDATE MAC ENABLE
SWUPDATE SHOW
1.4.4.1.5 SWUPDATE SET RETRY PERIOD
Syntax
SWUPDATE SET RETRY PERIOD <secs>
Description
This command set the maximum retry period when a download fails.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set retry-period 120
See also
SWUPDATE SHOW
Option
Description
Default Value
P
ATH
The path used when
SwUpdate
navigate into the
FTP server. ‘
none’
means no path is used.
none
Option
Description
Default Value
S
ECS
The maximum retry period (in secs) used when the
download fails and
SwUpdate
tries to contact the
FTP/TFTP server.
60
Page 104 / 998
Software update
SwUpdate command reference
iMG/RG Software Reference Manual (System Configuration)
1-72
1.4.4.1.6 SWUPDATE SET SERVER
Syntax
SWUPDATE SET SERVER <server_address>
Description
This command set the server address to which
SwUpdate
tries to connect.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set server 10.17.90.101
See also
SWUPDATE SET PATH
SWUPDATE SET PASSWORD
SWUPDATE SHOW
1.4.4.1.7 SWUPDATE SHOW
Syntax
SWUPDATE SHOW
Description
This command displays the
SwUpdate
module configuration parameters.
Example
--> swupdate show
FTP SWUPDATE CONFIGURATION
- GENERAL PARAMETERS
Retry period set to: 40
start time passed to cron: 0-59 * * * *
stop time passed to cron: none
- FTP SERVER PARAMETERS
server address in use:
swupdate
login:
manager
password:
friend
pathname:
none
mac:
false
See also
SWUPDATE SET PATH
SWUPDATE SET PASSWORD
Option
Description
Default Value
SERVER
_
ADDRESS
The hostname or IPv4 address of the ftp server.
Host can be a maximum of 256 chars long (when
using hostname format).
swupdate
Page 105 / 998
SwUpdate command reference
Software update
1-73
iMG/RG Software Reference Manual (System Configuration)
1.4.4.1.8 SWUPDATE START
Syntax
SWUPDATE START
Description
This command forces the software update to start immediately and remain active until
the next stop command is sent or the download is executed successfully.
Example
--> swupdate start
See also
SWUPDATE STOP
1.4.4.1.9 SWUPDATE START TIME
Syntax
SWUPDATE START TIME {NONE | MINUTE <minute> HOUR <hour> DAY-OF-
MONTH <day-of-month> MONTH <month> DAY-OF-WEEK <day-of-week> }
Description
This command set the scheduled starting time. See the relative section about the syntax
used for the starting time.
Options
The following table gives the range of values for each option, which can be specified with
this command, and a default value (if applicable).
Example
--> swupdate set start_time minute * hour [0-7] day-of-month
* month * day-of-week *
See also
SWUPDATE SHOW
1.4.4.1.10 SWUPDATE STOP
Syntax
SWUPDATE STOP
Description
This command force the software update to stop immediately and remain in idle state
until a start command is set.
Example
--> swupdate stop
Option
Description
Default Value
MINUTES
The minute(s) in the hour when swupdate must start.
N/A
HOUR
The hour(s) in the day when swupdate must start.
N/A
DAY
-
OF
-
MONTH
The day(s) in the month when swupdate must start.
N/A
MONTH
The month(s) in the year when swupdate must start.
N/A
DAY
-
OF
-
WEEK
The day(s) in the week when swupdate must start.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top