[c-nsp] BGP prepend with route-map in input

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Wed Dec 12 08:32:39 EST 2012


 
>
>Does it works BGP prepending applied
>with a route-map in incoming direction ?
>I admit I saw it only in outbond
>directionŠ.
>
> 
>
>ie:
>
>router bgp 65221
>neighbor 10.111.232.62 remote-as 65010
>neighbor 10.111.232.62 route-map prepend in
>
>  
>route-map prepend permit 10
>
>set as-path prepend 65221 65221 65221 65221 65221
>
> 

yes, it works, but in this direction you want to set the remote as in the
prepend, i.e. "set as-path prepend 65010 65010 65010 65010 65010"

	oli




More information about the cisco-nsp mailing list