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 #1057 background imageLoading...
Page #1057 background image
CLI Reference SEM Configuration Commands
SEM Configuration Commands
action cli
In SEM configuration mode, use this command to configure the policy action that executes the
command line. The no form of this command deletes the action with the specified label.
action label cli command cli-string [pattern pattern-string]
no action label
Parameter
description
Parameter
Description
label
Label of the action.
command cli-string
Command to be executed.
pattern
pattern-string
(optional) Response pattern when the
command string solicits input.
Default
configuration
By default, no action is configured.
Command
mode
SEM configuration mode
Usage
Guideline
The policy executes command in the user mode, so the first command
executed is "enable" to enter the privilege mode. No password is
required from the user in action cli; you will pass authentication
directly.
Pattern-string contains multiple response messages segmented by
spaces. In case there is space in the response message, use "" to
combine the response messages.
The command outputs generated by executing the action can be recorded
into the device file system. Enable recording by executing policy record
and configure the size of log file. Execute smart manager policy record
clean command to clear the command output records generated. Please
refer to the command of policy record for details.
Examples
Example 1: Create a none event executed by smart manager run as
clear_cache, which will clears the arp table and IP routing table and
notify the user upon completion of action.
Ruijie(config)#smart manager applet clear_cache

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