Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

IP SLA not putting route in table

I set up IP SLA for icmp-echo on an IP that would then be tracked by a static route. The IP SLA summary showed this as succeeding but the route is not in the routing table.  I believe this should be all relevant configuration and output. The IPs and naming have been altered so apologies if I end up missing something. The idea behind this is that when an IP is active at this site (active/standby site) the IP SLA tracked route will kick in and be redistributed into BGP and advertised to the 2 routes that have the GLBP address of 10.30.30.8. BGP conifguration not inlcuded since the issue seems to be with the IP SLA config (no static route in table).

track 5 ip sla 1 reachability

delay down 3 up 3

ip sla 5

icmp-echo 10.10.10.10 source-ip 10.30.30.11

vrf Customer1

ip sla schedule 5 life forever start-time now

ip route vrf Customer1 10.10.10.0 255.255.255.0 GigabitEthernet0/0/0.5 10.30.30.8 track 5

interface GigabitEthernet0/0/0.5

encapsulation dot1Q 5

ip vrf forwarding Customer1

ip address 10.30.30.11 255.255.255.0

end

ASR1001#show ip route vrf Customer1

...

Gateway of last resort is 10.30.30.1 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 10.30.30.1, GigabitEthernet0/0/0.5

      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C        10.30.30.0/24 is directly connected, GigabitEthernet0/0/0.5

L        10.30.30.11/32 is directly connected, GigabitEthernet0/0/0.5

ASR1001#show ip sla summ

IPSLAs Latest Operation Summary

Codes: * active, ^ inactive, ~ pending

ID           Type        Destination       Stats       Return      Last

                                           (ms)        Code        Run

-----------------------------------------------------------------------

...

*5           icmp-echo   10.10.10.10     RTT=1       OK          25 seconds ago

3 REPLIES
Green

IP SLA not putting route in table

Ben,

This looks wrong

ip route vrf Customer1 10.10.10.0 255.255.255.0 GigabitEthernet0/0/0.3 10.30.30.8 track 5

should be

ip route vrf Customer1 10.10.10.0 255.255.255.0 GigabitEthernet0/0/0.5 10.30.30.8 track 5

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.
New Member

Re: IP SLA not putting route in table

Sorry, that was a copy paste error.  I checked and the route statement has the correct subinterface tag in the configuration. I'll edit the post.  I copied the route line from the other site device which has the interface tagged as .3, then I altered the gateway IP for security. VRF and destination IP/Mask are the same for the routes at each site but the gateway and subinterface are different.

New Member

Re: IP SLA not putting route in table

Found it.


track 5 ip sla 1 reachability

should be

track 5 ip sla 5 reachability

243
Views
0
Helpful
3
Replies
CreatePlease to create content