[Xorp-users] Route Redistribution issue in BGP : Traces

Santhosh Sundararaman santhosh at ku.edu
Sun Oct 29 15:20:31 PST 2006


Pavlin,
Thanks for the bug fix, I tried the revised files and things are working 
fine now.

Thanks for your timely response.
Santhosh

Pavlin Radoslavov wrote:
> Santhosh,
>
> I just committed a fix to BGP, so hopefully this will fix the issue
> you have (and Bugzilla 610):
>
> Revision  Changes                               Path
> 1.22      +3 -2;  commitid: dbd8454294757ea6;   xorp/bgp/route_table_policy.cc
> 1.4       +10 -2;  commitid: dbd8454294757ea6;  xorp/bgp/route_table_policy_ex.cc
>
> Now you can use a statement like the following to stop the routes
> being propagated to peer XX.XX.XX.XX
>
> policy {
>     policy-statement "redist_static" {
>         term "static_routes" {
>             from {
>                 protocol: "static"
>             }
>         }
>     }
>     policy-statement "drop_to_peer" {
>         term "deny" {
>             to {
>                 neighbor: XX.XX.XX.XX
>             }
>             then {
>                 reject
>             }
>         }
>     }
> }
>
> protocols {
>     bgp {
>         export: "redist_static,drop_to_peer"
>         ...
>     }
> }
>
> Regards,
> Pavlin
>   



More information about the Xorp-users mailing list