R2511-HP MSR Router Series MPLS Command Reference(V5)

337
[Sysname] interface ve-l2vpn-terminate 100
[Sysname-VE-L2VPN-Terminate100] mtu 1430
# Set the MTU for interface VE-L3VPN-Access 100 to 1430 bytes.
<Sysname> system-view
[Sysname] interface ve-l3vpn-access 100
[Sysname-VE-L3VPN-Access100] mtu 1430
reset counters interface
Use reset counters interface to clear interface statistics.
Syntax
reset counters interface [ ve-l2vpn-terminate [ interface-number ] | ve-l3vpn-access [ interface-number
| interface-number.subnumber ] ]
Views
User view
Default command level
2: System level
Parameters
ve-l2vpn-terminate: Clears statistics on the terminating VE interfaces.
ve-l3vpn-access: Clears statistics on the access VE interfaces.
interface-number: Specifies the number of a terminating VE interface or access VE interface, in the range
of 1 to 8192.
interface-number.subnumber: Specifies the number of an access VE subinterface. The interface-number
argument specifies the number of an access VE interface, in the range of 1 to 8192. The subnumber
argument specifies the number of a subinterface created on the access VE interface, in the range of 0 to
1023.
Usage guidelines
Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first
by using this command.
If you do not specify an interface type (by ve-l2vpn-terminate or ve-l3vpn-access), this command
clears statistics for all interfaces.
If you specify an interface type but do not specify an interface number (by interface-number or
interface-number.subnumber), this command clears statistics for all interfaces of that type.
If you specify both an interface type and an interface number, this command clears statistics for the
specified interface or subinterface.
Examples
# Clear statistics on interface VE-L2VPN-Terminate 100.
<Sysname> reset counters interface ve-l2vpn-terminate 100
# Clear statistics on interface VE-L3VPN-Access 100.
<Sysname> reset counters interface ve-l3vpn-access 100