Networking, Security & Cloud Knowledge

Tuesday, June 28, 2011

021- IP SLA boolean


---------------------------------------------------------------------------------------------------------
hostname R1
!
interface FastEthernet0/0
 ip address 10.10.10.1 255.255.255.0
----------------------------------------------------------

hostname R2
!
interface FastEthernet0/0
 ip address 20.20.20.1 255.255.255.0
 ---------------------------------------------------------


hostname R3
!
interface FastEthernet0/0
 ip address 10.10.10.2 255.255.255.0
!
interface FastEthernet0/1
 ip address 20.20.20.2 255.255.255.0
!
!
ip sla 1
 icmp-echo 10.10.10.1
 frequency 10
ip sla schedule 1 life forever start-time now
!
ip sla 2
 icmp-echo 20.20.20.1
 frequency 10
ip sla schedule 2 life forever start-time now
!
track 1 rtr 1 reachability
!
track 2 rtr 2 reachability
!
track 3 list boolean and
 object 1
 object 2
!
------------------------------------------------------------------------------------------
R3#sh ip sla statistics

Round Trip Time (RTT) for       Index 1
        Latest RTT: 144 milliseconds
Latest operation start time: *00:18:35.835 UTC Fri Mar 1 2002
Latest operation return code: OK
Number of successes: 30
Number of failures: 50
Operation time to live: Forever



Round Trip Time (RTT) for       Index 2
        Latest RTT: 100 milliseconds
Latest operation start time: *00:18:30.851 UTC Fri Mar 1 2002
Latest operation return code: OK
Number of successes: 75
Number of failures: 1
Operation time to live: Forever
-----------------------------------------------------------------------------------------------
R3#sh track 1
Track 1
  Response Time Reporter 1 reachability
  Reachability is Up
    3 changes, last change 00:00:26
  Latest operation return code: OK
  Latest RTT (millisecs) 144
  Tracked by:
     Track-list 3
----------------------------------------------------------------------------
R3#sh trac 2
Track 2
  Response Time Reporter 2 reachability
  Reachability is Up
    1 change, last change 00:10:12
  Latest operation return code: OK
  Latest RTT (millisecs) 108
  Tracked by:
    Track-list 3
----------------------------------------------------------------------
R3#sh trac 3
Track 3
  List boolean and
  Boolean AND is Up
    4 changes, last change 00:00:42
    object 1 Up
    object 2 Up

No comments:

Post a Comment

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