CLI Reference Guide Basic Configuration Management
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 executes the batch file 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. End with CNTL/Z.
Ruijie(config)# line tty 1 16
Ruijie(config-line)# transport input all
Ruijie(config-line)# no exec
Ruijie(config-line)# end
hostname
To specify or modify the hostname of the device, execute the global configuration command
hostname.
hostname name
Device hostname, the string, numeral or hyphen are supported
only. The maximum length is 63 characters.
The default hostname is Ruijie.
Global Configuration Mode.