HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

262
Usage guidelines
Use interface event monitor policies to monitor traffic statistics on an interface.
EAA uses the following process to monitor a traffic statistic for an interface event:
1. Compares the traffic statistic sample with the start threshold at sampling intervals by using the start
operator until the comparison result meets the condition.
2. Executes the policy.
3. Compares the traffic statistic sample with the restart threshold at sampling intervals by using the
restart operator until the comparison result meets the condition.
4. Executes the policy again.
This process cycles for the monitor policy to be executed and re-executed.
You can configure only one event for one monitor policy. If the monitor policy already contains an event,
the new event replaces the old event.
Examples
# Configure a CLI-defined policy to monitor incoming error packet statistic on Ethernet 1/1 every 60
seconds. Enable the system to execute the policy when the traffic statistic is greater than the start
threshold (1000), and then execute the policy again when the traffic statistic is less than the restart
threshold (50).
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] event interface ethernet 1/1 monitor-obj input-errors start-op gt
start-val 1000 restart-op lt restart-val 50 interval 60
event process
Use event process to configure a process event for a CLI-defined monitor policy.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
MSR2000/MSR3000:
event process { exception | restart | shutdown | start } [ name process-name [ instance instance-id ] ]
undo event
MSR4000:
event process { exception | restart | shutdown | start } [ name process-name [ instance instance-id ] ]
[ slot slot-number ] | slot slot-number ]
undo event
Default
No process events are configured.
Views
CLI-defined policy view
Predefined user roles
network-admin