F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100
31
Default command level
0: Visit level
Parameters
remote-host: Specifies the IPv4 address or host name of a remote host, a case-insensitive string of 1 to 20
characters.
service-port: Specifies the TCP port number for 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 host belongs to, where
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the remote host is on 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.
Usage guidelines
To terminate the current Telnet connection, press Ctrl+K or execute the quit command.
The source IPv4 address or source interface specified by this command is only applicable to the current
Telnet connection.
This command is not supported in FIPS mode.
Examples
# Telnet to host 1.1.1.2, using 1.1.1.1 as the source IP address for outgoing Telnet packets.
<Sysname> telnet 1.1.1.2 source ip 1.1.1.1
telnet client source
Use telnet client source to specify a source IPv4 address or source interface for outgoing Telnet packets
when the device serves as a Telnet client.
Use undo telnet client source to remove the configuration.
Syntax
telnet client source { interface interface-type interface-number | ip ip-address }
undo telnet client source
Default
No source IPv4 address or source interface is specified for outgoing Telnet packets. The source IPv4
address is the primary IPv4 address of the outbound interface.
Views
System view
Default command level
2: System level