Networking, Security & Cloud Knowledge

Sunday, June 26, 2011

020 IP SLA Tracking

IP SLA based tracking.

Router(config) # ip sla 1
Router(config-ip-sla) # icmp-echo Y.Y.Y.Y
Router(config-ip-sla-echo) # frequency 10
Router(config-ip-sla-echo) # timeout 7000
Router(config-ip-sla-echo) # threshold 5000

Router(config) # ip sla schedule 1 life forever start-time now

Router(config) # track 2 rtr 1

Router(config) # interface GigabitEthernet0/0
Router(config-if) #  standby 1 ip x.x.x.x
Router(config-if) #  standby 1 priority 125
Router(config-if) #  standby 1 preempt
Router(config-if) #  standby 1 track 2 decrement 50





Note:
  • IP SLA probes simulate specific types of traffic & send it to a receiver, called as a responder.
  • Y.Y.Y.Y = ip address of responder
  • Timers
1.      Frequency: (Unit: Sec)
2.      Timeout: maximum time required for SLA operation to complete. (Unit: mSec)
3.      Threshold: Time to activate a response to IP SLA violation (Unit: mSec)

Frequency > Timeout > Threshold.



Commands for troubleshooting

Router# sh ip sla configuration
IP SLAs Infrastructure Engine-II
Entry number: 1
Owner:
Tag:
Type of operation to perform: icmp-echo
Target address/Source address: Y.Y.Y.Y/0.0.0.0
Operation timeout (milliseconds): 7000
Type Of Service parameters: 0x0
Vrf Name:
Request size (ARR data portion): 28
Verify data: No
Schedule:
   Operation frequency (seconds): 10  (not considered if randomly scheduled)
   Next Scheduled Start Time: Start Time already passed
   Group Scheduled : FALSE
   Randomly Scheduled : FALSE
   Life (seconds): Forever
   Entry Ageout (seconds): never
   Recurring (Starting Everyday): FALSE
   Status of entry (SNMP RowStatus): Active
Threshold (milliseconds): 5000
Distribution Statistics:
   Number of statistic hours kept: 2
   Number of statistic distribution buckets kept: 1
   Statistic distribution interval (milliseconds): 4294967295
History Statistics:
   Number of history Lives kept: 0
   Number of history Buckets kept: 15
   History Filter Type: None
Enhanced History:
----------------------------------------------------------------------------------------------------------------------

Router # sh track 2
Track 2
  Response Time Reporter 1 state
  State is Up
    91 changes, last change 3d00h
  Latest operation return code: OK
  Latest RTT (millisecs) 36
  Tracked by:
    HSRP GigabitEthernet0/0 1
------------------------------------------------------------------------------------------------------------------------

Router #sh ip sla statistics

Round Trip Time (RTT) for       Index 1
        Latest RTT: 44 milliseconds
Latest operation start time: 09:27:30.566 gmt Thu May 12 2011
Latest operation return code: OK
Number of successes: 159
Number of failures: 0
Operation time to live: Forever

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.