H3C Technologies H3C MSR 5600 User Manual
Page 235
222
Step Command
Remarks
3.
Configure an event in
the policy.
•
Configure a CLI event:
event cli { async [ skip ] | sync } mode
{ execute | help | tab } pattern
regular-exp
•
Configure a hotplug event (MSR
2600/MSR 3600):
event hotplug slot slot-number [ subslot
subslot-number ]
•
Configure a hotplug event (MSR 5600):
event hotplug [ slot slot-number [ subslot
subslot-number ] ]
•
Configure an interface event:
event interface interface-type
interface-number monitor-obj
monitor-obj start-op start-op start-val
start-val restart-op restart-op restart-val
restart-val [ interval interval ]
•
Configure a process event (MSR
2600/MSR 3600):
event process { exception | restart |
shutdown | start } name process-name
[ instance instance-id ]
•
Configure a process event (MSR 5600):
event process { exception | restart |
shutdown | start } { name process-name
[ instance instance-id ] [ slot
slot-number ] | slot slot-number }
•
Configure an SNMP event:
event snmp oid oid monitor-obj { get |
next } start-op start-op start-val start-val
restart-op restart-op restart-val
restart-val [ interval interval ]
•
Configure an SNMP_Notification event:
event snmp-notification oid oid oid-val
oid-val op op [ drop ]
•
Configure a Syslog event:
event syslog priority level msg msg-body
occurs times period period
By default, a monitor policy does
not contain an event.
You can configure only one event
in a monitor policy. If the monitor
policy already contains an event,
the new event overrides the old
event.