Sending The Output Of A Command - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 68
Configuring Call Home
This example shows a request for analysis of a user-specified show command:
Switch# call-home request output-analysis "show diagnostic result module all" profile TG

Sending the Output of a Command

You can use the call-home send command to execute a CLI command and e-mail the command output
to Cisco or to an e-mail address that you specify.
To execute a CLI command and e-mail the command output, perform this task:
Command
Switch# call-home send "command"
[email email-addr] [service-number SR]
When sending the output of a command, note the following guidelines:
This example shows how to send the output of a CLI command to a user-specified e-mail address:
Switch# call-home send "show diagnostic result module all" email support@example.com
Configuring and Enabling Smart Call Home
For application and configuration information of the Cisco Smart Call Home service, see the "FastStart"
section of the Smart Call Home User Guide at this location:
http://www.cisco.com/go/smartcall/
The user guide includes configuration examples for sending Smart Call Home messages directly from
your device or through a transport gateway (TG) aggregation point. You can use a TG aggregation point
in cases requiring support for multiple devices or in cases where security requirements mandate that your
devices may not be connected directly to the Internet.
Because the Smart Call Home service uses HTTPS as the transport method, you must also configure its
CA as a trustpoint, as described in the Smart Call Home User Guide.
OL_28731-01
Based on the keyword specifying the type of report requested, the following information is returned:
config-sanity—Information on best practices as related to the current running configuration
bugs-list—Known bugs in the running version and in the currently applied features
command-reference—Reference links to all commands in the running configuration
product-advisory—Product Security Incident Response Team (PSIRT) notices, End of Life
(EOL) or End of Sales (EOS) notices, or field notices (FN) that may affect devices in your
network
The specified CLI command can be any run command, including commands for all modules. The
command must be contained in quotes ("").
If an e-mail address is specified, the command output will be sent to that address. If no e-mail
address is specified, the output will be sent to the Cisco TAC (attach@cisco.com). The e-mail will
be sent in long text format with the service number, if specified, in the subject line.
The service number is required only if no e-mail address is specified, or if a Cisco TAC e-mail
address is specified.
Purpose
Executes the specified CLI command and e-mails the
output.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Configuring Call Home
68-13

Advertisement

Table of Contents
loading

Table of Contents