Command Reference Basic Configuration Management Commands
2.48 telnet
Use this command to log in a server that supports telnet connection.
telnet host [ port ] [ /source { ip A.B.C.D | ipv6 X:X:X:X::X | interface interface-name } ]
The IP address of the host or host name you want to log in.
Selects the TCP port number for login, 23 by default.
Specifies the source IP address or source interface used by the
Telnet client.
Specifies the source IPv4 address used by the Telnet client.
Specifies the source IPv6 address used by the Telnet client.
Specifies the source interface used by the Telnet client.
The following example sets telnet to IPv6 address 2AAA:BBBB::CCCC.
Ruijie# telnet 2AAA:BBBB::CCCC
ip telnet source-interface
Specifies the IP address of the interface as the
source address for Telnet connection.
Displays the currently established Telnet
sessions.
Exits current connection.
Use this command to set a local username and optional authorization information.. Use the no form of
this command to restore the default setting.
username name [ login mode { aux | console | ssh | telnet } ] [ online amount number ]
[ permission oper-mode path ] [ privilege privilege-level ] [ reject remote-login ] [ web-auth ]
[ pwd-modify ] [ nopassword | password [ 0 | 7 ] text-string | secret [ 0 | 5] text-string]