Ruijie Networks RG-S2600E Series Cli Reference Manual page 1059

Table of Contents

Advertisement

S2600E CLI Reference Guide
Parameter
description
Default
configuration
Command
mode
Usage
Guideline
Examples
Related
commands
7.1.7
action syslog
Use this command to configure the policy action that records logs in SEM
configuration mode. The no form of this command deletes the action with the
specified label..
action label syslog [priority priority-level] msg msg-text [facility string]
no action label syslog
Chapter 7 SEM Configuration Commands
Parameter
label
variable-name
variable-value
By default, no action is configured.
SEM configuration mode
The local variable configured could have the same name
with the global variable. When a local variable having the
same name as the global variable is configured, the local
variable will be used when such name is referred.
The following example sets the variable in the policy with
none event type and sends the variable into the log.
Ruijie(config)#smart manager applet Test_1
Ruijie(config-applet)#event tag none_event none
Ruijie(config-applet)#action 00 set var_for_test "Test_1
running"
Ruijie(config-applet)#action 10 syslog msg
"$var_for_test"
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
Command
Description
Define the SEM policy based on the
smart manager
command line.
applet
Description
Label of the action.
Name of the local variable.
Value of the local variable.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RG-S2600E Series and is the answer not in the manual?

Table of Contents