R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

155
rmon statistics
Syntax
rmon statistics entry-number [ owner text ]
undo rmon statistics entry-number
View
Ethernet interface view
Default level
2: System level
Parameters
entry-number: Index of statistics entry, which ranges from 1 to 65535.
owner text: Owner of the entry, a string of case-sensitive 1 to 127 characters that can contain spaces.
Description
Use rmon statistics to create an entry in the RMON statistics table.
Use undo rmon statistics to remove a specified entry from the RMON statistics table.
You can create one statistics entry for each interface, and up to 100 statistics entries on the router.
Each RMON statistics table entry provides a set of cumulative traffic statistics collected up to the present
time for an interface. Statistics include number of collisions, CRC alignment errors, number of undersize
or oversize packets, number of broadcasts, number of multicasts, number of bytes received, and number
of packets received. The statistics are cleared at a reboot.
To display the RMON statistics table, use the display rmon statistics command.
Examples
# Create an entry with an index 20 and the owner user1 in the RMON statistics table for interface
GigabitEthernet 0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] rmon statistics 20 owner user1