Usage guidelines
This command is not supported in FIPS mode.
The source IPv4 address or source interface that is specified by this command applies 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.
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 ] [ dscp dscp-value ]
Views
User view
Predefined user roles
network-admin
Parameters
remote-host: Specifies the IP 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 (.).
-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. 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.
dscp dscp-value: Specifies the DSCP value for IPv6 to use in outgoing Telnet packets to indicate the
packet transmission priority, in the range of 0 to 63. The default is 48.
Usage guidelines
This command is not supported in FIPS mode.
To terminate the current Telnet connection, press Ctrl+K or execute the quit command.
Examples
# Telnet to the host at 5000::1.
40