From: ylara@sunsetlearning.com
Date: Mon Jan 08 2007 - 16:01:28 ART
Just want to confirm my conclusions after testing the bgp inject-map command:
is it true that inject-map can't be applied to locally originated routes? I tried configuring inject-map using an aggregate coming from a peer and it works just fine. When I tried the same with a local route it didn't work.
!
router bgp 300
bgp inject-map inject exist-map condition
!
no route-map condition permit 10
match ip address prefix-list condition
match ip route-source prefix-list local
!
no route-map inject permit 10
set ip address prefix-list inject
!
ip prefix-list inject seq 5 permit 23.23.33.0/24
!
ip prefix-list condition seq 5 permit 23.23.0.0/16
!
then I tried these two options to specify the route-source
!
ip prefix-list local seq 5 permit 192.168.100.2/32
ip prefix-list local seq 10 permit 0.0.0.0/32
!
where 192.168.100.2 = next-hop on peer routers for routes advertised from this router.
did't work.
Am I doing something wrong or it just can't be done with locally originated routes?
Thanks!!!!!
Yasmin.
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART