38
NOTE:
•
The command is only applicable to the asynchronous serial port ( console port).
•
The stop bits setting must be the identical for the user interfaces of the connecting ports on the device and
the target device for communication.
Examples
# Set the stop bits on the user interface AUX 0 to 1.5.
<Sysname> system-view
[Sysname] user-interface aux 0
[Sysname-ui-aux0] stopbits 1.5
telnet
Syntax
telnet
remote-host
[
service-port
] [
vpn-instance
vpn-instance-name
] [
source
{
interface
interface-type
interface-number
|
ip
ip-address
} ]
View
User view
Default level
0: Visit level
Parameters
remote-host
: IPv4 address or host name of a remote host, a case-insensitive string of 1 to 20 characters.
service-port
: TCP port number of the Telnet service on the remote host. It is in the range of 0 to 65535 and
defaults to 23.
vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN that the remote system belongs to, where
vpn-instance-name
is a case-sensitive string of 1 to 31 characters.
source
: Specifies the source interface or source IPv4 address of Telnet packets.
interface
interface-type interface-number
: Specifies the source interface. The source IPv4 address of the
Telnet packets sent is the IPv4 address of the specified interface.
interface-type interface-number
represents the interface type and number.
ip
ip-address
: Specifies the source IPv4 address of Telnet packets.
Description
Use the
telnet
command to Telnet to a remote host.
To terminate the current Telnet connection, press
Ctrl+K
or use the
quit
command.
The source IPv4 address or source interface specified by this command is applicable to the current Telnet
connection only.
Examples
# Telnet to the remote host 1.1.1.2, specifying the source IP address of Telnet packets as 1.1.1.1.
<Sysname> telnet 1.1.1.2 source ip 1.1.1.1