No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
domainname-parse-direction

domainname-parse-direction

Function

The domainname-parse-direction command configures the direction in which a domain name is parsed.

The undo domainname-parse-direction command restores the default direction in which a domain name is parsed.

By default, the domain name is parsed in the AAA view from left to right, and no direction is configured in which a domain name is parsed.

Format

domainname-parse-direction { left-to-right | right-to-left }

undo domainname-parse-direction

Parameters

Parameter

Description

Value

left-to-right

Parses a domain name form left to right.

-

right-to-left

Parses a domain name form right to left.

-

Views

AAA view, authentication profile view

Default Level

In the AAA view, the default level is management level.

In the authentication profile view, the default level is configuration level.

Usage Guidelines

Usage Scenario

In AAA implementations, users belong to different domains. A network access server (NAS) centrally manages users in a domain. During a user's login, the NAS parses the entered user name. A user is authenticated only when the user has the correct user name and domain name. When configuring an AAA scheme, run the domainname-parse-direction { left-to-right | right-to-left } command to configure the direction in which a domain name is parsed.

Assume that the user name is username@dom1@dom2.
  • If the domain-location command configures the domain name behind the domain name delimiter:
    • When left-to-right is specified, the user name is username and the domain name is dom1@dom2.
    • When right-to-left is specified, the user name is username@dom1 and the domain name is dom2.
  • If the domain-location command configures the domain name before the domain name delimiter:
    • When left-to-right is specified, the user name is dom1@dom2 and the domain name is username.
    • When right-to-left is specified, the user name is dom2 and the domain name is username@dom1.

Precautions

If you run the domainname-parse-direction command in the AAA view, the direction in which a domain name is parsed is configured globally and the configuration takes effect for all users.

When this command is executed in the authentication profile, the configuration takes effect only after the authentication profile is bound to a VAP profile.

When the command is executed in the AAA view, the configuration takes effect for all users. When the command is executed in the authentication profile, the configuration takes effect for only the users connected to this authentication profile.

Example

# Configure the device to parse a domain name from right to left in the AAA view.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] domainname-parse-direction right-to-left
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212782

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next