< Home

rename (DNS filtering profile view)

Function

The rename command renames an existing DNS filtering profile and displays the view of the new DNS filtering profile.

Format

rename new-name

Parameters

Parameter Description Value
new-name Specifies the new name of a DNS filtering profile. 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"). Question marks (?), commas (,), quotations marks ("), and hyphens (-) are not supported.

Views

DNS filtering profile view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename DNS filtering profile abc to hello.

<sysname> system-view
[sysname] profile type dns-filter name abc
[sysname-profile-dns-filter-abc] rename hello
[sysname-profile-dns-filter-hello] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >