Action Reboot - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

[Sysname-rtm-test] action 3 cli shutdown

action reboot

Use action reboot to add a reboot action to a monitor policy.
Use undo action to remove an action.
Syntax
In standalone mode:
action number reboot [ slot slot-number [ subslot subslot-number ] ]
undo action number
In IRF mode:
action number reboot [ chassis chassis-number [ slot slot-number [ subslot subslot-number ] ] ]
undo action number
Default
A monitor policy does not contain any actions.
Views
CLI-defined policy view
Predefined user roles
network-admin
mdc-admin
Parameters
number: Specifies an action ID in the range of 0 to 231.
chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a
member device, the command reboots the IRF fabric. (In IRF mode.)
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
reboots the device.
subslot subslot-number: Specifies a subcard by its subslot number. If you do not specify a subcard,
the command reboots the slot. This option is not supported by the device.
Usage guidelines
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 configure a series of actions to be executed 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. If two actions have the same ID, the most recent
one takes effect.
When you define an action, you can specify a value or specify a variable name for an argument. For
more information about using EAA environment variables, see
Examples
# (In standalone mode.) Configure an action for the CLI-defined policy test to reboot the specified
slot.
<Sysname> system-view
[Sysname] rtm cli-policy test
"rtm
242
environment."

Advertisement

Table of Contents
loading

Table of Contents