From: Darby Weaver (ccie.weaver@gmail.com)
Date: Tue Oct 14 2008 - 15:32:55 ART
Here's another example of a conditional default-information-originate:
Conditional OSPF default route: tested
configuration<http://blog.ioshints.info/2007/08/conditional-ospf-default-route-tested.html>
In my scenario, the OSPF default route would be announced whenever an
Internet prefix (192.1168.0.0/16) would be present in the IP routing table.
router ospf 1
log-adjacency-changes
network 0.0.0.0 255.255.255.255 area 0
default-information originate always route-map Internet
!
router bgp 11
bgp log-neighbor-changes
neighbor 192.168.1.2 remote-as 65101
!
ip access-list standard Internet
permit 192.168.0.0
!
route-map FromInternet permit 10
match ip address Internet
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:20 ARST