R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101

29
NOTE:
The command is only applicable to asynchronous serial interfaces (including AUX and console ports).
The stop bits settin
g
must be the identical for the user interfaces of the connectin
g
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, which is a case insensitive string of 1 to 20
characters.
service-port: TCP port number of the Telnet service on the remote host. It ranges from 0 to 65535 and
defaults to 23.
vpn-instance vpn-instance-name: Specifies the VPN that the remote system belongs to, where
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the remote system is on the public
network, do not specify this keyword and argument combination.
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