< Home

rename domain-set

Function

The rename domain-set command renames domain groups.

Format

rename domain-set old-domain-set-name new-domain-set-name

Parameters

Parameter Description Value
old-domain-set-name

Specifies the domain name to be renamed.

The value must be the name of an existing domain group.

new-domain-set-name

Specifies the new name of the domain group.

The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test").

The name cannot contain question marks (?), or hyphens (-). If the name does not contain any space, it also cannot have any double quotation marks ("). In addition, the name cannot be any , all, or any IPv4 or IPv6 address.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

None.

Example

# Rename domain group abc to efg.

<sysname> system-view
[sysname] rename domain-set abc efg

# Rename domain group abc to my city.

<sysname> system-view
[sysname] rename domain-set abc "my city"
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic