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

Reminder

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

upgrade

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).
Limiting the Number of MAC Addresses That Can Be Learned Through an 802.1X Authentication Interface

Limiting the Number of MAC Addresses That Can Be Learned Through an 802.1X Authentication Interface

The 802.1X authentication function conflicts with the mac-limit command (configuring the maximum number of MAC addresses that can be learned through an interface) and the mac-address learning disable command (disabling MAC address learning on an interface). Therefore, after 802.1X authentication is enabled on an interface, you cannot run the mac-limit and mac-address learning disable commands to limit the number of MAC addresses that can be learned through the interface. The following describes some alternative methods.

NAC Common Mode

  • (Applicable to all versions) Limit the number of concurrent access users for 802.1X authentication on an interface to limit the number of MAC addresses that can be learned through the interface.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1] dot1x max-user 3
  • (Applicable to V200R012 and later versions) Configure port security on an interface and limit the number of MAC addresses that can be learned through the interface.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1] port-security enable
    [HUAWEI-GigabitEthernet0/0/1] port-security max-mac-num 3

NAC Unified Mode

  • (Applicable to versions from V200R005 to V200R008) Limit the number of concurrent access users on an interface to limit the number of MAC addresses that can be learned through the interface.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1]  authentication mode multi-authen max-user 3
  • (Applicable to V200R009 and later versions) Configure the number of concurrent access users for 802.1X authentication in the authentication profile and apply the profile to the specified interface to limit the number of MAC addresses that can be learned through the interface.

    <HUAWEI> system-view
    [HUAWEI] dot1x-access-profile name d1
    [HUAWEI-dot1x-access-profile-d1] quit   //The default 802.1X authentication mode is EAP relay authentication.
    [HUAWEI] authentication-profile name p1
    [HUAWEI-authen-profile-p1] dot1x-access-profile d1
    [HUAWEI-authen-profile-p1] authentication mode multi-authen max-user 3 dot1x
    [HUAWEI-authen-profile-p1] quit
    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1] authentication-profile p1
  • (Applicable to V200R012 and later versions) Configure port security on an interface and limit the number of MAC addresses that can be learned through the interface.

    <HUAWEI> system-view
    [HUAWEI] interface gigabitethernet 0/0/1
    [HUAWEI-GigabitEthernet0/0/1] port-security enable
    [HUAWEI-GigabitEthernet0/0/1] port-security max-mac-num 3
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 83977

Downloads: 12092

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next