state

Function

The state command sets the state or province of the entity.

The undo state command deletes the state or province of the entity.

By default, no state or province exists for the entity.

Format

state state-province-name

undo state

Parameters

Parameter Description Value
state-province-name

Indicates the name of the state or province of the entity.

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

To describe an entity, configure a state or province for the entity.

Example

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