Cisco IOS-Based Routers, Switches and APs
There are multiple different methods of extracting the configuration from your Cisco IOS-based router, switch or wireless access point. This guide outlines just two of those methods.
Using HTTP(S)
The procedure for getting the configuration from the device using HTTP(S) is as follows:
-
Using your favorite web browser, connect to the HTTP(S) service provided by your Cisco device for remote management. You can do this by entering "https://" (recommended) or "http://" followed by your devices IP address.
-
Logon using your administration username and password.
-
Click on the link to level 15 of the web console.
-
Click on the show link.
-
Click on the running-config link.
-
Finally click on the CR link.
-
Copy and paste the configuration into a file to use with Nipper.
Using SSH, Telnet Or The Console
For this procedure you will be using the Command Line Interface (CLI) of your Cisco 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.
-
Connect to the Cisco using your favorite SSH client, Telnet or a direct console connection.
-
Logon using your administration authentication credentials.
-
Enter enable and type in your enable password.
-
Execute the following CLI command and capture the output (possibly using the cut and paste facility):
Modern Configuration Retrieval (ensures pre-shared keys and passwords are unmasked)
more system:running-config
-
Save the captured output to a file and remove any visible page lines (i.e. --More--).