Table 21 Tcl script requirements
Line
Line 1
Line 2
Suspending monitor policies
This task suspends all CLI-defined and Tcl-defined monitor policies except for the policies that are
running.
To suspend monitor policies:
Step
1.
Enter system view.
2.
Suspend monitor policies.
Displaying and maintaining EAA settings
Execute display commands in any view.
Task
Display user-defined EAA environment variables.
Display EAA monitor policies.
EAA configuration examples
CLI-defined policy configuration example
Network requirements
Configure a policy from the CLI to monitor the event that occurs when a question mark (?) is entered
at the command line that contains letters and digits.
Content
Event, user roles, and policy runtime
Actions
Command
system-view
rtm scheduler suspend
Requirements
This line must take the following format:
::comware::rtm::event_register eventname
arg1 arg2 arg3 ...user-role rolename1 |
[ user-role rolename2 | [ ] ][ running-time
running-time ]
You can reference a variable name in the
$variable_name format instead of specifying a
value for an argument when you define an
action.
The following actions are available:
•
Standard Tcl commands.
•
EAA-specific Tcl commands.
•
Commands supported by the device.
Command
display rtm environment [ var-name ]
display
rtm
policy
[ policy-name ]
199
Remarks
N/A
To resume monitor polices, use
the
undo
rtm
scheduler
suspend command.
{
active
|
registered
}