Configuration Guide SEM Configuration
During the process of submission, policy configurations will be subject
to validation check. If failed, the policy configurations will not be
submitted and the policy will not be registered. They will remain in
editing state. For example, if no event is configured for the policy, the
check will not pass.
There are two kinds of policies that can be submitted: newly created
policy and edited & registered policy. Policies of other circumstances
(for example: registered policy, but not edited) will not be submitted,
and there will be the corresponding prompting messages.
For the aforementioned two types of policies, if the user expects to
discard the changes made to policy configurations, the user can
execute "rollback" command to roll back policy configurations.
Display policy registered
Enter privileged EXEC mode
Ruijie# show smart manager policy
registered [policy policy-name] [event-type
event-name] [class class-options]
[time-ordered | name-ordered]
Display the information of policy
registered
Configuration example:
# Submit the configurations of "policy_a".
Ruijie# show smart manager policy registered
No. Class Event Type Time Registered Secu Name
1 applet syslog Wed Mar 10 10:49:03 2010 none policy_a
event_a: syslog: pattern {shutdown}
trigger delay 5.000
maxrun 15.000
action label syslog priority informational msg "action running"
Ruijie#
Roll back configurations
Enter privileged EXEC mode
Ruijie# configure terminal
Enter global configuration mode