EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 35

Ruijie RG-S2900G-E Series
943 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
Loading...
Configuration Guide Basic Switch Management Configuration
Command
Function
Ruijie# execute {[flash:] filename}
Execute a batch file.
For example, the batch file line_rcms_script.text enables the reversed Telnet
function on all the asynchronous interfaces as shown below:
configure terminal
line tty 1 16
transport input all
no exec
end
Result:
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. End with CNTL/Z.
Ruijie(config)# line vty 1 16
Ruijie(config-line)# transport input all
Ruijie(config-line)# no exec
Ruijie(config-line)# end
Note
The file name and contents of a batch file can be specified.
Once edited, users send the batch file to the FLASH of the
network device in TFTP. The contents of the batch file will
simulate the input completely. Hence, it is necessary to edit the
contents of the batch file by the sequence that CIL commands
are configured. Furthermore, for some interactive commands, it
is necessary to write corresponding response information in the
batch file, guaranteeing that the commands can be executed
normally.
Setting Service Switch
During operation, you can adjust services dynamically, enabling or disabling
specified services (SSH Server/Telnet Server/Web Server).
Command
Function
Ruijie(Config)# enable service
ssh-sesrver
Enable SSH Server.
Ruijie(Config)# enable service
telnet-server
Enable Telnet Server
Ruijie(Config)# enable service
web-server
Enable Http Server.
In the configuration mode, you can use the no enable service command to
disable corresponding services.

Table of Contents

Related product manuals