R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

224
Usage guidelines
A QoS policy that references the behavior can be applied only to the outgoing traffic of an ATM PVC.
For more information about green, red, and yellow packets, see ACL and QoS Configuration Guide.
Examples
# Create a traffic behavior named database and configure the action of setting the CLP bit of ATM cells
to 1 for the traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] remark atm-clp 1
reset counters interface virtual-ethernet
Use reset counters interface virtual-ethernet to clear the statistics of Layer 3 VE interfaces.
Syntax
reset counters interface [ virtual-ethernet [ interface-number ] ]
Views
User view
Default command level
2: System level
Parameters
interface-number: Specifies the Layer 3 VE interface number.
Usage guidelines
To collect traffic statistics for a specified period of time on an interface, clear the old statistics first.
Without the virtual-ethernet keyword specified, this command clears the statistics of all interfaces
on the device.
If you specify the virtual-ethernet keyword without the interface-number argument, this command
clears the statistics of all Layer 3 VE interfaces.
Examples
# Clear the statistics of interface Virtual-Ethernet 1.
<Sysname> reset counters interface virtual-ethernet 1
service cbr
Use service cbr to specify the PVC service type as CBR.
Use the undo service command to restore the default.
Syntax
service cbr output-pcr [ cdvt cdvt-value ]
undo service
Default
The service type is UBR after a PVC is created.