Defining a Traffic Behavior and Configuring Traffic Policing Actions

Configure traffic policing actions for difference traffic classifier.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run traffic behavior behavior-name

    A traffic behavior is configured and the traffic behavior view is displayed.

  3. Run car { cir cir-value [ pir pir-value ] } [ cbs cbs-value [ pbs pbs-value ] ] [ adjust adjust-value ] [ green { discard | pass [ remark dscp dscp | service-class class color color ] } | yellow { discard | pass [ remark dscp dscp | service-class class color color ] } | red { discard | pass [ remark dscp dscp | service-class class color color ] } ] * [ summary ] [ color-aware ] [ limit-type pps ]

    A traffic policing action is configured.

    After CAR is configured and applied, you can run the display traffic policy statistics interface command to view CAR statistics.

    In Step 3, choose parameters according to your requirement:

    • To configure traffic policing with a single token bucket, select cir and cbs, and set the value of pbs to 0.

    • To configure traffic policing with double token buckets, select cir, cbs, and pbs.

    • To configure traffic policing with dual rates and dual token buckets, select cir, pir, cbs, and pbs.

    • The cir and pir are expressed in kbit/s, the cbs and pbs are expressed in bytes.

  4. Run commit

    The configuration is committed.

Follow-up Procedure

The NetEngine 8000 F supports the re-marking of the priority and color of packets after traffic policing. If the class of service value of a packet is re-marked to EF, BE, CS6, or CS7, its color can only be re-marked to green.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >