Cisco IOS-XR Smart Call Home Configuration using Email and HTTP

As per Cisco documentation, Smart Call Home offers proactive diagnostics and real-time alerts on select Cisco devices, which provides higher network availability and increased operational efficiency. There are few ways on sending these alerts, it can be either by email or http.

Sample Configuration using Email Method

call-home
service active
sender reply-to <sender-email-address>
sender from <sender-email-address>
mail-server <SMTP Server IP> priority <1-100>
phone-number <+contact person phone number>
contact-email-addr <contact-person-email-add>
street-address “<street add,city,state,zipcode>
profile <profilename>
active
destination address email <dest-email-address>
destination address email <dest-email-address2>
destination transport-method email
subscribe-to-alert-group syslog severity major pattern “.*”
subscribe-to-alert-group inventory periodic </daily/monthly/weekly> <day of month> <HH:mm>
subscribe-to-alert-group environment severity minor

Sample Output:

RP/0/RSP0/CPU0:ASR9K#show call-home detail

Current call home settings:
call home feature : enable
call home message’s from address: admin@freenetworktutorials.com
call home message’s reply-to address: admin@freenetworktutorials.com

vrf for call-home messages: Not yet set up

call home contact person: admin@freenetworktutorials.com

contact person’s phone number: +1-1234567890
street address: US
customer ID: Not yet set up
contract ID: Not yet set up
site ID: Not yet set up

source interface: Not yet set up
Mail-server[1]: Address: 8.8.8.8 Priority: 10
http proxy: Not yet set up

Smart licensing messages: disabled

aaa-authorization: disable
aaa-authorization username: callhome (default)
data-privacy: normal
syslog throttling: enable

Rate-limit: 5 message(s) per minute

Snapshot command: Not yet set up

Available alert groups:
Keyword State Description
———————— ——- ——————————-
configuration Enable configuration info
environment Enable environmental info
inventory Enable inventory info
snapshot Enable snapshot info
syslog Enable syslog info

Profiles:

Profile Name: FNT
Profile status: ACTIVE
Profile mode: Full Reporting
Reporting Data: Smart Call Home
Preferred Message Format: xml
Message Size Limit: 3145728 Bytes
Transport Method: email
Email address(es): admin@freenetworktutorials.com
                               admin@cisco.com

Periodic inventory info message is scheduled every 1 day of the month at 00:0

Alert-group Severity
———————— ————
environment minor

Syslog-Pattern Severity
———————— ————
.* major

Call Home configuration using HTTP for Smart Licensing

call-home
service active
sender reply-to <sender-email-address>
http-proxy  <http-proxy-server> port <http-proxy-port>
sender from <sender-email-address>
mail-server <SMTP Server IP> priority <1-100>
phone-number <+contact person phone number>
contact-email-addr <contact-email-address>
street-address “street-address “<street add,city,state,zipcode>”
profile smart_licensing
active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
reporting smart-licensing-data
destination transport-method http

Sample Output:

RP/0/RP0/CPU0:IOS-XRV1#show call-home detail

Current call home settings:
call home feature : enable
call home message’s from address: admin@freenetworktutorials.com
call home message’s reply-to address: admin@freenetworktutorials.com

vrf for call-home messages: Not yet set up

call home contact person: admin@freenetworktutorials.com

contact person’s phone number: +1-1234567890
street address: US
customer ID: Not yet set up
contract ID: Not yet set up
site ID: Not yet set up

source interface: Not yet set up
Mail-server[1]: Address: 1.1.1.1 Priority: 10
http proxy: 2.2.2.2:8080

Smart licensing messages: enabled
Profile: smart_licensing (status: ACTIVE)

aaa-authorization: disable
aaa-authorization username: callhome (default)
data-privacy: normal
syslog throttling: enable

Rate-limit: 5 message(s) per minute

Snapshot command: Not yet set up

Available alert groups:
Keyword State Description
———————— ——- ——————————-
configuration Enable configuration info
inventory Enable inventory info
snapshot Enable snapshot info
syslog Enable syslog info

Profiles:

Profile Name: smart_licensing
Profile status: ACTIVE
Profile mode: Full Reporting
Reporting Data: Smart Call Home, Smart Licensing
Preferred Message Format: xml
Message Size Limit: 3145728 Bytes
Transport Method: email and http
Email address(es): Not yet set up
HTTP address(es): https://tools.cisco.com/its/service/oddce/services/DDCEService

Alert-group Severity
———————— ————
N/A N/A

Syslog-Pattern Severity
———————— ————
N/A N/A

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *