CLI (Command Line Interface)
190 NXA-ENET24 - Software Management Guide
System Status Commands (Cont.)
Command Function
show startup-config
(Cont.)
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#
show running-config
This command
displays the
configuration
information currently in
use.
Default Setting: None
Command Mode: Privileged Exec
Command Usage:
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 each switch in the stack
• SNTP server settings
• SNMP community strings
• Users (names, access levels, and encrypted passwords)
• Event log settings
• VLAN database (VLAN ID, name and state)
• VLAN configuration settings for each interface
• IP address configured for the switch
• Layer 4 precedence settings
• Any configured settings for the console port and Telnet
Example:
Console#show running-config
building running-config, please wait.....
!
phymap 5a-a5-aa-55-44-32 00-00-00-00-00-00 00-00-00-00-00-00 00-00-00-
00-00-00 00-00-00-00-00-00 00-00-00-00-00-00 00-00-00-00-00-00 00-00-
00-00-00-00
!
SNTP server 0.0.0.0 0.0.0.0 0.0.0.0
!
!
!
SNMP-server community private rw
SNMP-server community public ro
!
!
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
!
!
logging history ram 6
logging history flash 3
!