Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set rmon event status
13-14 RMON Configuration
Example
This example shows how to create and enable an RMON event entry called “STP topology 
change” that will send both a log entry and an SNMP trap message to the “public” community:
D2(rw)->set rmon event properties 2 description "STP topology change" type both 
community public owner Manager 
set rmon event status
Use this command to enable an RMON event entry. An event entry describes the parameters of an 
RMON event that can be triggered. Events can be fired by RMON alarms and can be configured to 
create a log entry, generate a trap, or both. 
Syntax
set rmon event status index enable 
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Usage
An RMON event entry can be created using this command, configured using the set rmon event 
properties
 command (“
” on page 13‐13), then enabled using this 
command. An RMON event entry can be created and configured at the same time by specifying an 
unused index with the set rmon event properties command.
Example
This example shows how to enable RMON event entry 1:
D2(rw)->set rmon event status 1 enable
clear rmon event
Use this command to delete an RMON event entry and any associated log entries.
Syntax
clear rmon event index
Parameters
index
Specifies an index number for this entry. Maximum number of entries is 
100. Maximum value is 65535.
enable
Enables this event entry.
index
Specifies the index number of the entry to be cleared.