country

Function

The country command sets the country code of the entity.

The undo country command deletes the country code of the entity.

By default, no country code exists for the entity.

Format

country country-code

undo country

Parameters

Parameter Description Value
country-code

Indicates the country code of the entity.

The country code and can be queried in ISO3166. For example, CN is the legitimate country code of China, and US is the legitimate country code of the USA.

It is a string of two characters.

Views

PKI entity view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pki write

Usage Guidelines

Usage Scenario

country-code is used to describe an entity.

Example

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