[c-nsp] BGP inject map question

andrew andrew.coates at internode.on.net
Wed Jan 27 14:38:55 EST 2010


> for the cisco people here (hehehe), can i do the following:
>
> use an inject map for a route that is locally originated, i think im 
> having issues with the route source ie.
>
>
> int fas 0/1
> ip address 123.123.123.1 255.255.255.0
>
> router bgp 1
> neigh blah remote-as blah
> network 123.123.123.0 mask 255.255.255.0 route-map filter
> bgp inject-map INJECT exist EXIST
>
> route-map INJECT
> set ip address prefix-list INJECT
>
> route-map EXIST
> match ip address prefix-list EXSIST
> match ip source-route HOST
>
> route-map filter
> set community no-export
>
> ip prefix-list INJECT permit 123.123.123.12/32
> ip prefix-list EXIST permit 123.123.123.0/24
> ip prefix-listHOST permit ???????????? ( have tried 0.0.0.0/32 and the 
> bgp router id)
>
> i have typed this by hand  so the syntax might not be 100% accurate.
>
> i have been trying and cant get it working,
> basiclly i have an MPLS VPN extranet and lan address of the CE is in 
> the same subnet as a /32 host i wish to advertise into the VPN.
>
> im running an old IOS on this router 12.3 adv ip services
>
> cheers
>
> Andrew
>



More information about the cisco-nsp mailing list