Command Line Interface

4-58

4
Command Usage
Use this command in conjunction with the show running-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:
- SNMP community strings
- Users (names and access levels)
- VLAN database (VLAN ID, name and state)
- VLAN configuration settings for each interface
- IP address configured for the switch
- Spanning tree settings
- Any configured settings for the console port and Telnet
Example
Console#show startup-config
building startup-config, please wait.....
!
!
username admin access-level 15
username admin password 0 admin
!
username guest access-level 0
username guest password 0 guest
!
enable password level 15 0 super
!
snmp-server community public ro
snmp-server community private rw
!
logging history ram 6
logging history flash 3
!
vlan database
vlan 1 name DefaultVlan media ethernet state active
!
interface ethernet 1/1
switchport allowed vlan add 1 untagged
switchport native vlan 1
.
.
.
interface vlan 1
ip address dhcp
!
line console
!
line vty
!
end
Console#