EasyManuals Logo

Ruijie RG-S2600G-I Series User Manual

Ruijie RG-S2600G-I Series
1192 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
Page #1064 background imageLoading...
Page #1064 background image
CLI Reference SEM Configuration Commands
variable-value
Value of the local variable.
Default
configuration
By default, no action is configured.
Command
mode
SEM configuration mode
Usage
Guideline
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.
Examples
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
Related
commands
Command
Description
smart manager
applet
Define the SEM policy based on the command
line.
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
Parameter
description
Parameter
Description
label
Label of the action.
priority
priority-level
(optional) set the level of logs.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Ruijie RG-S2600G-I Series Specifications

General IconGeneral
BrandRuijie
ModelRG-S2600G-I Series
CategorySwitch
LanguageEnglish

Related product manuals