Users Guide

Monitoring and Logging System Information 435
Configuring Remote Logging
Use the following commands to define a remote server to which the switch
sends log messages.
CTRL + Z Exit to Privileged Exec mode.
show logging Displays the state of logging and the SYSLOG messages
stored in the internal buffer.
show logging file View information about the flash (persistent) log file.
clear logging Use to clear messages from the logging buffer.
Command Purpose
configure Enter Global Configuration mode.
logging {ip-address|
hostname}
Define a remote log server and enter the configuration
mode for the specified log server.
description description Describe the log server. Use up to 64 characters. If the
description includes spaces, surround it with quotation
marks.
level severity Specify the severity level of the logs that should be sent to
the remote log server. For information about severity
levels, see Table 11-1.
port udp-port Specify the UDP port to use for sending log messages. The
range is 1 to 65535, and the default is 514.
CTRL + Z Exit to Privileged Exec mode.
show syslog-servers Verify the remote log server configuration.
Command Purpose