Routing

 View Only

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Expand all | Collapse all

RIB-GROUPS: can an import-policy filter-out primary-table's prefixes ??

Jump to Best Answer
This thread has been viewed 1 times
  • 1.  RIB-GROUPS: can an import-policy filter-out primary-table's prefixes ??

    Posted 05-29-2019 08:32

    Hi there, 

    Does the following config filter out bgp prefixes from the primary-table inet.0 as well as from the secondary table test.inet.0 ? My understanding is that the RIB-GROUP import-policy does not process prefixes destined for the primary-table but only for the secondary-table(s).

     

       rib-groups {

            TEST-RIB-GROUP {

                import-rib [ inet.0 test.inet.0];

                import-policy FILTER;

            }

        }

    policy-options {

        policy-statement FILTER {

            term FILTER-TERM {

                from protocol bgp;

                then reject;

            }

     Thanks a lot guys

    Andrea

     

     


    #RIB-GROUPS


  • 2.  RE: RIB-GROUPS: can an import-policy filter-out primary-table's prefixes ??
    Best Answer

     
    Posted 05-29-2019 10:07

    Your understanding is correct. There's no way that rib-group import policy can change the route for primary RIB. 

    This is applied between primary RIB and seconary RIB, only affect routes being put into secondary RIB 



  • 3.  RE: RIB-GROUPS: can an import-policy filter-out primary-table's prefixes ??

    Posted 05-29-2019 10:32

    Thank you ever so much mhu. Nice to have confirmation of that !! 

    Ciao 

    Andrea