
Purpose
Command or Action
Subscribes this destination profile to the Environment alert
group. The Environment alert group can be configured to filter
messages based on severity.
subscribe-to-alert-group environment
[
severity
{
catastrophic
|
disaster
|
fatal
|
critical
|
major
|
minor
|
warning
|
notification
|
normal
|
debugging
}]
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group environment severity
major
Step 9
Subscribes this destination profile to the Inventory alert group.
The Inventory alert group can be configured for periodic
notification.
subscribe-to-alert-group inventory
[
periodic
{
daily
hh:mm
|
monthly date hh:mm
|
weekly day hh:mm
}]
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group inventory
periodic daily 12:00
Step 10
Subscribes this destination profile to the Snapshot alert group.
The Snapshot alert group can be configured for periodic
notification.
subscribe-to-alert-group snapshot
[
periodic
{
daily
hh:mm
|
monthly date hh:mm
|
weekly day hh:mm
|
hourly mm
|
interval mm
}]
Step 11
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group snapshot
periodic daily 12:00
By default, the Snapshot alert group has no command to run.
You can add commands into the alert group. The output of
commands that are added in the Snapshot alert group are
included in the snapshot message.
Subscribes this destination profile to the Syslog alert group.
The Syslog alert group can be configured to filter messages
subscribe-to-alert-group syslog
[
severity
{
catastrophic
|
disaster
|
fatal
|
critical
|
major
|
minor
Step 12
based on the severity. You can specify a pattern to be matched
|
warning
|
notification
|
normal
|
debugging
}]
[
pattern string
]
in the syslog message. If the pattern contains spaces, you must
enclose it in quotes (").
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group syslog severity major
You can 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 in quotes ("). You can specify up to five patterns for
each destination profile.
(Optional) Subscribes to all available alert groups.
subscribe-to-alert-group all
Step 13
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group all
Entering this command generates many syslog
messages. We recommend that you subscribe to
alert groups individually, using appropriate
severity levels and patterns when possible.
Important
Periodic Notification
When you subscribe a destination profile to either the Configuration, Inventory, or Snapshot alert group, you
can choose to receive the alert group messages asynchronously or periodically at a specified time. The following
time intervals are available:
Cisco cBR Series Converged Broadband Routers Troubleshooting and Network Management Configuration
Guide for Cisco IOS XE Fuji 16.8.x
16
Call Home
Configuring Call Home