From: Gary Duncanson (gary.duncanson@googlemail.com)
Date: Tue Sep 04 2007 - 11:09:10 ART
Sergey,
What networks have you added to RIP?
I found this example on CCO if it helps. Sounds like you want the opposite 
effect..
The following example originates a default route (0.0.0.0/0) over a certain 
interface when 172.68.0.0/16 is present. This is called "conditional default 
origination."
router rip
  version 2
  network 172.68.16.0
  default-information originate route-map condition
!
  route-map condition permit 10
  match ip address 10
  set interface s1/0
!
access-list 10 permit 172.68.16.0 0.0.0.255
!
HTHGary
----- Original Message ----- 
From: "Sergey" <public@svlp.net>
To: "'Cisco certification'" <ccielab@groupstudy.com>
Sent: Tuesday, September 04, 2007 9:11 AM
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?
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html 
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART