SlideShare a Scribd company logo
CISCO CCNA
IP SLA withTracking Configuration
To watch our Cisco CCNA Video Trainings Please Check out the link below:
www.asmed.com/c1
ASM Educational Center Inc. (ASM)
Where Training, Technology & Service Converge
Phone: (301) 984-7400
Rockville,MD
IP SLA withTracking Configuration
IP SLA withTracking Configuration
Now we will do Lab for Tracking
In here we have as follow
Above we have a router (R1) that is connected to two ISPs. We want to use ISP1 as the primary and
ISP2 as the backup link. All traffic will be sent towards ISP1 but when it’s unreachable we’ll switch
over to ISP2. You can achieve this by using two default routes:
R1=f0/0 192.168.12.1 /24 connected to ISP1=192.168.12.2
R1=F0/1 192.168.13.1 /24 connected to ISP2= 192.168.13.3
R1#show ip int brief
IP SLA withTracking Configuration
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.12.1 YES manual up up
FastEthernet1/0 192.168.13.1 YES manual up up
Serial0/1/0 unassigned YES Unset administratively down down
IP SLA withTracking Configuration
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.13.3 50
As we see in above we are using the floating Static route that is top one has
AD=1 for static route and 2nd one the AD=50 , so when I go to
R1#show ip route
IP SLA withTracking Configuration
I will see the top commands on the routing tables
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.12.2 to network 0.0.0.0
C 192.168.12.0/24 is directly connected, FastEthernet0/0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 192.168.12.2
R1#
IP SLA withTracking Configuration
Here R1 can ping both ISP and from above we see it prefer top ISP1
R1#ping 192.168.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#
R1#ping 192.168.13.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.13.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
R1#
IP SLA withTracking Configuration
R1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
ISP2 Fas 1/0 136 R 7206VXR Fas 1/0
ISP1 Fas 0/0 143 R 7206VXR Fas 0/0
IP SLA withTracking Configuration
Now If I go to R1 and shut down the f0/0 (which is connected to ISP1) then since I have the
Floating point the R1 #show ip route will be pointed to ISP2
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f0/0
R1(config-if)#shut
IP SLA withTracking Configuration
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.13.3 to network 0.0.0.0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [50/0] via 192.168.13.3
R1#
IP SLA withTracking Configuration
As we see in above now R1 goes to internet via ISP2 , which is called the floating point----
But what happen if the link on ISP1 goes than ; then R1 in his table still will have original route to ISP1=192.168.12.2
so in here we will use the concept of Ip SLA with adding the track on the static route of R1
IP SLA withTracking Configuration
Lets bring up the int f0/0 on r1;
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f0/0
R1(config-if)#no shut
IP SLA withTracking Configuration
R1#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.12.1 YES manual up up
FastEthernet1/0 192.168.13.1 YES manual up up
Serial0/1/0 unassigned YES Unset administratively down down
IP SLA withTracking Configuration
R1#
R1#
R1#show ip rou
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.12.2 to network 0.0.0.0
C 192.168.12.0/24 is directly connected, FastEthernet0/0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 192.168.12.2
R1#
IP SLA withTracking Configuration
Now life is back to normal, that is using ISP1=192.168.12.2
Now we will do tracking with Ip SLA
Step 1) I will create an IP SLA instance that pings the IP address of the ISP1
router:
R1(config)#ip sla 1
R1(config-ip-sla)#
IP SLA withTracking Configuration
R1(config-ip-sla)#?
IP SLAs entry configuration commands:
dhcp DHCP Operation
dns DNS Query Operation
ethernet Ethernet Operations
exit Exit Operation Configuration
frame-relay Frame-relay Operation
ftp FTP Operation
http HTTP Operation
icmp-echo ICMP Echo Operation
icmp-jitter ICMP Jitter Operation
path-echo Path Discovered ICMP Echo Operation
path-jitter Path Discovered ICMP Jitter Operation
tcp-connect TCP Connect Operation
udp-echo UDP Echo Operation
udp-jitter UDP Jitter Operation
voip Voice Over IP Operation
IP SLA withTracking Configuration
R1(config-ip-sla)#?
IP SLAs entry configuration commands:
dhcp DHCP Operation
dns DNS Query Operation
ethernet Ethernet Operations
exit Exit Operation Configuration
frame-relay Frame-relay Operation
ftp FTP Operation
http HTTP Operation
icmp-echo ICMP Echo Operation
icmp-jitter ICMP Jitter Operation
path-echo Path Discovered ICMP Echo Operation
path-jitter Path Discovered ICMP Jitter Operation
tcp-connect TCP Connect Operation
udp-echo UDP Echo Operation
udp-jitter UDP Jitter Operation
voip Voice Over IP Operation
IP SLA withTracking Configuration
Now we will use the same concept as before that is icmp-echo
R1(config-ip-sla)#icmp-echo 192.168.12.2 ( Point to ISP1=192.168.12.2)
R1(config-ip-sla-echo)#
R1(config-ip-sla-echo)#?
IP SLAs echo Configuration Commands:
default Set a command to its defaults
exit Exit operation configuration
frequency Frequency of an operation
history History and Distribution Data
no Negate a command or set its defaults
owner Owner of Entry
request-data-size Request data size
IP SLA withTracking Configuration
tag User defined tag
threshold Operation threshold in milliseconds
timeout Timeout of an operation
tos Type Of Service
verify-data Verify data
vrf Configure IP SLAs for a VPN Routing/Forwarding instance
R1(config-ip-sla-echo)#frequency ?
<1-604800> Frequency in seconds (default 60)
R1(config-ip-sla-echo)#frequency 20 ?
<cr>
R1(config-ip-sla-echo)#frequency 20
IP SLA withTracking Configuration
Here is show run so far
R1#show run
ip sla 1
icmp-echo 192.168.12.2
frequency 20
IP SLA withTracking Configuration
Step 2) Go back to global configuration to schedule now for forever
R1#
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip sla
R1(config)#ip sla ?
<1-2147483647> Entry Number
IP SLA withTracking Configuration
enable Enable Event Notifications
ethernet-monitor IP SLAs Auto Ethernet configuration
group Group Configuration or Group Scheduling
key-chain Use MD5 authentication for IP SLAs Control Messages
logging Enable Syslog
low-memory Configure Low Water Memory Mark
reaction-configuration IP SLAs Reaction-Configuration
reaction-trigger IP SLAs Trigger Assignment
reset IP SLAs Reset
responder Enable IP SLAs Responder
restart Restart An Active Entry
schedule IP SLAs Entry Scheduling
IP SLA withTracking Configuration
R1(config)#ip sla schedule ?
<1-2147483647> Entry number
R1(config)#ip sla schedule 1 ?
ageout How long to keep this Entry when inactive
life Length of time to execute in seconds
recurring Probe to be scheduled automatically every day
start-time When to start this entry
<cr>
IP SLA withTracking Configuration
R1(config)#ip sla schedule 1 sta
R1(config)#ip sla schedule 1 start-time ?
after Start after a certain amount of time from now
hh:mm Start time (hh:mm)
hh:mm:ss Start time (hh:mm:ss)
now Start now
pending Start pending
IP SLA withTracking Configuration
R1(config)#ip sla schedule 1 start-time now ?
ageout How long to keep this Entry when inactive
life Length of time to execute in seconds
recurring Probe to be scheduled automatically every day
<cr>
R1(config)#ip sla schedule 1 start-time now li
R1(config)#ip sla schedule 1 start-time now life ?
<0-2147483647> Life seconds (default 3600)
forever continue running forever
IP SLA withTracking Configuration
R1(config)#ip sla schedule 1 start-time now life for
R1(config)#ip sla schedule 1 start-time now life forever ?
ageout How long to keep this Entry when inactive
recurring Probe to be scheduled automatically every day
<cr>
R1(config)#ip sla schedule 1 start-time now life forever
R1(config)#
IP SLA withTracking Configuration
Here is show run so far
R1#show run
ip sla 1
icmp-echo 192.168.12.2
frequency 20
ip sla schedule 1 life forever start-time now
IP SLA withTracking Configuration
let’s check with show commands
life is good now
R1#show ip sla sta
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:40:17.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 6
Number of failures: 1
Operation time to live: Forever
IP SLA withTracking Configuration
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:40:57.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 8
Number of failures: 1
Operation time to live: Forever
IP SLA withTracking Configuration
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:41:37.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 10
Number of failures: 1
Operation time to live: Forever
IP SLA withTracking Configuration
Step 3) now I will define the track number; and then later on I will append it to default route
pointed to ISP1=192.168.12.2
R1#
R1#
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#trac
R1(config)#track 1 ?
interface Select an interface to track
ip IP protocol
list Group objects in a list
stub-object Stub tracking object
IP SLA withTracking Configuration
R1(config)#track 1 ip ?
route IP route
sla IP Service Level Agreement
R1(config)#track 1 ip sla ?
<1-2147483647> Entry number
R1(config)#track 1 ip sla 1 ?
reachability Reachability
state Return code state
<cr>
IP SLA withTracking Configuration
R1(config)#track 1 ip sla 1 re
R1(config)#track 1 ip sla 1 reachability ?
<cr>
R1(config)#track 1 ip sla 1 reachability
R1(config-track)#
IP SLA withTracking Configuration
Here is show run so far
track 1 ip sla 1 reachability
ip route 0.0.0.0 0.0.0.0 192.168.12.2
ip route 0.0.0.0 0.0.0.0 192.168.13.3 50
!
!
!
ip sla 1
icmp-echo 192.168.12.2
frequency 20
ip sla schedule 1 life forever start-time now
IP SLA withTracking Configuration
Step 4) now I go to default router that I had; remove it and add it with new track number 1
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no ip route 0.0.0.0 0.0.0.0 192.168.12.2
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 ?
<1-255> Distance metric for this 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 192.168.12.2 tr
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track ?
<1-500> tracked object number
IP SLA withTracking Configuration
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ?
<1-255> Distance metric for this route
name Specify name of the next hop
tag Set tag for this route
<cr>
R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1
IP SLA withTracking Configuration
So here is show run so far:
r1#show run
!track 1 ip sla 1 reachability
!
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.13.1 255.255.255.0
duplex auto
speed auto
!
IP SLA withTracking Configuration
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ( here I have added the Track)
ip route 0.0.0.0 0.0.0.0 192.168.13.3 50
!
!
!
ip sla 1
icmp-echo 192.168.12.2 ( this is IP address of Main ISP1 that I am looking )
frequency 20
ip sla schedule 1 life forever start-time now
!
IP SLA withTracking Configuration
Now we will test it
That is if ISP1=f0/0=192.168.12.2 goes down ; then when I go to R1#show ip route I will see the routing table
has been changed to the new one
ISP1#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.12.2 YES manual up up
FastEthernet1/0 unassigned YES NVRAM administratively down down
FastEthernet1/1 unassigned YES NVRAM administratively down down
IP SLA withTracking Configuration
ISP1#config t
Enter configuration commands, one per line. End with CNTL/Z.
ISP1(config)#int f0/0
ISP1(config-if)#shut
ISP1(config-if)#
IP SLA withTracking Configuration
Now I will go to R1#show ip route and see the routing table should point to ISP2=192.168.13.3
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.13.3 to network 0.0.0.0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [50/0] via 192.168.13.3
R1#
IP SLA withTracking Configuration
Which it did with AD=50
Now let’s look at some show commands it shows it changed
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: *05:50:57.723 UTC Thu Dec 15 2016
Latest operation return code: No connection (here says no connection)
Number of successes: 34
Number of failures: 5 ( here is number changing)
Operation time to live: Forever
IP SLA withTracking Configuration
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: *05:51:37.723 UTC Thu Dec 15 2016
Latest operation return code: No connection
Number of successes: 34
Number of failures: 7 ( here is the number changes)
Operation time to live: Forever
IP SLA withTracking Configuration
R1#
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: *05:52:17.723 UTC Thu Dec 15 2016
Latest operation return code: No connection
Number of successes: 34
Number of failures: 9
Operation time to live: Forever
IP SLA withTracking Configuration
R1#
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.13.3 to network 0.0.0.0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [50/0] via 192.168.13.3
R1#
IP SLA withTracking Configuration
R1#
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.13.3 to network 0.0.0.0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [50/0] via 192.168.13.3
R1#
IP SLA withTracking Configuration
Now I go back to ISP1 and bring back online
ISP1#show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.12.2 YES manual up up
FastEthernet1/0 unassigned YES NVRAM administratively down down
FastEthernet1/1 unassigned YES NVRAM administratively down down
IP SLA withTracking Configuration
ISP1#config t
Enter configuration commands, one per line. End with CNTL/Z.
ISP1(config)#int f0/0
ISP1(config-if)#no shut
ISP1(config-if)#
IP SLA withTracking Configuration
Now I go back to R1#show ip route and check the work
R1#show ip route
Codes: 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
Gateway of last resort is 192.168.12.2 to network 0.0.0.0
C 192.168.12.0/24 is directly connected, FastEthernet0/0
C 192.168.13.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 192.168.12.2
IP SLA withTracking Configuration
Life is back to normal
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:54:37.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 36
Number of failures: 14
Operation time to live: Forever
IP SLA withTracking Configuration
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:54:57.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 37
Number of failures: 14
Operation time to live: Forever
IP SLA withTracking Configuration
R1#show ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Type of operation: icmp-echo
Latest RTT: 1 milliseconds
Latest operation start time: *05:55:17.723 UTC Thu Dec 15 2016
Latest operation return code: OK
Number of successes: 38
Number of failures: 14
Operation time to live: Forever
IP SLA withTracking Configuration
So summary on R1 show run
R1#show run
!
track 1 ip sla 1 reachability ( track 1 is pointed to default route)
!
!
!
interface FastEthernet0/0
ip address 192.168.12.1 255.255.255.0
duplex auto
speed auto
IP SLA withTracking Configuration
!
interface FastEthernet0/1
ip address 192.168.13.1 255.255.255.0
duplex auto
speed auto
!
IP SLA withTracking Configuration
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ( here we are tracking 1)
ip route 0.0.0.0 0.0.0.0 192.168.13.3 50 ( this is 2ndary static route since it has AD=50)
!
!
!
ip sla 1
icmp-echo 192.168.12.2 ( this is pointed to Main ISP1 =primary)
frequency 20
ip sla schedule 1 life forever start-time now
ASM Educational Center Inc. (ASM)
Where Training, Technology & Service Converge
To watch our CiscoCCNAVideoTrainings PleaseCheck out the link below:
www.asmed.com/c1
Phone: (301) 984-7400
Rockville,MD

More Related Content

What's hot (20)

PPT
CCNA SUMMER TRAINNING PPT
Nishant Goel
 
PDF
Palo alto-review
Rayan Darine
 
PDF
10 palo alto nat policy concepts
Mostafa El Lathy
 
DOC
Cisco switch commands cheat sheet
3Anetwork com
 
PPTX
CCNA ppt
Sumant Garg
 
PPT
Fortinet
Petre-doru Dragus
 
PPTX
CCNA ppt Day 1
VISHNU N
 
PDF
Fortinet security fabric
ANSItunCERT
 
PDF
Understanding Cisco’ Next Generation SD-WAN Technology
Cisco Canada
 
PPTX
Introduction to router
Farhan Galib
 
PPT
VLAN Network for Extreme Networks
Dani Royman Simanjuntak
 
PDF
Cisco Commands
Fredrick Hall
 
PPTX
Routers and Routing Configuration
yasir1122
 
PPTX
Cisco Live Milan 2015 - BGP advance
Bertrand Duvivier
 
PPTX
Vpn(virtual private network)
sonangrai
 
PPTX
Aruba Webinar - 1-29-15
Aruba, a Hewlett Packard Enterprise company
 
PDF
BGP Advance Technique by Steven & James
Febrian ‎
 
PDF
CCNAv5 - S4: Chapter 1 Hierarchical Network Design
Vuz Dở Hơi
 
PDF
VPN - Virtual Private Network
Peter R. Egli
 
PPTX
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
amiteshg
 
CCNA SUMMER TRAINNING PPT
Nishant Goel
 
Palo alto-review
Rayan Darine
 
10 palo alto nat policy concepts
Mostafa El Lathy
 
Cisco switch commands cheat sheet
3Anetwork com
 
CCNA ppt
Sumant Garg
 
CCNA ppt Day 1
VISHNU N
 
Fortinet security fabric
ANSItunCERT
 
Understanding Cisco’ Next Generation SD-WAN Technology
Cisco Canada
 
Introduction to router
Farhan Galib
 
VLAN Network for Extreme Networks
Dani Royman Simanjuntak
 
Cisco Commands
Fredrick Hall
 
Routers and Routing Configuration
yasir1122
 
Cisco Live Milan 2015 - BGP advance
Bertrand Duvivier
 
Vpn(virtual private network)
sonangrai
 
BGP Advance Technique by Steven & James
Febrian ‎
 
CCNAv5 - S4: Chapter 1 Hierarchical Network Design
Vuz Dở Hơi
 
VPN - Virtual Private Network
Peter R. Egli
 
BASIC OF ROUTERS,ROUTER IOS AND ROUTING PROTOCOLS
amiteshg
 

Viewers also liked (13)

PPTX
Juniper JNCIA – Juniper RIP Route Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA- How to Configure Multi-Layer Switch
Hamed Moghaddam
 
PPTX
Juniper JNCIA – Juniper Floating Static Route Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA IPV6 Static Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA OSPF IPV6 Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA EIGRP IPV6 Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA-CCNP IP SLA Configuration
Hamed Moghaddam
 
PPTX
Juniper JNCIA – Juniper OSPF Route Configuration
Hamed Moghaddam
 
PPTX
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Hamed Moghaddam
 
PPTX
Microsoft MCSA - Install active directory domain services (adds) role
Hamed Moghaddam
 
PPTX
Cisco CCNA Port Security
Hamed Moghaddam
 
PPTX
Cisco CCNA- NAT Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA CCNP VACL Configuration
Hamed Moghaddam
 
Juniper JNCIA – Juniper RIP Route Configuration
Hamed Moghaddam
 
Cisco CCNA- How to Configure Multi-Layer Switch
Hamed Moghaddam
 
Juniper JNCIA – Juniper Floating Static Route Configuration
Hamed Moghaddam
 
Cisco CCNA IPV6 Static Configuration
Hamed Moghaddam
 
Cisco CCNA OSPF IPV6 Configuration
Hamed Moghaddam
 
Cisco CCNA EIGRP IPV6 Configuration
Hamed Moghaddam
 
Cisco CCNA-CCNP IP SLA Configuration
Hamed Moghaddam
 
Juniper JNCIA – Juniper OSPF Route Configuration
Hamed Moghaddam
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Hamed Moghaddam
 
Microsoft MCSA - Install active directory domain services (adds) role
Hamed Moghaddam
 
Cisco CCNA Port Security
Hamed Moghaddam
 
Cisco CCNA- NAT Configuration
Hamed Moghaddam
 
Cisco CCNA CCNP VACL Configuration
Hamed Moghaddam
 
Ad

Similar to Cisco CCNA IP SLA with tracking configuration (20)

PPTX
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
PDF
packet traveling (pre cloud)
iman darabi
 
PDF
An Open Source Network Infrastructure (Is OS Software Suitable for SMEs?)
jackweirdy
 
PPT
ICMP-ping-trace guide and understanding for network diagnostic
epro2k71
 
PDF
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Cisco Canada
 
PDF
cisco ccna cheat_sheet
Guntaka Reddy
 
PDF
ccna cheat_sheet
Guntaka Reddy
 
PDF
Ncat ccna cheat sheet
EZREIG OMAR
 
TXT
Dhcp options supported
Denys Shliakhov
 
PPT
Day 12 enabling ospf
CYBERINTELLIGENTS
 
DOCX
Prueba 2 2015
Daniel Viveros Sepulveda
 
PPTX
Template
Omran Aleid
 
PPT
Linux networking
Armando Reis
 
PDF
Capacitacion 2018
jou333
 
PPT
CCNA Exam by [email protected] - for CCNA test
epro2k71
 
PPT
Tcp Ip Overview
Amir Malik
 
PPT
In depth understanding network security
Thanawan Tuamyim
 
DOC
Eigrp on a cisco asa firewall configuration
3Anetwork com
 
PDF
Packettracersimulationlabl3routing 130306235157-phpapp02
A.S.M Shmimul Islam.
 
PDF
Cloud Monitors Cloud
Raymond Burkholder
 
linux networking laboratory presentation .pptx
AnuradhaJadiya1
 
packet traveling (pre cloud)
iman darabi
 
An Open Source Network Infrastructure (Is OS Software Suitable for SMEs?)
jackweirdy
 
ICMP-ping-trace guide and understanding for network diagnostic
epro2k71
 
Introduction to Network Performance Measurement with Cisco IOS IP Service Lev...
Cisco Canada
 
cisco ccna cheat_sheet
Guntaka Reddy
 
ccna cheat_sheet
Guntaka Reddy
 
Ncat ccna cheat sheet
EZREIG OMAR
 
Dhcp options supported
Denys Shliakhov
 
Day 12 enabling ospf
CYBERINTELLIGENTS
 
Template
Omran Aleid
 
Linux networking
Armando Reis
 
Capacitacion 2018
jou333
 
CCNA Exam by [email protected] - for CCNA test
epro2k71
 
Tcp Ip Overview
Amir Malik
 
In depth understanding network security
Thanawan Tuamyim
 
Eigrp on a cisco asa firewall configuration
3Anetwork com
 
Packettracersimulationlabl3routing 130306235157-phpapp02
A.S.M Shmimul Islam.
 
Cloud Monitors Cloud
Raymond Burkholder
 
Ad

More from Hamed Moghaddam (11)

PPTX
Cisco CCNA GRE Tunnel Configuration
Hamed Moghaddam
 
PPTX
Cisco CCNA- PPP Multilink Configuration
Hamed Moghaddam
 
PPTX
CISSP Certification Security Engineering-Part2
Hamed Moghaddam
 
PPTX
CISSP Certification- Security Engineering-part1
Hamed Moghaddam
 
PPTX
Cisco CCNA-Router on Stick
Hamed Moghaddam
 
PPTX
Cisco CCNA-Standard Access List
Hamed Moghaddam
 
PPTX
Cisco CCNA- DHCP Server
Hamed Moghaddam
 
PPTX
Microsoft MCSA- Joining Client Machines To The Domain!
Hamed Moghaddam
 
PPTX
CISSP Certification-Asset Security
Hamed Moghaddam
 
PPTX
Cissp- Security and Risk Management
Hamed Moghaddam
 
PPTX
Become CISSP Certified
Hamed Moghaddam
 
Cisco CCNA GRE Tunnel Configuration
Hamed Moghaddam
 
Cisco CCNA- PPP Multilink Configuration
Hamed Moghaddam
 
CISSP Certification Security Engineering-Part2
Hamed Moghaddam
 
CISSP Certification- Security Engineering-part1
Hamed Moghaddam
 
Cisco CCNA-Router on Stick
Hamed Moghaddam
 
Cisco CCNA-Standard Access List
Hamed Moghaddam
 
Cisco CCNA- DHCP Server
Hamed Moghaddam
 
Microsoft MCSA- Joining Client Machines To The Domain!
Hamed Moghaddam
 
CISSP Certification-Asset Security
Hamed Moghaddam
 
Cissp- Security and Risk Management
Hamed Moghaddam
 
Become CISSP Certified
Hamed Moghaddam
 

Recently uploaded (20)

PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
community health nursing question paper 2.pdf
Prince kumar
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 

Cisco CCNA IP SLA with tracking configuration

  • 1. CISCO CCNA IP SLA withTracking Configuration To watch our Cisco CCNA Video Trainings Please Check out the link below: www.asmed.com/c1 ASM Educational Center Inc. (ASM) Where Training, Technology & Service Converge Phone: (301) 984-7400 Rockville,MD
  • 2. IP SLA withTracking Configuration
  • 3. IP SLA withTracking Configuration Now we will do Lab for Tracking In here we have as follow Above we have a router (R1) that is connected to two ISPs. We want to use ISP1 as the primary and ISP2 as the backup link. All traffic will be sent towards ISP1 but when it’s unreachable we’ll switch over to ISP2. You can achieve this by using two default routes: R1=f0/0 192.168.12.1 /24 connected to ISP1=192.168.12.2 R1=F0/1 192.168.13.1 /24 connected to ISP2= 192.168.13.3 R1#show ip int brief
  • 4. IP SLA withTracking Configuration Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.12.1 YES manual up up FastEthernet1/0 192.168.13.1 YES manual up up Serial0/1/0 unassigned YES Unset administratively down down
  • 5. IP SLA withTracking Configuration R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.13.3 50 As we see in above we are using the floating Static route that is top one has AD=1 for static route and 2nd one the AD=50 , so when I go to R1#show ip route
  • 6. IP SLA withTracking Configuration I will see the top commands on the routing tables R1#show ip route Codes: 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 Gateway of last resort is 192.168.12.2 to network 0.0.0.0 C 192.168.12.0/24 is directly connected, FastEthernet0/0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [1/0] via 192.168.12.2 R1#
  • 7. IP SLA withTracking Configuration Here R1 can ping both ISP and from above we see it prefer top ISP1 R1#ping 192.168.12.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.12.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms R1# R1#ping 192.168.13.3 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.13.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms R1#
  • 8. IP SLA withTracking Configuration R1#show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone, D - Remote, C - CVTA, M - Two-port Mac Relay Device ID Local Intrfce Holdtme Capability Platform Port ID ISP2 Fas 1/0 136 R 7206VXR Fas 1/0 ISP1 Fas 0/0 143 R 7206VXR Fas 0/0
  • 9. IP SLA withTracking Configuration Now If I go to R1 and shut down the f0/0 (which is connected to ISP1) then since I have the Floating point the R1 #show ip route will be pointed to ISP2 R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int f0/0 R1(config-if)#shut
  • 10. IP SLA withTracking Configuration R1#show ip route Codes: 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 Gateway of last resort is 192.168.13.3 to network 0.0.0.0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [50/0] via 192.168.13.3 R1#
  • 11. IP SLA withTracking Configuration As we see in above now R1 goes to internet via ISP2 , which is called the floating point---- But what happen if the link on ISP1 goes than ; then R1 in his table still will have original route to ISP1=192.168.12.2 so in here we will use the concept of Ip SLA with adding the track on the static route of R1
  • 12. IP SLA withTracking Configuration Lets bring up the int f0/0 on r1; R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int f0/0 R1(config-if)#no shut
  • 13. IP SLA withTracking Configuration R1#show ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.12.1 YES manual up up FastEthernet1/0 192.168.13.1 YES manual up up Serial0/1/0 unassigned YES Unset administratively down down
  • 14. IP SLA withTracking Configuration R1# R1# R1#show ip rou R1#show ip route Codes: 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 Gateway of last resort is 192.168.12.2 to network 0.0.0.0 C 192.168.12.0/24 is directly connected, FastEthernet0/0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [1/0] via 192.168.12.2 R1#
  • 15. IP SLA withTracking Configuration Now life is back to normal, that is using ISP1=192.168.12.2 Now we will do tracking with Ip SLA Step 1) I will create an IP SLA instance that pings the IP address of the ISP1 router: R1(config)#ip sla 1 R1(config-ip-sla)#
  • 16. IP SLA withTracking Configuration R1(config-ip-sla)#? IP SLAs entry configuration commands: dhcp DHCP Operation dns DNS Query Operation ethernet Ethernet Operations exit Exit Operation Configuration frame-relay Frame-relay Operation ftp FTP Operation http HTTP Operation icmp-echo ICMP Echo Operation icmp-jitter ICMP Jitter Operation path-echo Path Discovered ICMP Echo Operation path-jitter Path Discovered ICMP Jitter Operation tcp-connect TCP Connect Operation udp-echo UDP Echo Operation udp-jitter UDP Jitter Operation voip Voice Over IP Operation
  • 17. IP SLA withTracking Configuration R1(config-ip-sla)#? IP SLAs entry configuration commands: dhcp DHCP Operation dns DNS Query Operation ethernet Ethernet Operations exit Exit Operation Configuration frame-relay Frame-relay Operation ftp FTP Operation http HTTP Operation icmp-echo ICMP Echo Operation icmp-jitter ICMP Jitter Operation path-echo Path Discovered ICMP Echo Operation path-jitter Path Discovered ICMP Jitter Operation tcp-connect TCP Connect Operation udp-echo UDP Echo Operation udp-jitter UDP Jitter Operation voip Voice Over IP Operation
  • 18. IP SLA withTracking Configuration Now we will use the same concept as before that is icmp-echo R1(config-ip-sla)#icmp-echo 192.168.12.2 ( Point to ISP1=192.168.12.2) R1(config-ip-sla-echo)# R1(config-ip-sla-echo)#? IP SLAs echo Configuration Commands: default Set a command to its defaults exit Exit operation configuration frequency Frequency of an operation history History and Distribution Data no Negate a command or set its defaults owner Owner of Entry request-data-size Request data size
  • 19. IP SLA withTracking Configuration tag User defined tag threshold Operation threshold in milliseconds timeout Timeout of an operation tos Type Of Service verify-data Verify data vrf Configure IP SLAs for a VPN Routing/Forwarding instance R1(config-ip-sla-echo)#frequency ? <1-604800> Frequency in seconds (default 60) R1(config-ip-sla-echo)#frequency 20 ? <cr> R1(config-ip-sla-echo)#frequency 20
  • 20. IP SLA withTracking Configuration Here is show run so far R1#show run ip sla 1 icmp-echo 192.168.12.2 frequency 20
  • 21. IP SLA withTracking Configuration Step 2) Go back to global configuration to schedule now for forever R1# R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#ip sla R1(config)#ip sla ? <1-2147483647> Entry Number
  • 22. IP SLA withTracking Configuration enable Enable Event Notifications ethernet-monitor IP SLAs Auto Ethernet configuration group Group Configuration or Group Scheduling key-chain Use MD5 authentication for IP SLAs Control Messages logging Enable Syslog low-memory Configure Low Water Memory Mark reaction-configuration IP SLAs Reaction-Configuration reaction-trigger IP SLAs Trigger Assignment reset IP SLAs Reset responder Enable IP SLAs Responder restart Restart An Active Entry schedule IP SLAs Entry Scheduling
  • 23. IP SLA withTracking Configuration R1(config)#ip sla schedule ? <1-2147483647> Entry number R1(config)#ip sla schedule 1 ? ageout How long to keep this Entry when inactive life Length of time to execute in seconds recurring Probe to be scheduled automatically every day start-time When to start this entry <cr>
  • 24. IP SLA withTracking Configuration R1(config)#ip sla schedule 1 sta R1(config)#ip sla schedule 1 start-time ? after Start after a certain amount of time from now hh:mm Start time (hh:mm) hh:mm:ss Start time (hh:mm:ss) now Start now pending Start pending
  • 25. IP SLA withTracking Configuration R1(config)#ip sla schedule 1 start-time now ? ageout How long to keep this Entry when inactive life Length of time to execute in seconds recurring Probe to be scheduled automatically every day <cr> R1(config)#ip sla schedule 1 start-time now li R1(config)#ip sla schedule 1 start-time now life ? <0-2147483647> Life seconds (default 3600) forever continue running forever
  • 26. IP SLA withTracking Configuration R1(config)#ip sla schedule 1 start-time now life for R1(config)#ip sla schedule 1 start-time now life forever ? ageout How long to keep this Entry when inactive recurring Probe to be scheduled automatically every day <cr> R1(config)#ip sla schedule 1 start-time now life forever R1(config)#
  • 27. IP SLA withTracking Configuration Here is show run so far R1#show run ip sla 1 icmp-echo 192.168.12.2 frequency 20 ip sla schedule 1 life forever start-time now
  • 28. IP SLA withTracking Configuration let’s check with show commands life is good now R1#show ip sla sta R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:40:17.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 6 Number of failures: 1 Operation time to live: Forever
  • 29. IP SLA withTracking Configuration R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:40:57.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 8 Number of failures: 1 Operation time to live: Forever
  • 30. IP SLA withTracking Configuration R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:41:37.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 10 Number of failures: 1 Operation time to live: Forever
  • 31. IP SLA withTracking Configuration Step 3) now I will define the track number; and then later on I will append it to default route pointed to ISP1=192.168.12.2 R1# R1# R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#trac R1(config)#track 1 ? interface Select an interface to track ip IP protocol list Group objects in a list stub-object Stub tracking object
  • 32. IP SLA withTracking Configuration R1(config)#track 1 ip ? route IP route sla IP Service Level Agreement R1(config)#track 1 ip sla ? <1-2147483647> Entry number R1(config)#track 1 ip sla 1 ? reachability Reachability state Return code state <cr>
  • 33. IP SLA withTracking Configuration R1(config)#track 1 ip sla 1 re R1(config)#track 1 ip sla 1 reachability ? <cr> R1(config)#track 1 ip sla 1 reachability R1(config-track)#
  • 34. IP SLA withTracking Configuration Here is show run so far track 1 ip sla 1 reachability ip route 0.0.0.0 0.0.0.0 192.168.12.2 ip route 0.0.0.0 0.0.0.0 192.168.13.3 50 ! ! ! ip sla 1 icmp-echo 192.168.12.2 frequency 20 ip sla schedule 1 life forever start-time now
  • 35. IP SLA withTracking Configuration Step 4) now I go to default router that I had; remove it and add it with new track number 1 R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#no ip route 0.0.0.0 0.0.0.0 192.168.12.2 R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 ? <1-255> Distance metric for this 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 192.168.12.2 tr R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track ? <1-500> tracked object number
  • 36. IP SLA withTracking Configuration R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ? <1-255> Distance metric for this route name Specify name of the next hop tag Set tag for this route <cr> R1(config)#ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1
  • 37. IP SLA withTracking Configuration So here is show run so far: r1#show run !track 1 ip sla 1 reachability ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 ip address 192.168.13.1 255.255.255.0 duplex auto speed auto !
  • 38. IP SLA withTracking Configuration ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ( here I have added the Track) ip route 0.0.0.0 0.0.0.0 192.168.13.3 50 ! ! ! ip sla 1 icmp-echo 192.168.12.2 ( this is IP address of Main ISP1 that I am looking ) frequency 20 ip sla schedule 1 life forever start-time now !
  • 39. IP SLA withTracking Configuration Now we will test it That is if ISP1=f0/0=192.168.12.2 goes down ; then when I go to R1#show ip route I will see the routing table has been changed to the new one ISP1#show ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.12.2 YES manual up up FastEthernet1/0 unassigned YES NVRAM administratively down down FastEthernet1/1 unassigned YES NVRAM administratively down down
  • 40. IP SLA withTracking Configuration ISP1#config t Enter configuration commands, one per line. End with CNTL/Z. ISP1(config)#int f0/0 ISP1(config-if)#shut ISP1(config-if)#
  • 41. IP SLA withTracking Configuration Now I will go to R1#show ip route and see the routing table should point to ISP2=192.168.13.3 R1#show ip route Codes: 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 Gateway of last resort is 192.168.13.3 to network 0.0.0.0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [50/0] via 192.168.13.3 R1#
  • 42. IP SLA withTracking Configuration Which it did with AD=50 Now let’s look at some show commands it shows it changed R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: NoConnection/Busy/Timeout Latest operation start time: *05:50:57.723 UTC Thu Dec 15 2016 Latest operation return code: No connection (here says no connection) Number of successes: 34 Number of failures: 5 ( here is number changing) Operation time to live: Forever
  • 43. IP SLA withTracking Configuration R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: NoConnection/Busy/Timeout Latest operation start time: *05:51:37.723 UTC Thu Dec 15 2016 Latest operation return code: No connection Number of successes: 34 Number of failures: 7 ( here is the number changes) Operation time to live: Forever
  • 44. IP SLA withTracking Configuration R1# R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: NoConnection/Busy/Timeout Latest operation start time: *05:52:17.723 UTC Thu Dec 15 2016 Latest operation return code: No connection Number of successes: 34 Number of failures: 9 Operation time to live: Forever
  • 45. IP SLA withTracking Configuration R1# R1#show ip route Codes: 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 Gateway of last resort is 192.168.13.3 to network 0.0.0.0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [50/0] via 192.168.13.3 R1#
  • 46. IP SLA withTracking Configuration R1# R1#show ip route Codes: 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 Gateway of last resort is 192.168.13.3 to network 0.0.0.0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [50/0] via 192.168.13.3 R1#
  • 47. IP SLA withTracking Configuration Now I go back to ISP1 and bring back online ISP1#show ip int brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.12.2 YES manual up up FastEthernet1/0 unassigned YES NVRAM administratively down down FastEthernet1/1 unassigned YES NVRAM administratively down down
  • 48. IP SLA withTracking Configuration ISP1#config t Enter configuration commands, one per line. End with CNTL/Z. ISP1(config)#int f0/0 ISP1(config-if)#no shut ISP1(config-if)#
  • 49. IP SLA withTracking Configuration Now I go back to R1#show ip route and check the work R1#show ip route Codes: 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 Gateway of last resort is 192.168.12.2 to network 0.0.0.0 C 192.168.12.0/24 is directly connected, FastEthernet0/0 C 192.168.13.0/24 is directly connected, FastEthernet0/1 S* 0.0.0.0/0 [1/0] via 192.168.12.2
  • 50. IP SLA withTracking Configuration Life is back to normal R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:54:37.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 36 Number of failures: 14 Operation time to live: Forever
  • 51. IP SLA withTracking Configuration R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:54:57.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 37 Number of failures: 14 Operation time to live: Forever
  • 52. IP SLA withTracking Configuration R1#show ip sla statistics IPSLAs Latest Operation Statistics IPSLA operation id: 1 Type of operation: icmp-echo Latest RTT: 1 milliseconds Latest operation start time: *05:55:17.723 UTC Thu Dec 15 2016 Latest operation return code: OK Number of successes: 38 Number of failures: 14 Operation time to live: Forever
  • 53. IP SLA withTracking Configuration So summary on R1 show run R1#show run ! track 1 ip sla 1 reachability ( track 1 is pointed to default route) ! ! ! interface FastEthernet0/0 ip address 192.168.12.1 255.255.255.0 duplex auto speed auto
  • 54. IP SLA withTracking Configuration ! interface FastEthernet0/1 ip address 192.168.13.1 255.255.255.0 duplex auto speed auto !
  • 55. IP SLA withTracking Configuration ! ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 192.168.12.2 track 1 ( here we are tracking 1) ip route 0.0.0.0 0.0.0.0 192.168.13.3 50 ( this is 2ndary static route since it has AD=50) ! ! ! ip sla 1 icmp-echo 192.168.12.2 ( this is pointed to Main ISP1 =primary) frequency 20 ip sla schedule 1 life forever start-time now
  • 56. ASM Educational Center Inc. (ASM) Where Training, Technology & Service Converge To watch our CiscoCCNAVideoTrainings PleaseCheck out the link below: www.asmed.com/c1 Phone: (301) 984-7400 Rockville,MD