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 - VPN 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - VPN
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 Function to Collect VPWS PW Traffic Statistics

Configuring the Function to Collect VPWS PW Traffic Statistics

The function to collect VPWS PW traffic statistics helps network administrators monitor network operating status and locate problems in an easier way.

Usage Scenario

To monitor network operating status and locate problems in an easier way on a VPWS network, configure the function to collect VPWS PW traffic statistics.

Pre-configuration Tasks

Before configuring the function to collect VPWS PW traffic statistics, complete the following tasks:

  • Configure network-layer parameters for devices to communicate.
  • Configure VPWS PWs.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The AC interface view is displayed.

  3. Run mpls l2vpn pw traffic-statistics enable [ secondary | bypass ]

    The function to collect VPWS PW traffic statistics is enabled.

    Note that:

    • If you do not specify secondary or bypass, the traffic statistics collection function applies to the primary VPWS PW.
    • If you specify secondary, the traffic statistics collection function applies to the secondary VPWS PW.
    • If you specify bypass, the traffic statistics collection function applies to the bypass VPWS PW.

  4. Run commit

    The configuration is committed.

Checking the Configurations

After configuring the function to collect VPWS PW traffic statistics, perform the following operation to check configuration results:
  • Run the display traffic-statistics l2vpn pw interface interface-type interface-number [ secondary | bypass ] command to check traffic statistics about a VPWS PW.

# Run the display traffic-statistics l2vpn pw interface interface-type interface-number [ secondary | bypass ] command. The command output shows traffic statistics about a VPWS PW.

<HUAWEI> display traffic-statistics l2vpn pw interface gigabitethernet 0/1/0
Interface name : GigabitEthernet0/1/0
 Statistics last cleared : never
 Last 300 seconds input rate : 0 bytes/sec, 0 packets/sec
 Last 300 seconds output rate: 0 bytes/sec, 0 packets/sec
 Input: 36 bytes, 18 packets
 Output: 36 bytes, 18 packets
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058925

Views: 36771

Downloads: 61

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