< Home

rule rename (DNS transparent proxy policy view)

Function

The rule rename command renames a DNS transparent proxy policy rule.

Format

rule rename old-name new-name

Parameters

Parameter Description Value
old-name

Specifies the old name of a DNS transparent proxy policy rule.

The value is the name of an existing DNS transparent proxy policy rule.

new-name

Specifies the new name of a DNS transparent proxy policy rule.

The value is a case-sensitive character 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, "user for test"). The name cannot contain any question marks (?), or quotation marks (").

Views

Transparent DNS proxy policy rule view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename DNS transparent proxy policy rule abc as def.

<sysname> system-view
[sysname] dns-transparent-policy
[sysname-policy-dns] rule rename abc def
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >