R3303-HP HSR6800 Routers High Availability Command Reference
81
display rpr statistics
Use display rpr statistics to display traffic statistics for the specified or all RPR stations on the device.
Syntax
display rpr statistics { dmac | smac } [ mac-address ] [ rpr interface-number ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
dmac: Displays statistics for traffic sent to destination stations specified by their MAC address.
smac: Displays statistics for traffic received from source stations specified by their source MAC addresses.
mac-address: Specifies the MAC address of a source or destination station. If the argument is specified,
this command displays statistics about the traffic sent to or received from the specified station.
rpr interface-number: Specifies an RPR logical interface by its type and number. If no RPR logical
interface is specified, this command displays traffic statistics of all the RPR stations on your device.
|: 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.
Examples
# Display traffic statistics sent out from the station whose MAC address is 00E0-FC00-1A01 on the ring.
<Sysname> display rpr statistics smac 00e0-fc00-1a01
Traffic statistics from the source station on interface: RPR1
MAC-Address Packets Bytes
-------------------------------------
00e0-fc00-1a01 0 0
Table 29 Command output
Field Descri
p
tion
Traffic statistics from the source station
on interface
Source MAC address-based traffic statistics for the station
corresponding to the specified interface.
Traffic statistics to the destination station
on interface
Destination MAC address-based traffic statistics for the station
corresponding to the specified interface.
MAC-Address MAC address of the source or destination station.