H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 2
RMON Configuration Commands
2-12
2.1.9 rmon history
Syntax
rmon history entry-number buckets number interval sampling-interval [ owner text ]
undo rmon history entry-number
View
Ethernet port view
Parameters
entry-number: History entry index, in the range of 1 to 65535.
buckets number: Specifies the size of the history table that corresponds to the entry, in
the range of 1 to 65535. Currently the device only supports 1 to 10. If you enter an
argument greater than 10, the actual table size is still 10.
interval sampling-interval: Specifies the sampling interval (in seconds). The
sampling-interval argument ranges from 5 to 3,600.
owner text: Specifies the owner of the entry, a string comprising 1 to 127 characters.
Description
Use the rmon history command to add an entry to a history control table.
Use the undo rmon history command to remove an entry from a history control table.
You can use the rmon history command to sample a specific port. You can also set the
sampling interval and the number of the samples that can be saved. After you execute
this command, the RMON system samples the port periodically and stores the samples
for future retrieval. The sampled information includes utilization, the number of errors,
and total number of packets.
You can use the display rmon history command to display the statistics of the history
control entry.
Examples
# Create the history control entry numbered 1 for Ethernet 2/0/1 port, with the table size
being 10, the sampling interval being 5 seconds, and the owner being user1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C]interface Ethernet 2/0/1
[H3C-Ethernet2/0/1]rmon history 1 buckets 10 interval 5 owner user1
# Remove the history control entry numbered 15.
[H3C-Ethernet2/0/1] undo rmon history 15