Ruijie Networks RG-S2600E Series Cli Reference Manual page 1065

Table of Contents

Advertisement

S2600E CLI Reference Guide
Examples
Chapter 7 SEM Configuration Commands
set skip to yes, the command will not be executed.
Option mode specified the command patterning mode. If you
use a different mode while entering the command, patterning
is performed.
Option default specifies the timeout when the command line
will wait for the completion of policy execution. Therefore, this
option takes effect only when sync is set to yes.
Option occurs specifies the occurrence times of an event for
triggering the policy. When the event occurs for the times
specified by num-occurrences within a certain period, the
policy will be triggered.
Option period specifies the timeout period of option occurs.
Caution: The policy configuration command line you enter
may also be patterned. If skip is yes, or sync is yes and the
returned value of the policy is 0, the command will not be
executed.
For key commands such as enable, setting skip to yes, or
setting sync to yes and policy return value being 0 may
render the commands invalid.
Available events:
Variable Name
_cli_msg
_cli_msg_count
_cli_mode
The following example monitors the command line input
with recording logs when users input the show ip route
command.
Ruijie(config)#smart manager applet Test_1
Ruijie(config-applet)#event tag monitor_input cli
pattern "show ip route" sync no skip no
Ruijie(config-applet)#action 00 syslog msg "show ip route
running"
Function
Indicates the content of the
entered command line
Indicates the length of the
entered command line
Indicates the command mode

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