Rmon group 2 — history, History mib objects, Configure rmon history (aos cli example) – NEC INTELLIGENT L2 SWITCH N8406-022A User Manual

Page 77

Advertising
background image

Remote monitoring 77


4.

Click Submit.

5.

Apply, verify, and save the configuration.

RMON group 2 — history

The RMON History group allows you to sample and archive Ethernet statistics for a specific interface during a
specific time interval. The switch supports up to five RMON History groups.

NOTE: RMON port statistics must be enabled for the port before an RMON history group can monitor the
port.

Data is stored in buckets, which store data gathered during discreet sampling intervals. At each configured interval,
the history instance takes a sample of the current Ethernet statistics, and places them into a bucket. History data
buckets reside in dynamic memory. When the switch is re-booted, the buckets are emptied.

Requested buckets (/cfg/rmon/hist x/rbnum) are the number of buckets, or data slots, requested by the user
for each History Group. Granted buckets (/info/rmon/hist x/gbnum) are the number of buckets granted by
the system, based on the amount of system memory available. The system grants a maximum of 50 buckets.

Use an SNMP browser to view History samples.

History MIB objects

The type of data that can be sampled must be of an ifIndex object type, as described in RFC1213 and RFC1573.
The most common data type for the history sample is as follows:

1.3.6.1.2.1.2.2.1.1.x -mgmt.interfaces.ifTable.ifIndex.interface

The last digit (x) represents the interface on which to monitor, which corresponds to the port number (1-24). History
sampling is done per port, by utilizing the interface number to specify the port number.

Configure RMON History (AOS CLI example)

1.

Enable RMON on each port where you wish to collect RMON History.

>> /cfg/port 23/rmon (Select Port 23 RMON)

>> Port 23# ena (Enable RMON)

>> Port 23 RMON# apply (Make your changes active)

>> Port 23 RMON# save (Save for restore after reboot)

2. Configure

the

RMON History parameters.

>> /cfg/rmon/hist 1 (Select RMON History 1)

>> RMON History 1# ifoid 1.3.6.1.2.1.2.2.1.1.23

>> RMON History 1# rbnum 30
>> RMON History 1# intrval 120

>> RMON History 1# owner “Owner_History_1”

3.

Apply and save the configuration.

>> RMON History 1# apply (Make your changes active)

>> RMON History 1# save (Save for restore after reboot)

This configuration creates an RMON History group to monitor port 23. It takes a data sample every two minutes,
and places the data into one of the 30 requested buckets. After 30 samples are gathered, the new samples
overwrite the previous samples, beginning with the first bucket. Use SNMP to view the data.

1. Apply

3. Save

2. Verify

Advertising