You can configure forwarding class actions for JUNOS filter policy rules. The forwarding class action causes the router to assign a forwarding class to packets that match the associated classify-traffic condition.
The type of action that you can create depends on the type of policy rule. See Policy Information Model.
Use the following configuration statements to configure a forwarding class action:
- policies group name list name rule name forwarding-class name {
- forwarding-class forwarding-class ;
- description description ;
- }
To configure a forwarding class action:
- user@host# edit policies group bod list input
rule pr forwarding-class fca
- [edit policies group bod list input rule pr forwarding-class
fca]
- user@host# set forwarding-class forwarding-class
- [edit policies group bod list input rule pr forwarding-class
fca]
- user@host# set description description
[edit policies group bod list input rule pr forwarding-class fca] user@host# show forwarding-class fc_expedited; description "Expedited forwarding class";