cpu-defend-policy

Function

The cpu-defend-policy command applies an attack defense policy to the interface board.

The undo cpu-defend-policy command restores the default configuration.

By default, no attack defense policy is applied to the interface board.

Format

cpu-defend-policy policy-number

undo cpu-defend-policy

Parameters

Parameter Description Value
policy-number

Specifies the number of the attack defense policy to be applied. The attack defense policy must be an existing one.

The value is an integer ranging from 1 to 30.

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

To apply the specified attack defense policy to an interface board, you need to run the cpu-defend-policy command on the interface board to bind the specified attack defense policy to the interface board. If the cpu-defend-policy command is not run, the default attack defense policy is applied to the interface board.

Prerequisites

The attack defense policy specified by policy-number must be an existing one; otherwise, it cannot be applied to an interface board.

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

Example

# Apply attack defense policy 8 on slot 1.
<HUAWEI> system-view
[~HUAWEI] cpu-defend policy 8
[*HUAWEI-cpu-defend-policy-8] quit
[*HUAWEI] slot 1
[*HUAWEI-cpu-slot-1] cpu-defend-policy 8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >