rule description (UCL6 view)

Function

The rule description command configures a description for an ACL6 rule.

The undo rule description command deletes the description of an ACL6 rule.

By default, no description is configured for an ACL6 rule.

Format

rule rule-id description destext

undo rule rule-id description

Parameters

Parameter Description Value
rule-id

Specifies the ID of an ACL6 rule.

The value is an integer ranging from 0 to 4294967294.

destext

Specifies the description of an ACL6 rule.

The value is a string of 1 to 127 case-sensitive characters, spaces supported. The value must not start with spaces and can be a combination of letters, numbers, and spaces.

Views

UCL6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
acl write

Usage Guidelines

Usage Scenario

Run the rule description command to configure a description for an ACL6 in any of the following situations:

  • A large number of ACL6s are configured, and their functions are difficult to identify.
  • An ACL6 is used at a long interval, and its function may be left forgotten.

Prerequisites

An ACL6 rule has been created using the rule command.

Precautions

If the description of an ACL6 rule is not configured, the ACL6 rule may be misunderstood or misused.

Example

# Configure a description for a user ACL6 numbered 6999.
<HUAWEI> system-view
[~HUAWEI] acl ipv6 number 6999
[*HUAWEI-acl6-ucl-6999] rule 23 deny ipv6 source service-group any destination user-group any
[*HUAWEI-acl6-ucl-6999] rule 23 description prohibit the host with any source service group from sending IPv6 packets to a host with any destination user group.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >