> - Downloads
> - Configuring Color Mark Actions (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Configuring Hierarchical Rate-Limit Actions (SRC CLI)
> - Configuring Rate-Limit Actions (SRC CLI)
> - Configuring Color Actions (SRC CLI)
> - Dynamic Bandwidth Allocation Among Traffic Flows in SRC Policy Lists for JUNOSe Routing Platforms

> # Configuring Color Mark Actions (SRC CLI)

> You can configure color-mark actions to apply a TOS mark value based on the packet’s color. A color-mark can be applied to a packet after it exits a rate-limit hierarchy.

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

> Use the following configuration statements to configure color actions:

> `
> policies group name list name rule name color-mark name {
>   green-mark green-mark;
>   yellow-mark yellow-mark;
>   red-mark red-mark;
>   mask mask;
>   description description;
> }
> `

> To configure a color mark action:

> 1. From configuration mode, enter the color mark action configuration. For example, in this procedure, cma is the name of the color action.
>    `
>    [edit]
>    user@host# edit policies group junose_filter list in rule pr color cma
>    `
> 2. (Optional) Specify the green-mark value.
>    `
>    [edit policies group junose_filter list in rule pr filter cma]
>    user@host# set green-mark green-mark
>    `
> 3. (Optional) Specify the yellow-mark value.
>    `
>    [edit policies group junose_filter list in rule pr filter cma]
>    user@host# set yellow-mark yellow-mark
>    `
> 4. (Optional) Specify the red-mark value.
>    `
>    [edit policies group junose_filter list in rule pr filter cma]
>    user@host# set red-mark red-mark
>    `
> 5. Specify the mask value to use when marking packets.
>    `
>    [edit policies group junose_filter list in rule pr filter cma]
>    user@host# set mask mask
>    `
> 6. (Optional) Enter a description for the color mark action.
>    `
>    [edit policies group junose_filter list in rule pr filter cma]
>    user@host# set description description
>    `
> 7. (Optional) Verify the color action mark configuration.

>        [edit policies group junose_filter list in rule pr filter cma]
>        user@host# show
>        description mark green packets;
>        green-mark 100;
>        mask 255;

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

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