From: Edwards, Andrew M (andrew.m.edwards@boeing.com)
Date: Mon Apr 19 2004 - 14:57:38 GMT-3
Another way I found to do this was not with route tags, but by only
allowing return BGP with the next hop of the desired BGP peer. Your
OSPF routes will have the next hop of the IGP so they wont come back at
you.
andy
-----Original Message-----
From: Bill [mailto:bhammill@comcast.net]
Sent: Sunday, April 18, 2004 5:55 PM
To: ccielab@groupstudy.com
Subject: Redistributing BGP into OSPF using tags
I have a scenario where im redistributing routes between ospf and bgp
and are going to do this in two places.
I normally would use route-tags, however when redistributing from BGP,
BGP sets the tag value to the AS number which I found in the cisco docs,
but does anyone know of a way to overide this behavior. I tried using
the typical route-map but it doesn't work
Router's 1 & 2
router bgp 1
redistribute ospf 1 route-map bgp2ospf match internal external 1
external 2
router ospf 1
redistribute bgp 1 route-map ospf2bgp
route-map bgp2ospf deny 10
match tag 110
route-map bgp2ospf permit 20
set tag 200
route-map ospf2bgp deny 10
match tag 200
route-map ospf2bgp permit 20
set tag 110
This archive was generated by hypermail 2.1.4 : Mon May 03 2004 - 19:48:50 GMT-3