Cisco Systems CSR 1000V manual Example, 12-28

Models: CSR 1000V

1 220
Download 220 pages 40.54 Kb
Page 160
Image 160

Chapter 12 Configuring Call Home for the Cisco CSR 1000V

How to Configure Call Home

Example

The following example shows a request for analysis of a user-specified show command:

Router# call-home request output-analysis “show diag” 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 “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.

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#]

 

Cisco CSR 1000V Series Cloud Services Router Software Configuration Guide

12-28

OL-27477-07

Page 160
Image 160
Cisco Systems CSR 1000V manual Example, 12-28