Configuration Guide SEM Configuration
event_1: none: policyname policy_a sync yes
maxrun 20.000
action action_1 cli command "enable"
action action_2 cli command "clear arp-cache"
action action_3 cli command "clear ip route *"
action action_4 cli command "clear ipv6 route *"
SEM detection of Syslog event
Networking requirements
Device A will send the logs in condition of insufficient memory. Main/standby switchover
must be carried out when the logs are received.
Network topology
<NA>
Configuration tips
1) Create policy
2) Configure Syslog event
3) Configure action
4) Configure policy trigger parameters
5) Submit policy configurations
Configuration steps
1) Configure Device A
a, Name the policy configured for Device A as "policy_a".
b, Configure a Syslog event named "event_1" for policy_a to detect logs of level 2
containing "No-memory" content.
c, Configure a switchover action for policy_a.
d, Submit the policy
e, End policy editing
Ruijie# configure terminal
Ruijie(config)# smart manager applet policy_a
Ruijie(sem-applet)# event tag event_1 syslog pattern "No-memory" priority critical
Ruijie(sem-applet)# action action_1 reload
Ruijie(sem-applet)# commit