Chapter 6
| Remote Monitoring Commands
rmon collection
history
Command Usage
◆
If an event is already defined for an index, the entry must be deleted before any
changes can be made with this command.
◆
The specified events determine the action to take when an alarm triggers this
event. The response to an alarm can include logging the alarm or sending a
message to a trap manager.
Example
Console(config)#rmon event 2 log description urgent owner mike
Console(config)#
This command periodically samples statistics on a physical interface. Use the no
form to disable periodic sampling.
Syntax
rmon collection history controlEntry index
[buckets number [interval seconds]] |
[interval seconds] |
[owner name [buckets number [interval seconds]]
no rmon collection history controlEntry index
index – Index to this entry. (Range: 1-65535)
number – The number of buckets requested for this entry. (Range: 1-65536)
seconds – The polling interval. (Range: 1-3600 seconds)
name – Name of the person who created this entry.
(Range: 1-32 characters)
Default Setting
1.3.6.1.4.1.259.10.1.43.104.1 - 1.3.6.1.4.1.259.10.1.43.104.10/28
Buckets: 8
Interval: 30 seconds for even numbered entries,
1800 seconds for odd numbered entries
Command Mode
Interface Configuration (Ethernet)
Command Usage
◆
By default, each index number equates to a port on the switch, but can be
changed to any number not currently in use.
◆
If periodic sampling is already enabled on an interface, the entry must be
deleted before any changes can be made with this command.
– 188 –