F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Getting Started Command Reference-6PW100

32
Parameters
interface interface-type interface-number: Specifies a source interface. The primary IP address of this
interface will be used as the source IPv4 address for outgoing Telnet packets.
ip ip-address: Specifies a source IPv4 address.
Usage guidelines
The source IPv4 address or source interface specified by this command is applicable to all Telnet
connections. However, if a user specifies a source IPv4 address or source interface when executing the
telnet command, the setting specified by the user takes effect.
This command is not supported in FIPS mode.
Examples
# Set the source IPv4 address for outgoing Telnet packets to 1.1.1.1 when the device serves as a Telnet
client.
<Sysname> system-view
[Sysname] telnet client source ip 1.1.1.1
Related commands
display telnet client configuration
telnet ipv6
Use telnet ipv6 to Telnet to a host in an IPv6 network
Syntax
telnet ipv6 remote-host [ -i interface-type interface-number ] [ port-number ] [ vpn-instance
vpn-instance-name ]
Views
User view
Default command level
0: Visit level
Parameters
remote-host: Specifies the IP address or host name of a remote host, a case-insensitive string of 1 to 46
characters.
-i interface-type interface-number: Specifies the outbound interface for sending Telnet packets. This
option is required when the destination address is a link-local address.
port-number: 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.
Usage guidelines
To terminate the current Telnet connection, press Ctrl+K or execute the quit command.
This command is not supported in FIPS mode.
The following matrix shows the telnet ipv6 command and firewalls and UTM devices compatibility: