EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 34

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(Config-line)#exec-timeout 20
Configure the timeout for the accepted
connection. When the configured time is
due and there is no input, this connection
will be interrupted.
The connection timeout setting can be removed by using the no exec-timeout
command in the line configuration mode.
Ruijie# configure terminal //Enter the global configuration
mode.
Ruijie# line vty 0 //Enter the line configuration mode
Ruijie(config-line)#exec-timeout 20 //Set the timeout to 20min
Session Timeout
When there is no input for the session established with a remote terminal over
the current line within the specified time, the session will be interrupted and the
remote terminal becomes idle.
RGOS provides commands in the line configuration mode to configure the
timeout for the session set up with the remote terminal.
Command
Function
Ruijie(Config-line)#session-timeout
20
Configure the timeout for the session set up
with the remote terminal over the line. If
there is no input within the specified time,
this session will be interrupted.
The timeout setting for the session set up with the remote terminal over the line
can be removed by using the no exec-timeout command in the line
configuration mode.
Ruijie# configure terminal //Enter the global configuration
mode.
Ruijie(config)# line vty 0 //Enter the line configuration
mode
Ruijie(config-line)# session-timeout 20 //Set the session timeout to 20min
Executing the Commands in the Executable File in Batch
In system management, sometimes it is necessary to enter multiple
configuration commands to manage a function. It takes a long period of time to
enter all the commands on CLI, causing error or mission. To resolve this
problem, you can encapsulate all the commands in a batch file according to
configuration steps. Then, you can execute the batch file for configuration when
necessary.
Command
Function

Table of Contents

Related product manuals