blacklist disable

Function

The blacklist disable command disables the blacklist function.

The undo blacklist disable command restores the default configuration.

By default, the blacklist function is enabled.

Format

blacklist disable

undo blacklist disable

Parameters

None

Views

Attack defense policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

You can configure a blacklist to filter out packets that do not need to be sent to the CPU. By default, no blacklist is configured. The blacklist function takes effect only after packets matching specific ACL rules are added to the blacklist through the blacklist acl command.

Precautions

In VS mode, this command is supported only by the admin VS.

After the blacklist function is disabled, you can still configure a user-defined blacklist, but the configured blacklist does not take effect.

Example

# Disable the blacklist function in attack defense policy 8.
<HUAWEI> system-view
[~HUAWEI] cpu-defend policy 8
[*HUAWEI-cpu-defend-policy-8] blacklist disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >