Purpose
Command or Action
Assigns the source interface name to send call-home messages.
source-interface interface-name
Step 6
Example:
Router(cfg-call-home)# source-interface
loopback1
•
interface-name
—
Source interface name. Maximum length is 64.
For HTTP messages, use the
ip http client source-interface
interface-name
command in global configuration mode to
configure the source interface name. This allows all HTTP
clients on the device to use the same source interface.
Note
Assigns source IP address to send call-home messages.
source-ip-address ipv4/ipv6 address
Step 7
Example:
Router(cfg-call-home)#
source-ip-address 209.165.200.226
•
ipv4/ipv6 address
—
Source IP (ipv4 or ipv6) address. Maximum
length is 64.
(Optional) Specifies the VRF instance to send call-home email messages.
If no vrf is specified, the global routing table is used.
vrf vrf-name
Example:
Router(cfg-call-home)# vrf vpn1
Step 8
For HTTP messages, if the source interface is associated with
a VRF, use the
ip http client source-interface interface-name
command in global configuration mode to specify the VRF
instance that will be used for all HTTP clients on the device.
Note
Example
The following example shows the configuration of general email parameters, including a primary and secondary
email server:
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
call-home
Router(cfg-call-home)#
mail-server smtp.example.com priority 1
Router(cfg-call-home)#
mail-server 192.168.0.1 priority 2
Router(cfg-call-home)#
sender from [email protected]
Router(cfg-call-home)#
sender reply-to [email protected]
Router(cfg-call-home)#
source-interface america
Router(cfg-call-home)#
source-ip-address 209.165.200.231
Router(cfg-call-home)#
vrf vpn2
Router(cfg-call-home)#
end
Router(config)#
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
248
Configuring Call Home for the Cisco CSR 1000v
Example