Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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 {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.
      [edit]user@host# edit policies group junose_filter list in rule pr color-mark
    2. (Optional) Specify the green-mark value.
      [edit policies group junose_filter list in rule pr color-mark]user@host# set green-mark green-mark
    3. (Optional) Specify the yellow-mark value.
      [edit policies group junose_filter list in rule pr color-mark]user@host# set yellow-mark yellow-mark
    4. (Optional) Specify the red-mark value.
      [edit policies group junose_filter list in rule pr color-mark]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 color-mark]user@host# set mask mask
    6. (Optional) Enter a description for the color mark action.
      [edit policies group junose_filter list in rule pr color-mark]user@host# set description description
    7. (Optional) Verify the color action mark configuration.
      [edit policies group junose_filter list in rule pr color-mark]
      user@host# show 
      description mark green packets;
      green-mark 100;
      mask 255;
      

    Modified: 2016-12-29