Specifications

2-75
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738-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- num ber SR}
Syntax Description
Command Default This command has no default setti ngs.
Command Modes Privileged EXEC mode
Usage Guidelines This command causes the specified CLI command to be executed on the system. The specified CLI
command must be e nclosed in quotes (“”), and ca n be any run or show c ommand, inc luding c ommands
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 co mmand 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 S pecifies 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.
call-home (global configuration) Enters call home configuration mode.
call-home send alert-group Sends a specific a lert group message.
service call-home (refer to Cis co
IOS documentation)
Enables or disables Call Home.
show call-home Displays call-home configuratio n information.