DELL N3000 User Manual

Page of 1460
274
Monitoring and Logging System Information
Logging Configuration Examples
This section contains the following examples:
Configuring Local and Remote Logging
This example shows how to enable switch auditing and CLI command 
logging. Log messages with a severity level of Notification (level 5) and above 
are sent to the RAM (buffered) log. Emergency, Critical, and Alert (level 2) 
log messages are written to the log file on the flash drive. All log messages are 
displayed on the console and sent to a remote syslog server.
To configure the switch:
Enable switch auditing and CLI command logging.
console#configure
console(config)#logging audit
console(config)#logging cli-command
Specify where the logs are sent locally and what severity level of message is 
to be logged. You can specify the severity as the level number, as shown in 
the first two commands, or as the keyword, shown in the third command.
console(config)#logging buffered 5
console(config)#logging file 2
console(config)#logging console debugging
Define the remote log server.
console(config)#logging 192.168.2.10
console(Config-logging)#description "Syslog 
Server"
console(Config-logging)#level debug
console(Config-logging)#exit
console(config)#exit