cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
173
Views
0
Helpful
2
Replies

Cisco catalyst 3800 ISR 4431/k9

Sow2534
Level 1
Level 1

I am trying to Set up tracking to check either Google (8.8.8.8) or Open (208.67.222.222) DNS or both constantly. and log the tracking object to generate an alert

1 Accepted Solution

Accepted Solutions

M02@rt37
VIP
VIP

Hello @Sow2534 

Configure ip sla:

ip sla 1
icmp-echo 8.8.8.8 source-interface <your_WAN_interface>
frequency 10
timeout 1000
threshold 2
exit

ip sla 2
icmp-echo 208.67.222.222 source-interface <your_WAN_interface>
frequency 10
timeout 1000
threshold 2
exit

Then start ip sla operation:

ip sla schedule 1 life forever start-time now
ip sla schedule 2 life forever start-time now

--

Track each SLA probe:

track 1 ip sla 1 reachability
track 2 ip sla 2 reachability

Or do a track with boolean objet (https://learningnetwork.cisco.com/s/question/0D53i00000Kt3FlCAJ/cisco-track-list

track 10 list boolean and
object 1
object 2

--

Use EEM to take action based on track 10 result:

event manager applet DNS_Failure_Alert
event track 10 state down
action 1.0 syslog msg "ALERT: Both DNS servers unreachable via IP SLA!"
action 2.0 cli command "enable"
action 3.0 cli command "show track 1"
action 4.0 cli command "show track 2"

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

2 Replies 2

M02@rt37
VIP
VIP

Hello @Sow2534 

Configure ip sla:

ip sla 1
icmp-echo 8.8.8.8 source-interface <your_WAN_interface>
frequency 10
timeout 1000
threshold 2
exit

ip sla 2
icmp-echo 208.67.222.222 source-interface <your_WAN_interface>
frequency 10
timeout 1000
threshold 2
exit

Then start ip sla operation:

ip sla schedule 1 life forever start-time now
ip sla schedule 2 life forever start-time now

--

Track each SLA probe:

track 1 ip sla 1 reachability
track 2 ip sla 2 reachability

Or do a track with boolean objet (https://learningnetwork.cisco.com/s/question/0D53i00000Kt3FlCAJ/cisco-track-list

track 10 list boolean and
object 1
object 2

--

Use EEM to take action based on track 10 result:

event manager applet DNS_Failure_Alert
event track 10 state down
action 1.0 syslog msg "ALERT: Both DNS servers unreachable via IP SLA!"
action 2.0 cli command "enable"
action 3.0 cli command "show track 1"
action 4.0 cli command "show track 2"

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Joseph W. Doherty
Hall of Fame
Hall of Fame

BTW, just wondering, if Google or Open has any policy using their resources for your purpose.