![Cisco ASR1002 - ASR 1002 Router Скачать руководство пользователя страница 275](http://html.mh-extra.com/html/cisco/asr1002-asr-1002-router/asr1002-asr-1002-router_software-configuration-manual_66731275.webp)
Configuring Call Home
How to Configure Call Home
19
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
Syslog Pattern Matching
When you subscribe a destination profile to the Syslog alert group, you can optionally specify a text
pattern to be matched within each syslog message. If you configure a pattern, a Syslog alert group
message is sent only if it contains the specified pattern and meets the severity threshold. If the pattern
contains spaces, you must enclose it within double quotation marks(“ ”) when configuring it. You can
specify up to five patterns for each destination profile.
To subscribe a destination profile to one or more alert groups, complete the following steps:
SUMMARY STEPS
1.
configure terminal
2.
call-home
3.
alert-group
{
all
|
configuration
|
environment
|
inventory
|
syslog
}
4.
profile
name
5.
subscribe-to-alert-group all
6.
subscribe-to-alert-group configuration
[
periodic
{
daily
hh
:
mm
|
monthly
date hh
:
mm
|
weekly
day hh
:
mm
}]
7.
subscribe-to-alert-group diagnostic
[
severity
{
catastrophic
|
critical
|
debugging
|
disaster
|
fatal
|
major
|
minor
|
normal
|
notification
|
warning
}]
8.
subscribe-to-alert-group environment
[
severity
{
catastrophic
|
critical
|
debugging
|
disaster
|
fatal
|
major
|
minor
|
normal
|
notification
|
warning
}]
9.
subscribe-to-alert-group inventory
[
periodic
{
daily
hh
:
mm
|
monthly
date hh
:
mm
|
weekly
day
hh
:
mm
}]
10.
subscribe-to-alert-group syslog
[
severity
{
catastrophic
|
critical
|
debugging
|
disaster
|
fatal
|
major
|
minor
|
normal
|
notification
|
warning
}] [
pattern
string
]
11.
exit
Table 1
Severity and Syslog Level Mapping
Level
Keyword
Syslog Level
Description
9
catastrophic
N/A
Network-wide catastrophic failure.
8
disaster
N/A
Significant network impact.
7
fatal
Emergency (0)
System is unusable.
6
critical
Alert (1)
Critical conditions, immediate attention needed.
5
major
Critical (2)
Major conditions.
4
minor
Error (3)
Minor conditions.
3
warning
Warning (4)
Warning conditions.
2
notification
Notice (5)
Basic notification and informational messages.
Possibly independently insignificant.
1
normal
Information (6)
Normal event signifying return to normal state.
0
debugging
Debug (7)
Debugging messages.