< Home

rule name (flow probe policy view)

Function

The rule name command creates a flow probe policy rule and accesses the flow probe policy rule view.

The undo rule name command deletes a configured flow probe policy rule.

Format

rule name rule-name

undo rule { name rule-name | id rule-id | all }

Parameters

Parameter Description Value
rule-name Specifies the name of a flow probe policy rule. The value is a case-sensitive string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "policy for test"). The name cannot contain any question mark (?) or quotation mark (").
id rule-id

Specifies the ID of the flow probe policy rule to be deleted.

You can run the display flow-probe-policy rule all command to view the ID of rules to be deleted.

The flow probe policy rule ID must exist.
all Indicates all flow probe policy rules. -

Views

Flow probe policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Create flow probe policy rule policy_probe.

<sysname> system-view
[sysname] flow-probe-policy
[sysname-policy-probe] rule name policy_probe
[sysname-policy-probe-rule-policy_probe]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >