< Home

protocol inbound

Function

The protocol inbound command sets the protocols supported by the administrator interface.

The undo protocol inbound command sets the protocols supported by the administrator interface to SSH and Telnet.

By default, the administrator interface supports SSH and Telnet.

Format

protocol inbound { all | ssh | telnet }

undo protocol inbound

Parameters

Parameter Description Value

all

Supports all protocols.

-

ssh

Supports only SSH.

-

telnet

Supports only Telnet.

-

Views

Administrator interface view

Default Level

3: Management level

Usage Guidelines

Prerequisites

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

Configuration Impact

After the protocol inbound command is used, the command configuration takes effect next time an administrator attempts to log in to the device.

Precautions

  • When SSH is specified in this command, if the SSH server has been enabled and the RSA key is not configured, users cannot log in to the SSH server using SSH.
  • Telnet is an insecure protocol. Using SSH is recommended.

Example

# Configure the administrator interfaces from VTY 0 to VTY 4 to support only SSH.

<sysname> system-view
[sysname] user-interface vty 0 4
[sysname-ui-vty0-4] protocol inbound ssh
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >