Cisco IOS XR System Monitoring Command Reference for the Cisco


Add to my manuals
550 Pages

advertisement

Cisco IOS XR System Monitoring Command Reference for the Cisco | Manualzz

Logging Services Commands logging facility

logging facility

To configure the type of syslog facility in which system logging (syslog) messages are sent to syslog servers, use the logging facility command in Global Configuration modeXR Config mode. To remove the logging

facility command from the configuration file and disable the logging of messages to any facility type, use the

no form of this command.

logging facility [ type ] no logging facility

Syntax Description type (Optional) Syslog facility type. The default is local7. Possible values are listed under

Table

29: Facility Type Descriptions , on page 360

in the “Usage Guidelines” section.

Command Default type: local7

Command Modes Global Configuration modeXR Config mode

Command History

Release

Release 2.0

Release 3.2

Release 3.7.2

Release 5.0.0

Modification

This command was introduced.

This command was introduced.

This command was introduced.

This command was introduced.

Usage Guidelines This table describes the acceptable options for the type argument.

Table 29: Facility Type Descriptions

Facility Type auth cron daemon kern

Description

Authorization system

Cron/at facility

System daemon

Kernel

360

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

OL-26517-02

Logging Services Commands

Task ID logging facility local5 local6 local7 lpr mail news sys9

Facility Type local0 local1 local2 local3 local4 sys10 sys11 sys12 sys13 sys14 syslog user uucp

Description

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Reserved for locally defined messages

Line printer system

Mail system

USENET news

System use

System use

System use

System use

System use

System use

System log

User process

UNIX-to-UNIX copy system

Use the

logging, on page 345

command to specify a syslog server host as a destination for syslog messages.

Task ID logging

Operations read, write

OL-26517-02

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

361

Logging Services Commands logging facility

Examples This example shows how to configure the syslog facility to the kern facility type:

RP/0/0RP0RSP0/CPU0:router:hostname(config)# logging facility kern

Related Commands

Command

logging, on page 345

Description

Specifies a syslog server host as a destination for syslog messages.

362

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

OL-26517-02

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents