R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

151
p a r a m e t e r 1. 3 . 6 .1. 2.1.16 .1.1.1. 4 .1, w h e r e 1 i n d i c a t e s t h e serial number of the interface statistics entry.
Therefore, if you execute the rmon statistics 5 command, you can use etherStatsOctets.5 to replace the
parameter.
This example enables the RMON agent to do the following:
Samples and monitors interface GigabitEthernet 0/1.
Obtains the incoming-packet count in its absolute value. If the total number of incoming bytes
reaches 5000, the system logs the event. If the total number of incoming bytes is no more than 5,
the system takes no action.
rmon event
Syntax
rmon event entry-number [ description string ] { log | log-trap log-trapcommunity | none | trap
trap-community } [ owner text ]
undo rmon event entry-number
View
System view
Default level
2: System level
Parameters
entry-number: Event entry index, which ranges from 1 to 65,535.
description string: Event description, a string of 1 to 127 characters.
log: Logs the event when it occurs.
log-trap log-trapcommunity: Log and trap events. The system performs both logging and trap sending
when the event occurs. log-trapcommunity indicates the community name of the network management
station that receives trap messages, a string of 1 to 127 characters.
none: Performs no action when the event occurs.
trap trap-community: Trap event. The system sends a trap with a community name when the event occurs.
trap-community specifies the community name of the network management station that receives trap
messages, a string of 1 to 127 characters.
owner text: Owner of the entry, a case-sensitive string of 1 to 127 characters that can contain spaces.
Description
Use rmon event to create an entry in the RMON event table.
Use undo rmon event to remove a specified entry from the RMON event table.
When creating an event entry, you can define the actions that the system takes when the event is
triggered by its associated alarm in the alarm table. The system can log the event, send a trap, do both,
or do neither at all, depending on your configuration.
You cannot create an entry that has the same event description, event type (log, trap, logtrap or none),
and community name (trap-community or log-trapcommunity) as an existing event entry in the RMON
event table.
You can create up to 60 alarm entries.