< Home

cpu-defend host-car drop-packet monitor disable

Function

The cpu-defend host-car drop-packet monitor disable command disables monitoring for packets discarded due to user-level rate limiting.

The undo cpu-defend host-car drop-packet monitor disable command enables monitoring for packets discarded due to user-level rate limiting.

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

Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

cpu-defend host-car drop-packet monitor disable

undo cpu-defend host-car drop-packet monitor disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Prerequisites

User-level rate limiting has been enabled using the cpu-defend host-car enable command.

Precautions

After you run the cpu-defend host-car drop-packet monitor disable command to disable monitoring for packets discarded due to user-level rate limiting, the cpu-defend host-car drop-packet cir command configuration is deleted.

Example

# Enable monitoring for packets discarded due to user-level rate limiting.

<HUAWEI> system-view
[HUAWEI] cpu-defend host-car enable
[HUAWEI] undo cpu-defend host-car drop-packet monitor disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >