RMON configuration command directory
This chapter explains how to configure rMon
commands on a router.
rmon alarm index variable interval {absolute | delta} rising-threshold value [eventnumber] falling-threshold value [eventnumber] [owner string]
To Configure an rmon Alarm item
|
explanation |
the range |
variable |
object that is
needed to be inspected |
oid that is needed
to be inspected
|
interval |
Sampling interval |
1~ 4294967295
seconds |
value |
Alarm threshold |
-2147483648~
2147483647 |
eventnumber |
When threshold is
reached, the event index will be launched. |
1~65535 |
string |
Owner description |
Character string,
string length:
1~127 |
The default value do not configure event number.
Configure this command under global configuration mode to inspect the value of specified object. When the value is over the threshold, the specified event will be launched.
Configure a Alarm item to inspect whether an object is in Octets.2. Sample interval is 10. When the interval rises over 15, event1 will be launched. When the interval lowers 25, event2 will be launeched.
rmon alarm 1 1.3.6.1.2.1.2.2.1.10.2 10 absolute rising-threshold 15 1 falling-threshold 25 2 owner D-Link
rmon event index [description des-string] [log] [owner owner-string] [trap community]
|
explanation |
the range |
index |
the event item index |
1-65535 |
des-string |
event description character string |
Length: 1-127 |
owner-string |
owner character string |
|
community |
group name when trap is established |
|
none
Configure a rmon event item for Alarm
Configure a rmonevent item. Index is 6. describe character string is example. Add an item in log item when event is launched and establish trap with group name as public.
rmon event 6 log trap public description example owner D-Link
rmon collection stat index [owner string]
Configure rmon statistic function
|
explanation |
the range |
index |
the statistics item index |
1~65535 |
string |
owner character string |
character string
|
none
Configure it under interface mode to enable the interface statistic.
To enable statistic on fast Ethernet interface 0/8
int f 0/8
rmon collection stats 2 owner D-Link
¡¡
rmon collection history index [buckets bucket-number] [interval second] [owner owner-name]
Configure a history control item
|
explanation |
the range |
index |
index |
1-65535 |
bucket-number |
Among all the data colleted from the history control item, reserve
the latest bucket-number item. |
1~65535 |
second |
interval |
1~3600
|
owner-name |
owner character string
|
character string |
bucket-number default is 50, second default is 1800
Configure this under interface configuration mode to add one item to history control list
Add history control item on fast Ethernet interface 0/8. Reserve the latest 20 interval statistics. Each interval is 20 seconds.
int f 0/8
rmon collection history 2 buckets 20 interval 10 owner D-Link
show rmon [alarm] [event] [statistics] [history]
display rmon configuration
none
none
show rmon