understanding "show ip route profile" command output

Unanswered Question
Aug 13th, 2010
User Badges:

Hi,


I'm currently preparing my CCNP TShoot certification exam.  I have some difficulties to understand the command output of "show ip route profile" command.  I know to produce any output the : "ip route profile" as to be enable on the router before.


I read TShoot officiasl certification guide for my studdyies, about this command the author was'nt written a lot !  Because I was'nt understand I had looking an different explanation on the net.  I found the following http://packetlife.net/blog/2010/jan/4/routing-table-profiling/


by this :

  • Forward-Path Change - This statistic is the number of changes in the forwarding path, which is the accumulation of prefix-add, next-hop change, and pathcount change statistics.

  • I understand in the following output :



    R1# show ip route profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         96        96       96       96         96
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0       

    output truncated

    the number under "Fwd-path change" as to be accumulation of prefix-add (96), next-hop change (96), and pathcount change (96) statistics. where 288 why is it written 96 ? or because a new prefixe was add to the router this also trigged "next hop change" and "path count" counter this is also logical because this we do not have 288 in the fisrt column, the text was supposed "accumulation of prefix-add, next-hop change, and pathcount change statistics" for different routes.


    This output was probebly done on a router which as reload after the ip route profile was enable because in the first time interval 96 prefix were add to the router.


    I do not understanding at all the following sentences :


    We can see that all five events have a value of 96 in the 0 row. This tells us two things: first, route profiling has been enabled for the last 8 minutes (96 * 5 seconds per interval = 480 seconds / 60 = 8 minutes). Second, since all columns only have an entry in the 0 row, this tells us that no changes have occurred; in other words, the routing table has remained stable.

    The next let me confusing :

    Assume R2 loses its connection to the 10.0.23.0/30 network. This will be reflected as a change in the next update of the profile:


         show ip route profile.jpg


    in the interval 0 the number as changed and Fwd-path change is less that Nexthop change were it supposed to be an accoculation of the statistic.  what's append between 96 justed previously and now 172 ? only one network as been removed ?  in the second line we have an addition of an prefix which is supposed to be correspond to the network change (because it's highlight) 


    the rest of the text is no more clear to me.... but maybe after explanation about the above, will be easier to me to understand ?


    Thanks a lot !

    • 1
    • 2
    • 3
    • 4
    • 5
    Overall Rating: 0 (0 ratings)
    Loading.
    narainarun Thu, 08/19/2010 - 00:50
    User Badges:

    Hi,


    The first colum under Change/Interval is the number of events that occured in every 5 sec interval.


    Forwardin path change is the aggregate of other 3 attributes only when there is a change occured in the routing table. So you should not consider the Zero change/interval (first row with 0 change/interval) because there is no change happened in that interval. If you take the other two outputs, where there is 1 change/interval, then you can find forwarding path change is the sum of other three attributes.


    In the doc, when the network is stable, there is no changes been happening for the routing entries in the routing table. This means Zero events been detected every 5 sec interval. Thats why in line to 0 row - the counters are increased. So the value of 96 means 96 intervals (interval of 5 sec each) i.e. 96*5/8=8 mins. So for 8 mins there is no change in the routing table.


    172 indicates that around 15 mins (172*5=860/60) there have been no changes in routing table. After 172nd interval, there is one change in the routing table that is R2 loses 10.0.23.0/24, so the corresponding change/interval i.e. 1 change in this interval is reflected in the output under Prefix Add and Fwd-path-change.


    When the same netowrk (10.0.23.0/24) is available then in another interval it is reflected under Path Count change. But now Fwd-path change is set to 2 which is the accumulation of Prefix add and Pathcount change attributes. You can see that the values in 0 row is increased which means it took some time for the lost network to be up i.e. 10.0.23.0/24.


    Hope the above explanation is clear.


    thanks

    Arun

    xine xine Sat, 08/21/2010 - 13:04
    User Badges:

    Hi Arun,


    I was long to response to you because I was still confused after your explanation, to try to understand I had but back on my own Cisco lab try test this command to try to understand something....


    here what I had done :

    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip route profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         7         7        7        7          7        
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip route profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         9         9        9        9          9        
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip route profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         11        11       11       11         11       
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip route profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         13        13       13       13         13       
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip int
    FastEthernet0 is up, line protocol is down
      Internet address is 10.1.2.4/24
      Broadcast address is 255.255.255.255
      Address determined by non-volatile memory
      MTU is 1500 bytes
      Helper address is not set
      Directed broadcast forwarding is disabled
      Multicast reserved groups joined: 224.0.0.1 224.0.0.2 224.0.0.22 224.0.0.13
          224.0.0.10
      Outgoing access list is not set
      Inbound  access list is not set
      Proxy ARP is enabled
      Security level is default
      Split horizon is enabled
      ICMP redirects are always sent
      ICMP unreachables are always sent
      ICMP mask replies are never sent
      IP fast switching is enabled
      IP fast switching on the same interface is disabled
      IP Flow switching is disabled
      IP CEF switching is disabled
      IP Fast switching turbo vector
      IP multicast fast switching is enabled
             
    PXR4#sh ip int brief
    Interface                  IP-Address      OK? Method Status                Protocol
    FastEthernet0              10.1.2.4        YES NVRAM  up                    down   
    Loopback0                  10.200.200.14   YES NVRAM  up                    up     
    Serial0                    10.1.3.4        YES NVRAM  up                    up     
    PXR4#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    PXR4(config)#int s0
    PXR4(config-if)#shut
    PXR4(config-if)#
    00:25:17: %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.3.3 (Serial0) is down: interface down
    00:25:19: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down
    00:25:20: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downdo sh ip rout pro
                       ^
    % Invalid input detected at '^' marker.

    PXR4(config-if)#do sh ip rout pro
                       ^
    % Invalid input detected at '^' marker.

    PXR4(config-if)#do sh ip rout pro
                       ^
    % Invalid input detected at '^' marker.

    PXR4(config-if)#end
    PXR4#sh ip int brief
    00:25:34: %SYS-5-CONFIG_I: Configured from console broute profile
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         27        27       27       27         27       
    1         0         0        0        0          0        
    2         0         0        0        0          0        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    PXR4(config)#int s0
    PXR4(config-if)#no shut
    PXR4(config-if)#end
    PXR4#s
    00:25:57: %LINK-3-UPDOWN: Interface Serial0, changed state to uph ip
    00:25:57: %SYS-5-CONFIG_I: Configured from console by console
    00:25:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to uprout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         31        31       32       32         31       
    1         1         1        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    --More--
    00:26:01: %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.3.3 (Serial0) is up: new-------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         31        31       33       33         32       
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         32        32       34       34         33       
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        
    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         79        79       81       81         80       
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    530       0         0        0        0          0        
             
    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         83        83       85       85         84       
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         102       102      104      104        103      
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    PXR4(config)#int s0
    PXR4(config-if)#shut
    PXR4(config-if)#
    00:34:32: %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.3.3 (Serial0) is down: interface downno
    00:34:34: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down
    00:34:35: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downshut
    PXR4(config-if)#end
    PXR4#sh
    00:34:39: %SYS-5-CONFIG_I: Configured from console by consoleip
    00:34:39: %LINK-3-UPDOWN: Interface Serial0, changed state to up
    00:34:40: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to uprout pro
    00:34:41: %DUAL-5-NBRCHANGE: IP-EIGRP 1: Neighbor 10.1.3.3 (Serial0) is up: new adjacency
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         133       133      136      136        134      
    1         3         3        0        0          1        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#sh ip rout pro
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         135       135      139      139        136      
    1         4         4        0        0          2        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#sh ip rout pro
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         137       137      141      141        138      
    1         4         4        0        0          2        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
             
    PXR4#




    I had remark the first line is always increment by one each second or around this but defenitely less than 5 sec.


    when you says : "This means Zero events been detected every 5 sec interval. Thats why in line to 0 row - the counters are increased."  I do not understand this, I hope this line not increment if not changed in routing table....  Also, this counter do not reset after any changed in the routing table (network add or removed)


    in this calculation "So the value of 96 means 96 intervals (interval of 5 sec each) i.e. 96*5/8=8 mins. So for 8 mins there is no change in the routing table." where did you took the first number 8, it's may looklike evident for most people but I did not seen the evidence....


    When you saying  : "172 indicates that around 15 mins (172*5=860/60) there have been no changes in routing table."   what about the number 1 in the row below, or the number 4 in my output test ?



    Thanks a lot for your help on this !

    narainarun Sun, 08/22/2010 - 23:46
    User Badges:

    Hi,


    Let me try to put in a different way of interpreting "show ip route profile" output


    The output shows the number of events/interval with respect to the attributes defined in the top row. Every interval if there is no change in the routing table, then 0 events/interval counter will keep on incrementing. If there is a change in the routing table i.e. 1 route is changed in that interval then a counter in 1 change/interval (2nd row) will be incremented that too only for the particular attribute.


    1. Every 5 sec interval if it detects zero changes then the corresponding counter under the corresponding row value will increase. Thats the reason if there is no change in the routing table you get to see the counters in Zero change/interval keep increasing. You can observe this when the network is stable and i checked its increasing every 5 seconds. This counters will not be reset when there is a change.


    2. This is a typo from me. 96*8/60=8 mins. Its actually divided by 60 seconds to get the value in minutes.


    3. When you look again to the initial URL that you referred, the change in the routing table happened only after 172 intervals meaning close to 15 minutes there were no changes in the routing table and network was stable. The change happened after 172nd interval. Even in your recent output, the network was stable for 27 intervals then only you did a change. And whatever change happens the corresponding change/interval counter will be incrementing. In your case, there are 4 intervals where 1 change/interval happened. Thats the reason you can see value of 4 in the line straight to 1 change/interval.


    HTH

    Arun

    xine xine Mon, 08/23/2010 - 04:23
    User Badges:

    Hi !


    is it possible yopu made a typo again in equation : 96*8/60=8 mins ?  where we should read 96*5/60=8 mins. where the number 5 refer to the 5 minutes intervals ?


    On my router, the line 0 was incrementing around each seconds or maybe second and half but definitely not at 5 seconds intervals...  One thing I do not understand is why can use be sure in the following output a change as occur after 32 time interval if I provide only that one :


    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         32        32       34       34         33       
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0        
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    530       0         0        0        0          0        
    655       0         0        0        0          0        
    780       0         0        0        0          0        
    1405      0         0        0        0          0        
    2030      0         0        0        0          0        
    2655      0         0        0        0          0        
    3280      0         0        0        0          0        
    3905      0         0        0        0          0        
    7030      0         0        0        0          0        
    10155     0         0        0        0          0        
    13280     0         0        0        0          0        
    Overflow  0         0        0        0          0        


    from previous output from my personnal lab.  because I do not see any difference between that one and the one provide in that one :

    PXR4#sh ip rout pr
    IP routing table change statistics:
    Frequency of changes in a 5 second sampling interval
    -------------------------------------------------------------
    Change/   Fwd-path  Prefix   Nexthop  Pathcount  Prefix
    interval  change    add      change   change     refresh
    -------------------------------------------------------------
    0         102       102      104      104        103      
    1         2         2        0        0          0        
    2         0         0        0        0          1        
    3         0         0        0        0          0        
    4         0         0        0        0          0        
    5         0         0        0        0          0        
    10        0         0        0        0          0        
    15        0         0        0        0          0        
    20        0         0        0        0          0        
    25        0         0        0        0          0        
    30        0         0        0        0          0        
    55        0         0        0        0          0        
    80        0         0        0        0          0        
    105       0         0        0        0          0        
    130       0         0        0        0          0        
    155       0         0        0        0          0        
    280       0         0        0        0          0        
    405       0         0        0        0          0       


    except the second one was on the 102 interval I was only provide that one you may supposed a changed as occur after 102 times intervals where it's not true the change was occur after 32 times intervals...


    I think when I will understand this the rest will be easier to understand for me about this output.....


    Thanks a lot for your help !

    Actions

    This Discussion