Specifying the Order in Which the BGF Processes Rules

If you have defined multiple rules, you can specify the order in which the BGF processes the rules by creating a rule set. The BGF processes the rules in the order in which you specify them in the rule set. It processes rules as follows:

To configure a rule set:

  1. Create a rule set and specify a name for the rule set.
    [edit services pgcp]user@host# edit rule-set bgf-rule-set-1
  2. Add a rule to the rule set.
    [edit services pgcp rule-set bgf-rule-set-1]user@host# set rule bgf-rule-1
  3. Add additional rules to the rule set.
    [edit services pgcp rule-set bgf-rule-set-1]user@host# set rule bgf-rule-2