197
Step
Command
Remarks
1.
Enter system
view.
system-view
N/A
2.
Configure a
user-defined EAA
environment
variable.
rtm environment var-name
var-value
By default, no user-defined environment
variables exist.
The system provides the system-defined
variables in
Configuring a monitor policy
You can configure a monitor policy by using the CLI or Tcl.
Configuration restrictions and guidelines
When you configure monitor policies, follow these restrictions and guidelines:
•
Make sure the actions in different policies do not conflict. Policy execution result will be
unpredictable if policies that conflict in actions are running concurrently.
•
You can assign the same policy name to a CLI-defined policy and a Tcl-defined policy. However,
you cannot assign the same name to policies that are the same type.
•
The system executes the actions in a policy in ascending order of action IDs. When you add
actions to a policy, you must make sure the execution order is correct.
Configuring a monitor policy from the CLI
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Set the
size for the
EAA-monitored log
buffer.
rtm event syslog buffer-size
buffer-size
By default, the size for the
EAA-monitored log buffer is
50000.
3.
Create a CLI-defined
policy and enter its
view.
rtm cli-policy
policy-name
By default, no CLI-defined
monitor policies exist.
If a CLI-defined policy already
exists, this command enters
CLI-defined policy view.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...