< Home

country-code

Function

The country-code command configures a country code.

The undo country-code command restores the default country code.

By default, the country code CN is configured.

Format

country-code country-code

undo country-code

Parameters

Parameter

Description

Value

country-code

Specifies a country code.

The value is a string of characters in enumerated type. For specific values, see Table 1.

Views

Regulatory domain profile view

Default Level

2: Configuration level

Usage Guidelines

Table 1 Country codes supported by ACs

Country Code

Country/Region

AE

United Arab Emirates

AM

Armenia

AR

Argentina

AT

Austria

AU

Australia

AZ

Azerbaijan

BE

Belgium

BG

Bulgaria

BH

Bahrain

BN

Brunei Darussalam

BO

Bolivia

BR

Brazil

BY

Belarus

BZ

Belize

CA

Canada

CH

Switzerland

CL

Chile

CN

China (default)

CO

Colombia

CR

Costa Rica

CY

Cyprus

CZ

Czech Republic

DE

Germany

DK

Denmark

DO

Dominican Republic

EC

Ecuador

EE

Estonia

EG

Egypt

ES

Spain

FI

Finland

FR

France

GB

United Kingdom

GE

Georgia

GR

Greece

GT

Guatemala

HK

Hong Kong, Special Administrative Region of China

HN

Honduras

HR

Croatia

HU

Hungary

ID

Indonesia

IE

Ireland

IL

Israel

IN

India

IQ

Iraq

IR

Iran

IS

Iceland

IT

Italy

JO

Jordan

JP

Japan

KP

Democratic People's Republic of Korea

KR

Republic of Korea

KW

Kuwait

KZ

Kazakhstan

LB

Lebanon

LI

Liechtenstein

LK

Sri Lanka

LT

Lithuania

LU

Luxembourg

LV

Latvia

MA

Morocco

MC

Monaco

MK

Macedonia

MO

Macao, Special Administrative Region of China

MT

Malta

MX

Mexico

MY

Malaysia

NG

Nigeria

NL

Netherlands

NO

Norway

NZ

New Zealand

OM

Oman

PA

Panama

PE

Peru

PH

Philippines

PK

Pakistan

PL

Poland

PR

Puerto Rico

PT

Portugal

QA

Qatar

RO

Romania

RS

Serbia

RU

Russia

SA

Saudi Arabia

SE

Sweden

SG

Singapore

SI

Slovenia

SK

Slovakia

SV

El Salvador

SY

Syria

TH

Thailand

TN

Tunisia

TR

Turkey

TT

Trinidad & Tobago

TW

Taiwan, Province of China

UA

Ukraine

US

United States

UY

Uruguay

UZ

Uzbekistan

VE

Venezuela

VN

Vietnam

YE

Yemen

ZA

South Africa

ZW

Zimbabwe

Usage Scenario

When an AC controls APs in different countries or regions, different country codes can be configured based on the regulatory domain profile to meet different radio requirements in different countries or regions, such as power requirements and channel requirements.

Configuration Impact

Modifying the country code in a regulatory domain profile will restart APs using the profile.

Example

# Set the country code to US in the regulatory domain profile region1.
<HUAWEI> system-view                  
[HUAWEI] wlan                            
[HUAWEI-wlan-view] regulatory-domain-profile name region1           
[HUAWEI-wlan-regulate-domain-region1] country-code us        
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu
e?[Y/N]:y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >