R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101

15
Parameters
interface-type interface-number: Specifies an interface by its type and number.
interface-number.subnumber: Subinterface number, where interface-number is an interface number;
subnumber is the number of a subinterface created under the interface. The value of subnumber ranges
from 1 to 4094.
Description
Use the reset counters interface command to clear the statistics of an interface or subinterface.
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 the interface or subinterface number are specified, this command
clears statistics for the specified interface or subinterface.
Examples
# Clear the statistics of Ethernet interface GigabitEthernet 0/3.
<Sysname> reset counters interface gigabitethernet 0/3
# Clear the statistics of Ethernet subinterface GigabitEthernet 0/3.1.
<Sysname> reset counters interface gigabitethernet 0/3.1
shutdown
Syntax
shutdown
undo shutdown
View
Ethernet interface view, Ethernet subinterface view
Default level
2: System level
Parameters
None
Description
Use the shutdown command to shut down an Ethernet interface or subinterface.
Use the undo shutdown command to bring up an Ethernet interface or subinterface.
By default, Ethernet interfaces and subinterfaces are the up state.
You may need to shut down and then bring up an Ethernet interface to activate configuration changes
such as the speed or duplex mode changes.
Examples
# Shut down and then bring up Ethernet interface GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1