HP MSR2000/3000/4000 Router Series Interface Command Reference

8
[Sysname] interface ethernet 1/1.1
[Sysname-Ethernet1/1.1] description l2-subinterface1/1.1
display counters
Use display counters to display interface traffic statistics.
Syntax
display counters { inbound | outbound } interface [ interface-type [ interface-number |
interface-number.subnumber ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
inbound: Displays inbound traffic statistics.
outbound: Displays outbound traffic statistics.
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number, and subnumber is the number of a subinterface created under the interface. The value range for
the subnumber argument is 1 to 4094.
Usage guidelines
This command displays traffic statistics within a statistics polling interval specified by the flow-interval
command.
To clear the Ethernet interface traffic statistics, use the reset counters interface command. For more
information, see "reset counters interface."
If no interface type is specified, this command displays traffic statistics for all interfaces that have traffic
counters.
If an interface type is specified but no interface number or subinterface number is specified, this
command displays traffic statistics for all interfaces of the specified type.
If an interface type and an interface number or subinterface number are specified, this command
displays traffic statistics of the specified interface or subinterface.
Examples
# Display inbound traffic statistics for all Ethernet interfaces.
<Sysname> display counters inbound interface ethernet
Interface Total (pkts) Broadcast (pkts) Multicast (pkts) Err (pkts)
Eth1/1 100 100 0 0
Eth1/2 0 0 0 0
Eth1/3 Overflow Overflow Overflow Overflow
Eth1/4 0 0 0 0