
Note the following guidelines when sending the output of a command:
•
The specified Cisco IOS command or list of Cisco 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 email nor 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 without a profile name or destination URL, 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. You must specify
either the destination email address or an SR number but you can also specify both.
•
If a profile is specified and the profile has [email protected] as one of its email destinations, you
must use XML as the message format. If you use long-text format, an error message is displayed.
To execute a command and send the command output, complete the following step:
DETAILED STEPS
Purpose
Command or Action
Executes the CLI or CLI list and sends output via email or HTTP.
Use one of the following commands:
Step 1
•
call-home send
{
cli command
|
cli
list
} [
[
profile profile-name
|
•
{
cli command
|
cli list
}
—
Specifies the Cisco IOS command or list of Cisco
IOS commands (separated by
‘
;
’
). It can be any run command, including
commands for all modules. The commands must be contained in quotes (
“”
).
] [
msg-format
{
long-text
|
xml
}]] [
tac-sevice-request SR#
]
•
[
profile profile-name
|
] [
msg-format
{
long-text
|
xml
}]
—
If the
email option is selected and a profile name is specified, the command output
•
call-home send
{
cli command
|
cli
list
} [
http
[
profile profile-name
|
is sent to the email address configured in the profile. If an email address is
URL-dest
]
specified, the command output is sent to the specified email address. The
[
destination-email-address email
]]
[
tac-sevice-request SR#
]
message is in long-text or XML format with the service request number in the
subject. The profile name or email address, the service request number, or
both must be specified. The service request number is required if the profile
Example:
Router#
call-home send
“
show
name or email address is not specified (default is [email protected] for
long-text format and [email protected] for XML format).
•
http
[
profile profile-name
|
URL-dest
] [
destination-email-address email
]
—
If the http option is selected without a profile name or destination URL, the
version;show running-config show
inventory
”
[email protected] msg-format xml
command output is sent to the Smart Call Home backend server (URL specified
in TAC profile) in XML format. If a profile name or destination URL is
specified, the command output is sent to the destination URLs configured in
the profile (profile-name case) or the destination URL specified in the
command.
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.
Cisco cBR Series Converged Broadband Routers Troubleshooting and Network Management Configuration
Guide for Cisco IOS XE Fuji 16.8.x
28
Call Home
Configuring Call Home