No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Layer 2 Transparent Transmission of 802.1X Authentication Packets

Configuring Layer 2 Transparent Transmission of 802.1X Authentication Packets

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 19-1  Configuring Layer 2 transparent transmission of 802.1X authentication packets

As shown in Figure 19-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 S5700LI 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
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 123398

Downloads: 13192

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next