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

Created: Aug 8, 2016 16:11:37Latest reply: Aug 8, 2016 16:14:09 1971 1 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

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:

user_1763575     Created Aug 8, 2016 16:14:09 Helpful(0) Helpful(0)

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

thanks

  • x
  • convention:

Reply

Reply
You need to log in to reply 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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top