Action Counter - Ruijie Networks RG-S2600E Series Cli Reference Manual

Table of Contents

Advertisement

S2600E CLI Reference Guide
7.1.2

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
Parameter
description
Default
configuration
Command
mode
Usage
Guideline
Examples
Chapter 7 SEM Configuration Commands
Parameter
Description
label
Label of the action
name
Name of the operated counter.
counter-name
value
Numerical value used in the
counter-value
operation.
op { dec | inc nop
Method used in the operation.
|set }
By default, no action is configured.
SEM configuration mode
The counter specified in the parameter name
counter-name can be used immediately without the need
of definition.
Example1: if the login faile occurs in the syslog during the
monitoring, add 1 to the counter Authenticate_Faile.
Monitor the log, if the content of the login faile
Ruijie(config)#smart manager applet Test_1
Ruijie(config-applet)#event tag monitor_log syslog
pattern "login faile"
Ruijie(config-applet)#action 00 counter name
Authenticate_Faile op inc value 1
Ruijie(config-applet)#commit

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?

Subscribe to Our Youtube Channel

Table of Contents