357
Usage guidelines
To make sure the Stelnet client and the Stelnet server can communicate with each other, and to
improve the manageability of Stelnet clients in the authentication service, Hewlett Packard
Enterprise recommends that you specify a loopback interface as the source interface.
Examples
# Specify the source IPv6 address as
2:2::2:2
for the Stelnet client.
<Sysname> system-view
[Sysname] ssh client ipv6 source ipv6 2:2::2:2
Related commands
display ssh client source
ssh client source
Use
ssh
client
source
to specify the source IPv4 address or source interface of the Stelnet client.
Use
undo ssh client source
to remove the configuration.
Syntax
ssh client source
{
interface
interface-type interface-number
|
ip
ip-address
}
undo ssh client source
Default
An Stelnet client uses the IP address of the interface specified by the route of the device to access
the Stelnet server.
Views
System view
Default command level
3: Manage level
Parameters
interface
interface-type interface-number
: Specifies a source interface by its type and number.
ip
ip-address
: Specifies a source IPv4 address.
Usage guidelines
To make sure the Stelnet client and the Stelnet server can communicate with each other, and to
improve the manageability of Stelnet clients in the authentication service, Hewlett Packard
Enterprise recommends that you specify a loopback interface as the source interface.
Examples
# Specify the source IPv4 address of the Stelnet client as
192.168.0.1
.
<Sysname> system-view
[Sysname] ssh client source ip 192.168.0.1
Related commands
display ssh client source
ssh2
Use
ssh2
to establish a connection to an IPv4 Stelnet server.