Reset Packet-Drop Interface - H3C S5120-EI Series Command Reference Manual

Lan switching
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Parameters
interface-type: Specifies an interface type as GE port or 10-GE port..
interface-number: Specifies an interface number.
Description
Use the reset counters interface command to clear the statistics of an interface.
Before collecting traffic statistics for a specific period of time on an interface, clear the old statistics first.
If no interface type is specified, this command clears statistics for all interfaces.
If only the interface type is specified, this command clears statistics for all interfaces of the specified
interface type.
If both the interface type and interface number are specified, this command clears statistics for the
specified interface.
Examples
# Clear the statistics of GigabitEthernet 1/0/1.
<Sysname> reset counters interface gigabitethernet 1/0/1

reset packet-drop interface

Syntax
reset packet-drop interface [ interface-type [ interface-number ] ]
View
Any view
Default level
2: System level
Parameters
interface-type: Specify an interface type as GE port or 10-GE port. t.
interface-number: Specify an interface number.
Description
Use the reset packet-drop interface command to clear statistics of dropped packets on an interface or
multiple interfaces.
Sometimes you need to clear the old statistics before you can collect statistics of dropped packets.
If you do not specify an interface type or interface number, this command clears statistics of
dropped packets on all the interfaces on the device.
If you specify an interface type only, this command clears statistics of dropped packets on the
specified type of interfaces.
If you specify both the interface type and interface number, this command clears statistics of
dropped packets on the specified interface.
Examples
# Clear statistics of dropped packets on GigabitEthernet 1/0/1.
<Sysname> reset packet-drop interface GigabitEthernet 1/0/1
# Clear statistics of dropped packets on all interfaces.
36

Advertisement

Table of Contents
loading

Table of Contents