Monday, 11 June 2012

Retrieving Config Files from HP ProCurve Switches And Routing Switches

There are multiple different methods of extracting the configuration from from your HP ProCurve devices, this guide outlines two of those methods.

Using HTTP(S)

We would recommend using HTTPS rather than HTTP for transferring your devices configuration as the latter provides no encryption. The procedure for getting the configuration from the device using HTTP(S) is as follows:
  1. Using your favorite web browser, connect to the HTTP(S) service provided by your HP ProCurve device for remote management. You can do this by entering "https://" (recommended) or "http://" followed by your devices IP address.
  2. Logon using your administration username and password.
  3. Select the "Diagnostics" tab, then the "Configuration Report" button.
  4. Copy and paste the configuration into a file to use with Nipper Studio.

Using SSH, Telnet Or The Console

For this procedure you will be using the Command Line Interface (CLI) of your HP ProCurve device using an SSH client (such as OpenSSH or Putty), Telnet or through the console port. We would recommend using either SSH (for remote connections) or using a direct connection to the console port. Telnet provides no encryption of the communications and therefore your authentication credentials and configuration would be vulnerable if a malicious user were to monitor your connection.
  1. Connect to the HP ProCurve using your favorite SSH client, Telnet or a direct console connection.
  2. Logon using your administration authentication credentials.
  3. Execute the following CLI command and capture the output (possibly using the cut and paste facility):
    show config
  4. Save the captured output to a file and remove any visible page lines (i.e. --More--).

No comments:

Post a Comment

Did you find our blog useful? Let us know! We would love to hear your thoughts, opinions and comments regarding any of our blog posts.