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.  What does inactive:route-filter do?

    Posted 09-15-2011 16:50

     

     

    I have a policy-statement in a configuration example that shows:

    inactive: route-filter 10.0.0.0/8 longer;

     

    What does inactive: do in this case.?

     

    Thank you



  • 2.  RE: What does inactive:route-filter do?
    Best Answer

     
    Posted 09-15-2011 20:47

    Hi,

     

    It indicates that the operator wants this route-filter in a disabled mode. This is usually done where you want the configs in place but it shouldn't effect in anyways and later you can decide to activate the same to get its effect.

     

    Say for example, from BGP-EXPORT policy as below:

     

    suryak@PE# show policy-options
    policy-statement BGP-PEER1 {
        term a {
            from {
                route-filter 10.0.0.0/8 orlonger;
                route-filter 20.0.0.0/8 orlonger;
            }
            then accept;
        }
    }

     

    Now for some administrative purpose, I decide that routes within 10/8 ranges shouldn't be advertised to BGP Peer. Now instead of deleting the route-filter I decide to deactivate which as good as it is not there. By doing this, I can get 10/8 routes re-advertised again by just activating the route-filter


    suryak@PE# deactivate policy-options policy-statement BGP-PEER1 term a from route-filter 10/8 orlonger

    suryak@PE# show policy-options
    policy-statement BGP-PEER1 {
        term a {
            from {
                inactive: route-filter 10.0.0.0/8 orlonger;
                route-filter 20.0.0.0/8 orlonger;
            }
            then accept;
        }
    }

     

    Regards

    Surya Prakash



  • 3.  RE: What does inactive:route-filter do?

    Posted 09-16-2011 08:55

    Thank Surya

     

    That is what I thought. I just needed to be sure.

     

    Thanks again

    Roy Spencer