Upgrade opcode auto – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 122

Advertising
background image

72

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002581-01

File Management

5

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

es020000.bin. 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.

4. It then restarts the system to start using the new image.

Any changes made to the default setting can be displayed with the

show running-config

or

show startup-config

commands.

Example

Console(config)#upgrade opcode auto

Console(config)#upgrade opcode path tftp://192.168.0.1/sm24/

Console(config)#

If a new image is found at the specified location, the following type of messages will be displayed
during bootup.

.

.

.

Automatic Upgrade is looking for a new image

New image detected: current version 1.1.1.0; new version 1.1.1.2

Image upgrade in progress

The switch will restart after upgrade succeeds

Downloading new image

Flash programming started

Flash programming completed

The switch will now restart

.

.

.

Advertising