29
Usage guidelines
If you do not specify an interface type, this command clears dropped packet statistics for all
interfaces on the device.
If you specify an interface type but do not specify an interface number, the command clears dropped
packet statistics for all interfaces of the specified type.
Examples
# Clear dropped packet statistics for GigabitEthernet 1/0/1.
<Sysname> reset packet-drop interface gigabitethernet 1/0/1
# Clear dropped packet statistics for all interfaces.
<Sysname> reset packet-drop interface
Related commands
display packet-drop
shutdown
Use shutdown to shut down an Ethernet interface.
Use
undo shutdown to bring up an Ethernet interface.
Syntax
shutdown
undo shutdown
Default
Ethernet interfaces are in up state.
Views
Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
Some interface configurations might require an interface restart before taking effect.
The
shutdown and port up-mode commands are exclusive with each other.
The
shutdown command cannot be configured on an interface in a loopback test.
Examples
# Shut down and then bring up GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] shutdown
[Sysname-GigabitEthernet1/0/1] undo shutdown
speed
Use speed to set the speed of an Ethernet interface.
Use
undo speed to restore the default.