EasyManua.ls Logo

Cisco Router Cisco IOS XR - Page 143

Cisco Router Cisco IOS XR
222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5-11
Cisco IOS XR Getting Started Guide
OL-10957-02
Chapter 5 Configuring Additional Router Features
Configuring Logging and Logging Correlation
DETAILED STEPS
Examples
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
logging {
ip-address
|
hostname
}
Example:
RP/0/RP0/CPU0:router(config)# logging 10.1.1.1
Specifies a syslog server host to use for system logging.
Step 3
logging trap
severity
Example:
RP/0/RP0/CPU0:router(config)# logging trap debugging
Limits the logging of messages sent to syslog servers to
only those messages at the specified level.
See Table 5-2 for a summary of the logging severity
levels.
Step 4
logging console [
severity
]
Example:
RP/0/RP0/CPU0:router(config)# logging console
emergencies
Logs messages on the console.
When a severity level is specified, only messages at
that severity level are logged on the console.
See Table 5-2 for a summary of the logging severity
levels.
Step 5
logging buffered [
severity
|
buffer-size
]
Example:
RP/0/RP0/CPU0:router(config)# logging buffered
1000000
Copies logging messages to an internal buffer.
Newer messages overwrite older messages after the
buffer is filled.
Specifying a severity level causes messages at that
level and numerically lower levels to be logged in an
internal buffer. See Table 5-2 for a summary of the
logging severity levels.
The buffer size is from 4096 to 4,294,967,295 bytes.
Messages above the set limit are logged to the
console.
Step 6
commit
Example:
RP/0/RP0/CPU0:router(config)# commit
Commits the target configuration to the router running
configuration.
Step 7
end
Example:
RP/0/RP0/CPU0:router(config)# end
Ends the configuration session and returns to EXEC
mode.
Step 8
show logging
Example:
RP/0/RP0/CPU0:router# show logging
Displays the messages that are logged in the buffer.

Table of Contents

Related product manuals