12-29
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
Example
The following example shows how to send the output of a command to a user-specified email address:
Router# call-home send “show diag” email support@example.com
The following example shows the command output sent in long-text format to attach@cisco.com, with
the SR number specified:
Router# call-home send “show version; show run” tac-service-request 123456
The following example shows the command output sent in XML message format to
callhome@cisco.com:
Router# call-home send “show version; show run” email callhome@cisco.com msg-format xml
Command or Action Purpose
Step1 call-home send {cli command | cli list} [email email
msg-format {long-text | xml} | http
{destination-email-address email}]
[tac-service-request SR#]
Example:
Router# call-home send “show version;show
running-config;show inventory” email
support@example.com msg-format xml
Executes the CLI or CLI list and sends output via email or
HTTP.
{cli command | cli list}—Specifies the IOS command
or list of IOS commands (separated by ‘;’). It can be any
run command, including commands for all modules.
The commands must be contained in quotes (“”).
email email msg-format {long-text | xml}—If the
email option is selected, the command output will be
sent to the specified email address in long-text or XML
format with the service request number in the subject.
The email address, the service request number, or both
must be specified. The service request number is
required if the email address is not specified (default is
attach@cisco.com for long-text format and
callhome@cisco.com for XML format).
http {destination-email-address email}—If the http
option is selected, the command output will be sent to
Smart Call Home backend server (URL specified in the
CiscoTAC-1 profile) in XML format.
destination-email-address email can be specified so
that the backend server can forward the message to the
email address. The email address, the service request
number, or both must be specified.
tac-service-request SR#—Specifies the service
request number. The service request number is required
if the email address is not specified.