Chapter 4
| System Management Commands
File Management
– 149 –
whichboot This command displays which files were booted when the system powered up.
Syntax
whichboot [unit]
unit - Unit identifier. (Range: 1-8)
Default Setting
None
Command Mode
Privileged Exec
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:
ECS4620-28T_V1.2.1.6.bix OpCode Y 2013-07-02 08:18:42 17601308
startup1.cfg Config Y 2000-01-01 02:31:23 2924
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