R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

128
Related commands: display rmon event, rmon alarm, and rmon prialarm.
NOTE:
An entry cannot be created if the values of the specified event description (description
string
), event type
(log, trap, logtrap or none), and community name (
trap
-
community
or
log
-
trapcommunity)
are
identical to those of the existing event entry in the system.
You can create up to 60 event entries.
Examples
# Create event 10 in the RMON event table.
<Sysname> system-view
[Sysname] rmon event 10 log owner user1
rmon history
Syntax
rmon history entry-number buckets number interval sampling-interval [ owner text ]
undo rmon history entry-number
View
Ethernet interface view
Default level
2: System level
Parameters
entry-number: History control entry index, in the range 1 to 65535.
buckets number: History table size for the entry, in the range 1 to 65,535. The number varies by device.
interval sampling-interval: Sampling period, in the range 5 to 3600 seconds.
owner text: Owner of the entry, a string of 1 to 127 characters. It is case sensitive and space is
supported.
Description
Use the rmon history command to create an entry in the RMON history control table.
Use the undo rmon history command to remove a specified entry from the RMON history control table.
After an entry is created, the system periodically samples the number of packets received/sent on the
current interface, and saves the statistics as an instance under the leaf node of the etherHistoryEntry table.
The maximum number of history entries can be saved in the table is specified by buckets number. If the
number of the entries in the table has reached the maximum number, the system will delete the earliest
entry to save the latest one. The statistics include total number of received packets on the current interface,
total number of broadcast packets, total number of multicast packets in a sampling period, and so on.
When you create an entry in the history table, if the specified history table size exceeds that supported
by the device, the entry will be created. However, the validated value of the history table size
corresponding to the entry is that supported by the device. You can use the display rmon history
command to view the configuration result.