configure terminal ! hostname R1 ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! interface GigabitEthernet 0/0 ip address 10.1.3.1 255.255.255.0 no shutdown interface GigabitEthernet 0/1 ip address 10.1.2.1 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.1.5.1 255.255.255.0 no shutdown interface GigabitEthernet 0/3 ip address 10.0.128.1 255.255.255.0 no shutdown ! router ospf 1 network 10.1.3.1 0.0.0.0 area 0 network 10.1.2.1 0.0.0.0 area 0 network 10.1.5.1 0.0.0.0 area 0 network 10.0.128.1 0.0.0.0 area 0 ! end wr
configure terminal ! hostname R2 ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! interface GigabitEthernet 0/0 ip address 10.1.2.2 255.255.255.0 no shutdown interface GigabitEthernet 0/1 ip address 10.2.4.2 255.255.255.0 no shutdown ! router ospf 1 network 10.1.2.2 0.0.0.0 area 0 network 10.2.4.2 0.0.0.0 area 0 ! end wr
configure terminal ! hostname R3 ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! interface GigabitEthernet 0/0 ip address 10.3.4.3 255.255.255.0 no shutdown interface GigabitEthernet 0/1 ip address 10.1.3.3 255.255.255.0 no shutdown ! router ospf 1 network 10.3.4.3 0.0.0.0 area 0 network 10.1.3.3 0.0.0.0 area 0 ! end wr
configure terminal ! hostname R4 ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! interface Loopback 0 ip address 10.4.4.4 255.255.255.255 interface GigabitEthernet 0/0 ip address 10.2.4.4 255.255.255.0 no shutdown interface GigabitEthernet 0/1 ip address 10.3.4.4 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.4.5.4 255.255.255.0 no shutdown ! router ospf 1 network 10.4.4.4 0.0.0.0 area 0 network 10.2.4.4 0.0.0.0 area 0 network 10.3.4.4 0.0.0.0 area 0 network 10.4.5.4 0.0.0.0 area 0 ! end wr
configure terminal ! hostname R5 ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! interface GigabitEthernet 0/0 ip address 10.4.5.5 255.255.255.0 no shutdown interface GigabitEthernet 0/1 ip address 10.1.5.5 255.255.255.0 no shutdown ! router ospf 1 network 10.4.5.5 0.0.0.0 area 0 network 10.1.5.5 0.0.0.0 area 0 ! end wr
configure terminal ! ip sla responder ! end
configure terminal ! ip sla 1 ! destination port is 16384/udp udp-jitter 10.4.4.4 16384 codec g711ulaw !tos 160 ! EF(Expedited Forwarding, 46) tos 184 exit ip sla schedule 1 life forever start-time now ! end
configure terminal ! snmp-server host 10.0.128.254 public snmp-server enable traps ipsla ! Legacy !snmp-server enable traps rtr ! ip sla reaction-configuration 1 react mos threshold-value 500 300 threshold-type immediate action-type trapOnly ! end
authCommunity log,execute,net public
sudo systemctl restart snmptrapd systemctl status snmptrapd tail -f /var/log/syslog | grep --line-buffered snmp
show ip sla statistics
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 12:20:08 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/12/19 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/2/998 milliseconds Destination to Source Jitter Min/Avg/Max: 0/10/1000 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 6 Number of failures: 0 Operation time to live: Forever R1#
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 11 milliseconds Latest operation start time: 18:02:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/11/21 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/5/1001 milliseconds Destination to Source Jitter Min/Avg/Max: 0/7/1004 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 2 Number of failures: 0 Operation time to live: Forever
Let's say to apply packet filter: Packet loss, Delay.
R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 4.34 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#sh ip sla statistics | i MOS MOS score: 1.00 R1#
Oct 22 03:06:55 kozue snmptrapd[2370]: 2019-10-22 03:06:55 10.0.128.1(via UDP: [10.0.128.1]:54351->[10.0.128.254]:162) TRAP, SNMP v1, community public#012#011iso.3.6.1.4.1.9.9.42.2 Enterprise Specific Trap (5) Uptime: 0:07:10.40#012#011iso.3.6.1.4.1.9.9.42.1.2.1.1.3.1 = ""#011iso.3.6.1.4.1.9.9.42.1.4.1.1.5.1 = Hex-STRING: 0A 04 04 04 #011iso.3.6.1.4.1.9.9.42.1.2.19.1.2.1 = INTEGER: 6#011iso.3.6.1.4.1.9.9.42.1.2.19.1.10.1 = INTEGER: 1#011iso.3.6.1.4.1.9.9.42.1.2.19.1.9.1 = INTEGER: 100#011iso.3.6.1.4.1.9.9.42.1.2.19.1.5.1 = INTEGER: 500#011iso.3.6.1.4.1.9.9.42.1.2.19.1.6.1 = INTEGER: 300#011iso.3.6.1.4.1.9.9.42.1.2.2.1.33.1 = Hex-STRING: 00 00 00 00 00 00 00 0A 10 BA FE 90 10 D5 AA E0 #01290 FE BA 10 10 D5 AA E0 10 BA FE 90 Oct 22 03:06:56 kozue snmptrapd[2370]: 2019-10-22 03:06:56 10.0.128.1(via UDP: [10.0.128.1]:54351->[10.0.128.254]:162) TRAP, SNMP v1, community public#012#011iso.3.6.1.4.1.9.9.42.2 Enterprise Specific Trap (5) Uptime: 0:07:10.40#012#011iso.3.6.1.4.1.9.9.42.1.2.1.1.12.1 = ""#011iso.3.6.1.4.1.9.9.42.1.4.1.1.5.1 = Hex-STRING: 0A 04 04 04 #011iso.3.6.1.4.1.9.9.42.1.2.19.1.2.1 = INTEGER: 6#011iso.3.6.1.4.1.9.9.42.1.2.19.1.10.1 = INTEGER: 1#011iso.3.6.1.4.1.9.9.42.1.2.19.1.9.1 = INTEGER: 100#011iso.3.6.1.4.1.9.9.42.1.2.19.1.5.1 = INTEGER: 500#011iso.3.6.1.4.1.9.9.42.1.2.19.1.6.1 = INTEGER: 300#011iso.3.6.1.4.1.9.9.42.1.2.2.1.33.1 = Hex-STRING: 00 00 00 00 00 00 00 0B 10 D5 AA E0 10 BA FE 90 #01200 00 00 00 00 00 00 0A 10 BA FE 90 Oct 22 03:07:13 kozue snmpd[871]: error on subcontainer 'ia_addr' insert (-1)
MIB
1.3.6.1.4.1.9.9.42.1.2.19.1.9
rttMonReactValue
Free CISCO-RTTMON-MIB SNMP MIB Download - Free MIB Download - Search MIBs - OiDViEW
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:24:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/12/19 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/2/6 milliseconds Destination to Source Jitter Min/Avg/Max: 0/9/1001 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 24 Number of failures: 0 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:24:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/12/19 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/2/6 milliseconds Destination to Source Jitter Min/Avg/Max: 0/9/1001 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 24 Number of failures: 0 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:24:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/12/19 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/2/6 milliseconds Destination to Source Jitter Min/Avg/Max: 0/9/1001 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 24 Number of failures: 0 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:24:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 1000 RTT Min/Avg/Max: 1/12/19 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 999 Number of DS Jitter Samples: 999 Source to Destination Jitter Min/Avg/Max: 0/2/6 milliseconds Destination to Source Jitter Min/Avg/Max: 0/9/1001 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 0 Source to Destination Loss Periods Number: 0 Source to Destination Loss Period Length Min/Max: 0/0 Source to Destination Inter Loss Period Length Min/Max: 0/0 Loss Destination to Source: 0 Destination to Source Loss Periods Number: 0 Destination to Source Loss Period Length Min/Max: 0/0 Destination to Source Inter Loss Period Length Min/Max: 0/0 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 1 MOS score: 4.34 Number of successes: 24 Number of failures: 0 Operation time to live: Forever
Let's say set Packet loss chance to 10%.
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:25:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 803 RTT Min/Avg/Max: 1/12/17 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 645 Number of DS Jitter Samples: 729 Source to Destination Jitter Min/Avg/Max: 0/4/998 milliseconds Destination to Source Jitter Min/Avg/Max: 0/5/1000 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 116 Source to Destination Loss Periods Number: 136 Source to Destination Loss Period Length Min/Max: 1/4 Source to Destination Inter Loss Period Length Min/Max: 1/123 Loss Destination to Source: 81 Destination to Source Loss Periods Number: 73 Destination to Source Loss Period Length Min/Max: 1/2 Destination to Source Inter Loss Period Length Min/Max: 1/54 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 93 MOS score: 1.00 Number of successes: 25 Number of failures: 0 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:26:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 791 RTT Min/Avg/Max: 1/12/18 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 618 Number of DS Jitter Samples: 697 Source to Destination Jitter Min/Avg/Max: 0/2/6 milliseconds Destination to Source Jitter Min/Avg/Max: 0/4/1003 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 101 Source to Destination Loss Periods Number: 136 Source to Destination Loss Period Length Min/Max: 1/3 Source to Destination Inter Loss Period Length Min/Max: 1/105 Loss Destination to Source: 108 Destination to Source Loss Periods Number: 93 Destination to Source Loss Period Length Min/Max: 1/3 Destination to Source Inter Loss Period Length Min/Max: 1/32 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 93 MOS score: 1.00 Number of successes: 26 Number of failures: 0 Operation time to live: Forever R1#
set to 2%.
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 12 milliseconds Latest operation start time: 18:31:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 939 RTT Min/Avg/Max: 1/12/25 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 883 Number of DS Jitter Samples: 906 Source to Destination Jitter Min/Avg/Max: 0/4/1001 milliseconds Destination to Source Jitter Min/Avg/Max: 0/5/1002 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 27 Source to Destination Loss Periods Number: 53 Source to Destination Loss Period Length Min/Max: 1/2 Source to Destination Inter Loss Period Length Min/Max: 1/90 Loss Destination to Source: 34 Destination to Source Loss Periods Number: 32 Destination to Source Loss Period Length Min/Max: 1/2 Destination to Source Inter Loss Period Length Min/Max: 1/160 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 18 MOS score: 3.80 Number of successes: 31 Number of failures: 0 Operation time to live: Forever
set to 1%.
R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: udp-jitter Latest RTT: 11 milliseconds Latest operation start time: 18:33:42 UTC Mon Oct 21 2019 Latest operation return code: OK RTT Values: Number Of RTT: 958 RTT Min/Avg/Max: 1/11/20 milliseconds Latency one-way time: Number of Latency one-way Samples: 0 Source to Destination Latency one way Min/Avg/Max: 0/0/0 milliseconds Destination to Source Latency one way Min/Avg/Max: 0/0/0 milliseconds Jitter Time: Number of SD Jitter Samples: 917 Number of DS Jitter Samples: 940 Source to Destination Jitter Min/Avg/Max: 0/4/1002 milliseconds Destination to Source Jitter Min/Avg/Max: 0/6/1003 milliseconds Over Threshold: Number Of RTT Over Threshold: 0 (0%) Packet Loss Values: Loss Source to Destination: 24 Source to Destination Loss Periods Number: 34 Source to Destination Loss Period Length Min/Max: 1/2 Source to Destination Inter Loss Period Length Min/Max: 3/218 Loss Destination to Source: 18 Destination to Source Loss Periods Number: 17 Destination to Source Loss Period Length Min/Max: 1/2 Destination to Source Inter Loss Period Length Min/Max: 3/178 Out Of Sequence: 0 Tail Drop: 0 Packet Late Arrival: 0 Packet Skipped: 0 Voice Score Values: Calculated Planning Impairment Factor (ICPIF): 14 MOS score: 3.96 Number of successes: 33 Number of failures: 0 Operation time to live: Forever
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R1 ! access-list 1 permit 172.16.0.0 0.0.0.255 ! ip nat inside source list 1 interface GigabitEthernet 0/2 overload ! interface GigabitEthernet 0/1 ip address 172.16.0.1 255.255.255.0 no shutdown standby 1 ip 172.16.0.254 standby 1 priority 105 standby 1 preempt ip nat inside interface GigabitEthernet 0/2 ip address 10.1.3.1 255.255.255.0 no shutdown ip nat outside ! ip route 0.0.0.0 0.0.0.0 10.1.3.3
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R2 ! access-list 1 permit 172.16.0.0 0.0.0.255 ! ip nat inside source list 1 interface GigabitEthernet 0/2 overload ! interface GigabitEthernet 0/1 ip address 172.16.0.2 255.255.255.0 no shutdown standby 1 ip 172.16.0.254 standby 1 priority 100 standby 1 preempt ip nat inside interface GigabitEthernet 0/2 ip address 10.2.3.2 255.255.255.0 no shutdown ip nat outside ! ip route 0.0.0.0 0.0.0.0 10.2.3.3
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R3 ! interface GigabitEthernet 0/1 ip address 10.1.3.3 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.2.3.3 255.255.255.0 no shutdown interface Loopback 0 ip address 10.3.3.3 255.255.255.255 no shutdown
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R4 ! interface GigabitEthernet 0/1 ip address 172.16.0.4 255.255.255.0 no shutdown ! ip route 0.0.0.0 0.0.0.0 172.16.0.254
configure terminal ! ip sla 1 icmp-echo 10.1.3.3 source-interface GigabitEthernet 0/2 timeout 5000 frequency 10 exit ip sla schedule 1 life forever start-time now ! track 101 ip sla 1 reachability exit track 102 interface GigabitEthernet 0/2 line-protocol exit ! interface GigabitEthernet 0/1 standby 1 track 101 standby 1 track 102 ! end
R1#sh standby GigabitEthernet0/1 - Group 1 State is Active 1 state change, last state change 04:17:06 Virtual IP address is 172.16.0.254 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.008 secs Preemption enabled Active router is local Standby router is 172.16.0.2, priority 100 (expires in 9.472 sec) Priority 105 (configured 105) Track object 101 state Up decrement 10 Track object 102 state Up decrement 10 Group name is "hsrp-Gi0/1-1" (default) R1# R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 2 milliseconds Latest operation start time: 03:43:16 UTC Wed Nov 6 2019 Latest operation return code: OK Number of successes: 36 Number of failures: 0 Operation time to live: Forever R1#sh ip sla statistics *Nov 6 03:44:42.638: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 03:44:36 UTC Wed Nov 6 2019 Latest operation return code: Timeout Number of successes: 43 Number of failures: 1 Operation time to live: Forever R1#show standby GigabitEthernet0/1 - Group 1 State is Speak 8 state changes, last state change 00:00:05 Virtual IP address is 172.16.0.254 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 0.112 secs Preemption enabled Active router is 172.16.0.2, priority 100 (expires in 8.224 sec) Standby router is unknown Priority 95 (configured 105) Track object 101 state Down decrement 10 Track object 102 state Up decrement 10 Group name is "hsrp-Gi0/1-1" (default) R1# *Nov 6 03:49:55.637: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Speak -> Standby R1# R1# *Nov 6 03:44:43.013: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Active -> Speak R1# *Nov 6 03:44:54.730: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Speak -> Standby R1# R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int gig0/2 R1(config-if)#shut R1(config-if)# *Nov 6 03:48:10.929: %TRACK-6-STATE: 102 interface Gi0/2 line-protocol Up -> Down R1(config-if)#do sh *Nov 6 03:48:11.065: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Active -> Speak R1(config-if)#do sh standby *Nov 6 03:48:12.904: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 6 03:48:13.904: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down R1(config-if)#do sh standby GigabitEthernet0/1 - Group 1 State is Speak 5 state changes, last state change 00:00:03 Virtual IP address is 172.16.0.254 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 1.440 secs Preemption enabled Active router is 172.16.0.2, priority 100 (expires in 9.984 sec) Standby router is unknown Priority 95 (configured 105) Track object 101 state Up decrement 10 Track object 102 state Down decrement 10 Group name is "hsrp-Gi0/1-1" (default) R1(config-if)# *Nov 6 03:48:17.644: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)# *Nov 6 03:48:22.383: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Speak -> Standby R1(config-if)#
R2#sh standby GigabitEthernet0/1 - Group 1 State is Standby 10 state changes, last state change 04:13:26 Virtual IP address is 172.16.0.254 Active virtual MAC address is 0000.0c07.ac01 Local virtual MAC address is 0000.0c07.ac01 (v1 default) Hello time 3 sec, hold time 10 sec Next hello sent in 0.208 secs Preemption enabled Active router is 172.16.0.1, priority 105 (expires in 10.768 sec) Standby router is local Priority 100 (default 100) Group name is "hsrp-Gi0/1-1" (default) R2# R2# *Nov 6 03:44:30.084: %HSRP-5-STATECHANGE: GigabitEthernet0/1 Grp 1 state Standby -> Active R2#
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R1 ! access-list 1 permit 172.16.0.0 0.0.0.255 ! ip nat inside source list 1 interface GigabitEthernet 0/2 overload ! interface GigabitEthernet 0/1 ip address 172.16.0.1 255.255.255.0 no shutdown ip nat inside interface GigabitEthernet 0/2 ip address 10.1.3.1 255.255.255.0 no shutdown ip nat outside ! ip route 0.0.0.0 0.0.0.0 10.1.3.3
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R2 ! access-list 1 permit 172.16.0.0 0.0.0.255 ! ip nat inside source list 1 interface GigabitEthernet 0/2 overload ! interface GigabitEthernet 0/1 ip address 172.16.0.2 255.255.255.0 no shutdown ip nat inside interface GigabitEthernet 0/2 ip address 10.2.3.2 255.255.255.0 no shutdown ip nat outside ! ip route 0.0.0.0 0.0.0.0 10.2.3.3
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R3 ! interface GigabitEthernet 0/1 ip address 10.1.3.3 255.255.255.0 no shutdown interface GigabitEthernet 0/2 ip address 10.2.3.3 255.255.255.0 no shutdown interface Loopback 0 ip address 10.3.3.3 255.255.255.255 no shutdown
enable configure terminal ! ! no ip domain-lookup line console 0 no login exec-timeout 0 0 logging synchronous privilege level 15 exit line vty 0 15 no login privilege level 15 exit ! hostname R4 ! interface GigabitEthernet 0/1 ip address 172.16.0.4 255.255.255.0 no shutdown ! ip route 0.0.0.0 0.0.0.0 172.16.0.1
IP SLA Object Tracking Floating Static Route Configuration
configure terminal ! ip sla 1 icmp-echo 10.3.3.3 source-interface GigabitEthernet 0/2 timeout 5000 frequency 10 exit ip sla schedule 1 life forever start-time now ! track 101 ip sla 1 reachability exit ! no ip route 0.0.0.0 0.0.0.0 10.1.3.3 ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 ip route 0.0.0.0 0.0.0.0 172.16.0.2 250 ! end
R4#ping 10.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/6 ms R4#tracer R4#traceroute 10.3.3.3 Type escape sequence to abort. Tracing the route to 10.3.3.3 VRF info: (vrf in name/id, vrf out name/id) 1 172.16.0.1 4 msec 5 msec 4 msec 2 10.1.3.3 10 msec * 7 msec R4#
R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)# R1(config)# R1(config)# R1(config)#ip sla 1 R1(config-ip-sla)#icmp R1(config-ip-sla)#icmp-echo R1(config-ip-sla)#icmp-echo 10.3.3.3 sour R1(config-ip-sla)#icmp-echo 10.3.3.3 source-in R1(config-ip-sla)#icmp-echo 10.3.3.3 source-interface Giga R1(config-ip-sla)#icmp-echo 10.3.3.3 source-interface GigabitEthernet 0/2 R1(config-ip-sla-echo)#tim R1(config-ip-sla-echo)#timeout 5000 R1(config-ip-sla-echo)#fre R1(config-ip-sla-echo)#frequency 10 R1(config-ip-sla-echo)#exit R1(config)#ip sla R1(config)#ip sla sch R1(config)#ip sla schedule 1 li R1(config)#ip sla schedule 1 life fo R1(config)#ip sla schedule 1 life forever *Nov 7 21:46:45.350: %PNP-6-PNP_DISCOVERY_STOPPED: PnP Discovery stopped (Config Wizard) R1(config)#ip sla schedule 1 life forever star R1(config)#ip sla schedule 1 life forever start-time no R1(config)#ip sla schedule 1 life forever start-time now R1(config)#do sh ip sla stati R1(config)#do sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 1 milliseconds Latest operation start time: 21:46:51 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 1 Number of failures: 0 Operation time to live: Forever R1(config)#do sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 21:47:01 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 2 Number of failures: 0 Operation time to live: Forever R1(config)#tra R1(config)#trac R1(config)#track 101 ip sla R1(config)#track 101 ip sla 1 ? reachability Reachability state Return code state <cr> R1(config)#track 101 ip sla 1 reach R1(config)#track 101 ip sla 1 reachability R1(config-track)#exit R1(config)#do sh run | i ip route ip route 0.0.0.0 0.0.0.0 10.1.3.3 R1(config)#no ip route 0.0.0.0 0.0.0.0 10.1.3.3 R1(config)#ip route 0.0.0.0 0.0 *Nov 7 21:48:07.450: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config)#ip route 0.0.0.0 0.0.0.0 10.1.3.3 tra R1(config)#ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 R1(config)# R1(config)#do ping 10.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) R1(config)#do ping 10.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: ..... Success rate is 0 percent (0/5) R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.0.2 ? <1-255> Distance metric for this route multicast multicast route name Specify name of the next hop permanent permanent route tag Set tag for this route track Install route depending on tracked item <cr> R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.0.2 250 R1(config)#do sh ip s *Nov 7 21:49:32.450: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config)#do sh ip sla stat R1(config)#do sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 1 milliseconds Latest operation start time: 21:49:31 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 8 Number of failures: 9 Operation time to live: Forever R1(config)#do sh run | i ip route ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 ip route 0.0.0.0 0.0.0.0 172.16.0.2 250 R1(config)#do sh ip ro static R1(config)#do sh ip ro static Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 R1(config)#do sh ip sla stati R1(config)#do sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 21:50:21 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 13 Number of failures: 9 Operation time to live: Forever R1(config)#ping 10.3.3.3 ^ % Invalid input detected at '^' marker. R1(config)#do ping 10.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/6 ms R1(config)#do ping 172.16.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/9 ms R1(config)#sh ip ro 0.0.0.0 ^ % Invalid input detected at '^' marker. R1(config)#do sh ip ro 0.0.0.0 Routing entry for 0.0.0.0/0, supernet Known via "static", distance 1, metric 0, candidate default path Routing Descriptor Blocks: * 10.1.3.3 Route metric is 0, traffic share count is 1 R1(config)#int gig0/2 R1(config-if)#shut R1(config-if)#do sh *Nov 7 21:51:26.908: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 21:51:27.909: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to downi R1(config-if)#do sh ip sla R1(config-if)#do sh ip slastati R1(config-if)#do sh ip slastati ^ % Invalid input detected at '^' marker. R1(config-if)#do sh ip slast *Nov 7 21:51:32.456: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)#do sh ip sla stati R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 21:51:21 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 19 Number of failures: 10 Operation time to live: Forever R1(config-if)#do sh ip ro statis R1(config-if)#do sh ip ro stati R1(config-if)#do sh ip ro static Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#do ping 10.3..33 % Unrecognized host or address, or protocol not running. R1(config-if)#do ping 10.3.3.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 5/6/8 ms R1(config-if)#
R4#traceroute 10.3.3.3 Type escape sequence to abort. Tracing the route to 10.3.3.3 VRF info: (vrf in name/id, vrf out name/id) 1 172.16.0.1 3 msec 7 msec 4 msec 2 * 172.16.0.2 7 msec 5 msec 3 10.2.3.3 10 msec * 11 msec R4#ping 10.3.3.3 repea R4#ping 10.3.3.3 repeat 100000 Type escape sequence to abort. Sending 100000, 100-byte ICMP Echos to 10.3.3.3, timeout is 2 seconds: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!. Success rate is 99 percent (435/436), round-trip min/avg/max = 2/5/16 ms R4#
R1(config-if)#no shut R1(config-if)#do sh ip *Nov 7 21:54:21.545: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up *Nov 7 21:54:22.546: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)#do sh ip sla R1(config-if)#do sh ip sla stai R1(config-if)#do sh ip sla stati R1(config-if)#do sh ip sla statistic R1(config-if)#do sh ip sla statistic IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 21:54:31 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 20 Number of failures: 27 Operation time to live: Forever R1(config-if)# *Nov 7 21:54:32.459: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#do sh ip ro static Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 R1(config-if)#do sh ip ro 0.0.0.0 Routing entry for 0.0.0.0/0, supernet Known via "static", distance 1, metric 0, candidate default path Routing Descriptor Blocks: * 10.1.3.3 Route metric is 0, traffic share count is 1 R1(config-if)#
R3#conf t Enter configuration commands, one per line. End with CNTL/Z. R3(config)#int gig0/1 R3(config-if)#shut R3(config-if)# *Nov 7 21:57:22.627: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down *Nov 7 21:57:23.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down R3(config-if)# *Nov 7 21:58:28.179: %PNP-6-PNP_DISCOVERY_STOPPED: PnP Discovery stopped (Config Wizard) R3(config-if)#
R1(config-if)#end R1#sh ip *Nov 7 21:57:25.618: %SYS-5-CONFIG_I: Configured from console by console R1#sh ip sla stai *Nov 7 21:57:27.466: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1#sh ip sla stai R1#sh ip sla stai ^ % Invalid input detected at '^' marker. R1#sh ip sla stati R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 21:57:21 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 36 Number of failures: 28 Operation time to live: Forever R1#sh ip ro static Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1#
Optional Configuration
configure terminal ! track 101 ip sla 1 reachability delay down 15 up 30 exit ! end
R1# R1# R1# R1# R1#sh clock *22:06:10.948 UTC Thu Nov 7 2019 R1#sh clock *22:06:12.154 UTC Thu Nov 7 2019 R1#sh clock *22:06:12.822 UTC Thu Nov 7 2019 R1#sh clock *22:06:13.968 UTC Thu Nov 7 2019 R1#sh clock *22:06:14.755 UTC Thu Nov 7 2019 R1#sh clock *22:06:16.462 UTC Thu Nov 7 2019 R1#sh clock *22:06:17.188 UTC Thu Nov 7 2019 R1#sh clock *22:06:18.054 UTC Thu Nov 7 2019 R1#sh clock *22:06:18.784 UTC Thu Nov 7 2019 R1#sh clock *22:06:19.574 UTC Thu Nov 7 2019 R1#sh clock *22:06:20.340 UTC Thu Nov 7 2019 R1#sh clock *22:06:21.047 UTC Thu Nov 7 2019 R1#sh clock *22:06:21.874 UTC Thu Nov 7 2019 R1#sh clock *22:06:22.521 UTC Thu Nov 7 2019 R1#sh clock *22:06:23.188 UTC Thu Nov 7 2019 R1#sh clock *22:06:23.877 UTC Thu Nov 7 2019 R1# *Nov 7 22:06:22.505: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1#sh clock *22:06:24.553 UTC Thu Nov 7 2019 R1#sh clock *22:06:25.683 UTC Thu Nov 7 2019 R1# R1# R1#sh clock *22:06:26.751 UTC Thu Nov 7 2019 R1#sh clock *22:06:27.317 UTC Thu Nov 7 2019 R1#sh clock *22:06:27.864 UTC Thu Nov 7 2019 R1#sh clock *22:06:29.194 UTC Thu Nov 7 2019 R1#sh clock *22:06:29.860 UTC Thu Nov 7 2019 R1#sh clock *22:06:30.427 UTC Thu Nov 7 2019 R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1# R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#tra R1(config)#tra? track translate R1(config)#trac R1(config)#track 101 ip sla R1(config)#track 101 ip sla 1 reac R1(config)#track 101 ip sla 1 reachability R1(config-track)#de R1(config-track)#del R1(config-track)#delay dow R1(config-track)#delay down 15 ? up Delay up change notification <cr> R1(config-track)#delay down 15 up 30 R1(config-track)#end R1# R1# R1# R1# R1# *Nov 7 22:07:07.223: %SYS-5-CONFIG_I: Configured from console by console R1# R1# R1# R1# R1# R1# R1#do sh run | sec track ^ % Invalid input detected at '^' marker. R1#sh run | sec track track 101 ip sla 1 reachability delay down 15 up 30 ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 R1# R1# R1# R1# R1# R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config)#do sh ip sla stati R1(config)#do sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 4 milliseconds Latest operation start time: 22:09:11 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 56 Number of failures: 79 Operation time to live: Forever R1(config)#int gig0/2 R1(config-if)#shut R1(config-if)#do *Nov 7 22:09:36.494: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 22:09:37.495: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to downs R1(config-if)#do sh ip sla stai R1(config-if)#do sh ip sla stati R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:09:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 58 Number of failures: 80 Operation time to live: Forever R1(config-if)#do sh clock *22:09:48.561 UTC Thu Nov 7 2019 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:09:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 58 Number of failures: 81 Operation time to live: Forever R1(config-if)#do sh clock *22:09:54.919 UTC Thu Nov 7 2019 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:09:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 58 Number of failures: 81 Operation time to live: Forever R1(config-if)#do sh clock *Nov 7 22:09:57.522: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)#do sh clock *22:10:00.369 UTC Thu Nov 7 2019 R1(config-if)#do sh clock *22:10:03.816 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#do sh clock *22:10:20.901 UTC Thu Nov 7 2019 R1(config-if)#no shut R1(config-if)#do sh clock *Nov 7 22:10:30.353: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up R1(config-if)#do sh clock *22:10:32.416 UTC Thu Nov 7 2019 R1(config-if)# *Nov 7 22:10:31.352: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)#do sh clock *22:10:35.521 UTC Thu Nov 7 2019 R1(config-if)#do sh clock *22:10:37.048 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh clock *22:10:48.824 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh clock *22:10:56.773 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh clock *22:11:06.699 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)# *Nov 7 22:11:12.524: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)#shut R1(config-if)#do sh clock *22:12:16.039 UTC Thu Nov 7 2019 R1(config-if)# *Nov 7 22:12:14.788: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 22:12:15.788: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down R1(config-if)#do sh clock *22:12:18.419 UTC Thu Nov 7 2019 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)# *Nov 7 22:12:37.527: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#do sh ip sla stai R1(config-if)#do sh ip sla stati R1(config-if)#do sh ip sla statis IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:12:11 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 68 Number of failures: 92 Operation time to live: Forever R1(config-if)#exit R1(config)#track 101 ip sla 1 reac R1(config)#track 101 ip sla 1 reachability R1(config-track)#del R1(config-track)#delay do R1(config-track)#delay down 60 up R1(config-track)#delay down 60 up 30 R1(config-track)#exit R1(config)#int gig0/2 R1(config-if)#no shut R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# *Nov 7 22:15:02.067: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up *Nov 7 22:15:03.068: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)#sh ip sla R1(config-if)#do sh ip sla statitstics ^ % Invalid input detected at '^' marker. R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 22:15:21 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 70 Number of failures: 102 Operation time to live: Forever R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)# *Nov 7 22:15:42.529: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#shut R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)# *Nov 7 22:15:57.997: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 22:15:58.998: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:15:51 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 73 Number of failures: 105 Operation time to live: Forever R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:15:51 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 73 Number of failures: 108 Operation time to live: Forever R1(config-if)# *Nov 7 22:17:02.531: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)# R1(config-if)# R1(config-if)# R1(config-if)#no shut R1(config-if)# *Nov 7 22:17:37.160: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up *Nov 7 22:17:38.163: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh run | i *Nov 7 22:18:12.533: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh run | sec track track 101 ip sla 1 reachability delay down 60 up 30 ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 R1(config-if)#
static floating route tracking down delay not works interface down, changes immediately.
but delay down timer works when opposite side router down.
up timer works fine.
R3(config-if)#shut R3(config-if)# *Nov 7 22:50:28.944: %LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to administratively down *Nov 7 22:50:29.944: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down R3(config-if)#
show clock show ip sla statistics show ip route | include 0.0.0.0 show track 101
R1#sh run | sec track track 101 ip sla 1 reachability delay down 60 up 30 ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 R1# R1#sh clock *22:50:23.067 UTC Thu Nov 7 2019 R1# R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:50:21 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 8 Number of failures: 13 Operation time to live: Forever R1# R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1# R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:50:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 8 Number of failures: 14 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:50:41 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 8 Number of failures: 15 Operation time to live: Forever R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1#sh clock *22:50:55.818 UTC Thu Nov 7 2019 R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:50:51 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 8 Number of failures: 16 Operation time to live: Forever R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1# R1#sh clock *22:51:26.925 UTC Thu Nov 7 2019 R1# *Nov 7 22:51:27.634: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1#
R3(config-if)#no shut R3(config-if)# *Nov 7 22:55:40.208: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed state to up *Nov 7 22:55:41.209: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up R3(config-if)#
R1#sh clock *22:55:34.388 UTC Thu Nov 7 2019 R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:55:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 10 Number of failures: 42 Operation time to live: Forever R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 22:55:31 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 10 Number of failures: 42 Operation time to live: Forever R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 2 milliseconds Latest operation start time: 22:55:41 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 11 Number of failures: 42 Operation time to live: Forever R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1#sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1#sh ip sla statistics *Nov 7 22:56:12.649: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 2 milliseconds Latest operation start time: 22:56:11 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 14 Number of failures: 42 Operation time to live: Forever R1#
R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#no shut R1(config-if)# *Nov 7 23:04:00.427: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up *Nov 7 23:04:01.428: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down 20 changes, last change 00:04:48 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down, delayed Up (26 secs remaining) 20 changes, last change 00:04:53 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down, delayed Up (19 secs remaining) 20 changes, last change 00:05:00 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 4 milliseconds Latest operation start time: 23:04:21 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 23 Number of failures: 82 Operation time to live: Forever R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down, delayed Up (10 secs remaining) 20 changes, last change 00:05:09 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down, delayed Up (7 secs remaining) 20 changes, last change 00:05:12 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 23:04:31 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 24 Number of failures: 82 Operation time to live: Forever R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down, delayed Up (1 sec remaining) 20 changes, last change 00:05:18 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)# *Nov 7 23:04:42.665: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#
R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 10.1.3.3 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks R1(config-if)#shut R1(config-if)#shut *Nov 7 23:06:15.496: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 23:06:16.497: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to do sh ip ro | i 0.0.0.0 R1(config-if)#do sh ip ro | i 0.0.0.0 Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [250/0] via 172.16.0.2 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 23:06:11 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 34 Number of failures: 83 Operation time to live: Forever R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (49 secs remaining) 21 changes, last change 00:01:50 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 23:06:11 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 34 Number of failures: 84 Operation time to live: Forever R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (43 secs remaining) 21 changes, last change 00:01:56 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (41 secs remaining) 21 changes, last change 00:01:58 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (40 secs remaining) 21 changes, last change 00:01:59 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)#do sh ip sla stati IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 23:06:11 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 34 Number of failures: 86 Operation time to live: Forever R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (20 secs remaining) 21 changes, last change 00:02:19 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Up, delayed Down (7 secs remaining) 21 changes, last change 00:02:32 Delay up 30 secs, down 60 secs Latest operation return code: OK Latest RTT (millisecs) 2 Tracked by: Static IP Routing 0 R1(config-if)# *Nov 7 23:07:22.693: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)#do sh track 101 Track 101 IP SLA 1 reachability Reachability is Down 22 changes, last change 00:00:14 Delay up 30 secs, down 60 secs Latest operation return code: Timeout Tracked by: Static IP Routing 0 R1(config-if)#
following verification is not work as expected because misconfiguration that default track route and floating static route(backup default route) has default admininistrative distance.
ip route 0.0.0.0 0.0.0.0 172.16.0.2 track 101 ip route 0.0.0.0 0.0.0.0 10.1.3.3
ip route 0.0.0.0 0.0.0.0 10.1.3.3 track 101 ip route 0.0.0.0 0.0.0.0 172.16.0.2 250
R1#sh run | i ip route 0.0.0.0 ip route 0.0.0.0 0.0.0.0 172.16.0.2 track 101 ip route 0.0.0.0 0.0.0.0 10.1.3.3 R1#sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 172.16.0.2 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 172.16.0.2 [1/0] via 10.1.3.3 10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks C 10.1.3.0/24 is directly connected, GigabitEthernet0/2 L 10.1.3.1/32 is directly connected, GigabitEthernet0/2 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.16.0.0/24 is directly connected, GigabitEthernet0/1 L 172.16.0.1/32 is directly connected, GigabitEthernet0/1 R1#sh ip ro 0.0.0.0 Routing entry for 0.0.0.0/0, supernet Known via "static", distance 1, metric 0, candidate default path Routing Descriptor Blocks: 172.16.0.2 Route metric is 0, traffic share count is 1 * 10.1.3.3 Route metric is 0, traffic share count is 1 R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: 3 milliseconds Latest operation start time: 04:34:38 UTC Thu Nov 7 2019 Latest operation return code: OK Number of successes: 34 Number of failures: 0 Operation time to live: Forever R1#
R4#traceroute 10.3.3.3 Type escape sequence to abort. Tracing the route to 10.3.3.3 VRF info: (vrf in name/id, vrf out name/id) 1 172.16.0.1 5 msec 5 msec 3 msec 2 10.1.3.3 11 msec * 11 msec R4#
R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int gig0/2 R1(config-if)#shut R1(config-if)# *Nov 7 04:35:18.935: %LINK-2-INTVULN: In critical region with interrupt level=0, intfc=GigabitEthernet0/2 -Process= "IP SLAs XOS Event Processor", ipl= 0, pid= 48 -Traceback= 225BF1z 140323z 17733E7z 1776961z 14FA1Ez 14F094z 15A89Az 15B78Fz 22AF7Bz 1B107A6z 1B3C25Cz 1B3BDC4z 1B3BCE6z 1B4DF1Bz 1B4E587z 1B4E3C5z R1(config-if)# *Nov 7 04:35:21.991: %LINK-5-CHANGED: Interface GigabitEthernet0/2, changed state to administratively down *Nov 7 04:35:22.992: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down R1(config-if)# *Nov 7 04:35:30.863: %TRACK-6-STATE: 101 ip sla 1 reachability Up -> Down R1(config-if)#do sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.16.0.0/24 is directly connected, GigabitEthernet0/1 L 172.16.0.1/32 is directly connected, GigabitEthernet0/1 R1(config-if)#end R1#sh ip *Nov 7 04:36:03.425: %SYS-5-CONFIG_I: Configured from console by console R1#sh ip sl R1#sh ip sla stat R1#sh ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Latest RTT: NoConnection/Busy/Timeout Latest operation start time: 04:35:18 UTC Thu Nov 7 2019 Latest operation return code: Timeout Number of successes: 38 Number of failures: 4 Operation time to live: Forever R1#sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.16.0.0/24 is directly connected, GigabitEthernet0/1 L 172.16.0.1/32 is directly connected, GigabitEthernet0/1 R1#sh ip ro 0.0.0.0 % Network not in table R1#sh R1#show tra R1#show tra R1#show tra R1#show tra R1#show ip sl R1#show ip sla ? application IP SLAs Application authentication IP SLAs Authentication Information auto IP SLAs Auto Show Commands configuration IP SLAs Configuration endpoint-list IP SLAs Endpoint list configuration enhanced-history IP SLAs Enhanced History ethernet-monitor IP SLAs Auto Ethernet Monitor event-publisher IP SLAs Event Publisher group IP SLAs Group Scheduling/Configuration history IP SLAs History mpls-lsp-monitor IP SLAs MPLS LSP Monitor reaction-configuration IP SLAs Reaction Configuration reaction-trigger IP SLAs Reaction Trigger responder IP SLAs Responder Information statistics IP SLAs Statistics summary IP SLAs Statistics Summary twamp IP SLAs TWAMP R1#show ip sla tra R1#show ip tra R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#do ping 172.16.0.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.0.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 3/4/7 ms R1(config)#do sh ip ro Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is not set 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks C 172.16.0.0/24 is directly connected, GigabitEthernet0/1 L 172.16.0.1/32 is directly connected, GigabitEthernet0/1 R1(config)#int gig0/2 R1(config-if)#no shut R1(config-if)# *Nov 7 04:37:43.454: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up *Nov 7 04:37:44.455: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up R1(config-if)# *Nov 7 04:37:50.869: %TRACK-6-STATE: 101 ip sla 1 reachability Down -> Up R1(config-if)#
why static route disappeared…