In a rulebase, you can disable and enable rules by using the deactivate and activate commands.
The deactivate command comments out the specified statement
from the configuration. Rules that have been deactivated do not take
effect when you issue the commit command.
The activate command adds the specified statement back
to the configuration. Rules that have been activated take effect when
you next issue the commit command.
The configuration instructions in this topic describe how to
deactivate and reactivate rule R2 in an IPS rulebase that
is associated with a policy called base-policy.
You can use either J-Web or the CLI configuration editor to
deactivate or activate rules in a rulebase.
If you are finished configuring the router,
commit the configuration.
From configuration mode in the CLI, enter the show security idp command to verify the configuration. For more
information, see the JUNOS Software CLI Reference.