Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  bgp filter does not work

    Posted 01-09-2009 00:04

    Hi

    As you can see below is my bgp filter not working.

    I still get full bgp table including default route.

    does anybody have any idea? 

     

    best regards

    IGLU

     

    ***************************************

    protocols {
        bgp {
            group ISP-A{
                type external;
                import ACC-DEFAULT-ONLY;
                peer-as xxxx;
                neighbor xxx.xxx.xxx.xxx;
            }
        }
    }
    policy-options {
        policy-statement ACC-DEFAULT-ONLY {
            from {
                route-filter 0.0.0.0/0 exact accept;
            }
        }

    ***************************************



  • 2.  RE: bgp filter does not work
    Best Answer

    Posted 01-09-2009 00:56

    Hi,

     

    The reason you are still accepting the full BGP table is that the default policy for BGP is to accept all routes learnt via BGP.

     

    To achieve what you want, use something like the following:

     

    policy-statement ACC-DEFAULT-ONLY {

        term accept-default {

            from {

                route-filter 0.0.0.0/0 exact accept;

            }

        }

        term reject-others {

            then reject;

        }

    }

     

    HTH,

    /david