RE: RIP Conditional advertisiment

From: Salau, Yemi (yemi.salau@siemens.com)
Date: Tue Sep 04 2007 - 06:09:18 ART


To be honest, if there is any other thing in the RIB table, then your
first option should work.

I believe when you do route-map with default-information originate with
RIP, you're actually looking for something in the RIB, init?

So If I do
route-map RG deny 5
 match ip address prefix-list E00

That will not return any variable to the defualt-information originate
line, but when you add:
!
route-map RG permit 10

That should return all other routes in your RIB to your
default-information originate line, hence RIP should then advertise the
default-route.

For the second Option:-

route-map RG permit 10
 match ip address prefix-list E00
!
This line return a variable to the default-information originate line,
and remember there is always implicit deny entry within route-maps, just
like access-lists.

So, the "invicible" deny entry wouldn't return any variable to the
default-information line, as long as a variable gets returned to the
default-information originate line, then RIP should advertise the
default route.

Many Thanks
 
Yemi Salau

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sergey
Sent: Tuesday, September 04, 2007 9:12 AM
To: 'Cisco certification'
Subject: RIP Conditional advertisiment

I want that router advertise default gateway via RIP only if interface
E0/0 is down.
my configuration is

interface Ethernet0/0
 ip address 157.1.36.3 255.255.255.0
 shutdown
 half-duplex

router rip
 default-information originate route-map RG

ip prefix-list E00 seq 5 permit 157.1.36.0/24

route-map RG deny 5
 match ip address prefix-list E00
!
route-map RG permit 10

In my logic, if E0/0 is up than route 157.1.36.0/24 present in routing
table, and default gateway advertising is suppressed by "route-map RG
deny 5" but it seems "route-map RG deny
5" suppress route in spite of status of E0/0, with my config router
never advertise default.

but if i want opposite task (advertise default only if E0/0 is up) than
conditional advertising works fine

router rip
 default-information originate route-map RG

ip prefix-list E00 seq 5 permit 157.1.36.0/24

route-map RG permit 10
 match ip address prefix-list E00
!

if E0/0 is up router advertise default, if it down router not advertise
default.

Why if I use deny statement in route-map, conditional advertising
failed?



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART