< Home

rename geo-location-set

Function

The rename geo-location-set command renames a region group.

Format

rename geo-location-set old-geo-location-set-name new-geo-location-set-name

Parameters

Parameter Description Value
old-geo-location-set-name

Specifies the name of a region group to be renamed.

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

new-geo-location-set-name

Specifies the new name of a region group.

The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 63 characters. The length of a name with spaces ranges from 3 to 65 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "location for test").

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

Views

Location view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Rename region group abc as efg.

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

# Rename region group abc as my city.

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