Defense measures and specific configurations for MAC address flooding attacks

Source: Internet
Author: User

  MAC address flooding attack refers to the MAC address Learning mechanism of the switch, the attacker constantly refreshes the Mac address, fills the switch's mac The Address Table crashes so that the switch has to use the broadcast packet to get other people's message information.

defense measures and specific configurations for MAC address flooding attacks

Limit the number of ports that are connected to the access switch.

For example, this port of the switch can be set up to learn ten mac addresses, to stop learning over ten mac addresses, Discard the later mac.

  

The specific code is as follows:

[HUAWEI-ETHERNET0/0/1] port-security Enable
[HUAWEI-ETHERNET0/0/1] port-security mac-address Sticky
[HUAWEI-ETHERNET0/0/1] port-security protect-action Protect
[HUAWEI-ETHERNET0/0/1] port-security max-mac-num x

X refers to the number of MAC addresses that can be set for learning.

Defense measures and specific configurations for MAC address flooding attacks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.