EasyManua.ls Logo

HPE FlexNetwork MSR3012

HPE FlexNetwork MSR3012
475 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
278
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 "rtm environment."
Examples
# Configure the CLI-defined policy test to shut down GigabitEthernet 1/0/1 when the policy is
triggered.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] action 1 cli system-view
[Sysname-rtm-test] action 2 cli interface gigabitethernet 1/0/1
[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
Centralized devices in standalone mode:
action number reboot
undo action number
Distributed devices in standalone mode/centralized devices in IRF mode:
action number reboot [ slot slot-number [ subslot subslot-number ] ]
undo action number
Distributed devices in IRF mode:
action number reboot [ chassis chassis-number [ 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.
chassis chassis-number: Specifies an IRF member device by its member ID. If you do not specify a
member device, the command reboots all IRF member devices. (Distributed devices in IRF mode.)
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
reboots all cards. (Distributed devices in standalone mode.)
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
reboots all cards. (Distributed devices in IRF mode.)
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, the command reboots all IRF member devices. (Centralized devices in IRF mode.)
subslot subslot-number: Specifies a subcard by its slot number. If you do not specify a subcard, the
command reboots all subcards.

Table of Contents

Related product manuals