Brocade FastIron Ethernet Switch Administration Guide User Manual
Page 106
Using SNMP to save and load configuration information
You can use a third-party SNMP management application such as HP OpenView to save and load a
configuration on a Brocade device. To save and load configuration information using HP OpenView,
use the following procedure.
NOTE
The syntax shown in this section assumes that you have installed HP OpenView in the "/usr" directory.
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 device-ip-addr
1.3.6.1.4.1.1991.1.1.2.1.5.0
a tftp-ip-addr 1.3.6.1.4.1.1991.1.1.2.1.8.0 s config-file-name
1.3.6.1.4.1.1991.1.1.2.1.9.0 integer command-integer
where
rw-community-string is a read-write community string configured on the Brocade device.
fdry-ip-addr is the IP address of the Brocade device.
tftp-ip-addr is the TFTP server IP address.
config-file-name is the configuration file name.
command-integer is one of the following:
20 - Upload the startup-config file from the flash memory of the Brocade device to the TFTP server.
21 - Download a startup-config file from a TFTP server to the flash memory of the Brocade device.
22 - Upload the running-config from the flash memory of the Brocade device to the TFTP server.
23 - Download a configuration file from a TFTP server into the running-config of the Brocade device.
NOTE
Option 23 adds configuration information to the running-config on the device, and does not replace
commands. If you want to replace configuration information in the device, use "no" forms of the
configuration commands to remove the configuration information, then use configuration commands
to create the configuration information you want. Follow the guidelines in
Using SNMP to save and load configuration information
106
FastIron Ethernet Switch Administration Guide
53-1003075-02