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 - Ethernet Switching

S7700 and S9700 V200R012C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, and Layer 2 protocol transparent transmission.
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).
Enabling MAC Address Trap Functions

Enabling MAC Address Trap Functions

Context

When trap functions are enabled on the switch, it sends an alarm if the MAC address usage exceeds the threshold, a MAC address changes, or a MAC address hash conflict occurs. The switch provides three trap functions for MAC address entries, enabling you to monitor the usage of MAC address table resources.

Table 2-8  Three trap functions for MAC address entries

Trap Function

Description

MAC address usage out of the specified range

An alarm is generated when the MAC address usage is higher than 80%, and a clear alarm is generated when the MAC address usage is lower than 70%.

A clear alarm can be generated only if a threshold-exceeding alarm has been generated.

A threshold-exceeding alarm indicates that the MAC address usage is too high. You are advised to redistribute traffic or expand the network.

MAC address learning or aging

An alarm is generated when a MAC address entry is learned or aged. The switch does not send an alarm when a MAC address entry is learned or aged in a VSI.

MAC address hash conflict

To improve the MAC address forwarding performance, the MAC address table of the switch is saved using a hash chain. If multiple MAC addresses map the same key value in accordance with the hash algorithm, some MAC addresses may not be learned. That is, a MAC address hash conflict occurs.

In this situation, the MAC address entries cannot be learned even though the MAC address table is not full.

A MAC address hash conflict does not affect traffic forwarding. The switch broadcasts traffic destined for the conflicting MAC addresses, occupying bandwidth and system resources. You can replace the network adapter of the switch or terminal to prevent MAC address hash conflicts.

NOTE:

The SA cards on S series switches do not support the trap function.

Procedure

  • Enable the trap function for MAC address usage out of the specified range.
    1. Run system-view

      The system view is displayed.

    2. Run mac-address threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

      The upper and lower alarm thresholds for the MAC address usage are set.

    By default, the upper and lower alarm thresholds for the MAC address usage are 80% and 70% respectively. An alarm is generated when the MAC address usage is higher than 80%, and a clear alarm is generated when the MAC address usage is lower than 70%.

  • Enable the trap function for MAC address learning or aging.
    1. Run system-view

      The system view is displayed.

    2. (Optional) Run mac-address trap notification interval interval-time

      The interval at which the switch checks MAC address learning or aging is set.

      By default, the switch checks MAC address learning or aging at intervals of 10s.

    3. Run interface interface-type interface-number

      The interface view is displayed.

    4. Run mac-address trap notification { aging | learn | all }

      The trap function for MAC address learning and aging is enabled on the interface.

      By default, the trap function for MAC address learning or aging is disabled.

  • Enable the trap function for MAC address hash conflicts.
    1. Run system-view

      The system view is displayed.

    2. Run mac-address trap hash-conflict enable

      The trap function for MAC address hash conflicts is enabled.

      By default, the trap function for MAC address hash conflicts is enabled.

    3. (Optional) Run mac-address trap hash-conflict history history-number

      The number of MAC address hash conflict alarms reported at an interval is set.

      By default, 10 MAC address hash conflict alarms are reported at an interval.

    4. (Optional) Run mac-address trap hash-conflict interval interval-time

      The interval at which MAC address hash conflict alarms are reported is set.

      By default, MAC address hash conflict alarms are reported at intervals of 60s.

Verifying the Configuration

Run the display current-configuration command to check MAC address trap functions on the switch.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038843

Views: 95252

Downloads: 67

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