EasyManua.ls Logo

Foundry Networks FESX - Using Snmp to Save and Load Configuration Information

Foundry Networks FESX
820 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Updating Software Images and Configuration Files
December 2005 © Foundry Networks, Inc. 23 - 11
To determine the size of a Foundry device’s running-config or startup-config file, copy it to a TFTP server, then use
the directory services on the server to list the size of the copied file. To copy the running-config or startup-config
file to a TFTP server, use one of the following commands.
Commands to copy the running-config to a TFTP server:
copy running-config tftp <ip-addr> <filename>
ncopy running-config tftp <ip-addr> <from-name>
Commands to copy the startup-config file to a TFTP server:
copy startup-config tftp <ip-addr> <filename>
ncopy startup-config tftp <ip-addr> <from-name>
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 Foundry
device’s configuration. 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 Foundry 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 Foundry 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 Foundry
device, by default the Foundry 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> <fdry-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.8.0 octetstringascii <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 Foundry device.
<fdry-ip-addr> is the Foundry device’s IP address.
<tftp-ip-addr> is the TFTP server’s 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 Foundry device’s flash memory to the TFTP server.
21 – Download a startup-config file from a TFTP server to the Foundry device’s flash memory.
22 – Upload the running-config from the Foundry device’s flash memory to the TFTP server.

Table of Contents

Related product manuals