[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
CLI Configuration
To configure terminal rules:
- Define a rule and add it to a rulebase in a policy.
The following statement creates a policy P1, associates an
IPS rulebase with the policy, and adds rules R2 to the rulebase:
- user@host# set security idp idp-policy P1
rulebase-ips rule R2
- Define the match criteria for the rule.
The following tasks specify source address internal and destination
address any as the match criteria for rule R2:
- user@host# set security idp idp-policy P1
rulebase-ips rule R2 match source-address internal destination-address
any
- Set the terminal flag for the rule. The
following statement specifies R2 as a terminal rule:
- user@host# set security idp idp-policy P1
rulebase-ips rule R2 terminal
- 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.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]