CHAPTER 5: THE CLI AND PROTOCOL MONITOR
THE CLI AND PROTOCOL MONITOR
MULTINET4 MULTI-PORT SERIAL SERVER & MANAGED SWITCH – INSTRUCTION MANUAL
5–19
For more information see the description of CLI security management in
section 4.8.5: CLI
.
5.2.2.12 The sw command
The sw command enables you to manage the process of upgrading your Multinet4
software version. It is used in conjunction with the SFTP utility. Many versions of the SFTP
(Secure File Transfer Protocol) client and server applications are freely available. Use one of
these to access versions of Multinet4 software.
When you have obtained a new software image move a copy of it to the /swupgrade
directory with the sftp put command. That file will be displayed, marked as a New version,
when you run the sw show command. A detailed example of the upgrade process begins
below.
The table below explains the commands available for software upgrade management
when the Multinet4# prompt is displayed.
Note that entering sw at the Multinet4# prompt does not produce a Multinet4(sw)#
prompt. All sw commands are entered at the Multinet4# prompt. You must enter
sw
plus a
specific command.
For example:
MN4
# sw finalize
show
show
Show current SSH server setting and state:
•
CLI Mode
–Possible values are
Allow Telnet
and
SSH Only
.
•
SSH Server State
– Possible values are
No
Key
and
Running.
No Key
is seen only when no Digital
Signature Algorithm (DSA) key has been
generated for the SSH server with the
ssh
keygen
command or when a complete
reformat of the Multinet4 flash has
eliminated a previously generated key.
keygen
keygen
Generate a Digital Signature Algorithm (DSA) key. This
must be done once to start the SSH server.
Table 5–13: CLI ssh Commands
Command
Synopsis
Description
Table 5–14: CLI sw Commands
Command Synopsis
Description
fallback
sw fallback
When the sw show command displays an
Upgrade State of READY TO UPGRADE or
UPGRADING, entering the sw fallback command
cancels the upgrade.
finalize
sw finalize
When the sw show command displays an
Upgrade State of UPGRADING, entering the sw
finalize command approves the upgrade to the
software version marked Current.