PurposeCommand or Action
Sends a configuration alert group message to one
destination profile if specified or to all subscribed
destination profiles.
call-home send alert-group configuration [ profile name
]
Example:
RP/0/RSP0/CPU0:router # call-home send alert-group
configuration profile p1
Step 2
Sends an inventory alert group message to one destination
profile if specified or to all subscribed destination profiles.
call-home send alert-group inventory [ profile name ]
Example:
RP/0/RSP0/CPU0:router # call-home send alert-group
inventory profile p1
Step 3
Manually sending command output message for a Command
List
You can use the call-home send command to execute a command or a list of commands and send the command
output through HTTP or email protocol.
Guidelines when sending the output of a command:
•
The specified command or list of 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 “email” 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 (attach@cisco.com).
• If neither the “email” 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.
This task enables you to execute command and send the command output.
SUMMARY STEPS
1.
call-home send { cli command | cli list } [ email email msg-format { long-text | xml } | http {
destination-email-address email } ] [ tac-request SR# ]
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
324
Configuring Call Home
Manually sending command output message for a Command List