Example
reset counters interface
Syntax
View
Parameter
Description
Only 4SIC-FSW interface cards, 9DSIC-FSW interface cards, and the fixed
■
switching interfaces of 20-21 routers support work mode switching.
On an MSR series router, you can change the working mode to route mode for
■
up to two Ethernet interfaces.
After the working mode is changed, all parameters of the Ethernet interface
■
will be restored to the defaults in the current working mode.
# Configure Ethernet1/0 to work in bridge mode.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] display this
#
interface Ethernet1/0
port link-mode route
#
return
[Sysname-Ethernet1/0] port link-mode bridge
[Sysname-Ethernet1/0] display this
#
interface Ethernet1/0
port link-mode bridge
#
return
n
Use the
display this
reset counters interface [ interface-type [ interface-number ] ]
User view
interface-type: Interface type.
interface-number: Interface number.
Use the
reset counters interface
interface.
To sample network traffic within a period of time for an interface, you need to
reset the original interface statistics.
If neither interface type nor interface number is specified, all interface
■
information will be reset;
If only interface type is specified, then only information of this particular type
■
of interface will be reset.
If both interface type and interface number are specified, then only information
■
of the specified interface will be reset.
command to display the current configurations.
command to reset statistics for a specified
171