Reset Counters Interface - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

The destination MAC addresses of the received packets are already in the MAC address table of
the device.
The egress interfaces in the corresponding MAC address table entries are the receiving interface.
Use the undo port bridge enable command to disable bridging on an Ethernet port.
By default, bridging is not enabled on an Ethernet port.
Examples
# Enable bridging on layer 2 Ethernet port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port bridge enable

reset counters interface

Syntax
reset counters interface [ interface-type [ interface-number ] ]
View
User view
Default Level
2: System level
Parameters
interface-type: Interface type.
interface-number: Interface number.
Description
Use the reset counters interface command to clear the statistics of an interface.
Before sampling network traffic within a specific period of time on an interface, you need to clear the
existing statistics.
If neither interface type nor interface number is specified, this command clears the statistics of all
the interfaces.
If only the interface type is specified, this command clears the statistics of the interfaces that are of
the interface type specified.
If both the interface type and interface number are specified, this command clears the statistics of
the specified interface.
Examples
# Clear the statistics of GigabitEthernet 1/0/1.
<Sysname> reset counters interface gigabitethernet 1/0/1
1-24

Advertisement

Table of Contents
loading

Table of Contents