Establishing an Outbound Telnet Connection
|
This chapter describes the Outbound Telnet feature and how to establish a connection.
- This feature establishes an outbound telnet connection between a device and a remote host.
- When a telnet connection is initiated, each side of the connection is assumed to originate and terminate at a “Network Virtual Terminal” (NVT).
- Server and user hosts do not maintain information about the characteristics of each other’s terminals and terminal handling conventions.
- Must use a valid IP address.
This chapter contains the following topics:
Configuring a Telnet Connection via CLI
The following are examples of the CLI commands used with the Outbound Telnet feature.
Example 1: show network
CODE EXAMPLE 31-1 show network Command
(DTI SWITCH) >telnet 192.168.77.151
Trying 192.168.77.151...
(DTI SWITCH)
User:admin
Password:
(DTI SWITCH) >enable
Password:
(DTI SWITCH) # show network
IP Address............................... 192.168.77.151
Subnet Mask.............................. 255.255.255.0
Default Gateway.......................... 192.168.77.127
Burned In MAC Address.................... 00:10:18.82.04:E9
Locally Administered MAC Address......... 00:00:00:00:00:00
MAC Address Type......................... Burned In
Network Configuration Protocol Current. .. DHCP
Management VLAN ID....................... 1
Web Mode................................. Enable
Java Mode ............................... Disable
|
Example 2: show telnet
CODE EXAMPLE 31-2 show telnet Command
(DTI SWITCH) # show telnet
Outbound Telnet Login Timeout (minutes)........ 5
Maximum Number of Outbound Telnet Sessions..... 5
Allow New Outbound Telnet Sessions............. Yes
|
Example 3: transport output telnet
CODE EXAMPLE 31-3 transport output telnet Command
(DTI SWITCH) (Config)# lineconfig ?
<cr> Press Enter to execute the command.
(DTI SWITCH) (Config)# lineconfig
(DTI SWITCH) (Line)# transport ?
input Displays the protocols to use to connect to a
specific line of the router.
output Displays the protocols to use for outgoing
connections from a line.
(DTI SWITCH) (Line)# transport output ?
telnet Allow or disallow new telnet sessions.
(DTI SWITCH) (Line)# transport output telnet ?
<cr> Press Enter to execute the command.
(DTI SWITCH) (Line)# transport output telnet
(DTI SWITCH) (Line)#
|
Example 4: session-limit and session-timeout
CODE EXAMPLE 31-4 session-limit and session-timeout Commands
(DTI SWITCH) (Line)# session-limit ?
<0-5> Configure the maximum number of outbound telnet
sessions allowed.
(DTI SWITCH) (Line)# session-limit 5
(DTI SWITCH) (Line)# session-timeout ?
<1-160> Enter time in minutes.
(DTI SWITCH) (Line)# session-timeout 15
|
Configuring a Telnet Connection via Web Interface
You can set up the Outbound Telnet session through the Web interface.
- Enable or disable administration mode
- Set how many sessions you want
- Set the session time outs
FIGURE 31-1 Telnet Session Configuration
Sun Netra CP3240 Switch User’s Guide
|
820-3252-11
|
|
© 2007 Diversified Technology, Inc. All Rights Reserved. © 2009 Sun Microsystems, Inc. All rights reserved.