30
View
System view
Default level
2: System level
Parameters
port-group-name
: Sets the port group name, a string of 1 to 32 characters.
Description
Use
port-group manual
to create a port group and enter port group view.
Use
undo port-group manual
to remove a port group.
By default, no port group exists.
Examples
# Create port group
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
: Specifies an interface type.
interface-number
: Specifies an interface number.
Description
Use
reset counters interface
to clear the Ethernet interface statistics.
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 that
type.
Examples
# Clear the statistics of Ethernet 1/0/1.
<Sysname> reset counters interface ethernet 1/0/1
shutdown
Syntax
shutdown