CLI Reference SEM Configuration Commands
Ruijie(config-applet)#event tag monitor_cmd none
Ruijie(config-applet)#action 00 cli command "enable"
Ruijie(config-applet)#action 10 cli command "clear arp-cache"
Ruijie(config-applet)#action 20 cli command "clear ip route *"
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
Define the command line based SEM policy.
Configure the size for recording CLI action
outputs.
smart manager
policy record
Clear CLI records generated during the
execution of SEM policy.
action counter
In SEM configuration mode, use this command to configure the policy action that operates the
SEM counter. The no form of this command deletes the action with the specified label.
action label counter name counter-name value counter-value op {dec | inc | nop | set}
no action label
Name of the operated counter.
Numerical value used in the operation.
op { dec | inc nop
|set }
Method used in the operation.
By default, no action is configured.