245
[Sysname-rtm-syslog] event syslog priority 3 msg down occurs 5 period 6
rtm cli-policy
Use
rtm cli-policy
to create a CLI-defined EAA monitor policy and enter its view.
Use
undo rtm cli-policy
to delete a CLI-defined monitor policy.
Syntax
rtm cli-policy
policy-name
undo rtm cli-policy
policy-name
Default
No CLI-defined monitor policy exists.
Views
System view
Predefined user roles
network-admin
mdc-admin
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