Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Tech Insights:Use the IOS Call-Home Feature to Send CLI Output to Email Destinations and to Cisco TAC Service Requests
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 firstname.lastname@example.org. 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.
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.