
5
Description
Use the
display counters rate
command 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.
As for the sampling interval, you can use the
flow-interval
command to set the sampling interval. The
system default is five minutes.
Related commands:
flow-interval
.
Examples
# Display inbound traffic rate statistics for all GigabitEthernet interfaces.
<Sysname> display counters rate inbound interface gigabitethernet
Interface Total(pkts/sec) Broadcast(pkts/sec) Multicast(pkts/sec)
GE1/0/1 0 -- --
Overflow: more than 14 decimal digits.
--: not supported.
Table 2
Output description
Field Description
Interface
Abbreviated interface name.
Total (pkts/sec)
Average rate (in packets per second) of receiving/sending packets during the
sampling interval. You can specify the direction of the packets using the
inbound
and
outbound
keyword.
Broadcast (pkts/sec)
Average rate (packets per second) of receiving/sending broadcast packets
during the sampling interval. You can specify the direction of the packets using
the
inbound
and
outbound
keyword.
Multicast (pkts/sec)
Average rate (packets per second) of receiving/sending multicast packets
during the sampling interval. You can specify the direction of the packets using
the
inbound
and
outbound
keyword.
Overflow: more than 14
decimal digits.
The command displays
Overflow
in any of the following cases:
•
The data length of an error statistic is greater than 7 decimal digits.
•
The data length of a statistic of any other type is greater than 14 decimal
digits.
--: not supported.
The statistical item is not supported.
display interface
Syntax
display interface
[
interface-type
[
interface-number
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view