12-14
Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide
OL-27477-07
Chapter12 Configuring Call Home for the Cisco CSR 1000V
How to Configure Call Home
DETAILED STEPS
Command or Action Purpose
Step1 configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step2 call-home
Example:
Router(config)# call-home
Enters Call Home configuration submode.
Step3 alert-group {all | configuration |
environment | inventory | syslog | crash | snapshot}
Example:
Router(cfg-call-home)# alert-group all
Enables the specified alert group. Use the keyword all to
enable all alert groups. By default, all alert groups are
enabled.
Step4 profile name
Example:
Router(cfg-call-home)# profile profile1
Enters Call Home destination profile configuration
submode for the specified destination profile.
Step5 subscribe-to-alert-group configuration
[periodic {daily hh:mm | monthly date hh:mm |
weekly day hh:mm}]
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group configuration
periodic daily 12:00
Subscribes this destination profile to the Configuration alert
group. The Configuration alert group can be configured for
periodic notification, as described in the “Periodic
Notification” section on page12-15.
Step6 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
monthly 1 12:00
Subscribes this destination profile to the Inventory alert
group. The Inventory alert group can be configured for
periodic notification, as described in the “Periodic
Notification” section on page12-15.
Step7 subscribe-to-alert-group syslog
[severity {catastrophic | disaster |
fatal | critical | major | minor | warning |
notification | normal | debugging}]
[pattern string]
Example:
Router(cfg-call-home-profile)#
subscribe-to-alert-group syslog severity major
Subscribes this destination profile to the Syslog alert group.
The Syslog alert group can be configured to filter messages
based on severity, as described in the “Message Severity
Threshold” section on page12-16.
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.