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.  RPM + Even polici

    Posted 09-07-2016 16:15

    hello All, 

     

              This one might be easy and fast. Does any one knows if RPMs can be implemented with Events Policies in a MX960?

     

    I know that EPs can be set to monitor X service and if something happenss then the config changes. However. I would like to know if the Event Policies can be set with a RPM that is currently monitoring a service. 

     

     

    Thanks



  • 2.  RE: RPM + Even polici
    Best Answer

    Posted 09-07-2016 18:38

    Yes, you can catch events from rpm like rpm pass or fail. Somethis like this

    event-options {
        policy disable-interface-on-ping-failure {
            events ping_probe_failed;
            attributes-match {
                ping_probe_failed.test-owner matches .*script.*;
            }
            then {
                event-script toggle-interface.slax {
                    arguments {
                        silent 2;
                        interface "{$$.test-name}";
                        new_intf_state disable;
                    }
                }
            }
        }