![Cisco ASR 9000 Serie Скачать руководство пользователя страница 320](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679320.webp)
DETAILED STEPS
Purpose
Command or Action
Displays all syslog messages stored in the buffer.
show logging
Example:
RP/0/RSP0/CPU0:router# show logging
Step 1
Displays syslog messages that have originated from the
designated node.
show logging location node-id
Example:
RP/0/RSP0/CPU0:router# show logging location
0/1/CPU0
Step 2
Displays syslog messages that are related to the specified
process.
show logging process name
Example:
RP/0/RSP0/CPU0:router# show logging process init
Step 3
Displays syslog messages that contain the specified
string.
show logging string string
Example:
RP/0/RSP0/CPU0:router# show logging string install
Step 4
Displays syslog messages in the logging buffer that were
generated on or after the specified date and time.
show logging start month day hh:mm:ss
Example:
RP/0/RSP0/CPU0:router# show logging start december
1 10:30:00
Step 5
Displays syslog messages in the logging buffer that were
generated on or before the specified date and time.
show logging end month day hh:mm:ss
Example:
RP/0/RSP0/CPU0:router# show logging end december
2 22:16:00
Step 6
Archiving System Logging Messages to a Local Storage Device
This task explains how to display save syslog messages to an archive on a local storage device.
Before You Begin
The local storage device must have enough space available to store the archive files. We recommend that
syslogs be archived to the harddisk because it has more capacity than flash disks.
Note
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
304
Implementing Logging Services
Archiving System Logging Messages to a Local Storage Device