From: Connary, Julie Ann (jconnary@xxxxxxxxx)
Date: Wed Dec 27 2000 - 19:12:22 GMT-3
Hi all,
What is the trick for creating route-maps to redistribute ospf and eigrp
vs. ospf and igrp.
Anyone got any good examples.
Here are two scenarios:
When I mutually redistribute ospf and igrp I use the following type of
route-maps to prevent feedback. I always
have to put the wildcard mask on the access-list or it does not work:
Standard IP access list 1
permit 150.100.0.0, wildcard bits 0.0.255.255
permit 172.168.0.0, wildcard bits 0.0.255.255
permit 137.20.0.0, wildcard bits 0.0.255.255
permit 11.0.0.0, wildcard bits 0.255.255.255
Standard IP access list 2
permit 150.200.0.0, wildcard bits 0.0.255.255
permit 150.150.0.0, wildcard bits 0.0.255.255
route-map igrpin, permit, sequence 20
Match clauses:
ip address (access-lists): 2
Set clauses:
metric 100
metric-type type-1
tag 1
Policy routing matches: 0 packets, 0 bytes
route-map ospfin, permit, sequence 10
Match clauses:
ip address (access-lists): 1
Set clauses:
metric 6476 2000 255 1 1500
Policy routing matches: 0 packets, 0 bytes
and then apply them like this:
router ospf 1
area 0 range 150.100.0.0 255.255.0.0
area 2 range 137.20.0.0 255.255.0.0
area 2 virtual-link 192.168.1.11
summary-address 150.200.0.0 255.255.0.0
redistribute igrp 1 subnets route-map igrpin
network 137.20.0.0 0.0.255.255 area 2
network 150.100.0.0 0.0.255.255 area 0
default-information originate metric 100 metric-type 1
!
router ospf 12
!
router igrp 1
redistribute ospf 1 route-map ospfin
network 150.200.0.0
Now when I try to do the same between OSPF and EIGRP I cannot use wildcard
masks but must specify explicitly each
subnet. access-list 2 is my first attempt that did not work and access-list
3 works. Why?
Standard IP access list 1
permit 192.168.1.0, wildcard bits 0.0.0.255
Standard IP access list 2
permit 150.100.0.0, wildcard bits 0.0.255.255
permit 11.0.0.0, wildcard bits 0.255.255.255
permit 137.20.0.0, wildcard bits 0.0.255.255
permit 172.168.0.0, wildcard bits 0.0.255.255
permit 150.200.0.0, wildcard bits 0.0.255.255
permit 150.150.0.0, wildcard bits 0.0.255.255
Standard IP access list 3
permit 172.168.10.0
permit 172.168.64.0
permit 150.200.0.0
route-map ospfin, permit, sequence 10
Match clauses:
ip address (access-lists): 3
Set clauses:
metric 100 10 255 1 1500
Policy routing matches: 0 packets, 0 bytes
route-map eigrpin, permit, sequence 10
Match clauses:
ip address (access-lists): 1
Set clauses:
metric 200
Policy routing matches: 0 packets, 0 bytes
router eigrp 1
redistribute ospf 1 route-map ospfin
network 192.168.1.0
no eigrp log-neighbor-changes
!
router ospf 1
log-adjacency-changes
area 0 range 150.100.0.0 255.255.0.0
area 2 range 137.20.0.0 255.255.0.0
area 2 virtual-link 150.200.16.2
area 11 range 11.0.0.0 255.0.0.0
redistribute eigrp 1 subnets route-map eigrpin
network 11.1.1.1 0.0.0.0 area 11
network 137.20.20.0 0.0.0.255 area 2
thanks Julie Ann
------------------------------------------------------------------------
Julie Ann Connary
| | Network Consulting Engineer
||| ||| Federal Support Program
.|||||. .|||||. 13635 Dulles Technology Drive,
Herndon VA 20171
.:|||||||||:.:|||||||||:. Pager: 1-888-642-0551
c i s c o S y s t e m s Email: jconnary@cisco.com
------------------------------------------------------------------------
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:26:11 GMT-3