sh-show Verified current stable Not installed? Networking

Sh Show / Show Currently Running Configuration

Show Currently Running Configuration

Display the complete running configuration of the device.

$
Terminal
sh running-config

When To Use

During audits or when preparing for changes that require full context of current device settings.

Pro Tip

Use 'show running-config | include <keyword>' to find specific sections quickly without scanning large outputs.

Terminal Output

Expected runtime feedback

Simulated preview
>
Output
# Device Configuration
# ---------------------
interface GigabitEthernet1/0/1   
 description Uplink to Core Switch
 ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet1/0/2
 description Connection to Access Layer
 ip address 192.168.2.1 255.255.255.0
!
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
!
# End of Configuration

Anatomy of Output

Understanding the result

hostname Switch1 Hostname Configuration

Specifies the assigned hostname for the device.

interface Vlan1 Interface Declaration

Begins the configuration block for Vlan1.

ip address 10.0.0.1 255.255.255.0 IP Configuration

Displays the assigned IP address to the specified interface.

Troubleshooting

Common pitfalls

% Insufficient memory.

Solution: Free up memory by removing unnecessary configurations.

% Configuration not accessible.

Solution: Attempt to increase access privileges or verify user roles.

% Unsupported command on this device.

Solution: Ensure command compatibility with the current device model.

Command Breakdown

What each part is doing

sh
Base Command
The executable that performs this operation. Here it runs Sh Show before the shell applies any redirect operators.
sh
sh|show
The value supplied for sh|show.

How To Run

Execution path

  1. Step 1

    Run the command: `show running-config` in the terminal.

  2. Step 2

    Review the displayed configuration for detailed device settings and interfaces.

Alternative Approaches

Comparable commands in other tools

Alternative networking tools for the same job.