reset qos traffic-counter

Use reset qos traffic-counter to clear the traffic statistics collected by a counter.

Syntax

In standalone mode:

reset qos traffic-counter { inbound | outbound } { counter0 | counter1 } slot slot-number

In IRF mode:

reset qos traffic-counter { inbound | outbound } { counter0 | counter1 } chassis chassis-number slot slot-number

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

inbound: Inbound direction.

outbound: Outbound direction.

counter0: Counter 0.

counter1: Counter 1.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. (In IRF mode.)

Examples

# (In standalone mode.) Clear the outbound traffic statistics collected by counter 0 on card 4.

<Sysname> reset qos traffic-counter outbound counter0 slot 4

# (In IRF mode.) Clear the outbound traffic statistics collected by counter 0 on card 4 on IRF member device 1.

<Sysname> reset qos traffic-counter outbound counter0 chassis 1 slot 4