Reset Counters Interface - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

interface-list: Specifies an Ethernet interface list, in the format of interface-type interface-number [ to
interface-type interface-number ] &<1- 1 0>, where &<1- 1 0> indicates that you can specify up to 10
interfaces or interface ranges.
Description
CAUTION:
When you change the link mode of an Ethernet interface, all the settings of the Ethernet interface are
restored to their defaults under the new link mode.
Use port link-mode interface-list to change the link mode of Ethernet interfaces.
To meet networking requirements, you can change the link mode of a port, so it can operate as a Layer
2 Ethernet interface (in bridge mode) or Layer 3 Ethernet interface (in route mode).
Configuring the port link-mode interface-list command in system view and configuring the port
link-mode command in Ethernet interface view lead to the same result. The difference between the two
commands is that the former changes the link mode of multiple Ethernet interfaces in batch, and the latter
changes the link mode of one Ethernet interface at a time.
The link mode configuration for an Ethernet interface in system view and that in interface view supersede
each other. The command that is configured last takes effect.
Examples
# Configure Ethernet 1/0/1 through Ethernet 1/0/5 to operate in Layer 2 mode.
<Sysname> system-view
[Sysname] port link-mode bridge ethernet 1/0/1 to ethernet 1/0/5
# Configure Ethernet 1/0/1 through Ethernet 1/0/5 to operate in Layer 3 mode.
<Sysname> system-view
[Sysname] port link-mode route ethernet 1/0/1 to ethernet 1/0/5

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.
24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500 hi series

Table of Contents