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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 13

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Maintaining VLAN

Maintaining VLAN

Collecting Statistics on VLAN Traffic

Context

You can enable the traffic statistics function on VLANs or VLANIF interfaces to view traffic statistics on VLANs or VLANIF interfaces, which implements VLAN traffic policing.

Procedure

  • View traffic statistics on VLANs.
    1. Run the statistics enable (VLAN view) command in the VLAN view to enable the traffic statistics function on VLANs.
    2. Run the display vlan vlan-id statistics command in any view to view traffic statistics on a specified VLAN.
  • View traffic statistics on VLANIF interfaces.
    1. Run the statistic enable (VLANIF view) command in the VLAN view to enable the traffic statistics function on VLANIF interfaces.
    2. Run the display interface vlanif [ vlan-id ] command in any view to view the traffic statistics on a VLAN interface.

Clearing the Statistics of VLAN Packets

Context

Before collecting traffic statistics in a specified time period on an interface, you need to reset the original statistics on the interface.

Statistics about VLAN packets cannot be restored after you clear it. So, confirm the action before you use the command.

To clear the Statistics of VLAN Packets, run the following reset vlan statistics command in the user view:

Procedure

  • Run the reset vlan vlan-id statistics command to clear packets of a specified VLAN statistics.

Enable GMAC ping to detect Layer 2 network connectivity

Context

Similar to IP ping, GMAC ping detects whether a fault occurs on an Ethernet link or monitors the link quality. GMAC ping efficiencly detects and locates Ethernet faults.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    ping mac enable

    GMAC ping is enabled globally.

    By default, GMAC ping is disabled.

    After GMAC ping is enabled on the device, the device can ping the remote device and respond to received GMAC ping packets.

  3. Run:

    commit

    The configuration is committed.

  4. Run:

    ping mac mac-address vlan vlan-id [ interface interface-type interface-number | -c count | -s packetsize | -t timeout ] *

    GMAC ping is performed to check connectivity of the link between the local device and the remote device.

Enable GMAC trace to locate faults

Context

Similar to IP traceroute, GMAC ping detects whether a fault occurs on an Ethernet link or monitors the link quality. GMAC trace efficiencly detects and locates Ethernet faults.

Procedure

  1. Configuring the devices at both ends of a link and intermediate device

    Perform the following operations on the devices at both ends of the link to be tested and intermediate device.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      trace mac enable

      GMAC trace is enabled globally.

      By default, GMAC trace is disabled.

      After GMAC ping is enabled on the device, the device can ping the remote device and respond to received GMAC ping packets.

    3. Run:

      commit

      The configuration is committed.

  2. Performing GMAC trace

    Perform the following operations on the device at one end of the link to be tested.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      trace mac mac-address vlan vlan-id [ interface interface-type interface-number | -t timeout ]*

      A connectivity fault between the local device and the remote device is located.

Translation
Download
Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 61166

Downloads: 3623

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