Re: Set metric +/-<metric> on route-map for EIGRP

From: _ _ <krzysiek.zalewski_at_gmail.com>
Date: Wed, 8 Jan 2014 11:40:12 +0100

- when you enter high bw metric will be worst

EIGRP Metric = 256*((1x10^7/min-bw[kb]) + cumulative delay[tens od usec])

> Set the metric value to 1000000

State is Passive, Query origin flag is 1, 1 Successor(s), FD is
1028864 <---Successor
 Composite metric is (1028864/1028608), route is External
       Vector metric:
         Minimum bandwidth is 2500 Kbit
         Total delay is 190 microseconds
         Reliability is 255/255
         Load is 3/255
         Minimum MTU is 1500
         Hop count is 5

fc=ad<fd
fc=1028608<1028864 <--ok

EIGRP Metric = 256*((10000000/2500)+19)
EIGRP Metric = 1028864 <---looks ok

---
> Set the metric value to 1050000
                       <---it is not successor
   Composite metric is (268800256/268800000), route is External
       Vector metric:
         Minimum bandwidth is 9 Kbit
         Total delay is 10 microseconds             <---why total dly is 10?
         Reliability is 0/255
         Load is 3/255
         Minimum MTU is 241                           <---why mtu is 241?
         Hop count is 5
fc=ad<fd
fc=268800000<268800256 <--ok
EIGRP Metric = 256*((10000000/9)+1)
EIGRP Metric = 284444700                            <---hmm it is not ok
You have each time default EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 ?
Maybe you know why mtu and total dly chnaged? I isn't the same path?
could you send 'sh run | s r e"
On 1/7/14, BALAKRISHNAN Balaji <Balaji.BALAKRISHNAN_at_swift.com> wrote:
> Hi
>
> Thanx for your response..
>
> - you have 1gb int and you change bw to 1 000 000Kb=1 000 000 000b =1gb
>   > you do the same what you have on interface
>
> But then when I use metric 1050000, according to your explanation it is
> better than  the 1gb on int so it should result in better composite but as
> you see in the example, as soon as I set the metric to 1050000, composite
> metric got worsen and minBw, load,mtu.etc..got adjusted automatically.
> I also tried your suggestion by putting all other variables "set metric
> 1000000 1 255 1 1500", it   made no difference.
>
> Any other suggestions ?
>
>
>
> -----Original Message-----
> From: _ _ [mailto:krzysiek.zalewski_at_gmail.com]
> Sent: Tuesday, January 07, 2014 1:57 PM
> To: BALAKRISHNAN Balaji
> Cc: ccielab_at_groupstudy.com
> Subject: Re: Set metric +/-<metric> on route-map for EIGRP
>
> hi
> please look my output
>
> ---
> Rack13R1(config)#route-map eigrp-test
> Rack13R1(config-route-map)#set metric ?
>   +/-<metric>     Add or subtract metric
>   <0-4294967295>  Metric value or Bandwidth in Kbits per second <---set bw
> in kb
>   <cr>
>
> Rack13R1(config-route-map)#set metric 1000000 ?
>   +/-<delay>      Add or subtract delay
>   <1-4294967295>  IGRP delay metric, in 10 microsecond units <---set dly in
> tens of micro
>   <cr>
>
> Rack13R1(config-route-map)#set metric 1000000 1 ?
>   <0-255>  IGRP reliability metric where 255 is 100% reliable <---set relia
>
> Rack13R1(config-route-map)#set metric 1000000 1 255 ?
>   <1-255>  IGRP Effective bandwidth metric (Loading) where 255 is 100%
> loaded  <---set loading
>
> Rack13R1(config-route-map)#set metric 1000000 1 255 1 ?
>   <1-4294967295>  IGRP MTU of the path
>     <--- set mtu
>
> Rack13R1(config-route-map)#set metric 1000000 1 255 1 1500
> ---
>
> - you have 1gb int and you change bw to 1 000 000Kb=1 000 000 000b =1gb
>   > you do the same what you have on interface
>
> - in my opinion you will add values which will be used in EIGRP Metric =
> 256*((K1*Bw) + (K2*Bw)/(256-Load) + (K3*Delay)*(K5/(Reliability + K4)))
>
> - it is not classic offset list under eigrp process in which we add value
> which
>   will be add to route after metric calculation happend
>
> what do you think?
>
> On 1/7/14, BALAKRISHNAN Balaji <Balaji.BALAKRISHNAN_at_swift.com> wrote:
>> Hi All,
>>
>> While using route-map in the eigrp distribute-list, when I was
>> configuring the metric, I stumble across a problemb&I wanted to offset
>> the composite metric by a value so  I used the command b set metric
>> +1000000b  but it did not have any impact.. Even if I use  b set
>> metric  1000000b , it still did not have any impact.. Then I kept
>> increasing the metric value and at certain value it start taking
>> effect..  So,  I realized that  set metric command will only work when the
>> new metric is higher than the existing composite
>> metric for that route and also  b +<metric>b   does not do any offset or
>> add
>>  to the current composite metric.. Can anyone explain this behaviour ?
>> Is there any way to implement the offset metric feature with route-map ?
>>
>>
>> ## with No metric statement
>> R1# sh route-map FTAG-BA2MSG
>> route-map FTAG-BA2MSG, permit, sequence 10
>>   Match clauses:
>>     tag 193
>>   Set clauses:
>>   Policy routing matches: 0 packets, 0 bytes
>>
>>
>> R2#sh ip eigrp topology 172.24.225.0  255.255.255.0
>> EIGRP-IPv4 Topology Entry for AS(1)/ID(10.30.128.7) for 172.24.225.0/24
>>   State is Passive, Query origin flag is 1, 1 Successor(s), FD is 1028864
>>   Descriptor Blocks:
>>   10.25.128.10 (GigabitEthernet2/3), from 10.25.128.10, Send flag is 0x0
>>       Composite metric is (1028864/1028608), route is External
>>       Vector metric:
>>         Minimum bandwidth is 2500 Kbit
>>         Total delay is 190 microseconds
>>         Reliability is 255/255
>>         Load is 3/255
>>         Minimum MTU is 1500
>>         Hop count is 5
>>       External data:
>>         Originating router is 10.30.192.3
>>         AS number of route is 0
>>         External protocol is Connected, external metric is 0
>>         Administrator tag is 193 (0x000000C1)
>>
>>
>> ## with metric statement set in R1
>>
>> R1#sh route-map FTAG-BA2MSG
>> route-map FTAG-BA2MSG, permit, sequence 10
>>   Match clauses:
>>     tag 3
>>   Set clauses:
>>     metric 1000000      <-- metric set
>>   Policy routing matches: 0 packets, 0 bytes
>>
>> R2#sh ip eigrp topology 172.24.225.0  255.255.255.0
>> EIGRP-IPv4 Topology Entry for AS(1)/ID(10.30.128.7) for 172.24.225.0/24
>>   State is Passive, Query origin flag is 1, 1 Successor(s), FD is 1028864
>>   Descriptor Blocks:
>>   10.25.128.10 (GigabitEthernet2/3), from 10.25.128.10, Send flag is 0x0
>>       Composite metric is (1028864/1028608), route is External      <--
>> No change in Composite metric in R2
>>       Vector metric:
>>         Minimum bandwidth is 2500 Kbit
>>         Total delay is 190 microseconds
>>         Reliability is 255/255
>>         Load is 3/255
>>         Minimum MTU is 1500
>>         Hop count is 5
>>       External data:
>>         Originating router is 10.30.192.3
>>         AS number of route is 0
>>         External protocol is Connected, external metric is 0
>>         Administrator tag is 193 (0x000000C1)
>>
>>
>>
>> ## with +metric statement set in R1
>>
>> R1#sh route-map FTAG-BA2MSG
>> route-map FTAG-BA2MSG, permit, sequence 10
>>   Match clauses:
>>     tag 3
>>   Set clauses:
>>     metric +1000000  <-- + metric set
>>   Policy routing matches: 0 packets, 0 bytes
>>
>>
>>
>> R2#sh ip eigrp topology 172.24.225.0  255.255.255.0
>> EIGRP-IPv4 Topology Entry for AS(1)/ID(10.30.128.7) for 172.24.225.0/24
>>   State is Passive, Query origin flag is 1, 1 Successor(s), FD is 1028864
>>   Descriptor Blocks:
>>   10.25.128.10 (GigabitEthernet2/3), from 10.25.128.10, Send flag is 0x0
>> o
>>     still No change in the composite metric. Still backup route is
>> preferred
>>       Composite metric is (1028864/1028608), route is External  <--    No
>> change in Composite metric in R2
>>       Vector metric:
>>         Minimum bandwidth is 2500 Kbit
>>         Total delay is 190 microseconds
>>         Reliability is 255/255
>>         Load is 3/255
>>         Minimum MTU is 1500
>>         Hop count is 5
>>       External data:
>>         Originating router is 10.30.192.3
>>         AS number of route is 0
>>         External protocol is Connected, external metric is 0
>>         Administrator tag is 193 (0x000000C1)
>>
>>
>>
>> ## Increase the metric higher than the current composite metric for
>> that route
>>
>> R1#sh route-map FTAG-BA2MSG
>>
>> route-map FTAG-BA2MSG, permit, sequence 10  o    Set the metric value to
>> 1050000
>>   Match clauses:
>>     tag 3
>>   Set clauses:
>>     metric 1050000     <--  metric value higher than the current
>> composite
>> metric
>>   Policy routing matches: 0 packets, 0 bytes
>>
>>
>> R2#sh ip eigrp topology 172.24.225.0  255.255.255.0
>> 10.25.128.10 (GigabitEthernet2/3), from 10.25.128.10, Send flag is 0x0
>>       Composite metric is (268800256/268800000), route is External
>> <-
>> Change took effect
>>       Vector metric:
>>         Minimum bandwidth is 9 Kbit
>>         Total delay is 10 microseconds
>>         Reliability is 0/255
>>         Load is 3/255
>>         Minimum MTU is 241
>>         Hop count is 5
>>       External data:
>>         Originating router is 10.30.192.3
>>         AS number of route is 0
>>         External protocol is Connected, external metric is 0
>>         Administrator tag is 193 (0x000000C1)
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> ______________________________________________________________________
>> _ Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Krzysiek
>
-- 
Krzysiek
Blogs and organic groups at http://www.ccie.net
Received on Wed Jan 08 2014 - 11:40:12 ART

This archive was generated by hypermail 2.2.0 : Sat Feb 01 2014 - 10:24:52 ART