C H A P T E R 11

RMON

RMON is a standard monitoring specification that enables various network monitors and console systems to exchange network-monitoring data.

The RMON specification defines a set of statistics and functions that can be exchanged between RMON-compliant console managers and network probes. As such, RMON provides network administrators with comprehensive network-fault diagnosis, planning, and performance-tuning information.

##

11.1 Commands

The list of CLI commands for the configuration of RMON is as follows:

- set rmon

- rmon collection history

- rmon collection stats

- rmon event

- rmon alarm

- show rmon

Note - The `show snmp community` command is not supported. Refer to the Oracle Integrated Lights Out Manager (ILOM) 3.0 Management Protocols Reference Guide for the ILOM equivalent of this command.

Note - SEFOS uses the AgentX protocol to communicate events to the ILOM master SNMP agent of the NEM. To forward these events to external entities, the ILOM interfaces for managing alert rules must be used to configure SNMP trap based rules. Refer to the ILOM documentation to learn about the procedures. An event from SEFOS will trigger an SNMP trap for each rule configured in ILOM.

### 11.1.1 `set rmon`

Enables or disables the RMON feature.

    set rmon {enable | disable}

Syntax Description | enable - Enables the RMON feature in the system. disable - Disables the RMON feature in the system.
Mode | Global Configuration
Defaults | The RMON module is disabled by default.
Example | SEFOS(config)# set rmon enable
Notes | All other RMON module commands can be executed only when the RMON module is enabled. Warning messages are displayed when commands are executed without enabling the RMON feature.

#### Related Commands

show rmon - Successful execution of this command without any messages indicates that RMON feature is enabled in the system

### 11.1.2 `rmon collection history`

Enables history collection of interface statistics in the buckets for the specified time interval. The `no` form of the command disables the history collection on the interface.

    rmon collection history index_1-65535 [buckets bucket-number_1-65535] [interval seconds1-3600] [owner ownername_127]

    no rmon collection history index_1-65535

Syntax Description | index - History table index. buckets - The maximum number of buckets desired for the RMON collection history group of statistics. interval - The number of seconds in each polling cycle. owner - Optional field - allows the user to enter the name of the owner of the RMON group of statistics.
Mode | Interface Configuration
Defaults | bucket-number_1-65535 - `50.` interval - `1800` seconds. owner - `monitor.`
Example | SEFOS(config-if)# rmon collection history 1 buckets 2 interval 20
Notes | The RMON feature must be enabled for the successful execution of this command. The polling cycle is the bucket interval where the interface statistics details are stored.

#### Related Commands

show rmon - Displays the history collection for the configured bucket (`show rmon history [history-index` 1-65535`]`)

### 11.1.3 `rmon collection stats`

Enables RMON statistic collection on the interface. The `no` form of the command disables RMON statistic collection on the interface.

    rmon collection stats index_1-65535 [owner ownername_127]

    no rmon collection stats index_1-65535

Syntax Description | index - Statistics table index. owner - Optional field that allows you to enter the name of the owner of the RMON group of statistics with a string length of 127.
Mode | Interface Configuration
Defaults | owner - `monitor`
Example | SEFOS(config-if)# rmon collection stats 1
Notes | The RMON feature must be enabled for the successful execution of this command.

#### Related Commands

show rmon - Displays the history collection for the configured bucket (`show rmon history [history-index` 1-65535`]`)

### 11.1.4 `rmon event`

Adds an event to the RMON event table. The added event is associated with an RMON event number. The `no` form of the command deletes an event from the RMON event table.

    rmon event number_1-65535 [description event-description_127] [log] [owner ownername_127] [trap community_127]

    no rmon event number_1-65535

Syntax Description | number - Event number. description - Description of the event. log - Used to generate a log entry. owner - Owner of the event. trap - Used to generate a trap. The SNMP community string is to be passed for the specified trap.
Mode | Global Configuration
Example | SEFOS(config)# rmon event 1 log owner sun-qa trap NETMAN
Notes | The RMON feature must be enabled for the successful execution of this command. SEFOS uses the AgentX protocol to communicate events to the ILOM master SNMP agent of the NEM. To forward these events to external entities, the ILOM interfaces for managing alert rules must be used to configure SNMP trap based rules. Refer to the ILOM documentation to learn about the procedures. An event from SEFOS will trigger an SNMP trap for each rule configured in ILOM.

#### Related Commands

- rmon alarm - Sets an alarm on a MIB object

- show rmon - Displays the RMON events and alarms

### 11.1.5 `rmon alarm`

Sets an alarm on a MIB object. The alarm group periodically takes statistical samples from variables in the probe and compares them to thresholds that have been configured. The `no` form of the command deletes the alarm configured on the MIB object.

    rmon alarm alarm-number mib-object-id_255 sample-interval-time_1-65535 {absolute | delta} rising-threshold value_0-2147483647 [rising-event-number 1-65535] falling-threshold value_0-2147483647 [falling-event-number 1-65535] [owner owner-name_127]

    no rmon alarm number_1-65535

Syntax Description | alarm-number - Alarm Number. This value ranges between 1 and 65535. mib-object-id - The mib object identifier. sample-interval-time - Time in seconds during which the alarm. monitors the MIB variable. This value ranges between 1 and 65535 seconds. absolute - Used to test each mib variable directly. delta - Used to test the change between samples of a variable. rising-threshold - A number at which the alarm is triggered. This value ranges between 0 and 2147483647. falling-threshold`` value - A number at which the alarm is reset. This value ranges between 0 and 2147483647. rising-event-number - The event number to trigger when the rising threshold exceeds its limit. This value ranges between 1 and 65535. This feature is optional only in the code using the industrial standard command, otherwise this feature is mandatory. falling-event-number - The event number to trigger when the falling threshold exceeds its limit. This value ranges between 1 and 65535. This feature is optional only in the code using the industrial standard command, otherwise this feature is mandatory. owner - Owner of the alarm.
Mode | Global Configuration
Defaults | By default, the least event number in the event table is assigned for the rising and falling threshold as its event number.
Example | SEFOS(config)# rmon event 2 SEFOS(config)# rmon alarm 1 1.3.6.1.6.3.16.1.2.1.4.1.4.110.111.110.101 2 absolute rising-threshold 2 2 falling-threshold 1 2 owner sun-qa
Notes | The RMON Feature must be enabled for the successful execution of this command. RMON events must have been configured. SEFOS cannot monitor all the MIB objects through RMON. This monitoring is applicable only to the Ethernet interfaces Falling threshold must be less than rising threshold.

#### Related Commands

- rmon collection stats - Enables RMON statistic collection on the interface

- rmon event - Adds an event to the RMON event table

- show rmon - Displays the RMON events and alarms

### 11.1.6 `show rmon`

Displays the RMON statistics, alarms, events, and history configured on the interface.

    show rmon [statistics [stats-index_1-65535]] [alarms] [events] [history [history-index_1-65535] [overview]]

Syntax Description | statistics - The configured stats index value. alarms - The configured alarm. events - The configured event. history - The configured history index. overview - Displays only the overview of rmon history entries.
Mode | Privileged EXEC
Example | SEFOS# show rmon statistics 2 RMON is enabled Collection 2 on Ex0/2 is active, and owned by fsoft, Monitors ifEntry.1.2 which has Received 1240 octets, 10 packets, 2 broadcast and 10 multicast packets, 0 undersized and 1 oversized packets, 0 fragments and 0 jabbers, 0 CRC alignment errors and 0 collisions. # of packets received of length (in octets): 64: 0, 65-127: 10, 128-255: 0, 256-511: 0, 512-1023: 0, 1024-1518: 0
| SEFOS# show rmon RMON is enabled SEFOS# show rmon history RMON is enabled
| Entry 1 is active, and owned by fsoft Monitors ifEntry.1.1 every 3000 second(s) Requested # of time intervals, ie buckets, is 3, Granted # of time intervals, ie buckets, is 3, Sample 1 began measuring at 0 Received 0 octets, 0 packets, 0 broadcast and 0 multicast packets, 0 undersized and 0 oversized packets, 0 fragments and 0 jabbers, 0 CRC alignment errors and 0 collisions, # of dropped packet events is 0 Network utilization is estimated at 0 Sample 2 began measuring at 0
| Received 0 octets, 0 packets, 0 broadcast and 0 multicast packets, 0 undersized and 0 oversized packets, 0 fragments and 0 jabbers, 0 CRC alignment errors and 0 collisions, # of dropped packet events is 0 Network utilization is estimated at 0 SEFOS# show rmon events RMON is enabled
| Event 1 is active, owned by Description is Event firing causes nothing, Time last sent is Aug 27 18:30:01 2009 Event 2 is active, owned by Description is Event firing causes nothing, Time last sent is Aug 27 18:31:36 2009
| SEFOS# show rmon alarms RMON is enabled Alarm 4 is active, owned by Sun Monitors 1.3.6.1.6.3.16.1.2.1.4.1.4.110.111.110.101 every 2 second(s) Taking absolute samples, last value was 3 Rising threshold is 2, assigned to event 2 Falling threshold is 1, assigned to event 2 On startup enable rising or falling alarm
| SEFOS# show rmon statistics 2 alarms events history 1 RMON is enabled Collection 2 on Ex0/1 is active, and owned by monitor, Monitors ifEntry.1.1 which has Received 5194 octets, 53 packets, 0 broadcast and 0 multicast packets, 0 undersized and 0 oversized packets, 0 fragments and 0 jabbers, 53 CRC alignment errors and 0 collisions. # of packets received of length (in octets): 64: 0, 65-127: 53, 128-255: 0,
| 256-511: 0, 512-1023: 0, 1024-1518: 0 Alarm 4 is active, owned by Sun Monitors 1.3.6.1.6.3.16.1.2.1.4.1.4.110.111.110.101 every 2 second(s) Taking absolute samples, last value was 3 Rising threshold is 2, assigned to event 2 Falling threshold is 1, assigned to event 2 On startup enable rising or falling alarm Event 1 is active, owned by Description is
| Event firing causes nothing, Time last sent is Aug 27 18:30:01 2009 Event 2 is active, owned by Description is Event firing causes nothing, Time last sent is Aug 27 18:31:36 2009
| SEFOS# Ex0/ SEFOS# show rmon history overview RMON is enabled Entry 1 is active, and owned by fsoft Monitors ifEntry.1.1 every 3000 second(s) Requested # of time intervals, ie buckets, is 3, Granted # of time intervals, ie buckets, is 3
Notes | If the `show rmon` command is executed without enabling the RMON feature, the following output is displayed: `SEFOS#` show rmon `` `RMON feature is disabled`

#### Related Commands

- set rmon - Enables or disables the RMON feature

- rmon collection history - Enables history collection of interface statistics in the buckets for the specified time interval

- rmon collection stats - Enables RMON statistic collection on the interface

- rmon event - Adds an event to the RMON event table

- rmon alarm - Sets an alarm on a MIB object

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.