1-3auto-execute commandSyntaxauto-execute command textundo auto-execute commandViewVTY user interface viewParameterstext: Command to be executed automatically.DescriptionUse the auto-execute command command to set the command that is executed automatically after auser logs in.Use the undo auto-execute command command to disable the specified command from beingautomatically executed.By default, no command is configured to be executed automatically after a user logs in.Normally, the telnet command is specified to be executed automatically to enable the user to Telnet to aspecific network device automatically.z The auto-execute command command may cause you unable to perform common configurationin the user interface, so use it with caution.z Before executing the auto-execute command command and save your configuration, make sureyou can log in to the switch in other modes and cancel the configuration.Examples# Configure the telnet 10.110.100.1 command to be executed automatically after users log in to VTY 0. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] user-interface vty 0[Sysname-ui-vty0] auto-execute command telnet 10.110.100.1% This action will lead to configuration failure through ui-vty0. Are you sure?[Y/N]yAfter the above configuration, when a user logs onto the device through VTY 0, the device automaticallyexecutes the configured command and logs off the current user.copyright-info enableSyntaxcopyright-info enable