Command Reference Line Commands
3.11 disconnect-character
Use this command to set the hot key that disconnects the terminal service connection. Use the no
form of this command to restore the default setting.
disconnect-character ascii-value
ASCII decimal value of the hot key that disconnects the terminal
service connection, in the range from 0 to 255.
The default hot key is Ctrl+D and the ASCII decimal value is 0x04.
This command is used to set the hot key that disconnects the terminal service connection. The hot
key cannot be the commonly used ASCII node such as characters ranging from a to z, from A to Z or
numbers ranging from 0 to 9. Otherwise, the terminal service cannot operate properly.
The following example sets the hot key that disconnects the terminal service connection on line VTY
0 5 to Ctrl+E (0x05).
Ruijie(config)# line vty 0 5
Ruijie(config-line)# disconnect-character 5
Use this command to set the escape character for the line. Use the no form of this command to
restore the default setting.