802.1x remote authentication on S series switch

19

In 802.1x remote authentication and authorization, user information (including the user name, password and attributes) is configured on the remote AAA server. 802.1x remote authentication and authorization feature high network security.
S series switches (except S1700 switches) running V200R003C10 or an earlier version supports only traditional NAC configuration. Switches running V200R005C00 or a later version support both traditional and unified NAC configuration. By default, unified NAC configuration is used. 802.1x remote authentication also supports traditional and unified modes. 802.1x remote authentication configuration is the same on all switch models:
- For the traditional 802.1x remote authentication configuration, see "Example for Configuring 802.1x Authentication to Control Internal User Access" in "Configuring NAC (Common Mode)" of Typical Configuration Examples.
- For the unified 802.1x remote authentication configuration, see "Example for Configuring 802.1x Authentication to Control Internal User Access" in "Configuring NAC (Unified Mode)" of Typical Configuration Examples.

Other related questions:
802.1x remote authentication on S series switch
In 802.1x remote authentication and authorization, user information (including the user name, password and attributes) is configured on the remote AAA server. 802.1x remote authentication and authorization feature high network security. S series switches (except S1700 switches) running V200R003C10 or an earlier version supports only traditional NAC configuration. Switches running V200R005C00 or a later version support both traditional and unified NAC configuration. By default, unified NAC configuration is used. 802.1x remote authentication also supports traditional and unified modes. 802.1x remote authentication configuration is the same on all switch models: - For the traditional 802.1x remote authentication configuration, see "Example for Configuring 802.1x Authentication to Control Internal User Access" in "Configuring NAC (Common Mode)" of Typical Configuration Examples. - For the unified 802.1x remote authentication configuration, see "Example for Configuring 802.1x Authentication to Control Internal User Access" in "Configuring NAC (Unified Mode)" of Typical Configuration Examples.

How to configure remote 802.1x authentication
In remote authentication and authorization, user information including the user name, password, and attributes is configured on the remote AAA server. This mode has high network security. An example is used here to describe remote 802.1x authentication. Assume that a user connects to GE1/0/0 on an AR and belongs to VLAN 10. GE1/0/2 connects to the RADIUS server and belongs to VLAN 20. RADIUS authentication and non-accounting are used for the user, and the IP address of the RADIUS server is 192.168.2.30:1812. 1. Configure interfaces and VLANs so that the AR can communicate with the RADIUS server. [Huawei] vlan batch 10 20 [Huawei] interface gigabitethernet 1/0/1 [Huawei-GigabitEthernet1/0/1] port link-type access [Huawei-GigabitEthernet1/0/1] port default vlan 10 [Huawei-GigabitEthernet1/0/1] quit [Huawei] interface gigabitethernet 1/0/2 [Huawei-GigabitEthernet1/0/2] port link-type access [Huawei-GigabitEthernet1/0/2] port default vlan 20 [Huawei-GigabitEthernet1/0/2] quit 2. Configure a RADIUS server template, a domain, and AAA schemes. [Huawei] radius-server template rd1 [Huawei-radius-rd1] radius-server authentication 192.168.2.30 1812 [Huawei-radius-rd1] radius-server shared-key cipher Huawei@2012 [Huawei-radius-rd1] quit [Huawei] aaa [Huawei-aaa] authentication-scheme abc [Huawei-aaa-authen-abc] authentication-mode radius [Huawei-aaa-authen-abc] quit [Huawei-aaa] domain isp1 [Huawei-aaa-domain-isp1] authentication-scheme abc [Huawei-aaa-domain-isp1] radius-server rd1 [Huawei-aaa-domain-isp1] quit [Huawei-aaa] quit 3. Enable 802.1x globally and interfaces. [Huawei] dot1x enable [Huawei] interface gigabitethernet 1/0/1 [Huawei-GigabitEthernet1/0/1] dot1x enable

802.1x local authentication configuration on S series switch
For S series switches except S1700 switches, in 802.1x local authentication and authorization, user information (including the local user name, password, and attributes) is configured on the switch. 802.1x local authentication and authorization feature fast processing and low operation cost, whereas the amount of information that can be stored is limited by the switch hardware capacity.
Assume that the user connects to GE0/0/1 of the switch and belongs to VLAN 100. In addition, the user uses local authentication and can connect to the network without authorization. Configure 802.1x local authentication as follows:
1. Create VLAN 100, and add interface GE0/0/1 to this VLAN.
[HUAWEI] vlan 100 
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type access
[HUAWEI-GigabitEthernet0/0/1] port default vlan 100 
[HUAWEI-GigabitEthernet0/0/1] quit
2. Configure the local user and the authentication domain of the user.
[HUAWEI] aaa     
[HUAWEI-aaa] local-user huawei password cipher hello@123
[HUAWEI-aaa] local-user huawei service-type 8021x
[HUAWEI-aaa] authentication-scheme test
[HUAWEI-aaa-authen-test] authentication-mode local
[HUAWEI-aaa-authen-test] quit
[HUAWEI-aaa] authorization-scheme test
[HUAWEI-aaa-author-test] authorization-mode none
[HUAWEI-aaa-author-test] quit
[HUAWEI-aaa] domain default_admin
[HUAWEI-aaa-domain-default_admin] authentication-scheme test
[HUAWEI-aaa-domain-default_admin] authorization-scheme test
3. Enable 802.1x  authentication globally and on a specified interface.
a. Traditional mode (applicable to all versions)
[HUAWEI] undo authentication unified-mode  //Switch to the traditional mode (This configuration applies only to V200R005C00 and later versions.)
[HUAWEI] quit
<HUAWEI> reboot   //This configuration applies only to V200R005C00 and later versions.
[HUAWEI] dot1x enable
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI-GigabitEthernet0/0/1] dot1x enable
[HUAWEI-GigabitEthernet0/0/1] dot1x authentication-method eap
b. Unified mode (applicable to V200R005C00 and later versions)
[HUAWEI] authentication unified-mode 
[HUAWEI] interface gigabitethernet0/0/1
[HUAWEI-GigabitEthernet0/0/1] authentication dot1x
[HUAWEI-GigabitEthernet0/0/1] authentication mode multi-authen max-user 100

S series switches' support for 802.1x authentication
S series switches (except the S1700) excluding the S2700SI and S2710SI support 802.1x authentication.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top