Do as follows on the switch on which traffic statistics should be collected:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
{
ethernet
|
gigabitethernet
| }
interface-number
The interface view is displayed.
Step 3
Run:
rmon history
entry-number
buckets
number
interval
sampling-interval
[
owner
owner-
name
]
The historyControlTable is configured.
----End
7.3.5 Configuring the EventTable
After EventTable is configured, when the number of events exceeds the alarm threshold, the
router generates logs, sends traps, or generates logs and sends traps.
Context
Do as follows on the switch that is monitored:
The RMON event management module is responsible for adding events to the corresponding
rows in the eventTable and defining the methods of processing events:
l
log
: sending only logs
l
log-trap
: sending both logs and trap messages to the NM Station
l
none
: marking that no event occurs
l
trap
: sending trap messages to the NM Station
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
rmon event
entry-number
[
description
string
] {
log
|
trap
object
|
log-trap
object
|
none
} [
owner
owner-name
]
The eventTable is configured.
----End
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
7 RMON Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
336