Chapter 4
| System Management Commands
System Status
– 94 –
show running-config
This command displays the configuration information currently in use.
Syntax
show running-config
[
interface
interface]
interface
ethernet
unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10/28)
port-channel
channel-id (Range: 1-8)
vlan
vlan-id (Range: 1-4094)
Command Mode
Privileged Exec
Command Usage
◆
Use the
interface
keyword to display configuration data for the specified
interface.
◆
Use this command in conjunction with the
show startup-config
command to
compare the information in running memory to the information stored in non-
volatile memory.
◆
This command displays settings for key command modes. Each mode group is
separated by “!” symbols, and includes the configuration mode command, and
corresponding commands. This command displays the following information:
■
MAC address for
■
SNMP community strings
■
Users (names, access levels, and encrypted passwords)
■
VLAN database (VLAN ID, name and state)
■
VLAN configuration settings for each interface
■
Multiple spanning tree instances (name and interfaces)
■
IP address configured for VLANs
■
Spanning tree settings
■
Interface settings
■
Any configured settings for the console port and Telnet
◆
For security reasons, user passwords are only displayed in encrypted format.
Example
Console#show running-config
!<stackingDB>00</stackingDB>
!<stackingMac>01_00-e0-0c-00-00-fd_03</stackingMac>
!
snmp-server community public ro
snmp-server community private rw
!