This example shows how to create a destination profile called Noc101, associate the Configuration alert group to that profile,
configure contact and email information, and specify the VRF used to send Smart Call Home messages over HTTP:
configure terminal
snmp-server contact person@company.com
callhome
distribute
email-contact admin@Mycompany.com
phone-contact +1-800-123-4567
streetaddress 123 Anystreet st. Anytown,AnyWhere
destination-profile Noc101 format full-txt
destination-profile full-text-destination email-addr person@company.com
destination-profile full-text-destination message-level 5
destination-profile Noc101 alert-group Configuration
alert-group Configuration user-def-cmd show ip route
transport email mail-server 192.0.2.10 priority 1
transport http use-vrf Blue
enable
commit
This example shows how to configure multiple SMTP servers for Smart Call Home messages:
configure terminal
callhome
transport email mail-server 192.0.2.10 priority 4
transport email mail-server 172.21.34.193
transport email smtp-server 10.1.1.174
transport email mail-server 64.72.101.213 priority 60
transport email from person@company.com
transport email reply-to person@company.com
commit
Based on the configuration above, the SMTP servers would be tried in this order:
10.1.1.174 (priority 0)
192.0.2.10 (priority 4)
172.21.34.193 (priority 50, which is the default)
64.72.101.213 (priority 60)
 Note |
The transport email smtp-server command has a priority of 0, which is the highest. The server specified by this command is tried first followed by the servers
specified by the transport email mail-server commands in order of priority.
|
This example shows how to configure Smart Call Home to send HTTP messages through an HTTP proxy server:
configure terminal
callhome
transport http proxy server 10.10.10.1 port 4
transport http proxy enable
commit