Parameter | Description | Value |
---|---|---|
all |
Clears the traffic statistics about all VPWS PWs. |
- |
interface interface-type interface-number |
Clears traffic statistics about a VPWS PW on the specified interface. |
- |
secondary |
Clears traffic statistics about the secondary VPWS PW. |
- |
bypass |
Clears traffic statistics about the bypass VPWS PW. |
- |
Usage Scenario
The system starts to collect VPWS PW traffic statistics after the function to collect VPWS PW traffic statistics is enabled. To clear these traffic statistics, run the reset traffic-statistics l2vpn pw command. To view VPWS PW traffic statistics collected during a specified period of time for the network monitoring or troubleshooting purpose, use the reset traffic-statistics l2vpn pw and display traffic-statistics l2vpn pw commands together.
Configuration Impact
After the reset traffic-statistics l2vpn pw command is run, the system clears existing VPWS PW traffic statistics and recollects VPWS PW traffic statistics.
<HUAWEI> reset traffic-statistics l2vpn pw interface GigabitEthernet 0/1/16 bypass
<HUAWEI> reset traffic-statistics l2vpn pw interface GigabitEthernet 0/1/8 secondary
<HUAWEI> reset traffic-statistics l2vpn pw interface GigabitEthernet 0/1/0
<HUAWEI> reset traffic-statistics l2vpn pw all