
37
Views
User line view
Predefined user roles
network-admin
Parameters
1
: Uses one stop bit.
1.5
: Uses one and a half stop bits. The device does not support using one and a half stop bits. If you
specify this keyword, two stop bits are used.
2
: Uses two stop bits.
Usage guidelines
This command is not supported in VTY line view.
The configuration terminal and the device must be configured to use the same number of stop bits to
communicate.
Examples
# Set the number of stop bits to 1 for user line AUX 0.
<Sysname> system-view
[Sysname] line aux 0
[Sysname-line-aux0] stopbits 1
telnet
Use
telnet
to Telnet to a host in an IPv4 network.
Syntax
telnet
remote-host
[
service-port
] [
vpn-instance
vpn-instance-name
] [
source
{
interface
interface-type interface-number
|
ip
ip-address
} ] [
dscp
dscp-value
]
Views
User view
Predefined user roles
network-admin
Parameters
remote-host
: Specifies the IPv4 address or host name of a remote host. A host name can be a
case-insensitive string of 1 to 253 characters. Valid characters for a host name include letters, digits,
hyphens (-), underscores (_), and dots (.).
service-port
: Specifies the TCP port number for the Telnet service on the remote host. The value
range is 0 to 65535 and the default is 23.
vpn-instance
vpn-instance-name
: Specifies the VPN instance to which the remote host belongs,
where
vpn-instance-name
is a case-sensitive string of 1 to 31 characters. If the remote host belongs
to the public network, do not specify this option.
source
: Specifies a source IPv4 address or source interface for outgoing Telnet packets.
interface
interface-type interface-number
: Specifies the source interface. The primary IPv4 address
of the interface will be used as the source IPv4 address for outgoing Telnet packets.
ip
ip-address
: Specifies the source IPv4 address for outgoing Telnet packets.