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

S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 Switch to Discard Packets with an All-0 MAC Address

Configuring the Switch to Discard Packets with an All-0 MAC Address

Context

A faulty network device may send packets with an all-0 source or destination MAC address to the switch. You can configure the switch to discard such packets and send an alarm to the network management system (NMS) to help the network administrator locate the faulty device.

You can configure the switch to discard packets with an all-0 source or destination MAC address.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    drop illegal-mac enable

    The switch is enabled to discard packets with an all-0 MAC address.

    By default, the switch does not discard packets with an all-0 MAC address.

  3. (Optional) Run:

    drop illegal-mac alarm

    The switch is configured to send an alarm to the NMS when receiving packets with an all-0 MAC address.

    By default, the switch does not send an alarm when receiving packets with an all-0 MAC address.

    NOTE:

    The drop illegal-mac alarm command allows the switch to generate only one alarm. You must run the drop illegal-mac alarm command again if more than one alarm is required.

Checking the Configuration

Run the display current-configuration command to check whether the switch is enabled to discard packets with an all-0 MAC address.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 255753

Downloads: 408

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