316
• The device has only one MPU.
• The standby MPU is not in up state.
(Centralized devices in IRF mode.) This command does not trigger an active/standby switchover in
either of the following situations:
• No subordinate device is configured.
• The subordinate device is not in up state.
(Distributed devices in IRF mode.) This command does not trigger an active/standby switchover in
either of the following situations:
• No global standby MPU is configured.
• The global standby MPU is not in up state.
Examples
# Configure an action for the CLI-defined policy test to perform an active/standby switchover.
<Sysname> system-view
[Sysname] rtm cli-policy test
[Sysname-rtm-test] action 3 switchover
action syslog
Use action syslog to add a Syslog action to a monitor policy.
Use undo action to remove an action.
Syntax
action number syslog priority priority facility local-number msg msg-body
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.
priority priority: Specifies the log severity level in the range of 0 to 7. A lower value represents a
higher severity level.
facility local-number: Specifies a logging facility by its facility number in the range of local0 to local7.
Facility numbers are used by a log host to identify log creation facilities for filtering log messages.
msg msg-body: Configures the log message body.