Rmon configuration – H3C Technologies H3C S3100 Series Switches User Manual

Page 687

Advertising
background image

2-3

The statistics include the number of the following items: collisions, packets with cyclic redundancy

check (CRC) errors, undersize (or oversize) packets, broadcast packets, multicast packets, and

received bytes and packets.

With the RMON statistics management function, you can monitor the use of a port and make statistics

on the errors occurred when the ports are being used.

RMON Configuration

Before performing RMON configuration, make sure the SNMP agents are correctly configured. For the

information about SNMP agent configuration, refer to section “

Configuring Basic SNMP Functions

”.

Table 2-1 Configure RMON

Operation

Command

Description

Enter system
view

system-view

Add an event
entry

rmon event event-entry [ description string ]
{ log | trap trap-community | log-trap
log-trapcommunity | none } [ owner text ]

Optional

Add an alarm
entry

rmon alarm entry-number alarm-variable
sampling
-time { delta | absolute }
rising_threshold threshold-value1
event-entry1 falling_threshold
threshold-value2 event-entry2 [ owner text ]

Optional

Before adding an alarm entry,
you need to use the rmon
event
command to define the
event to be referenced by the
alarm entry.

Add an extended
alarm entry

rmon prialarm entry-number prialarm-formula
prialarm-des sampling-timer
{ delta | absolute
| changeratio } rising_threshold
threshold-value1 event-entry1
falling_threshold threshold-value2
event-entry2
entrytype { forever | cycle
cycle-period
} [ owner text ]

Optional

Before adding an extended
alarm entry, you need to use
the rmon event command to
define the event to be
referenced by the extended
alarm entry.

Enter Ethernet
port view

interface interface-type interface-number

Add a history
entry

rmon history entry-number buckets number
interval sampling-interval [ owner text ]

Optional

Add a statistics
entry

rmon statistics entry-number [ owner text ]

Optional

z

The rmon alarm and rmon prialarm commands take effect on existing nodes only.

z

For each port, only one RMON statistics entry can be created. That is, if an RMON statistics entry is

already created for a given port, you will fail to create another statistics entry with a different index

for the same port.

Advertising