31protocol inboundUse protocol inbound to enable a user line to support Telnet, SSH, or both protocols.Use undo protocol inbound to restore the default.SyntaxIn non-FIPS mode:protocol inbound { all |ssh | telnet }undo protocol inboundIn FIPS mode:protocol inbound sshundo protocol inboundDefaultIn non-FIPS mode, both protocols are supported.In FIPS mode, SSH is supported.ViewsVTY line view, VTY line class viewPredefined user rolesnetwork-adminParametersall: Supports both protocols.ssh: Supports SSH only.telnet: Supports Telnet only.Usage guidelinesA protocol change does not take effect for current online users. It takes effect only for new loginusers.Before configuring a user line to support SSH, set the authentication mode to scheme for the userline. For more information, see authentication-mode.This command is available in both VTY line view and VTY line class view. In VTY line view, thiscommand is associated with the authentication-mode command. If you specify a non-default valuefor only one of the two commands in VTY line view, the other command uses the default setting,regardless of the setting in VTY line class view.Examples# Enable user lines VTY 0 through VTY 4 to support only SSH. system-view[Sysname] line vty 0 4[Sysname-line-vty0-4] authentication-mode scheme[Sysname-line-vty0-4] protocol inbound ssh# Enable SSH support and set the authentication mode to scheme in VTY line class view. Enableuser lines VTY 0 through VTY 4 to support all protocols and disable authentication for the user lines. system-view[Sysname] line class vty[Sysname-line-class-vty] authentication-mode scheme