Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
Chapter 2 RMON Configuration Commands
2-13
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 1 to 65535.
interval
sampling
-
interval
: Specifies the sampling interval (in seconds). The
sampling-interval
argument ranges from 5 to 3600.
owner
text
: Specifies the owner of the entry, a string of 1 to 127 characters.
Description
Use the
rmon history
command to add an entry to the history control table. If you do
not specify the
owner text
keyword/argument combination, the owner of the entry is
displayed as “null”.
Use the
undo rmon history
command to remove an entry from the 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 later 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 table.
Examples
# Create the history control entry numbered 1 for Ethernet 1/0/1, with the table size
being 10, the sampling interval being 5 seconds, and the owner being
user1
.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1]rmon history 1 buckets 10 interval 5 owner user1
# Remove the history control entry numbered 15.
[Sysname-Ethernet1/0/1] undo rmon history 15