From: Scott, Tyson C (tyson.scott@hp.com)
Date: Wed Mar 31 2004 - 19:26:17 GMT-3
I have a question. I have been looking for a couple of hours to find a
good explanation of the route-map option when originating a default
route in OSPF
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft
/122tcr/122tip2r/p2ftospf.htm#wp1025098
This is the only link I can find. Or every link points back to this.
What I am testing is options for using this besides calling from a route
in the routing table. It says if you want to specify parameters besides
the route in the routing table use the always keyword in addition to the
route-map but it doesn't say after that what are the available
parameters you can specify.
Any one have any ideas?
My idea was to stop advertising the default route if the eBGP peer
relationship was down but I am unsure as to how to do this.
For instance scenario as follows:
ROUTER2 can still learn the external routes via ROUTER1 so it can still
see the route in the routing table via iBGP. So if link to ROUTER4 goes
down I want the default-information to stop being forwarded from ROUTER2
into OSPF without the dependency on the route missing from the routing
table. Or will setting the types of routes also work. IE:
Route-map TEST permit 10
Match route-type external
Match ip address prefix-list TEST
Ip prefix-list TEST permit 141.1.5.0/24
ROUTER3 ROUTER4
| |
eBGP eBGP
| |
ROUTER1-------iBGP------ROUTER2
| |
OSPF OSPF
INJECT DEFAULT INJECT DEFAULT
| |
====================================
| |
| OSPF Area 0 |
| |
====================================
This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:50 GMT-3