315
Monitored traffic
statistic
Description
output-drops
Number of discarded outgoing packets.
output-errors
Number of outgoing error packets.
rcv-bps
Receive rate, in bps.
rcv-broadcasts
Number of incoming broadcasts.
rcv-pps
Receive rate, in packets per second.
tx-bps
Transmit rate, in bps.
tx-pps
Transmit rate, in packets per second.
Table 77 Comparison operators
Comparison operator
Description
eq
Equal to.
ge
Greater than or equal to.
gt
Greater than.
le
Less than or equal to.
lt
Less than.
ne
Not equal to.
Usage guidelines
Use interface event monitor policies to monitor traffic statistics on an interface.
You can configure only one event for a monitor policy. If the monitor policy already contains an event,
the new event replaces the old event.
EAA executes an interface event policy when the monitored interface traffic statistic crosses the start
threshold in the following situations:
•
The statistic crosses the start threshold for the first time.
•
The statistic crosses the start threshold each time after it crosses the restart threshold.
The following is the interface event monitor process of EAA:
1.
Compares the traffic statistic sample with the start threshold at sampling intervals until the
comparison result meets the condition specified by the start operator.
2.
Executes the policy.
3.
Compares the traffic statistic sample with the restart threshold at sampling intervals until the
comparison result meets the condition specified by the restart operator.
4.
Compares the traffic statistic sample with the start threshold at sampling intervals until the
comparison result meets the condition specified by the start operator.
5.
Executes the policy again.
This process cycles for the monitor policy to be executed and re-executed.
Examples
# Configure a CLI-defined policy to monitor the incoming error packet statistic on FortyGigE 1/0/1
every 60 seconds. Set the start threshold to 1000 and the restart threshold to 50. Enable EAA to
execute the policy when the statistic exceeds 1000 for the first time. Enable EAA to re-execute the
policy if the statistic exceeds 1000 each time after the statistic has dropped below 50.
<Sysname> system-view