cpu-defend policy

Function

The cpu-defend policy command creates an attack defense policy.

The undo cpu-defend policy command deletes the configuration.

By default, no attack defense policy is configure on the device.

Format

cpu-defend policy policy-number

undo cpu-defend policy policy-number

Parameters

Parameter Description Value
policy policy-number

Specifies the number of an attack defense policy.

The value is an integer ranging from 1 to 30.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr write

Usage Guidelines

Usage Scenario

A user can create an attack defense policy as required, modify the configurations of the required features, and then apply the policy to the interface boards. For the features that are not configured in the attack defense policy by the user, the configurations in the default attack defense policy are adopted. After an attack defense policy is configured, you can run the display cpu-defend policy command to view the configurations in the attack defense policy.

Follow-up Procedure

The configured attack defense policy can take effect only after it is applied to interface boards through the cpu-defend-policy command.

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

Example

# Create attack defense policy 4.
<HUAWEI> system-view
[~HUAWEI] cpu-defend policy 4
[*HUAWEI-cpu-defend-policy-4]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >