27DescriptionUse 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 specifiedinterface type.• If both the interface type and interface number are specified, this command clears statistics for thespecified interface.Examples# Clear the statistics of GigabitEthernet 1/0/1. reset counters interface gigabitEthernet 1/0/1shutdownSyntaxshutdownundo shutdownViewEthernet interface viewDefault level2: System levelParametersNoneDescriptionUse the shutdown command to shut down an Ethernet interface.Use the undo shutdown command to bring up an Ethernet interface.By default, an Ethernet interface is in the up state.You may need to shut down and then bring up an Ethernet interface to activate configuration changes incertain circumstances, for example, after changing the speed or duplex mode of the interface.CAUTION:Use this command with caution. After you shut down an Ethernet interface by using this command, theEthernet interface cannot forward packets even if it is physically connected.Examples# Shut down and then bring up interface GigabitEthernet1/0/1. system-view[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] shutdown[Sysname-GigabitEthernet1/0/1] undo shutdown