beautypg.com

Using snmp to upgrade software – Brocade FastIron Ethernet Switch Administration Guide User Manual

Page 95

background image

vlan 30 by port

untagged ethe 1/1/9 to 1/1/10

no spanning-tree

pvlan type community

!

...

some lines omitted for brevity...

Syntax: copy flash console filename

For filename, enter the name of a file stored in flash memory.

Using SNMP to upgrade software

You can use a third-party SNMP management application such as HP OpenView to upgrade software
on a Brocade device.

NOTE
The syntax shown in this section assumes that you have installed HP OpenView in the "/usr" directory.

NOTE
Brocade recommends that you make a backup copy of the startup-config file before you upgrade the
software. If you need to run an older release, you will need to use the backup copy of the startup-config
file.

1. Configure a read-write community string on the Brocade device, if one is not already configured. To

configure a read-write community string, enter the following command from the global CONFIG level
of the CLI.snmp-server community string ro | rw where string is the community string and can be
up to 32 characters long.

2. On the Brocade device, enter the following command from the global CONFIG level of the CLI.

no snmp-server pw-check

This command disables password checking for SNMP set requests. If a third-party SNMP
management application does not add a password to the password field when it sends SNMP set
requests to a Brocade device, by default the Brocade device rejects the request.

3. From the command prompt in the UNIX shell, enter the following command.

/usr/OV/bin/snmpset -c rw-community-string brcd-ip-addr 1.3.6.1.4.1.1991.1.1.2.1.5.0 ipaddress
tftp-ip-addr 1.3.6.1.4.1.1991.1.1.2.1.6.0 octetstringascii file-name 1.3.6.1.4.1.1991.1.1.2.1.7.0
integer
command-integer

where

rw-community-string is a read-write community string configured on the Brocade device.

brcd-ip-addr is the IP address of the Brocade device.

tftp-ip-addr is the TFTP server IP address.

file-name is the image file name.

command-integer is one of the following.

20 - Download the flash code into the primary flash area.

22 - Download the flash code into the secondary flash area.

Using SNMP to upgrade software

FastIron Ethernet Switch Administration Guide

95

53-1003075-02