• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# telnet
2
3
4## Command Function
5
6This command is used to enable or disable the Telnet server service.
7
8
9## Syntax
10
11telnet [_on | off_]
12
13
14## Parameters
15
16**Table 1** Parameter description
17
18| Parameter| Description| Value Range|
19| -------- | -------- | -------- |
20| on | Enables the telnet server service.| N/A |
21| off | Disables the telnet server service.| N/A |
22
23
24## Usage Guidelines
25
26- Before enabling Telnet, ensure that the network driver and network protocol stack have been initialized and the NIC of the board is in the **link up** state.
27
28- Currently, multiple clients (Telnet + IP) cannot connect to the development board at the same time.
29  > **NOTICE**<br>
30  > Telnet is used for debugging and is disabled by default. Do not use it in formal products.
31
32
33## Example
34
35Run **telnet on**.
36
37
38## Output
39
40Command output:
41
42
43```
44OHOS # telnet on
45OHOS # start telnet server successfully, waiting for connection.
46```
47