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

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, 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).
Collecting Traffic Statistics Collection in a VLAN

Collecting Traffic Statistics Collection in a VLAN

Context

You can enable traffic statistics collection on a VLAN or on a VLANIF interface to monitor VLAN traffic.

Procedure

  • Configure traffic statistics collection in a VLAN.
    1. Run the system-view command to enter the system view.
    2. Run the vlan vlan-id command to enter the VLAN view.
    3. In the VLAN view, run the statistics enable command to enable traffic statistics collection in a VLAN.

      By default, traffic statistics collection is disabled in a VLAN.

      NOTE:

      If the forwarding mode on a CE6880EI switch is cut through, the switch cannot collect traffic statistics in a VLAN.

    4. Run the commit command to commit the configuration.
  • Configure traffic statistics collection on a VLANIF interface.

    NOTE:

    The CE6810LI cannot collect traffic statistic on a VLANIF interface.

    1. Run the system-view command to enter the system view.
    2. Run the interface vlanif vlan-id command to enter the VLANIF interface view.
    3. (Optional) Run the ipv6 enable command to enable IPv6 function on the interface.

      By default, the IPv6 function is disabled on an interface.

      Before enabling IPv6 packet statistics collection on a VLANIF interface, enable the IPv6 function on the interface.

    4. Enable traffic statistics collection on the VLANIF interface.

      • For CE5800 (excluding the CE5855EI), CE6810EI, CE6850EI and CE6880EI, run the statistic enable command.
      • For CE6870EI and CE6875EI switches, run the statistic [ ipv6 ] enable [ inbound | outbound ] command.
      • For CE5855EI, CE6800, CE7800, and CE8800 series switches excluding the CE6810EI, CE6850EI, CE6870EI, CE6875EI, and CE6880EI, run the statistic [ ipv4 | ipv6 ] enable command.

      By default, traffic statistics collection is disabled on a VLANIF interface.

    5. Run the commit to commit the configuration.

Follow-up Procedure

  • Run the display vlan vlan-id statistics command in any view to check traffic statistics in a specified VLAN.

  • Run the display interface vlanif [ vlan-id ] command in any view to check traffic statistics on a VLANIF interface.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125059

Downloads: 295

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