BGP inject-map

From: Alec (clapun@graduate.hku.hk)
Date: Mon Feb 23 2004 - 11:46:41 GMT-3


Hi group,

I've tried BGP inject-map but failed to inject the prefix in the BGP table.
Does it require the ORIGINATED_ROUTES exist in the routing table beforehand
? Grateful if anyone can show me some guidelines..

rgds,
alec

router bgp 109
 bgp inject-map ORIGINATE exist-map LEARNED_PATH
 !
 route-map LEARNED_PATH permit 10
  match ip address prefix-list ROUTE
  match ip route-source prefix-list ROUTE_SOURCE
 !
 route-map ORIGINATE permit 10
 set ip address prefix-list ORIGINATED_ROUTES
 set community 14616:555 additive
 !
 ip prefix-list ROUTE permit 10.1.1.0/24
 !
 ip prefix-list ORIGINATED_ROUTES permit 10.1.1.0/25
 ip prefix-list ORIGINATED_ROUTES permit 10.1.1.128/25
 !
 ip prefix-list ROUTE_SOURCE permit 10.2.1.1/32



This archive was generated by hypermail 2.1.4 : Fri Mar 05 2004 - 07:13:55 GMT-3