S2600E CLI Reference Guide Chapter 7 SEM Configuration Commands
Default
configuration
CLI action outputs are not recorded by default.
Command
mode
SEM configuration mode
Usage
Guideli
ne
By default, the outputs of CLI action executed by the SEM policy
are not recorded. After configuring policy record, when CLI
action is executed, outputs of CLI action will be recorded into the
file system. The path of log file is:
"/sem_record/policy_name/yyyy-mm-dd_hh-mm-ss_mspolicytri
ggerid.txt". Therein, "/sem_record/" is the general directory for
the output records of all CLI actions, and is located in the root
directory of file system; "policy_name" is the name of policy, and
is located in the directory of "/sem_record/"; each policy
corresponds to each separate directory.
"yyyy-mm-dd_hh-mm-ss_mspolicytriggerid.txt" is the name of
log file, and is the combination of date and time when this record
is generated and the policy trigger ID.
Use more command to view logs.
When the number of CLI action outputs exceeds the size
configured with the parameter of per-instance
record-size-per-policy, the earliest records will be overwritten.
When the gross size of the log file of CLI action outputs
generated during the running of a specific policy exceeds the
value set in per-policy record-size-per-policy, the earliest logs
will be cleared until the total size of log file complies with the
value set in per-policy record-size-per-policy.
Execute smart manager policy record clean command to clear
CLI action output records in the file system.
Examples
Ruijie(config)#smart manager applet Test_1
Ruijie(config-applet)#event tag none-event none
Ruijie(config-applet)#action 00 cli command "enable"
Ruijie(config-applet)#action 10 cli command "show arp"
Ruijie(config-applet)#policy record
Ruijie(config-applet)#commit
Ruijie(config-applet)#exit
Ruijie(config)# exit
Ruijie# more
Содержание RG-S2600E Series
Страница 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Страница 5: ...Basic Configuration...
Страница 83: ...Ethernet Switching...
Страница 240: ...IPApplication...
Страница 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Страница 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Страница 335: ...Network Management and Monitoring...
Страница 361: ...S2600E CLI Reference Guide Chapter 1 SNMP Configuration Command Platform description Supported by switches only...
Страница 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Страница 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Страница 416: ...Multicast Commands...
Страница 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Страница 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Страница 477: ...Security...
Страница 526: ...S2600E CLI Reference Guide Chapter 1 AAA Configuration Commands Platform description Supported by switch products only...
Страница 656: ...S2600E CLI Reference Guide Chapter 5 Web Authentication Configuration Commands Configuration Example...
Страница 735: ...S2600E CLI Reference Guide Chapter 10 DHCP Snooping Configuration Commands Examples Command Description Related commands...
Страница 877: ...S2600E CLI Reference Guide Chapter 16 Ruijie Switch Security Compatible Mode Configuration Commands...
Страница 878: ...ACL QOS...
Страница 953: ...Reliability...
Страница 985: ...S2600E CLI Reference Guide Chapter 4 Warm Reload Upgrade Configuration Commands Platform Description None...
Страница 1011: ...S2600E CLI Reference Guide Chapter 5 SRM Configuration Commands Command Description Related commands Platform description...
Страница 1012: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 GRTD Configuration Commands 6 1 Configuration Related Commands...
Страница 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1027: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description 6 2 Test Related Commands...
Страница 1029: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands commands None Platform description...
Страница 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Страница 1121: ...System Management...