59-10
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 59 Configuring Call Home
Configuring Call Home
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.
The mail-server priority number parameter can be configured from 1 to 100. The server with the
highest priority (lowest priority number) will be tried first.
This example shows the configuration of general e-mail parameters, including a primary and secondary
e-mail server:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# call-home
Switch(cfg-call-home)# mail-server smtp.example.com priority 1
Switch(cfg-call-home)# mail-server 192.168.0.1 priority 2
Switch(cfg-call-home)# sender from username@example.com
Switch(cfg-call-home)# sender reply-to username@example.com
Switch(cfg-call-home)# exit
Switch(config)#
Enabling Call Home
To enable or disable the Call Home feature, perform this task:
Testing Call Home Communications
You can test Call Home communications by sending messages manually using two command types.
To send a user-defined Call Home test message, use the call-home test command.
To send a specific alert group message, use the call-home send command.
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.
Command Purpose
Command Purpose
Step 1 Switch# configure terminal Enters configuration mode.
Step 2 Switch(config)# service call-home Enables the Call Home feature.