display counters rate
Syntax
display counters rate { inbound | outbound } interface [ interface-type ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
inbound: Displays inbound traffic rate statistics.
outbound: Displays outbound traffic rate statistics.
interface-type: Specifies an interface type.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display counters rate to display traffic rate statistics over the last sampling interval.
The statistics cover only interfaces in up state. If an interface type is specified, the command displays traffic rate statistics for all up interfaces of the specified type. If no interface type is specified, the command displays traffic rate statistics for all up interfaces that have traffic counters.
To set the statistics polling interval, use the flow-interval command. The default statistics polling interval is five minutes.
Related commands: flow-interval.
Examples
# Display the inbound traffic rate statistics for all Ethernet interfaces.
<Sysname> display counters rate inbound interface ethernet Interface Total(pkts/sec) Broadcast(pkts/sec) Multicast(pkts/sec) Eth1/0/1 200 100 100 Eth1/0/2 300 200 100 Eth1/0/3 300 200 100 Overflow: more than 14 decimal digits. --: not supported.
Table 2: Command output
Field | Description |
---|---|
Interface | Abbreviated interface name. |
Total (pkts/sec) | Average rate (in packets per second) of receiving or sending packets during the sampling interval. |
Broadcast (pkts/sec) | Average rate (packets per second) of receiving or sending broadcast packets during the sampling interval. |
Multicast (pkts/sec) | Average rate (packets per second) of receiving or sending multicast packets during the sampling interval. |
Overflow: more than 14 decimal digits. | The command displays Overflow, if any of the following applies:
|
--: not supported. | The statistical item is not supported. |