< Home

nai-realm

Function

The nai-realm command configures a network access identifier (NAI) realm.

The undo nai-realm command deletes a NAI realm.

By default, no NAI realm is configured.

Format

nai-realm realm-name realm-name [ eap-method-type eap-method-type [ eap-authen-id eap-authen-id eap-authen-para eap-authen-para ] ]

undo nai-realm realm-name realm-name [ eap-method-type eap-method-type [ eap-authen-id eap-authen-id ] ]

Parameters

Parameter

Description

Value

realm-name realm-name

Specifies a NAI realm name.

The value is a string of 1 to 63 characters. It does not contain question marks (?) or spaces, and cannot begin or end with double quotation marks (" ").

eap-method-type eap-method-type

Specifies an EAP authentication mode for a NAI realm.

Enumerated value:
  • eap-aka: EAP-AKA authentication
  • eap-sim: GSM Subscriber Identity Modules
  • eap-tls: EAP-TLS
  • eap-ttls: EAP-TTLS

eap-authen-id eap-authen-id

Specifies an EAP authentication ID for a NAI realm.

The value is an integer that ranges from 0 to 255.

eap-authen-para eap-authen-para

Specifies the EAP authentication parameter of a NAI realm.

The value is an integer that ranges from 0 to 255.

Views

NAI realm profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After you configure a NAI realm, terminals can access the configured operator network.

Precautions

  • If you configure the same name for NAI realms, the NAI realm with fuzzy command configuration will overwrite the NAI realm with exact command configuration.

    For example, the nai-realm realm-name attwireless.com command configuration will overwrite the nai-realm realm-name attwireless.com eap-method-type eap-aka command configuration, and the nai-realm realm-name attwireless.com eap-method-type eap-aka command configuration will overwrite the nai-realm realm-name attwireless.com eap-method-type eap-aka eap-authen-id 1 eap-authen-para 1 command configuration.

  • NAI realms are deleted according to the longest matching rule.

    For example, the NAI realm configured using the nai-realm realm-name attwireless.com command cannot be deleted using the undo nai-realm realm-name attwireless.com eap-method-type eap-aka command.

Example

# Configure NAI realm attwireless.com.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] nai-realm-profile name nai-realm-profile1
[HUAWEI-wlan-nai-realm-prof-nai-realm-profile1] nai-realm realm-name attwireless.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >