Event Hotplug - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Usage guidelines
Use CLI event monitor policies to monitor operations performed at the CLI.
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.
Examples
# Configure a CLI-defined policy to monitor execution of commands that contain the display
interface brief string. Enable the system to execute the actions in the policy without executing the
command that triggers the policy.
<Sysname>system-view
[Sysname] rtm cli-policy test
[Sysname-rmt-test] event cli async skip mode execute pattern display interface brief
# Configure a CLI-defined policy to monitor the use of the Tab key at command lines that contain the
display interface brief string. Enable the system to execute the actions in the policy and display the
complete parameter when Tab is pressed at a policy-matching command line.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rmt-test] event cli async mode tab pattern display interface brief
# Configure a CLI-defined policy to monitor the use of the question mark (?) at command lines that
contain the display interface brief string. Enable the system to execute a policy-matching
command line only if the actions in the policy are executed successfully when a question mark is
entered at the command line.
<Sysname>system-view
[Sysname] rtm cli-policy test
[Sysname-rmt-test] event cli sync mode help pattern display interface brief

event hotplug

Use event hotplug to configure an event to monitor a member device for joining or leaving the IRF
fabric or a subcard slot for subcard hot-swapping.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
event hotplug [ insert | remove ] slot slot-number [ subslot subslot-number ]
undo event
Default
No hotplug event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
insert: Monitors the card insert event.
remove: Monitors the card remove event.
slot slot-number: Specifies an IRF member device by its member ID.
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard,
EAA monitors the slot for card hot-swapping events.
246

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents