< Home

stelnet server enable

Function

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

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

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

Format

stelnet [ ipv4 | ipv6 ] server enable

undo stelnet [ ipv4 | ipv6 ] server enable

Parameters

Parameter Description Value
ipv4 Enable the IPv4 STelnet service. -
ipv6 Enable the IPv6 STelnet service. -

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Telnet does not have a safe authentication mode, and transmits data using TCP in plain text. This is not safe. On a high security network, STelnet is recommended.

By default, a device does not function as the STelnet server. The client can log in to a device using STelnet only after the device is configured as the STelnet server using the stelnet server enable command.

Configuration Impact

  • After you run the stelnet server enable command to configure a device as the STelnet server, the SSH monitoring port is enabled to listen for IPv4 and IPv6 protocol packets. To enable listening for IPv4 or IPv6 protocol packets separately, run the stelnet { ipv4 | ipv6 } server enable command.
  • After you run the undo stelnet server enable command to cancel the configuration of setting a device as the STelnet server, the SSH monitoring port is disabled from listening for IPv4 and IPv6 protocol packets. To disable listening for IPv4 or IPv6 protocol packets separately, run the undo stelnet { ipv4 | ipv6 } server enable command.

Precautions

If the device is used for the first time, you must log in to the device through the CONSOLE interface and enable STelnet on the SSH server.

When you run the undo stelnet server enable command to disable the STelnet service on the SSH server, all STelnet connections will be tore down.

After the stelnet server enable command is run, the system listens to IP address 0.0.0.0 by default. That is, the system listens to all IP addresses, which is prone to security issues. In this case, you are advised to run the ssh server-source command to specify a listening source for the STelnet server.

Example

# Enable the STelnet service.

<sysname> system-view
[sysname] stelnet server enable
Info: Succeeded in starting the Stelnet server.

# Configure a device as the STelnet IPv4 server.

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