77-9
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 77 Configuring Call Home
Configuring Call Home
Configuring General E-Mail Options
To use the e-mail message transport, you must configure at least one Simple Mail Transfer Protocol
(SMTP) e-mail server address. You can configure the from and reply-to e-mail addresses, and you can
specify up to four backup e-mail servers. You can also set a rate limit on e-mail or HTTP messages.
Starting with Cisco IOS Release 15.0(2)SG, you can configure the vrf and source interface or source IP
address to send the e-mail messages. If you want to configure similar options to send http messages, you
must enter the ip http client source-interface interface-name command where the source-interface can
be associated with the vrf you want to set.
To configure general e-mail options, perform this task:
The following notes apply when configuring general e-mail options:
• Backup e-mail servers can be defined by repeating the mail-server command using different priority
numbers.
Command Purpose
Step 1
Switch# configure terminal
Enters configuration mode.
Step 2
Switch(config)# call-home
Enters Call Home configuration submode.
Step 3
Switch(cfg-call-home)# mail-server
{ipv4-address | name} priority number
Assigns an e-mail server address and its relative priority
among configured e-mail servers.
Provide either of these:
• The e-mail server’s IP address
• The e-mail server’s fully qualified domain name
(FQDN) of 64 characters or less.
Assign a priority number between 1 (highest priority) and
100 (lowest priority).
Step 4
Switch(cfg-call-home)# sender from
email-address
(Optional) Assigns the e-mail address that will appear in
the from field in Call Home e-mail messages. If no
address is specified, the contact e-mail address is used.
Step 5
Switch(cfg-call-home)# sender
reply-to email-address
(Optional) Assigns the e-mail address that will appear in
the reply-to field in Call Home e-mail messages.
Step 6
Switch(cfg-call-home)# rate-limit
number
(Optional) Specifies a limit on the number of messages
sent per minute, from 1 to 60. The default is 20.
Step 7
Switch(cfg-call-home)# vrf vrf-name
(Optional) Specifies the VRF instance to send Call Home
e-mail messages. If no VRF is specified, the global
routing table is used.
Step 8
Switch(cfg-call-home)#
source-interface interface-name
(Optional) Specifies the source interface name to send
Call Home e-mail messages. If no source interface name
or source ip address is specified, an interface in the
routing table is used.
Step 9
Switch(cfg-call-home)#
source-ip-address ip-address
(Optional) Specifies the source IP address to send Call
Home e-mail messages. If no source IP address or source
interface name is specified, an interface in the routing
table is used.
Note At one time, you can specify the source-interface
name or the source-ip-address, but not both.