The default-domain command configures a default domain.
The default-domain pre-authentication command configures a default pre-authentication domain, to which an IP address pool is bound. The NetEngine 8000 F assigns IP addresses in this IP address pool to users through DHCP.
The default-domain authentication command configures a default authentication domain.
The undo default-domain command restores the default domain name pre-configured on the device.
By default, the pre-authentication domain is default0;the authentication domain is default1.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
pre-authentication |
Configures a pre-authentication domain, which is used when the device assigns IP addresses to users. |
- |
domain-name |
Specifies a domain name. |
The value is a string of 1 to 64 characters. |
authentication |
Configures a default authentication domain. |
- |
force |
Indicates the default-domain authentication force. A user adopts the authentication scheme that is configured in this domain, regardless of whether a domain name is contained in the input user account or what the domain name is. If a domain name is contained in the user account, the domain name remains unchanged during authentication; if no domain name is contained, the default-domain authentication force is added to the user account. |
- |
replace |
Indicates default-domain authentication replace. A user adopts the authentication scheme that is configured in this domain, regardless of whether a domain name is contained in the input user account or what the domain name is. If a domain name is contained in the user account, the domain name is replaced with the default-domain authentication replace during authentication; if no domain name is contained, the default-domain authentication replace is added to the user account. |
- |
Usage Scenario
When binding authentication or Web authentication is adopted for VLAN users on a BAS interface, the default domain on the BAS interface can be used as the user domain.
In binding authentication, the default domain name is used to generate a user name. In Web authentication, if no domain name is entered, the policy configured in the default domain is used for authentication, authorization, and accounting.If force is configured for the default authentication domain, the policy in the default authentication domain is forcibly used for a VLAN user, irrespective of whether the user is configured with a domain name. If replace is configured, the original domain name of a user is forcibly replaced by the default authentication domain name. Assume that a user getting online with a domain name and the user inputs a user account, namely, user@A.Assume that a user getting online without a domain name and the user inputs a user account, namely, user.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain huawei [~HUAWEI-aaa-domain-huawei] commit [~HUAWEI-aaa-domain-huawei] quit [~HUAWEI-aaa] quit [~HUAWEI] interface GigabitEthernet 0/1/9 [*HUAWEI-GigabitEthernet0/1/9] bas [*HUAWEI-GigabitEthernet0/1/9-bas] commit [*HUAWEI-GigabitEthernet0/1/9-bas] default-domain pre-authentication huawei authentication force huawei