7.3.1. rmon event

Syntax

rmon event <1-65535> [log] [trap COMMUNITY] [description DESCRIPTION] [owner NAME]

no rmon event <1-65535>

Parameter

<1-65535>

Specify event index to create or modify.

[log]

(Optional)Specify to show syslog.

[trap COMMUNITY]

(Optional)Specify SNMP community to show SNMP trap.

[description DESCRIPTION]

(Optional)Specify description of event

[owner NAME]

(Optional)Specify owner of event.

Default

No default is defined.

Mode

Global Configuration

Usage

Use the rmon event command to add or modify a RMON evnet entry. Use the no form of this command to delete. You can verify settings by the show rmon event command.

Example

The example shows how to add RMON event entry with log and trap action and then modify it action to log only.

Switch(config)# rmon event 1 log trap public description test owner admin
Switch(config)# show rmon event 1
Rmon Event Index 1
Rmon Event Type : Log and Trap Rmon Event Community : public Rmon
Event Description : test
Rmon Event Last Sent :
Rmon Event Owner : admin
Switch(config)# rmon event 1 log description test owner admin
Switch(config)# show rmon event 1
Rmon Event Index 1
Rmon Event Type : Log Rmon Event Community : public Rmon Event
Description : test
Rmon Event Last Sent :
Rmon Event Owner : admin