39 
Ste
 Command
Remarks 
6.  Configure the type of terminal 
display. 
terminal type { ansi | vt100 } 
Optional. 
By default, the terminal display 
type is ANSI. 
7.  Set the maximum number of lines 
to be displayed on a screen. 
screen-length screen-length 
Optional. 
By default, a screen displays 24 
lines. 
A value of 0 disables the function.
8.  Set the size of command history 
buffer. 
history-command max-size 
value 
Optional. 
By default, the buffer saves 10 
history commands. 
9.  Set the idle-timeout timer. 
idle-timeout minutes [ seconds ]
Optional. 
The default idle-timeout is 10 
minutes for all user interfaces. 
The system automatically 
terminates the user's connection if 
there is no information interaction 
between the device and the user 
within the timeout time. 
Setting idle-timeout to 0 disables 
the timer. 
10.  Specify a command to be 
automatically executed when a 
user logs in to the user interfaces.
auto-execute command 
command 
Optional. 
By default, no automatically 
executed command is specified. 
The command auto-execute 
function is typically used for 
redirecting a Telnet user to a 
specific host. After executing the 
specified command and 
performing the incurred task, the 
system automatically disconnect 
the Telnet session. 
 
Setting the DSCP value for outgoing Telnet packets when the 
device acts as the Telnet server 
 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Set the DSCP value for 
outgoing Telnet 
packets when the 
device acts as the 
Telnet server. 
•  On a Telnet server running IPv4: 
telnet server dscp dscp-value 
•  On a Telnet server running IPv6: 
telnet server ipv6 dscp dscp-value 
The default is as follows: 
•  48 for a Telnet server running 
IPv4. 
•  0 for a Telnet server running IPv6.