Configuring the rmon history statistics function, Configuring the rmon alarm function, Configuration prerequisites – H3C Technologies H3C SR8800 User Manual

Page 122

Advertising
background image

110

Step Command

1.

Enter system view.

system-view

2.

Enter Ethernet interface view.

interface interface-type interface-number

3.

Create an entry in the RMON statistics table.

rmon statistics entry-number [ owner text ]

NOTE:

Only one statistics entry can be created on one interface.

You can create up to 100 statistics entries for the device.

Configuring the RMON history statistics function

To configure the RMON history statistics function:

Step Command

1.

Enter system view.

system-view

2.

Enter Ethernet interface view.

interface interface-type interface-number

3.

Create an entry in the RMON history

control table.

rmon history entry-number buckets number interval

sampling-interval [ owner text ]

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.

You can create up to 100 history entries for the device.

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 interface; otherwise, the creation of the alarm entry fails, and
no alarm event is triggered.

Advertising