16Typically, you use can use the auto-execute command telnet command in user interface view to enablea user to automatically telnet to the specified host when the user logs in to the device. After the userterminates the connection with the host, the user’s connection with the device is automatically terminated.CAUTION:Applying the auto-execute command command to the user interface may disable you from configuringthe system. Before configuring the command and saving the configuration (by using the save command),make sure that you can access the device through VTY, AUX interfaces to remove the configuration whena problem occurs.Examples# Configure the device to automatically telnet to 192.168.1.41 after a user logs in to interface VTY 0. system-view[Sysname] user-interface vty 0[Sysname-ui-vty0] auto-execute command telnet 192.168.1.41% This action will lead to configuration failure through ui-vty0. Are you sure?[Y/N]:y[Sysname-ui-vty0]To verify the configuration, perform the following operations:Telnet to 192.168.1.40. The device automatically telnets to 192.168.1.41. The following output isdisplayed:C:\> telnet 192.168.1.40******************************************************************************* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved. ** Without the owner's prior written consent, ** no decompiling or reverse-engineering shall be allowed. *******************************************************************************Trying 192.168.1.41 ...Press CTRL+K to abortConnected to 192.168.1.41 ...******************************************************************************* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved. ** Without the owner's prior written consent, ** no decompiling or reverse-engineering shall be allowed. *******************************************************************************This operation is the same as directly logging in to the device at 192.168.1.41. If the telnet connection to192.168.1.41 breaks down, the telnet connection to 192.168.1.40 breaks down at the same time.authentication-modeSyntaxauthentication-mode { none | password | scheme }undo authentication-mode