< Home

Configuring Monitoring for Packets Discarded Due to User-Level Rate Limiting

Context

After user-level rate limiting is enabled, the switch discards the excess packets if the rate of packets from the same source MAC address exceeds the rate limit within a specified period of time. To check the information about discarded packets, you can run the cpu-defend host-car drop-packet monitor disable command to enable monitoring for packets discarded due to user-level rate limiting.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run undo cpu-defend host-car drop-packet monitor disable

    Monitoring for packets discarded due to user-level rate limiting is enabled.

    By default, monitoring for packets discarded due to user-level rate limiting is enabled.

  3. (Optional) Run cpu-defend host-car drop-packet cir cir-value [ cbs cbs-value ]

    The rate limit for sending packets that are discarded due to user-level rate limiting to the CPU is set.

    By default, the CIR and CBS for sending packets that are discarded due to user-level rate limiting to the CPU are 64 kbit/s and 12032 bytes, respectively.

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