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

ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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 MAC Accounting for a Broadcast Domain

Configuring MAC Accounting for a Broadcast Domain

MAC accounting can be enabled for a specified broadcast domain, allowing the device to collect Layer 2 traffic statistics of the target domain based on MAC addresses.

Usage Scenario

MAC accounting applies to the following scenario:
  • If a device is under DDoS attacks, enable MAC accounting, allowing the device to collect the statistics of traffic from each peer based on MAC addresses. If the traffic from a peer is huge, the peer may be an attack source.

Pre-configuration Tasks

Before configuring MAC accounting for a broadcast domain, complete the broadcast domain configuration.
NOTE:
  • MAC accounting applies only to the BD and VSI types of broadcast domains.

  • MAC accounting does not apply to VSIs in bridge mode or PBB mode.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Enable MAC accounting for a broadcast domain.

    Enable MAC accounting for a BD.

    1. Run bridge-domain bd-id

      The BD view is displayed.

    2. Run mac accounting enable

      MAC accounting is enabled for the BD.

    Enable MAC accounting for a VSI.

    1. Run vsi vsi-name

      The VSI view is displayed.

    2. Run mac accounting enable

      MAC accounting is enabled for the VSI.

  3. Run commit

    The configuration is committed.

Checking the Configurations

After configuring MAC accounting for a broadcast domain, run the display mac-address verbose command to check the MAC address-based traffic statistics of the domain.

<HUAWEI> display mac-address verbose
MAC address table of slot 3:
-------------------------------------------------------------------------------
MAC Address: 0000-c055-0102      VLAN/BD/VSI/SI/EVPN: 1                         
Port       : GE0/3/24.1          Type               : dynamic                   
PEVLAN     : 1                   CEVLAN             : -                         
TrustFlag  : 1                   TrustPort          : GE0/3/24.1                
Peer IP    : -                   VC-ID              : -                         
Aging time : 300                 LSP/MAC_Tunnel     : 3/-                       
TimeStamp  : 5917                
MacAccountingEnable: Enable
MAC address used as destination:
Packet count:       1               Byte count:         128
MAC address used as source:
Packet count:       2               Byte count:         256
-------------------------------------------------------------------------------
Total matching items on slot 3 displayed = 1
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059440

Views: 26469

Downloads: 18

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