Configuration Guide SEM Configuration
Ruijie(config)# smart manager applet
applet-name [class class-options]
Enter SEM configuration mode.
applet-name is the specified policy
name.
class parameter specifies the policy
class.
Ruijie(sem-applet)# policy record
Record the CLI action output into the
file.
To stop recording the CLI action output, execute "no policy record" command in the
SEM configuration mode.
Configuration example:
# Configure the CLI action output record for a policy named "policy_a", the size of the
record file generated by running the policy for one time shall not be greater than 500K,
and the size of record file generated by the policy_a shall not be greater than 2M.
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# smart manager applet policy_a
Ruijie(sem-applet)# action action_1 cli command "enable"
Ruijie(sem-applet)# action action_2 cli command "show arp"
Ruijie(sem-applet)# policy record per-instance 500 per-policy 2000
Display current policy configurations
Enter privileged EXEC mode
Ruijie# configure terminal
Enter global configuration mode
Ruijie(config)# smart manager applet
applet-name [class class-options]
Enter SEM configuration mode.
applet-name is the specified policy name.
class parameter specifies the policy
class.
Ruijie(SEM-applet)#list-config
Display current policy configurations
Configuration example:
# Display the configurations of "policy_a".
Ruijie# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)# smart manager applet policy_a
Ruijie(SEM-applet)# list-config
smart manager applet policy_a
description "policy_for_test"