EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 830

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide SEM Configuration
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# smart manager environment var_g value_1
Ruijie(config)# smart manager applet policy_a
Ruijie(SEM-applet)# action action_1 set var_l value_2
Ruijie(SEM-applet)# action action_2 syslog msg "var_g = $var_g ; var_l = $var_l ;
_event_type_string = $_event_type_string"
Caution
In the above example, "varg_g" is the global variable set by "smart
manager environment" command. var_l is the user local variable set by
action "set". _event_type_string is the system local variable set by SEM
event detector.
System local variable is read-only and unchangeable. When the action tries
to change such variable, the policy execution will be terminated due to the
error. The priority level of local variable is higher than global variable. When
a local variable having the same name as the global variable is configured,
the local variable will be used when such name is referred.
Suspend/resume scheduler
Command
Function
Ruijie>enable
Enter privileged EXEC mode
Ruijie# configure terminal
Enter global configuration mode
Ruijie(config)# smart manager scheduler
suspend
Suspend SEM policy scheduler
To resume the scheduler, execute "no smart manager scheduler suspend" command
in the global configuration mode.
Configuration example:
# Suspend SEM policy scheduler
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# smart manager scheduler suspend
Caution
Suspending SEM scheduler will only suspend the scheduling
function. Threads which have been scheduled will not be suspended
due to the suspension of scheduler.
Hold/release policy execution
Command
Function

Table of Contents

Related product manuals