Examples
# Bind interface Serial 2/0 to VT interface 1. (Assume the interface has PPP encapsulation enabled.)
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] ppp mp virtual-template 1
reset counters interface mp-group
Use reset counters interface mp-group to clear traffic statistics on MP-group interfaces.
Syntax
reset counters interface [ mp-group [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
interface-number: Number of an MP-group interface.
Usage guidelines
Before collecting traffic statistics within a specific period of time on an MP-group interface, clear the
existing statistics.
If you do not specify the mp-group keyword, this command clears statistics on all interfaces.
If you specify the mp-group keyword without the interface-number argument, this command clears
statistics on all MP-group interfaces.
Examples
# Clear the statistics of interface MP-group3.
<Sysname> reset counters interface mp-group 3
reset counters interface virtual-template
Use reset counters interface virtual-template to clear statistics on VTs.
Syntax
reset counters interface [ virtual-template [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
interface-number: Number of a VT.
Usage guidelines
Before collecting traffic statistics within a specific period of time on a VT, clear the existing statistics.
40