A NAS performs domain-based user management. A domain is a group of users and each user belongs to a domain. A user uses only AAA configuration information in the domain to which the user belongs.
The device determines the domain to which a user belongs based on the user name. Before performing authentication, authorization, and accounting on users, you need to create the domain to which the users belong.
The system view is displayed.
The AAA view is displayed.
A domain is created and the domain view is displayed, or the view of an existing domain is displayed.
By default, the default and default_admin domains are available on the device. The default domain is used by common access users and the default_admin domain is used by administrators.
The domain state is configured.
By default, a domain is in active state after being created. When a domain is in blocking state, users in this domain cannot log in.
Run quit
Return to the AAA view.
Run domainname-parse-direction { left-to-right | right-to-left }
The domain name resolution direction is configured.
By default, a domain name is parsed from left to right.
Run domain-name-delimiter delimiter
The domain name delimiter is configured.
By default, the domain name delimiter is @.
Run domain-location { after-delimiter | before-delimiter }
The position of a domain name is configured.
By default, a domain name is placed behind the domain name delimiter.
The DNS function can also be configured in the authentication profile view. If the DNS function is configured in both the AAA view and authentication profile view, the device preferentially uses the configuration in the authentication profile, which applies only to wireless users.
Run security-name enable
The security string function is enabled.
By default, the security string function is enabled.
Run security-name-delimiter delimiter
The security string delimiter is configured.
By default, the security string delimiter is an asterisk (*).
The security string delimiter can also be configured in the authentication profile view. If the security string delimiter is configured in both the AAA view and authentication profile view, the device preferentially uses the configuration in the authentication profile, which applies only to wireless users.
Procedure |
Command |
Description |
---|---|---|
Return to the system view. |
quit |
- |
Create an authentication profile and enter the authentication profile view. |
authentication-profile name authentication-profile-name |
By default, the device has six built-in authentication profiles: default_authen_profile, dot1x_authen_profile, mac_authen_profile, portal_authen_profile, dot1xmac_authen_profile, and multi_authen_profile. |
Specify a permitted domain for wireless users. |
permit-domain name domain-name &<1-4> |
By default, no permitted domain is specified for wireless users. After a permitted domain is specified in an authentication profile, only users in the permitted domain can be subject to authentication, authorization, and accounting. |