C
HAPTER
20
| System Management Commands
File Management
– 541 –
EXAMPLE
This example shows the information displayed by the whichboot
command. See the table under the dir command for a description of the
file information displayed by this command.
Console#whichboot
File Name Type Startup Modify Time Size(bytes)
-------------------------------- ------- ------- ------------------- ----------
Unit 1:
ECS4110-24T_Op_V0.0.0.1.bix OpCode Y 2012-11-29 01:31:57 11331488
startup1.cfg Config Y 2010-06-30 05:48:16 3484
Console#
Automatic Code Upgrade Commands
upgrade opcode
auto
This command automatically upgrades the current operational code when a
new version is detected on the server indicated by the upgrade opcode
path command. Use the no form of this command to restore the default
setting.
SYNTAX
[no] upgrade opcode auto
DEFAULT SETTING
Disabled
COMMAND MODE
Global Configuration
COMMAND USAGE
â—† This command is used to enable or disable automatic upgrade of the
operational code. When the switch starts up and automatic image
upgrade is enabled by this command, the switch will follow these steps
when it boots up:
1. It will search for a new version of the image at the location specified
by upgrade opcode path command. The name for the new image
stored on the TFTP server must be ECS4110-24T_Op.bix
9
. If the
switch detects a code version newer than the one currently in use, it
will download the new image. If two code images are already stored
in the switch, the image not set to start up the system will be
overwritten by the new version.
2. After the image has been downloaded, the switch will send a trap
message to log whether or not the upgrade operation was
successful.
3. It sets the new version as the startup image.
9. This filename uses 24T. However, it supports a series of 24, 26 and 28-port switches.