Configuring Forwarding Class Actions (SRC CLI)
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:
- From configuration mode, enter the forwarding class action
configuration. For example, in this procedure, fca is the name of
the forwarding class action.
- user@host# edit policies group bod list input rule pr forwarding-class fca
- (Optional) Configure the name of the forwarding class
assigned to packets.
- [edit policies group bod list input rule pr forwarding-class fca]
- user@host# set forwarding-class forwarding-class
- (Optional) Enter a description for the forwarding class
action.
- [edit policies group bod list input rule pr forwarding-class fca]
- user@host# set description description
- (Optional) Verify the forwarding class action configuration.
[edit policies group bod list input rule pr forwarding-class fca] user@host# show forwarding-class fc_expedited; description "Expedited forwarding class";