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.
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 ] ]
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-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. |
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.