From: John Underhill (stepnwlf@magma.ca)
Date: Tue Jan 06 2004 - 17:09:45 GMT-3
Use a prefix list for the exact match on a redistributed route.. you can
verify the mask length in the routing table beforehand, in fact, I just cut
and paste them all into notepad, that way there is little chance for error.
The best way to redistribute though is with tags, (when possible), both
examples are below..
ex.1
router isis 115
redist ospf 110 route-map OSPF-->ISIS
ip prefix-list OSPF-ROUTES perm 12.1.1.0/24
ip prefix-list OSPF-ROUTES perm 172.16.1.128/25
!
route-map OSPF-->ISIS perm 10
match ip add prefix-list OSPF-ROUTES
Ex.2
router ospf 110
redist eigrp 90 subn metric 10 route-map EIGRP-->OSPF
!
router eigrp 90
redist ospf 110 route-map OSPF-->EIGRP
default-metric 10000 100 254 1 1500
!
route-map EIGRP-->OSPF deny 10
match tag 110
route-map EIGRP-->OSPF perm 20
set tag 90
!
route-map OSPF-->EIGRP deny 10
match tag 90
route-map OSPF-->EIGRP perm 20
set tag 110
----- Original Message -----
From: Stephen Skinner
To: ccielab@groupstudy.com ; cisco@groupstudy.com
Sent: Sunday, January 04, 2004 1:28 PM
Subject: Redistributing statics into ospf
Chaps
i have been working on some re-distribution problems and have a quiery..
i know i have to classfully re-distribute networks with this command
i know i can re-dist a host using a route map ..
i know i can re-dist a static network using a route map
i.e
ip route 198.121.1.0 255..255.255.0 null0
than use
access-list 3 permit 198.121.1.0 0.0.0.255
i just tryed it
i know i CANT re-dist a non-classfull host using a route map (it doesnt put
this host in the ospf dbase)
i know i CANT re-dist a non clasffull network usign a route map...
Question is ...is there any way of doing it ...????
here`s what i got
int lo40
ip address 15.15.1.1 255.255.255.0
router ospf 111
redistribute connected reoute lo10
access-list 1 permit host 15.15.1.1
route-map lo10
match address 1
set metric 200
iany clue`s
cheers
steve
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
_______________________________________________________________________
Please help support GroupStudy by purchasing your study materials from:
http://shop.groupstudy.com
Subscription information may be found at:
http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Mon Feb 02 2004 - 09:07:37 GMT-3