| System Management Commands
C
20
HAPTER
System Status
C
M
OMMAND
ODE
Privileged Exec
C
U
OMMAND
SAGE
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 the switch
■
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 management VLAN
■
Interface settings
■
Any configured settings for the console port and Telnet
■
E
XAMPLE
Console#show running-config
Building startup configuration. Please wait...
!<stackingDB>00</stackingDB>
!<stackingMac>01_00-e0-0c-00-00-fd_00</stackingMac>
!
snmp-server community public ro
snmp-server community private rw
!
snmp-server enable traps authentication
!
username admin access-level 15
username admin password 7 21232f297a57a5a743894a0e4a801fc3
username guest access-level 0
username guest password 7 084e0343a0486ff05530df6c705c8bb4
enable password level 15 7 1b3231655cebb7a1f783eddf27d254ca
!
vlan database
VLAN 1 name DefaultVlan media ethernet state active
!
spanning-tree mst configuration
!
interface ethernet 1/1
switchport allowed vlan add 1 untagged
switchport native vlan 1
switchport allowed vlan add 4093 tagged
. .
.
!
interface vlan 1
ip address dhcp
ip dhcp client class-id text Edge-Core
!
– 710 –