cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
28334
Views
0
Helpful
0
Comments
Travis Williams
Community Member

One of the benefits of the IOS Call-Home feature is the option to send the output of any CLI command to an email address or even to a Cisco Service Request. This option was introduced in 12.2(33)SXI for the Catalyst 6500 Series Switches, 12.2(33)SRC for the Cisco 7600 Series Routers, 12.4(24)T for the Cisco 7200 Series/7301 Routers, and 12.2(52)SG for the Catalyst 4500/4900 Series Switches. It will also be available in future OS releases for other Cisco products.

To take advantage of this option on the supported IOS systems, the Call-Home configuration must include at least one SMTP server address. Additional Call-Home email configuration parameters such as the sender from and sender reply-to addresses may also be configured but are not required. A complete list of all Call-Home configuration commands may be found in the Call-Home configuration guide for your Cisco product at www.cisco.com/go/smartcall.

The following sample Call-Home configuration steps show a mail-server and the optional sender email address being configured.

Router# configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# call-home
Router(cfg-call-home)# mail-server 192.168.1.1 priority 10
Router(cfg-call-home)# sender from Core_Router_01@your_company.com
Router(cfg-call-home)# end
Router#

If a mail-server is configured and there is a need to send any CLI output to an email destination or Cisco TAC Service Request, the call-home send command with a CLI command to execute, an optional email address and an optional Cisco TAC Service Request number may be used. The CLI command to be executed must be within quotes (" ") and may be abbreviated (e.g. "sh tech"). If an email address is not specified, the system will send the message to the Cisco TAC Service Request email address attach@cisco.com. When sending to a Cisco TAC Service Request email address, a service request number is required and can be provided with the tac-service-number keyword. The service request number may also be included when sending to other email addresses. When specified, the service request number is added to the email message subject.

Command Syntax:

Router# call-home send "command" [email email-addr] [service-number SR#]

The following examples show the command being used to send an attachment to a Cisco TAC Service Request and to an email address.

Router# call-home send "show tech-support" tac-service-number 1234567
Router# call-home send "show ip mroute" email support_engineer@your_company.com

For additional information on using the Call-Home feature, go to www.cisco.com/go/smartcall.

To receive the latest information on Cisco online tools, certifications, support documentation, insights from Cisco experts and peers, and upcoming events, check out the Cisco Technical Services Newsletter today.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: