< Home

security-policy (user-defined report view)

Function

The security-policy command specifies a security policy name for advanced search in the user-defined report view.

The undo security-policy command cancels the setting of a security policy name for advanced search in the user-defined report view.

Format

security-policy policy-name

undo security-policy policy-name

Parameters

Parameter Description Value

policy-name

Specifies a security policy name that already exists in the security policy view.

-

Views

User-defined report view

Default Level

2: Configuration level

Usage Guidelines

By default, no security policy name is specified in the user-defined report view for advanced search.

Before running the security-policy command, ensure that the hard disk is in position and the report type command has been used to set a user-defined report type.

Only the USG6000E (not including USG6510E/6510E-POE/6530E) support this command.

Example

# Specify the security policy name abc in the user-defined threat report view for advanced search.

<sysname> system-view
[sysname] log user-defined-report policy name
[sysname-user-defined-report-name] report type threat
[sysname-user-defined-report-name] security-policy abc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >