> - Downloads
> - Configuring Traffic-Class Actions (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Configuring Traffic-Mirror Actions (SRC CLI)
> - Configuring Traffic-Shape Actions (SRC CLI)
> - Configuring Traffic-Class Actions (C-Web Interface)

> # 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 name {
>   traffic-class traffic-class ;
>   description description ;
> }
> `

> To configure a traffic-class action:

> 1. From configuration mode, enter the traffic-class configuration. For example, in this procedure, tca is the name of the traffic-class action.
>    `
>    user@host# edit policies group junose list class rule pr traffic-class tca
>    `
> 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 tca]
>    user@host# set traffic-class traffic-class
>    `
> 3. (Optional) Enter a description for the traffic-class action.
>    `
>    [edit policies group junose list class rule pr traffic-class tca]
>    user@host# set description description
>    `
> 4. (Optional) Verify the traffic-class action configuration.

>        [edit policies group junose list class rule pr traffic-class tca]
>        user@host# show
>        traffic-class TCent;
>        description "Traffic class action";

> #### Published: 2009-09-22

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.