< Home

stelnet server enable

Function

The stelnet server enable command enables the STelnet service on an SSH server.

The undo stelnet server enable command disables the STelnet service on an SSH server.

By default, the STelnet service is disabled on SSH servers.

Format

stelnet [ ipv4 | ipv6 ] server enable

undo stelnet [ ipv4 | ipv6 ] server enable

Parameters

Parameter Description Value
ipv4 Configures a device as the STelnet IPv4 server. -
ipv6 Configure a device as the STelnet IPv6 server. -

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To connect a client to an SSH server through STelnet, you must enable the STelnet service on the SSH server.

Precautions

After you disable the STelnet service on the SSH server, all clients that have logged in through STelnet are disconnected.

After the stelnet server enable command is run, the device receives login connection requests from all interfaces by default, incurring security risks. To improve security, you are advised to run the ssh server-source command to specify a source interface for the STelnet server.

After the stelnet server enable command is run, the numbers of IPv4 port and IPv6 port are both changed. To change the number of IPv4 port or IPv6 port separately, run the stelnet { ipv4 | ipv6 } server enable command.

Example

# Enable the STelnet service.

<HUAWEI> system-view
[HUAWEI] stelnet server enable

# Enable the STelnet IPv4 service.

<HUAWEI> system-view
[HUAWEI] stelnet ipv4 server enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >