Logging configuration examples, Configuring local and remote logging – Dell POWEREDGE M1000E User Manual

Page 269

Advertising
background image

Monitoring and Logging System Information

269

Logging Configuration Examples

This section contains the following examples:

Configuring Local and Remote Logging
Configuring Email Alerting

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:

1 Enable switch auditing and CLI command logging.

console#configure

console(config)#logging audit

console(config)#logging cli-command

2 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

3 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

Advertising