2-83
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
call-home send
call-home send
To execute a CLI command and e-mail the command output, use the call-home send command in
privileged EXEC mode.
call-home send “cli-command” {email email-addr [service-number SR] | service-number SR}
Syntax Description
Command Default This command has no default settings.
Command Modes Privileged EXEC mode
Command History
Usage Guidelines This command causes the specified CLI command to be executed on the system. The specified CLI
command must be enclosed in quotes (“”), and can be any run or show command, including commands
for all modules.
The command output is then sent by e-mail to the specified e-mail address. If no e-mail address is
specified, the command output is sent to the Cisco TAC at attach@cisco.com. The e-mail is sent in long
text format with the service number, if specified, in the subject line.
Examples This example shows how to send a CLI command and have the command output e-mailed:
Switch# call-home send "show diagnostic result module all" email support@example.com
Related Commands
“cli-command” Specifies a CLI command to be executed. The command output is sent by
e-mail.
email email-addr Specifies the e-mail address to which the CLI command output is sent. If no
e-mail address is specified, the command output is sent to the Cisco TAC at
attach@cisco.com.
service-number SR Specifies an active TAC case number to which the command output
pertains. This number is required only if no e-mail address (or a TAC e-mail
address) is specified, and will appear in the e-mail subject line.
Release Modification
12.2(52)SG This command was introduced on Supervisor Engine 6E and the Catalyst
4900M.
call-home (global configuration) Enters call home configuration mode.
call-home send alert-group Sends a specific alert group message.
service call-home (refer to Cisco
IOS documentation)
Enables or disables Call Home.
show call-home Displays call-home configuration information.