display counters rate

Use display counters rate to display traffic rate statistics of interfaces in up state for the most recent statistics polling interval.

Syntax

display counters rate { inbound | outbound } interface [ interface-type [ interface-number ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays inbound traffic rate statistics.

outbound: Displays outbound traffic rate statistics.

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

Usage guidelines

The statistics cover only interfaces in up state.

If you specify an interface type, this command displays traffic rate statistics for all up interfaces of the specified type.

If you do not specify an interface type, this command displays traffic rate statistics for all up interfaces that have traffic counters.

If an interface that you specify is always down for the most recent statistics polling interval, the system prompts that the interface does not support the command.

You can use the flow-interval command to set the statistics polling interval.

Examples

# Display the inbound traffic rate statistics for all Ten-GigabitEthernet interfaces.

<Sysname> display counters rate inbound interface ten-gigabitethernet
Interface                   Total (pps)       Broadcast (pps)       Multicast (pps)
XGE1/0/1                           200                   --                    --
XGE1/0/2                           300                   --                    --
XGE1/0/3                           300                   --                    --

 Overflow: More than 14 digits.
       --: Not supported.

Table 2: Command output

Field

Description

Interface

Abbreviated interface name.

Total (pkts/sec)

Average rate (in pps) of receiving or sending packets during the statistics polling interval.

Broadcast (pkts/sec)

Average rate (in pps) of receiving or sending broadcast packets during the statistics polling interval.

Multicast (pkts/sec)

Average rate (in pps) of receiving or sending multicast packets during the statistics polling interval.

Overflow: more than 14 decimal digits

The command displays Overflow if the data length of a statistical item is greater than 14 decimal digits.

--: not supported

The statistical item is not supported.

Related commands

flow-interval

reset counters interface