C
OMMAND
L
INE
I
NTERFACE
3-26
System Management Commands
These commands are used to control system logs, passwords, user names,
browser configuration options, and display or configure a variety of other
system information.
Command Function Mode Page
Device Designation Command
hostname Specifies the host name for the switch GC 3-28
snmp-server
contact
Sets the system contact string GC 3-63
snmp-server
location
Sets the system location string GC 3-63
User Access Commands
username Establishes a user name-based authentication
system at login
GC 3-28
enable password Sets a password to control access to various
Privileged Exec levels
GC 3-29
Event Logging Commands
logging on Controls logging of error messages GC 3-31
logging history Limits syslog messages saved to switch
memory based on severity
GC 3-31
logging host Adds a syslog server host IP address that will
receive logging messages
GC 3-33
logging facility Sets the facility type for remote logging of
syslog messages
GC 3-34
logging trap Limits syslog messages saved to a remote
server based on severity
GC 3-35
clear logging Clears messages from the logging buffer PE 3-36
show logging Displays the state of logging PE 3-36
System Status Commands
show
startup-config
Displays the contents of the configuration file
(stored in flash memory) that is used to start
up the system
PE 3-38