Logging cli-command – Dell PowerEdge M805 User Manual

Page 497

Advertising
background image

Syslog Commands

491

Syntax

level level

no level

level—The level number for syslog messages. (Range: emergency, alert, critical, error,
warning, notice, info, debug)

Default Configuration

The default value for level is info.

Command Mode

Logging mode

User Guidelines

After entering the view corresponding to a specific syslog server, the command can be
executed to set the importance level for syslog messages.

Example

The following example sets the syslog message importance level to alert.

console(config-logging)#level alert

logging cli-command

Use the logging cli-command in Global Configuration mode to enable CLI command logging.

Syntax

logging cli-command

no logging cli-command

Default Configuration

Disabled

Command Mode

Global Configuration

User Guidelines

To see the CLI commands by using the show logging command.

Example

console(config)#logging cli-command

Advertising