245
[Sysname-event-owner1-EventA-set] oid ipForwarding.0
[Sysname-event-owner1-EventA-set] value 2
Related commands
event enable
snmp mib event
comparison
Use
comparison
to specify a Boolean comparison type for the sampled value and the reference
value.
Use
undo comparison
to restore the default.
Syntax
comparison
{
equal
|
greater
|
greaterorequal
|
less
|
lessorequal
|
unequal
}
undo comparison
Default
The Boolean comparison type is unequal.
Views
Trigger-Boolean view
Predefined user roles
network-admin
Parameters
equal
: Specifies the Boolean comparison type as equal. When the sampled value equals the
reference value, the trigger condition is met.
greater
: Specifies the Boolean comparison type as greater than. When the sampled value is greater
than the reference value, the trigger condition is met.
greaterorequal
: Specifies the Boolean comparison type as greater than or equal to. When the
sampled value is greater than or equal to the reference value, the trigger condition is met.
less
: Specifies the Boolean comparison type as smaller than. When the sampled value is smaller
than the reference value, the trigger condition is met.
lessorequal
: Specifies the Boolean comparison type as smaller than or equal to. When the sampled
value is smaller than or equal to the reference value, the trigger condition is met.
unequal
: Specifies the Boolean comparison type as unequal. When the sampled value is unequal to
the reference value, the trigger condition is met.
Usage guidelines
If the sampled value meets the trigger condition at two or more samplings in succession, an event is
triggered only at the first sampling.