14In VTY line view, this command is associated with the protocol inbound command. If you specify anon-default value for only one of the two commands in VTY line view, the other command uses thedefault setting, regardless of the setting in VTY line class view.Examples# Enable the none authentication mode for user line VTY 0. system-view[Sysname] line vty 0[Sysname-line-vty0] authentication-mode none# Enable password authentication for user line VTY 0 and set the password to 321. system-view[Sysname] line vty 0[Sysname-line-vty0] authentication-mode password[Sysname-line-vty0] set authentication password simple 321# Enable scheme authentication for user line VTY 0. Configure local user 123 and set the passwordto 321. Assign the Telnet service and the user role network-admin to the user. system-view[Sysname] line vty 0[Sysname-line-vty0] authentication-mode scheme[Sysname-line-vty0] quit[Sysname] local-user 123[Sysname-luser-manage-123] password simple 321[Sysname-luser-manage-123] service-type telnet[Sysname-luser-manage-123] authorization-attribute user-role network-adminRelated commandsset authentication passwordauto-execute commandCAUTION:After configuring this command for a user line, you might be unable to access the CLI through theuser line. Make sure you can access the CLI through a different user line before you configure thiscommand and save the configuration.Use auto-execute command to specify a command that is automatically executed when a user logsin through the current user line.Use undo auto-execute command to remove the configuration.Syntaxauto-execute command commandundo auto-execute commandDefaultCommand auto-execution is disabled.ViewsUser line view, user line class viewPredefined user rolesnetwork-admin