Parameters
policy-name: Specifies the name of a CLI-defined monitor policy, a case-sensitive string of 1 to 63
characters.
Usage guidelines
You must create a CLI-defined monitor policy before you can use the CLI to configure settings in the
policy.
You can assign the same policy name to a CLI-defined policy and a Tcl-defined policy, but you cannot
assign the same name to policies that are the same type.
For a CLI-defined monitor policy to take effect, you must execute the commit command after you complete
configuring the policy.
Examples
# Create a CLI-defined policy and enter its view.
<Sysname> system-view
[Sysname] rtm cli-policy test
Related commands
commit
rtm environment
Use rtm environment to configure an EAA environment variable.
Use undo rtm environment to delete a user-defined EAA environment variable.
Syntax
rtm environment var-name var-value
undo rtm environment var-name
Default
The system provides the variables in
variables.
Table 63 System-defined EAA environment variables by event type
Variable name
Any event:
_event_id
_event_type
_event_type_string
_event_time
_event_severity
CLI:
_cmd
Syslog:
_syslog_pattern
Table
63. You cannot create, delete, or modify these system-defined
Description
Event ID.
Event type.
Event type description.
Time when the event occurs.
Severity level of an event.
Commands that are matched.
Log message content.
304
Need help?
Do you have a question about the MSR1003-8S and is the answer not in the manual?