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 RUCKUS device. Use the following task to save and load configuration information using HP OpenView.

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 device, if one is not already configured. To configure a read-write community string, enter the following command in global configuration mode.
    device(config)# snmp-server community community_string rw
    
  2. Enter the no snmp-server pw-check command to disable password checking for SNMP set requests. .
    device(config)# no snmp-server pw-check
    

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

  3. From the command prompt in the UNIX shell, enter the following command.
    unix-shell> /usr/OV/bin/snmpset - rw-community-string device-ip-addr c 
    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 RUCKUS device.

    fdry-ip-addr is the IP address of the RUCKUS 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 device to the TFTP server.

    • 21 — Download a startup-config file from a TFTP server to the flash memory of the RUCKUS device.

    • 22 — Upload the running-config from the flash memory of the RUCKUS device to the TFTP server.

    • 23 — Download a configuration file from a TFTP server into the running-config of the RUCKUS 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 Dynamic Configuration Loading.