3com S7906E Guide De Référence

Page de 2327
 
1-26 
Examples 
# Create a manual port group named group1
<Sysname> system-view 
[Sysname] port-group manual group1 
[Sysname-port-group-manual-group1] 
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 Ethernet 2/0/1. 
<Sysname> reset counters interface ethernet 2/0/1 
shutdown 
Syntax 
shutdown 
undo shutdown 
View 
Ethernet interface view