15
Step Command
Remarks
The system automatically
terminates the user's connection if
there is no information interaction
between the device and the user
within the timeout time.
Setting idle-timeout to 0 disables
the timer.
10.
Specify a command to be
automatically executed when a
user logs in to the user interfaces.
auto-execute command
command
Optional.
By default, no automatically
executed command is specified.
The command auto-execute
function is typically used for
redirecting a Telnet user to a
specific host. After executing the
specified command and
performing the incurred task, the
system automatically disconnect
the Telnet session.
Using the device to log in to a Telnet server
You can use the device as a Telnet client to log in to a Telnet server. If the server is located in a different
subnet than the device, make sure the two devices have routes to reach each other.
Figure 6
Telnetting from the device to a Telnet server
To use the device to log in to a Telnet server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the source IPv4
address or source interface
for outgoing Telnet packets.
telnet client source
{
interface
interface-type interface-number
|
ip
ip-address
}
Optional.
By default, no source IPv4 address
or source interface is specified. The
device automatically selects a
source IPv4 address.
3.
Exit to user view.
quit
N/A