Got it

Common NAC Operations : Configuring Layer 2 Transparent Transmission of 802.1x Authentication Packets

Latest reply: Aug 8, 2016 08:14:09 2520 1 0 0 0

The EAP packet in 802.1x authentication is a bridge protocol data unit (BPDU). By default, Huawei switches do not perform Layer 2 forwarding for BPDUs. If a Layer switch still exists between the 802.1x-enabled device and a user, Layer 2 transparent transmission must be configured on the switch. Otherwise, the EAP packet sent by the user cannot reach the authentication device and the user cannot pass authentication.

Figure 1 Configuring Layer 2 transparent transmission of 802.1x authentication packets
Common NAC Operations : Configuring Layer 2 Transparent Transmission of 802.1x Authentication Packets-1938579-1

As shown in Figure 1, there is the Layer 2 LAN Switch between the user and device Switch enabled with 802.1x authentication. To ensure that the user's 802.1x authentication packet can reach the Switch through the LAN Switch, perform the following configurations on the LAN Switch (using the S5700HI as an example of the Layer 2 switch).

<HUAWEI> system-view
[HUAWEI] sysname LAN Switch
[LAN Switch] l2protocol-tunnel user-defined-protocol dot1x protocol-mac 0180-c200-0003 group-mac 0100-0000-0002   //group-mac cannot be set to the reserved multicast MAC addresses (from 0180-C200-0000 to 0180-C200-002F) and some other special MAC addresses.
[LAN Switch] interface gigabitethernet 0/0/1 //Connect the Layer 2 switch to the uplink network and configure all interfaces of the users.
[LAN Switch-GigabitEthernet0/0/1] l2protocol-tunnel user-defined-protocol dot1x enable
[LAN Switch-GigabitEthernet0/0/1] bpdu enable
[LAN Switch-GigabitEthernet0/0/1] quit
[LAN Switch] interface gigabitethernet 0/0/2
[LAN Switch-GigabitEthernet0/0/2] l2protocol-tunnel user-defined-protocol dot1x enable
[LAN Switch-GigabitEthernet0/0/2] bpdu enable
[LAN Switch-GigabitEthernet0/0/2] quit
[LAN Switch] interface gigabitethernet 0/0/3
[LAN Switch-GigabitEthernet0/0/3] l2protocol-tunnel user-defined-protocol dot1x enable
[LAN Switch-GigabitEthernet0/0/3] bpdu enable
[LAN Switch-GigabitEthernet0/0/3] quit




  • x
  • convention:

Created Aug 8, 2016 08:14:09

Common NAC Operations : Configuring Layer 2 Transparent Transmission ...


View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.