show running-config

To display the contents of the currently running configuration file or the configuration, use the show running-config command in the EXEC mode.

show running-config

Syntax Description

No arguments or keywords.

Defaults

The show running-config command displays all of the configuration information.

Command Modes

EXEC

Usage Guidelines

None.

Examples

/admin# show running-config

Generating configuration...

!

hostname pmbu-ibf-pip06

!

ip domain-name cisco.com

!

interface GigabitEthernet 0

ip address 192.168.100.156 255.255.255.0

ipv6 address autoconfig

!

interface GigabitEthernet 1

ip address 10.56.14.156 255.255.255.0

ipv6 address autoconfig

!

ip name-server 192.168.100.100 10.56.60.150

!

ip default-gateway 10.56.14.1

!

ip route 192.168.209.0 255.255.255.0 gateway 192.168.100.1

ip route 192.180.209.0 255.255.255.0 gateway 192.168.100.1

ip route 192.168.218.0 255.255.255.0 gateway 192.168.100.1

ip route 192.168.204.0 255.255.255.0 gateway 192.168.100.1

!

clock timezone Asia/Jerusalem

!

ntp server cd-acs-ntp.cisco.com

!

username admin password hash $1$00jG7EQh$gDjDJKlSZWx5ImaUEqZAO1 role admin

!

service sshd

!

repository rp

url ftp://10.56.61.75/ACS_AUTO_VMS/OLD-ACS.5.0.FCS/

user anonymous password hash 37f90f7eb86fb8e00895b133c6de3278ff545c54

repository tftp

url tftp://192.168.100.153

!

password-policy

lower-case-required

upper-case-required

digit-required

no-username

disable-cisco-passwords

min-password-length 6

!

logging localhost

logging loglevel 6

!

cdp timer 60

cdp holdtime 180

cdp run GigabitEthernet 0

!

icmp echo on

!

/admin#

Related Commands

Command

Description

configure

Enters the Configuration mode.

show startup-config

Displays the contents of the startup configuration file or the configuration.