Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
call-home send
To execute a CLI command and e-mail the command output, use the call-home send command in
privileged EXEC mode.
Syntax Description
"cli-command"
email email-addr
service-number SR
Command Default
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
12.2(52)SG
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
call-home (global configuration)
call-home send alert-group
service call-home (refer to Cisco
IOS documentation)
show call-home
OL-27596 -01
call-home send "cli-command" {email email-addr [service-number SR] | service-number SR}
Specifies a CLI command to be executed. The command output is sent by
e-mail.
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.
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.
Modification
This command was introduced on Supervisor Engine 6E and the Catalyst
4900M.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
Enters call home configuration mode.
Sends a specific alert group message.
Enables or disables Call Home.
Displays call-home configuration information.
call-home send
2-83