How to add a MAC address for MAC address authentication on S series switches

3

For S series switches (except the S1700), if a new MAC address entry is generated after MAC address authentication is configured on an interface, MAC address authentication will be performed for the MAC address. You can perform the following operations to add a MAC address for MAC address authentication.
[HUAWEI] interface Vlanif 10
[HUAWEI-Vlanif10] mac-authen permit mac-address 1111-1111-1111 mask 24

Other related questions:
S series switches' support for MAC address authentication
S series switches (except the S1700) support MAC address authentication as follows: - In V100R006, switches except the S2700SI and S2710SI support MAC address authentication. - In versions later than V100R006, all switches support MAC address authentication.

Configure MAC address bypass authentication on S series switch
On S series switches (except S1700), you can enable MAC address bypass authentication for terminals such as printers on which the 802.1x client software cannot be installed or used to allow these terminals to access the network. For example, if a large number of PCs and a small number of dumb terminals are connected to GE1/0/1 and GE1/0/5, to ensure that the PCs and dumb terminals access the network, you can enable 802.1x authentication and MAC address bypass authentication on GE1/0/1 and GE1/0/5. The following describes the configuration: - Configure multiple interfaces in a batch in the system view. [HUAWEI] dot1x enable [HUAWEI] dot1x enable interface gigabitethernet 1/0/1 gigabitethernet 1/0/5 [HUAWEI] dot1x mac-bypass interface gigabitethernet 1/0/1 gigabitethernet 1/0/5 - Configure each interface in the interface view. [HUAWEI] dot1x enable [HUAWEI] interface gigabitethernet 1/0/1 [HUAWEI-GigabitEthernet1/0/1] dot1x enable [HUAWEI-GigabitEthernet1/0/1] dot1x mac-bypass [HUAWEI-GigabitEthernet1/0/1] quit [HUAWEI] interface gigabitethernet 1/0/5 [HUAWEI-GigabitEthernet 1/0/5] dot1x enable [HUAWEI-GigabitEthernet 1/0/5] dot1x mac-bypass Precautions: 1. In addition to performing the preceding configuration, you still need to add MAC addresses of terminals on the authentication server. For details, see the configuration guide of the authentication server. 2. In V200R005C00 and later version, S series switches support MAC address bypass authentication only in NAC traditional configuration mode.

How to configure MAC address authentication on S series switches
MAC address authentication controls a user's network access rights based on the access port and the user's MAC address. The user does not need to install any client software. For switches running V200R003C10 and earlier versions, NAC can be configured only in common mode. For switches running V200R005C00 and later versions, NAC can be configured in common or unified mode. Accordingly, MAC address authentication can be configured in common or unified mode. For switches running V200R009C00, the configuration model of NAC unified mode changes. Query the appropriate product manual based on the switch model and version. The following links are for reference only. - See "NAC Configuration (Common Mode) - Example for Configuring MAC Address Authentication to Control Internal User Access" in S2750&S5700&S6720 V200R008C00 Configuration Guide - User Access and Authentication. - See "NAC Configuration (Unified Mode) - Example for Configuring MAC Address Authentication to Control Internal User Access (RADIUS Authentication Is Used)" or "NAC Configuration (Unified Mode) - Example for Configuring MAC Address Authentication to Control Internal User Access" in S2750&S5700&S6720 V200R008C00 Configuration Guide - User Access and Authentication. - See "NAC Configuration (Unified Mode) - Example for Configuring MAC Address Authentication" in S1720&S2700&S5700&S6720 V200R009C00 Configuration Guide - User Access and Authentication.

How is an S series switch process the Query message with the destination MAC address as the unicast MAC address
After Layer 2 multicast is enabled on a switch, the switch checks the destination MAC addresses of received IGMP messages. If the destination MAC address of a packet does not match its destination IP address, the switch drops the packet. Therefore, when the switch receives IGMP Query messages with unicast destination MAC addresses, it drops the messages. As a result, user hosts cannot receive the Query messages, and multicast forwarding entries on the switch cannot be updated. Then multicast forwarding is interrupted. When the switch connects to an ME60 and the ME60 performs multicast replication on a per user basis, IGMP Query messages sent from the ME60 uses user MAC addresses as destination MAC addresses. The switch drops these IGMP Query messages. In this case, modify the configuration on the ME60 to ensure that the IGMP Query messages sent from the ME60 use destination MAC addresses mapping their destination IP addresses. Then the switch can generate a router port when receiving the Query messages and forward the Query message to user hosts.

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