The dot1x force-domain command configures a forcible authentication domain on an interface for 802.1X authentication.
The undo dot1x force-domain command deletes a forcible authentication domain.
By default, no forcible authentication domain is configured on an interface.
Usage Scenario
After a forcible authentication domain is configured, the system uses the authentication policy configured in this domain to authenticate users, and all 802.1X users accessing this interface must be authenticated in this domain. To configure a forcible authentication domain, run the dot1x force-domain command.
Prerequisites
802.1X authentication has been enabled on the interface using the dot1x enable command.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] aaa [~HUAWEI-aaa] domain domain1 [~HUAWEI-aaa-domain-domain1] commit [~HUAWEI-aaa-domain-domain1] quit [~HUAWEI-aaa] quit [~HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] commit [*HUAWEI-GigabitEthernet0/1/1] dot1x enable [*HUAWEI-GigabitEthernet0/1/1] dot1x force-domain domain1