07-31-2024 04:05 PM
I have looked through documentation but can't seem to find a full call-home example config including DNS settings. I ran a search on the forums and found nothing. I was able to figure it out on an XR router. I have verified the traffic is allowed out through the firewall as part of the same object group the XR router was in.
This is what I have so far. I know on the XR device I added a static DNS entry for tools.cisco.com but I am not really sure if that was necessary. I don't have that in this config.
This is what I have so far, domain name and IP's omitted.
license smart enable
!
ip domain name vrf Mgmt-vrf [domain name]
!
license smart vrf Mgmt-vrf
!
ip name-server vrf Mgmt-vrf [IP]
!
ip domain lookup vrf Mgmt-vrf source-interface gigabitEthernet 0/0
!
ip http client source-interface gigabitEthernet 0/0
!
call-home
!
vrf Mgmt-vrf
!
source-interface GigabitEthernet 0/0
!
end
07-31-2024 04:20 PM
Hi,
Here is one example.
switch# configure terminal
switch(config)# service call-home
switch(config)# call-home contact-email-addr admin@example.com
switch(config)# call-home contact-phone-number +123456789
switch(config)# call-home profile CiscoTAC-1
switch(config-call-home-profile)# destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
switch(config-call-home-profile)# email-from switch@example.com
switch(config-call-home-profile)# mail-server mail.example.com
switch(config-call-home-profile)# destination address email tac@example.com
switch(config-call-home-profile)# alert-group inventory periodic monthly
switch(config-call-home-profile)# alert-group configuration periodic weekly
switch# show call-home
07-31-2024 04:58 PM
Thanks. I wasn't given any of the information such as email address phone number etc. It should be able to work without that information correct?
I didn't enter any of that supplemental info on the XR device and it registered successfully using the default settings.
07-31-2024 05:47 PM
Yeah, it is not required, only suggestion
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide