HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
254
action reboot
Use action reboot to add a reboot action to a monitor policy.
Use undo action to remove an action.
Syntax
MSR2000/MSR3000:
action number reboot [ subslot subslot-number ]
undo action number
MSR4000:
action number reboot [ slot slot-number [ subslot subslot-number ] ]
undo action number
Default
Monitor policies do not contain any actions.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
number: Specifies an action ID in the range of 0 to 231.
slot slot-number: Specifies a card by its slot number. If no card is specified, the command reboots all
cards in the specified chassis. (MSR4000.)
subslot subslot-number: Specifies a subcard by its slot number. If no subcard is specified, the command
reboots all subcards.
Usage guidelines
You can configure a series of actions to take in response to the event specified in a monitor policy.
EAA executes the actions in ascending order of action IDs. When you add actions to a policy, you must
make sure the execution order is correct.
The reboot action configured with this command reboots devices or cards without saving the running
configuration. If you want to save the running configuration, use the action cli command to configure
reboot actions.
You can specify EAA environment variable names instead of specifying specific values for an argument.
For more information about using EAA environment variables, see "rtm environment."
Examples
# Configure an action for the CLI-defined policy test to reboot the device.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] action 3 reboot