CLI Reference SEM Configuration Commands
When several events are configured for a policy, SEM
automatically arranges the events alphabetically in a
parallel relationship. The other events are taken as the
additional conditions of the first event. The relations among
all the events except the first event are the one between
current event and the combination of all the previous
events. Therefore, the first event is blocked out for the
parallel relationship and the default relation is and.
When several events are configured for a policy, SEM
automatically arranges the events alphabetically in a
parallel relationship. The other events are taken as the
additional conditions of the first event. The relations among
all the events except the first event are the one between
current event and the combination of all the previous
events. Therefore, the first event is blocked out for the
parallel relationship and the default relation is and.
Event variables available to all policies:
Indicates the event triggering ID
Indicates the type ID of the event
detector that triggers the policy
Indicates the description of the event
detector that triggers the policy
Indicates the start time of the event
Indicates the start time of the event
(UNIX time)
Indicates the start time (in ms) of the
event
Example 1: Create a command line based policy with the name as
Test_A.
Ruijie(config)#smart manager applet Test_A
Ruijie(config-applet)#
Example 2: Create a command line based policy with the name as
Test_B and class as D.
Ruijie(config)#smart manager applet Test_B class D
Ruijie(config-applet)#
Groups the policy to class D