Remote Monitoring (RMON) | 457Figure 26-2. rmon event Command ExampleThe configuration in Figure 26-2 creates RMON event number 1 with the description “High ifOutErrors”,and generates a log entry when the event is triggered by an alarm. The user nms1 owns the row that iscreated in the event table by this command. This configuration also generates an SNMP trap when theevent is triggered using the SNMP community string “eventtrap”.Configure RMON Collection StatisticsTo enable RMON MIB statistics collection on an interface, use the RMON collection statistics command inCONFIGURATION INTERFACE (conf-if) mode. To remove a specified RMON statistics collection, usethe no RMON collection statistics command.The command in Figure 26-3 enables RMON statistics collection on the interface with an ID value of 20and an owner of “john.”Figure 26-3. rmon collection statistics Command ExampleCommand Syntax Command Mode Purpose[no] rmon collection statistics{controlEntry integer} [ownerowner-string]CONFIGURATIONINTERFACE(conf-if)controlEntry: Specifies the RMON group of statistics usinga value.integer: A value from 1 to 65,535 that identifies the RMONStatistics Table. The value must be unique in the RMONStatistic Table.owner: (Optional) Specifies the name of the owner of theRMON group of statistics.owner-string: (Optional) Records the name of the owner ofthe RMON group of statistics. Default is a null-terminatedstringFTOS(conf)#rmon event 1 log trap eventtrap description “High ifOutErrors” owner nms1FTOS(conf-if-te-0/40)#rmon collection statistics controlEntry 20 owner john