CLI Reference SEM Configuration Commands
Ruijie(config)#smart manager applet Test_1
Ruijie(config-applet)# event tag event_1 cpp parameter any type drop
op ge value 1000 poll-interval 15
Ruijie(config-applet)# action action_1 cli command "enable"
Ruijie(config-applet)# action action_2 cli command "configure
terminal"
Ruijie(config-applet)# action action_3 cli command "cpu-protect
type $_type pri 0"
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
Define the command line based SEM policy.
event grtd
This command is used to configure a GRTD-based event in SEM configuration mode. The no
form of this command is used to delete an event with the specified name.
event tag event-name [correlate {andnot | and | or}] grtd slot {slot-num | all | master | slave }
[testing-type {bootup | ondemand | schedule | monitoring}] [test-name test-name] [test-id
test-id] [severity-major] [severity-minor] [severity-normal]
no event tag event-name
correlate { andnot |
and | or }
The relation between the current event and
the combination of the previous events in the
case of multiple events (optional). The values
are and, or, and andnot.
slot {slot-num | all |
mboard | slave }
testing-type
{bootup |
ondemand |
Monitoring type:
bootup for bootup test, ondemand for