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

Pavlin Radoslavov pavlin at icir.org
Fri Oct 27 17:10:26 PDT 2006


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