Purpose
Command or Action
product-advisory
subcommand includes all inventory alert group
commands. The keyword specified after
request
specifies the
type of report requested.
Example:
Router# call-home request config-sanity profile
TG
Manually Sending Command Output Message for One Command or a Command List
You can use the
call-home send
command to execute an IOS command or a list of IOS commands and send
the command output through HTTP or email protocol.
Note the following guidelines when sending the output of a command:
•
The specified IOS command or list of IOS commands can be any run command, including commands
for all modules. The command must be contained in quotes (
“”
).
•
If the email option is selected using the
“
”
keyword and an email address is specified, the command
output is sent to that address.
•
If neither the email nor the HTTP option is specified, the output is sent in long-text format with the
specified service request number to the Cisco TAC ([email protected]).
•
If neither the
“
”
nor the
“
http
”
keyword is specified, the service request number is required for both
long-text and XML message formats and is provided in the subject line of the email.
•
If the HTTP option is specified, the CiscoTAC-1 profile destination HTTP or HTTPS URL is used as
the destination. The destination email address can be specified so that Smart Call Home can forward the
message to the email address. The user must specify either the destination email address or an SR number
but they can also specify both.
To execute a command and send the command output, perform the following step:
SUMMARY STEPS
1.
call-home send
{
cli command
|
cli list
} [
email email msg-format
{
long-text
|
xml
} |
http
{
destination-email-address email
}] [
tac-service-request SR#
]
DETAILED STEPS
Purpose
Command or Action
Executes the CLI or CLI list and sends output via email or HTTP.
call-home send
{
cli command
|
cli list
}
[
email email msg-format
{
long-text
|
Step 1
•
{
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 (
“”
).
xml
} |
http
{
destination-email-address email
}]
[
tac-service-request SR#
]
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
256
Configuring Call Home for the Cisco CSR 1000v
Sending Call Home Communications Manually