How to configure the critical VLAN function on S series switches

During 802.1x authentication, when a fault occurs on the network between the access device and the authentication server or the authentication server fails, the authentication process on the network is interrupted. As a result, a user fails authentication and cannot access network resources. You can configure the critical VLAN function to solve this problem. When a fault occurs on the network between the access device and the authentication server or the authentication server fails, an 802.1x authentication user is added to the critical VLAN, and then can access resources in the critical VLAN.
Configure a critical VLAN on S series switches (except the S1700) as follows:
- Perform the following operations in the system view:
[HUAWEI] vlan batch 20
[HUAWEI] undo authentication unified-mode //Skip this step on switches running versions earlier than V200R005C00.
[HUAWEI] dot1x enable
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type hybrid
[HUAWEI-GigabitEthernet1/0/1] port hybrid untagged vlan 20 //The critical VLAN takes effect only for hybrid or access interfaces added to the critical VLAN in untagged mode.
[HUAWEI-GigabitEthernet1/0/1] quit
[HUAWEI] dot1x enable interface gigabitethernet 1/0/1
[HUAWEI] dot1x port-method port interface gigabitethernet 1/0/1
[HUAWEI] authentication critical-vlan 20 interface gigabitethernet 1/0/1
- Perform the following operations in the interface view:
[HUAWEI] vlan batch 20
[HUAWEI] undo authentication unified-mode //Skip this step on switches running versions earlier than V200R005C00.
[HUAWEI] dot1x enable
[HUAWEI] interface gigabitethernet 1/0/1
[HUAWEI-GigabitEthernet1/0/1] port link-type hybrid
[HUAWEI-GigabitEthernet1/0/1] port hybrid untagged vlan 20 //The critical VLAN takes effect only for hybrid or access interfaces added to the critical VLAN in untagged mode.
[HUAWEI-GigabitEthernet1/0/1] dot1x enable
[HUAWEI-GigabitEthernet1/0/1] dot1x port-method port
[HUAWEI-GigabitEthernet1/0/1] authentication critical-vlan 20

Other related questions:
How to configure the restrict VLAN function on S series switches
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top