locality

Function

The locality command sets the name of the locality where the entity resides.

The undo locality command deletes the name of the locality where the entity resides.

By default, no locality name exists for the entity.

Format

locality locality-name

undo locality

Parameters

Parameter Description Value
locality-name

Indicates the name of the locality where the entity resides.

It is a string of 1 to 31 case sensitive characters. Except the question mark (?) and space. However, when double quotation marks (") are used around the string, spaces are allowed in the string.

Views

PKI entity view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pki write

Usage Guidelines

Usage Scenario

locality-name is used to describe an entity.

Example

# Set the locality of the entity to Beijing.
<HUAWEI> system-view
[~HUAWEI] pki entity entity1
[*HUAWEI-pki-entity-entity1] locality Beijing
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >