
77
Configuring the RMON Ethernet statistics function
Follow these steps to configure the RMON Ethernet statistics function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet port view
interface
interface-type
interface-number
—
Create an entry in the RMON
statistics table
rmon statistics
entry
-
number
[
owner
text
]
Required
NOTE:
You can create one statistics entry per interface and up to 100 statistics entries on the device. When the
number of statistics entries exceeds 100, you cannot add new entries.
Configuring the RMON history statistics function
Follow these steps to configure the RMON history statistics function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Layer 2 Ethernet port view
interface
interface-type
interface-number
—
Create an entry in the RMON history
control table
rmon history
entry
-
number
buckets
number
interval
sampling
-
interval
[
owner
text
]
Required
NOTE:
•
The
entry-number must be globally unique and cannot be used on another interface. Otherwise, the
operation fails.
•
You can configure multiple history entries on one interface, but the values of the
entry-number
arguments must be different, and the values of the
sampling-interval arguments must be different too.
Otherwise, the operation fails.
•
Up to 100 history entries can be created for the switch.
•
When you create an entry in the history table, if the specified
buckets
number argument exceeds the
history table size supported by the device, the entry is created. However, the validated value of the
buckets
number argument that corresponds to the entry is the history table size supported by the device.
Configuring the RMON alarm function
Configuration prerequisites
•
To enable the managed devices to send traps to the NMS when the NMS triggers an alarm event,
configure the SNMP agent as described in the chapter “SNMP configuration” before configuring
the RMON alarm function.
•
If the alarm variable is the MIB variable defined in the history group or the Ethernet statistics group,
make sure that the RMON Ethernet statistics function or the RMON history statistics function is
configured on the monitored Ethernet port. Otherwise, the creation of the alarm entry fails, and no
alarm event is triggered.