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

Configuration Guide - Security

S7700 and S9700 V200R011C10

This document describes the configurations of Security, including ACL, reflective ACL, local attack defense, MFF, attack defense, traffic suppression and storm control, ARP security, port security, DHCP snooping, ND snooping, PPPoE+, IPSG, SAVI, URPF, keychain, separating the management plane from the service plane, security risks.
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 the Generation of Snooping MAC Entries Based on the Binding Table

Configuring the Generation of Snooping MAC Entries Based on the Binding Table

Background

Snooping MAC entries are a type of secure MAC entries. They are dynamically generated based on binding entries. After a device is configured to generate snooping MAC entries based on the binding table, the device does not dynamically learn MAC addresses, and only the hosts in the binding table can communicate with the device. This function improves communication security.

IPSG based on binding table prevents the hosts with unauthorized MAC addresses from accessing the network, but cannot solve the MAC address flapping problem caused by incorrect MAC address table updates. In Figure 12-12, when a malicious host sends data (for example, bogus ARP packets) to the switch by using an authorized host's MAC address, the switch incorrectly updates the MAC address table. As a result, the malicious host can intercept the packets destined for the authorized host.

Figure 12-12  Incorrect MAC address table update

If the device does not dynamically learn MAC entries and generates snooping MAC entries based on the binding table, the preceding problem can be solved.

Do not use this function with any of the following functions because it conflicts with them.

Function Description

Command

Enable 802.1X authentication on an interface.

dot1x enable

Enable MAC address authentication on an interface.

mac-authen

Enable MAC address learning.

mac-address learning disable (interface view and VLAN view)

Set the maximum number of MAC addresses to be learned.

mac-limit

Enable VLAN mapping.

port vlan-mapping vlan map-vlan

port vlan-mapping vlan inner-vlan

Configure port security.

port-security enable

Pre-configuration Tasks

Before configuring this function, create a static or dynamic binding entry.
NOTE:

When configuring a static binding entry, specify as a minimum the MAC address, VLAN ID, and interface number. The VLAN ID must already exist on the device. The device can then generate snooping MAC entries based on the static binding table.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the interface interface-type interface-number command to enter the interface view.
  3. Run the user-bind ip sticky-mac command to enable the device to generate snooping MAC entries.

    By default, the device does not generate snooping MAC entries.

Verifying the Configuration

Run the display mac-address snooping [ interface-type interface-number | vlan vlan-id ] * [ verbose ] command to view snooping MAC entries generated based on the binding table.

Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178319

Views: 151293

Downloads: 82

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