Reset Counters Interface - HP A5830 Series Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

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.
Syntax
port link-mode { bridge | route } interface-list
View
System view
Default level
2: System level
Parameters
bridge: Specifies the Layer 2 mode.
route: Specifies the Layer 3 mode.
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.
Examples
# Configure GigabitEthernet 1/0/1 through GigabitEthernet 1/0/5 to operate in Layer 2 mode.
<Sysname> system-view
[Sysname] port link-mode bridge gigabitethernet 1/0/1 to gigabitethernet 1/0/5
# Configure GigabitEthernet 1/0/1 through GigabitEthernet 1/0/5 to operate in Layer 3 mode.
<Sysname> system-view
[Sysname] port link-mode route gigabitethernet 1/0/1 to gigabitethernet 1/0/5

reset counters interface

Description
Use the reset counters interface command 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.
Syntax
reset counters interface [ interface-type [ interface-number ] ]
View
User view
Default level
2: System level
Parameter
interface-type interface-number: Specifies an interface type and number.
22

Advertisement

Table of Contents
loading

Table of Contents