EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 834

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide SEM Configuration
4) Submit policy configurations
Configuration steps
1 Configure Device A
a Name the policy configured for Device A as "policy_a".
b Configure an CRON timer event named "event_1" for policy_a, with time being
0:00 everyday.
c Configure multiple actions for policy_a, as shown below:
Enter privileged EXEC mode;
Execute "copy" command to send the log file.
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 timer cron cron-entry "0 0 * * *"
Ruijie(SEM-applet)# action action_1 cli command "enable"
Ruijie(SEM-applet)# action action_2 cli command "copy flash
logfile.txt
tftp://172.16.0.2/device_a/log_$_event_pub_time"
Ruijie(SEM-applet)# action action_3 cli command "delete flash
logfile.txt"
Ruijie(SEM-applet)# commit
Ruijie(SEM-applet)# exit
Ruijie(config)#exit
Verification
Ruijie# show smart manager policy registered
No. Class Event Type Time Registered Secu Name
1 applet timer cron Mon Mar 8 17:25:47 2010 none policy_a
event_1: timer cron: cron entry “0 0 * * *”
maxrun 20.000
action action_1 cli command "enable"
action action_2 cli command "copy flash:logfile.txt
tftp://172.16.0.2/device_a/log_$_event_pub_time"
action action_3 cli command "delete flash:logfile.txt"

Table of Contents

Related product manuals