Ruijie Networks RG-S2600E Series Cli Reference Manual page 17

Table of Contents

Advertisement

S2600E/P CLI Reference Guide
Commands
Usage
guidelines
Examples
Chapter 2 Switch Management Configuration
This command is used to execute the commands in the
batch files. Users could self-specify the filename and
content of the batch file. In general, after finishing editting
the batch files on the user PC , the files are transmit to the
Flash of the device through the TFTP. The content of
batch files completely imitates the user entering, so the
content should be edited in order of CLI command
configuration. Besides, for some interactive commands ,
the response message should be pre-wrote into the batch
files to ensure the commands can be normally executed.
Caution: The size of the batch file shall not exceed 128K,
otherwise the execution of batch files may fail. For the
over-sized batch files, you can divide them into several
small files with size less than 128K to complete the
execution.
The
example
below
line_rcms_script.text ,which is used to enable the reverse
Telnet function for all asynchronous Interfaces, and whose
contents are as follows:
configure terminal
line tty 1 16
transport input all
no exec
end
The execution result is as below:
Ruijie# execute flash:line_rcms_script.text
executing script file line_rcms_script.text ......
executing done
Ruijie# configure terminal
Enter configuration commands, one per line.
CNTL/Z.
Ruijie(config)# line tty 1 16
Ruijie(config-line)# transport input all
Ruijie(config-line)# no exec
Ruijie(config-line)# end
executes
the
batch
End with
file

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