show running-config

This command displays the device's current configuration.

Syntax

show running-config  

Command

Description

(Carriage Return)

Displays the device's full configuration in the format of a CLI command script. You can copy and paste the displayed output in a text-based file (e.g., using Notepad), and then upload the file to another device, or the same device if you want to make configuration changes, as a CLI script file.

> <URL Destination>

Sends the device's configuration in CLI script format, as a file to a remote destination defined by a URL (TFTP, HTTP or HTTPS). 

data [interface|no-switchports |static-routes| tracks]

Displays the device's data configuration (configure data).

Optionally, you can filter the output, using the following command options:

interface: Displays only configuration of a specific interface.
no-switchports: Displays all configuration except configuration related to the switch ports (e.g., flowcontrol auto).
static-routes: Displays only static routes configuration.
tracks: Displays only tracks configuration.

full [> <URL Destination>]

Displays the device's configuration as well as default configuration settings that were not actively set by the user. In regular mode, only configuration that is not equal to the default is displayed. Can also send the configuration in CLI script format, as a file to a remote destination defined by a URL (TFTP, HTTP or HTTPS). 

network

Displays the device's network configuration (configure network).

system

Displays the device's system configuration (configure system).

troubleshoot

Displays the device's troubleshooting configuration (configure troubleshoot).

voip

Displays the device's VoIP configuration (configure voip).

Command Mode

Basic and Privileged User

Note

The Local Users table (in which management users are configured, as described in user) is included in the output of this command only if you are in Privileged User command mode.
You can also run this command from any other command, using the do command, for example:
(clock)# do show running-config

Example

This example sends the device's configuration to an HTTP server:

show running-config> http://10.9.9.9