route-map sample (increasing RIP hop count)

From: Jason Aarons (jaarons@xxxxxxxxxxx)
Date: Wed Aug 11 1999 - 17:04:56 GMT-3


   
Here I am increasing the metric for various 207.87.0.0 networks that I am
learning from OSPF but advertising into RIP.

router ospf 1999
redistribute rip metric 10 subnets route-map rip-to-ospf
network 172.16.1.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1999 metric 2 route-map ospf-to-rip
network 172.16.0.0
!
no ip classless
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 10 permit 192.168.2.0 0.0.0.255
access-list 10 permit 192.168.3.0 0.0.0.255
access-list 10 permit 172.16.254.0 0.0.0.255
access-list 10 deny any
access-list 20 permit 207.87.1.0 0.0.0.255
access-list 20 deny any
access-list 30 permit 207.87.3.0 0.0.0.255
access-list 30 permit 207.87.2.0 0.0.0.255
access-list 30 deny any
access-list 40 permit 207.87.3.0 0.0.0.255
access-list 40 deny any
route-map rip-to-ospf permit 10
match ip address 10
!
route-map ospf-to-rip permit 10
match ip address 20
set metric 10
!
route-map ospf-to-rip permit 20
match ip address 30
set metric 11
!
route-map ospf-to-rip permit 30
match ip address 40
set metric 12



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:21:46 GMT-3