Command Manual – Login
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Login Commands
Huawei Technologies Proprietary
1-15
1.1.15 protocol inbound
Syntax
protocol inbound
{
all
|
ssh
|
telnet
}
View
User interface view
Parameter
all
: Supports both Telnet protocol and SSH protocol.
ssh
: Supports SSH protocol.
telnet
: Supports Telnet protocol.
Description
Use the
protocol inbound
command to specify the protocols supported by the user
interface.
Both Telnet protocol and SSH protocol are supported by default.
Related command:
user-interface vty
.
Note:
To improve security and avoid malicious attack to the unused SOCKETs, TCP 23 and
TCP 22 ports for Telnet and SSH services respectively will be enabled or disabled after
corresponding configurations.
z
If the authentication mode is
none
, TCP 23 will be enabled, and TCP 22 will be
disabled.
z
If the authentication mode is
password
, and the corresponding password has been
set, TCP 23 will be enabled, and TCP 22 will be disabled.
z
If the authentication mode is
scheme
, there are three scenarios: when the
supported protocol is specified as
telnet
, TCP 23 will be enabled; when the
supported protocol is specified as
ssh
, TCP 22 will be enabled; when the supported
protocol is specified as
all
, both the TCP 23 and TCP 22 port will be enabled.
Example
# Configure that only SSH protocol is supported in VTY 0.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] user-interface vty 0
[Quidway-ui-vty0] protocol inbound ssh