Re: Metric Reducing in RIP

From: <v.shekhar_at_globalassurance.net>
Date: Sat, 01 Jan 2011 16:33:33 +1100

No worries,
was interesting approach though.

-Vijay Shekhar
CCIE(sec)#17589/CISSP/RHCE.
http://au.linkedin.com/in/vshekhar

Quoting Atle Xrn Hardarson <atle.hardarson_at_gmail.com>:

> Actually, it only worked in theory in my head, the reality in IOS was
> different I found.
>
> I am not able to replicate this in lab environment, so I am not able to
> decrement RIP metric without resorting to redistribution.
>
> Too bad... :-/
>
> Atle Hardarson
>
> On Fri, Dec 31, 2010 at 12:03 PM, <v.shekhar_at_globalassurance.net> wrote:
>
>> Interesting!
>> I tried it out without much success.
>>
>> I can see hits on my ACL:
>> R2#sh access-list
>> Extended IP access list 100
>> 10 permit udp any any eq rip (26 matches)
>>
>> However there were no matches on my Route-Map.
>>
>> R2#sh route-map
>> route-map RM_RIP, permit, sequence 10
>> Match clauses:
>> ip address (access-lists): 100
>> Set clauses:
>> metric +2
>> Policy routing matches: 0 packets, 0 bytes
>>
>> RM is applied on interface:
>> R2#sh run int e0
>> Building configuration...
>>
>> Current configuration : 106 bytes
>> !
>> interface Ethernet0
>> ip address 192.168.0.2 255.255.255.0
>> ip policy route-map RM_RIP
>> half-duplex
>> end
>>
>> Its the correct interface because we can see the ACL counter increasing.
>> However RM does not show any matches and there is no change in the route
>> metric too.
>>
>> Atle: Does this work in your LAB? Can you send the config please?
>>
>>
>> -Vijay Shekhar
>> CCIE(sec)#17589/CISSP/RHCE.
>> http://au.linkedin.com/in/vshekhar
>>
>> Quoting Atle Xrn Hardarson <atle.hardarson_at_gmail.com>:
>>
>> Hi guys
>>>
>>> I believe you can achieve this with PBR as such:
>>>
>>> R1(config-route-map)#set metric ?
>>> +/-<metric> Add or subtract metric
>>> <0-4294967295> Metric value or Bandwidth in Kbits per second
>>> <cr>
>>>
>>> #show route-map RIP
>>> route-map RIP, permit, sequence 10
>>> Match clauses:
>>> ip address (access-lists): 101
>>> Set clauses:
>>> metric -10
>>>
>>> So just match the traffic with tags or ACL (UDP/520 for RIPv2 IPv4, RIPv2
>>> has no protocol ID) and manipulate the metric with a route-map.
>>>
>>> Cheers
>>> Atle Hardarson
>>>
>>>
>>>
>>> On Thu, Dec 30, 2010 at 12:21 PM, <v.shekhar_at_globalassurance.net> wrote:
>>>
>>> I am quite amazed to see the LOOSELY worded description on Cisco Context
>>>> sensitive help that uses the word "Subtract".
>>>>
>>>> I never paid attention to that and only believed when i tried out myself.
>>>>
>>>> From what my experience is worth there is no easy way to reduce the
>>>> metric
>>>> in RIP. U can take the trouble of doing that by redistributing rip to
>>>> other
>>>> IGP and back to RIP though.
>>>>
>>>> -Vijay Shekhar
>>>> CCIE(sec)#17589/CISSP/RHCE.
>>>> http://au.linkedin.com/in/vshekhar
>>>>
>>>>
>>>> Quoting lijo varghese <lijoccie_at_gmail.com>:
>>>>
>>>> Hai.....
>>>>
>>>>>
>>>>> How can i reduce the metric in RIP.....
>>>>> Is it any way to reduce hop count by using offset list ?
>>>>>
>>>>>
>>>>> In " cisco command "
>>>>>
>>>>> R1(config-router)# ?
>>>>> offset-list Add or subtract offset from RIP metrics
>>>>> -----------
>>>>>
>>>>>
>>>>> So is it used to reduce metric(Hop count) ?
>>>>>
>>>>> Is there any way to reduce hopcount in RIP without using tunnels
>>>>> ?.............
>>>>>
>>>>>
>>>>> Blogs and organic groups at http://www.ccie.net
>>>>>
>>>>> _______________________________________________________________________
>>>>> Subscription information may be found at:
>>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>>
>>>>>
>>>>
>>>> Blogs and organic groups at http://www.ccie.net
>>>>
>>>> _______________________________________________________________________
>>>> Subscription information may be found at:
>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>
>>>
>>>
>>> Blogs and organic groups at http://www.ccie.net
>>>
>>> _______________________________________________________________________
>>> Subscription information may be found at:
>>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sat Jan 01 2011 - 16:33:33 ART

This archive was generated by hypermail 2.2.0 : Tue Feb 01 2011 - 07:39:17 ART