R3721-F3210-F3171-HP High-End Firewalls Getting Started Command Reference-6PW101
33
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 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 option.
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 telnet 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.
This command is not supported in FIPS mode.
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
telnet client source
Syntax
telnet client source { interface interface-type interface-number | ip ip-address }
undo telnet client source
View
System view
Default level
2: System level
Parameters
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 telnet client source to specify the source IPv4 address or source interface for sending Telnet packets
when the device serves as a Telnet client.
Use undo telnet client source to remove the source IPv4 address or source interface for sending Telnet
packets.