From: Todd, Douglas M. (DTODD@PARTNERS.ORG)
Date: Thu Feb 21 2008 - 15:45:19 ARST
If you are looking for locally originated traffic to be policy routed:
ip local policy route-map %route-map%
Then set it to the next-hop address of the neighbor or to the egress interface.
a distribute-list filter routing updates, but don't set/change the next-hops on
the IGP update.
Douglas
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Matt
Bentley
Sent: Wednesday, February 20, 2008 8:45 PM
To: ccielab@groupstudy.com
Subject: Question On Distribute Lists
Okay, I believe my syntax is right, but I can't seem to find out exactly what is
going on. I am trying to use the "set ip next-hop" option from a route-map in
distribute lists in both OSPF and EIGRP. I can't get either of them to work.
What I want to do:
From the local router, alter incoming updates for both OSPF and EIGRP (running
on the same router) with a distribute list so traffic is policy routed,
depending on where the traffic is destined to.
!
Send traffic destined for 4.4.4.0/24 to next hop of 2.2.2.2 Send traffic
destined for 2.2.2.0/24 to next hop of 1.1.1.2 !
router ospf 1
distributed-list route-map NEXTHOP in
!
router eigrp 1
distribute-list route-map NEXTHOP2 in
!
route-map NEXTHOP permit 10
match ip address prefix-list FOUR
set ip next-hop 2.2.2.2
!
route-map NEXTHOP permit 20
match ip address prefix-list SIX
set ip next-hop 1.1.1.2
!
route-map NEXTHOP permit 30
!
route-map NEXTHOP2 permit 10
match ip address prefix-list FOUR
set ip next-hop 2.2.2.2
!
route-map NEXTHOP2 permit 20
match ip address prefix-list SIX
set ip next-hop 1.1.1.2
!
route-map NEXTHOP2 permit 30
!
ip prefix-list FOUR seq 5 permit 4.4.4.0/24 le 32 !
ip prefix-list SIX seq 5 permit 6.6.6.0/24 le 32
On Cisco, it says the distribute-list can still be used with OSPF. Am I missing
something? Thanks in advance.
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.8/1289 - Release Date: 2/20/2008 10:26
AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.8/1289 - Release Date: 2/20/2008 10:26
AM
The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:49 ARST