[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Configuring a Packet Gateway Rule Set
If you have defined multiple rules, you can specify the order
in which the packet gateway processes the rules by creating a rule
set. The packet gateway processes the rules in the order in which
you specify them in the rule set. It processes rules as follows:
- If a rule matches the packet, the packet gateway performs
the corresponding action and the rule processing stops.
- If no rule matches the packet, processing continues to
the next rule in the set. If none of the rules match the packet, the
packet is dropped by default.
Step-by-Step Procedure
To configure a rule set.
- Create a rule set and specify a name for the
rule set.
- [edit services pgcp]
- user@host#edit rule-set pgcp-rule-set-1
- Add a rule to the rule set.
- [edit services pgcp rule-set pgcp-rule-set-1]
- user@host#set rule pgcp-rule-1
- (Optional) Add additional rules to the
rule set.
- [edit services pgcp rule-set pgcp-rule-set-1]
- user@host#set rule pgcp-rule-2
You can also configure packet gateway rule sets within a service
set.
Related Topics
-
Chapter 27, Summary of Packet Gateway Configuration
Statements in JUNOS Services Interfaces Configuration Guide.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]