{"id":1690,"date":"2018-11-14T12:41:38","date_gmt":"2018-11-14T19:41:38","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1690"},"modified":"2018-11-14T12:41:38","modified_gmt":"2018-11-14T19:41:38","slug":"cisco-3750-switch-multiple-failover-static-routes","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1690","title":{"rendered":"Cisco 3750 switch &#8211; multiple failover static routes"},"content":{"rendered":"<p>I needed to set up a few fail over routes in case an intermediate route became unavailable.  And I needed to do this for two different scenarios.  <\/p>\n<p>Create your IP SLAs:<\/p>\n<blockquote><p>ip sla 1<br \/>\n icmp-echo 10.10.10.111 source-ip 10.10.10.123<br \/>\n timeout 1000<br \/>\n threshold 2<br \/>\n frequency 3<br \/>\nip sla schedule 1 life forever start-time now<\/p><\/blockquote>\n<p>This is ping testing 10.10.10.111 from 10.10.10.123 to verify that the primary hop is available.<\/p>\n<blockquote><p>ip sla 2<br \/>\n icmp-echo 10.10.11.222 source-ip 10.10.22.123<br \/>\n timeout 1000<br \/>\n threshold 2<br \/>\n frequency 3<br \/>\nip sla schedule 2 life forever start-time now<\/p><\/blockquote>\n<p>Likewise, this is ping testing 10.10.11.222 from 10.10.22.123 to verify that the primary hop is available.<\/p>\n<p>Create your routes (Note: The IP security version of IOS is not needed for this.)::<\/p>\n<blockquote><p>ip route 0.0.0.0 0.0.0.0 10.10.10.111 track 1<br \/>\nip route 0.0.0.0 0.0.0.0 10.10.10.222 10<\/p><\/blockquote>\n<p>In this case, the default route on the 3750 is to 10.10.10.111, however if it is unavailable, then the default route is to 10.10.10.222.<\/p>\n<p>However, traffic to 10.10.11.10 and 192.168.0.20 should route to 10.10.11.222 by default and 10.10.11.223 when 10.10.11.222 is unavailable.<\/p>\n<blockquote><p>ip route 10.10.11.10 255.255.255.255 10.10.11.222 track 2<br \/>\nip route 192.168.0.20 255.255.255.255 10.10.11.222 track 2<br \/>\nip route 10.10.11.10 255.255.255.0 10.10.11.223<br \/>\nip route 192.168.0.20 255.255.255.0 10.10.11.223<\/p><\/blockquote>\n<p>Activate the tracks with the following statements:<\/p>\n<blockquote><p>track 1 ip sla 1 reachability<br \/>\ntrack 2 ip sla 2 reachability<\/p><\/blockquote>\n<p>Here are some useful commands to look at the configuration\/status:<\/p>\n<blockquote><p>#show ip sla application<br \/>\n\tIP Service Level Agreement Technologies<\/p>\n<p>IPSLAs Infrastructure version: Engine-II<\/p>\n<p>Supported Operation Types:<br \/>\n\tdhcp, dns, echo, ftp, http, jitter, mpls jitter, pathEcho<br \/>\n\tpathJitter, tcpConnect, udpEcho<br \/>\nSupported Features:<br \/>\n\tIPSLAs Event Publisher<\/p>\n<p>IP SLAs low memory water mark: 8441624<\/p>\n<p>Estimated system max number of entries: 6182<br \/>\nEstimated number of configurable operations: 4524<br \/>\nNumber of Entries configured  : 2<br \/>\nNumber of active Entries      : 2<br \/>\nNumber of pending Entries     : 0<br \/>\nNumber of inactive Entries    : 0<\/p>\n<p>Last time the operation configuration changed: 17:54:49.625 PST Tue Nov 13 2018<\/p><\/blockquote>\n<blockquote><p>#show ip sla configuration<br \/>\nIP SLAs, Infrastructure Engine-II<\/p>\n<p>Entry number: 1<br \/>\nOwner:<br \/>\nTag:<br \/>\nType of operation to perform: echo<br \/>\nTarget address: 10.10.10.111<br \/>\nSource address: 10.10.10.123<br \/>\nRequest size (ARR data portion): 28<br \/>\nOperation timeout (milliseconds): 1000<br \/>\nType Of Service parameters: 0x0<br \/>\nVerify data: No<br \/>\nVrf Name:<br \/>\nSchedule:<br \/>\n    Operation frequency (seconds): 3<br \/>\n    Next Scheduled Start Time: Start Time already passed<br \/>\n    Group Scheduled : FALSE<br \/>\n    Randomly Scheduled : FALSE<br \/>\n    Life (seconds): Forever<br \/>\n    Entry Ageout (seconds): never<br \/>\n    Recurring (Starting Everyday): FALSE<br \/>\n    Status of entry (SNMP RowStatus): Active<br \/>\nThreshold (milliseconds): 2<br \/>\nDistribution Statistics:<br \/>\n    Number of statistic hours kept: 2<br \/>\n    Number of statistic distribution buckets kept: 1<br \/>\n    Statistic distribution interval (milliseconds): 20<br \/>\nHistory Statistics:<br \/>\n    Number of history Lives kept: 0<br \/>\n    Number of history Buckets kept: 15<br \/>\n    History Filter Type: None<br \/>\nEnhanced History:<\/p>\n<p>Entry number: 2<br \/>\nOwner:<br \/>\nTag:<br \/>\nType of operation to perform: echo<br \/>\nTarget address: 10.10.11.222<br \/>\nSource address: 10.10.22.123<br \/>\nRequest size (ARR data portion): 28<br \/>\nOperation timeout (milliseconds): 1000<br \/>\nType Of Service parameters: 0x0<br \/>\nVerify data: No<br \/>\nVrf Name:<br \/>\nSchedule:<br \/>\n    Operation frequency (seconds): 3<br \/>\n    Next Scheduled Start Time: Start Time already passed<br \/>\n    Group Scheduled : FALSE<br \/>\n    Randomly Scheduled : FALSE<br \/>\n    Life (seconds): Forever<br \/>\n    Entry Ageout (seconds): never<br \/>\n    Recurring (Starting Everyday): FALSE<br \/>\n    Status of entry (SNMP RowStatus): Active<br \/>\nThreshold (milliseconds): 2<br \/>\nDistribution Statistics:<br \/>\n    Number of statistic hours kept: 2<br \/>\n    Number of statistic distribution buckets kept: 1<br \/>\n    Statistic distribution interval (milliseconds): 20<br \/>\nHistory Statistics:<br \/>\n    Number of history Lives kept: 0<br \/>\n    Number of history Buckets kept: 15<br \/>\n    History Filter Type: None<br \/>\nEnhanced History:<\/p><\/blockquote>\n<blockquote><p>#show ip sla statistics<\/p>\n<p>Round Trip Time (RTT) for\tIndex 1<br \/>\nType of operation: icmp-echo<br \/>\n\tLatest RTT: 1 ms<br \/>\nLatest operation start time: 11:29:19.092 PST Wed Nov 14 2018<br \/>\nLatest operation return code: OK<br \/>\nNumber of successes: 151<br \/>\nNumber of failures: 9<br \/>\nOperation time to live: Forever<\/p>\n<p>Round Trip Time (RTT) for\tIndex 2<br \/>\nType of operation: icmp-echo<br \/>\n\tLatest RTT: 1 ms<br \/>\nLatest operation start time: 11:29:16.634 PST Wed Nov 14 2018<br \/>\nLatest operation return code: OK<br \/>\nNumber of successes: 663<br \/>\nNumber of failures: 26<br \/>\nOperation time to live: Forever<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I needed to set up a few fail over routes in case an intermediate route became unavailable. And I needed to do this for two different scenarios. Create your IP SLAs: ip sla 1 icmp-echo 10.10.10.111 source-ip 10.10.10.123 timeout 1000 threshold 2 frequency 3 ip sla schedule 1 life forever start-time now This is ping [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[475,319,477,476],"class_list":["post-1690","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-475","tag-cisco","tag-failover","tag-route"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1690"}],"version-history":[{"count":2,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1690\/revisions"}],"predecessor-version":[{"id":1692,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1690\/revisions\/1692"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}