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.
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. |
- |
In the AAA view, the default level is management level.
In the authentication profile view, the default level is configuration level.
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.
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.