Configuring Traffic-Class Actions (SRC CLI)

Use this action to put packets in a particular traffic class. You can configure traffic-class actions for JunosE policy rules.

The type of action that you can create depends on the type of policy rule. See Policy Information Model.

Use the following configuration statement to configure traffic-class actions:

policies group name list name rule name traffic-class {traffic-class; description description; }

To configure a traffic-class action:

  1. From configuration mode, enter the traffic-class configuration.
    user@host# edit policies group junose list class rule pr traffic-class
  2. (Optional) Configure the name of the traffic-class profile that is applied to a packet when it passes through the router.
    [edit policies group junose list class rule pr traffic-class]user@host# set traffic-class
  3. (Optional) Enter a description for the traffic-class action.
    [edit policies group junose list class rule pr traffic-class]user@host# set description description
  4. (Optional) Verify the traffic-class action configuration.
    [edit policies group junose list class rule pr traffic-class]
    user@host# show 
    traffic-class TCent;
    description "Traffic class action";

Related Documentation