logging enable rfc5424

Enables Syslog logging in accordance with RFC 5424 which provides the maximum amount of information in every Syslog in a structured format.
Syntax
logging enable rfc5424
no logging enable rfc5424
Command Default

Syslog is generated in accordance with RFC 3164.

Modes

Global configuration mode

Usage Guidelines

The Logging buffer must be cleared before enabling Syslog specific to RFC 5424, otherwise system throws an error.

If the logging enable rfc5424 command is present in the running configuration, the logging cli-command feature is not supported.

The no form of the command enables Syslog logging in accordance with RFC 3164.

Examples

The following example enables Syslog logging in accordance with RFC 5424.

device(config)# clear logging
device(config)# logging enable rfc5424

The following example removes the configuration to enable Syslog logging specific to RFC 5424 and enables Syslog logging in accordance with RFC 3164.

device(config)# clear logging
device(config)# no logging enable rfc5424
History
Release version Command history
08.0.40 This command was introduced.
08.0.30h Support for the command was added.