protocol inbound

Function

The protocol inbound command specifies the protocols that the current user interface supports.

The undo protocol inbound command restores the default protocols supported by the current user interface.

If the default configuration file is used, the user interface supports SSH. If the protocol inbound command configuration does not exist in the configuration file that is in use, the user interface supports all protocol types, including SSH and Telnet.

Format

protocol inbound { all | ssh | telnet }

undo protocol inbound

Parameters

Parameter Description Value
all

Specifies that the system supports all protocols: SSH, Telnet, and all.

-

ssh

Specifies that the system supports only SSH protocol.

-

telnet

Specifies that the system supports only Telnet protocol.

-

Views

VTY-type user interface view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
tty write

Usage Guidelines

Usage Scenario

To manage users that log in to the user interface, specify the VTY user interface for users login and run the protocol inbound command to configure protocols supported by the VTY user interface.

Prerequisites

If ssh is configured in the protocol inbound command, the authentication-mode (user interface view) command must be used to set the authentication mode to aaa. If the authentication mode is set to password, the protocol inbound ssh command cannot be executed.

Configuration Impact

After executing the protocol inbound command, the specified VTY user interface supports users login using Telnet and SSH. The command configuration takes effect next time the user log in to the device.

Precautions

When SSH is configured using this command, if the SSH server has been enabled and the RSA/DSA/ECC key is not configured then the users can log in to the SSH server using temporary key.

You are advised to use a more secure ECC authentication algorithm for higher security.

Example

# Configure vty0 to vty4 support for SSH protocol.
<HUAWEI> system-view
[~HUAWEI] user-interface vty 0 4
[~HUAWEI-ui-vty0-4] protocol inbound ssh
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >