cc/td/doc/product/software/ios112
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Connection Commands

Connection Commands

This chapter describes the function and displays the syntax of each command used to make connections from a router to terminals or network devices. For more information about defaults and usage guidelines, see the corresponding chapter of the Access Services Command Reference.

connect

To log on to a host that supports Telnet, Rlogin, or LAT, use the connect EXEC command.

connect host [port] [keyword]
host A host name or an IP address.
port (Optional) A decimal TCP port number; the default is the Telnet router port (decimal 23) on the host.
keyword (Optional) A keyword option.

disconnect

To disconnect a line, use the disconnect EXEC command.

disconnect [connection]
connection (Optional) Number of the line or name of the active network connection to be disconnected.

lat

To connect to a LAT host, use the lat EXEC command.

lat name [node nodename | port portname | /debug]
name Your LAT-learned service name.
node nodename (Optional) Specifies a connection to a particular LAT node that offers a service. If you do not include the node name option, the node with the highest rating offering the service is used. Use the show lat nodes EXEC command to display information about all known LAT nodes.
port portname (Optional) Specifies a destination LAT port name. This keyword is ignored in most time sharing systems, but is used by routers and network access servers offering reverse LAT services. Reverse LAT involves connecting to one router from another, so that the target router runs the host portion of the protocol. Enter the port name in the format of the remote system as the portname argument.
/debug (Optional) Enables a switch to display parameter changes and other special messages.

lock

To set up a temporary password on a line, use the lock EXEC command.

lock

login (EXEC)

To change a login username, use the login EXEC command.

login

name-connection

To assign a logical name to a connection, use the name-connection user EXEC command.

name-connection

pad

To log onto a PAD, use the pad user EXEC command.

pad {X.121-address | hostname} [/cud text] [/debug] [/profile name] [/reverse]
X.121-address Specifies the X.121 address of the X.25 host.
hostname Specifies the X.25 host name if the host-to-address mapping has been set with the X.25 host command.
/cud text (Optional) Includes the specified text in the Call User Data field of the outgoing Call Request Packet.
/debug (Optional) Displays the informational level of logging messages whenever the remote host changes an X.3 parameter setting or sends any other X.29 control packet.
/profile name (Optional) Sets X.3 PAD parameters for the name script. Same as issuing the x29 profile global configuration command when
translating X.25.
/reverse (Optional) Causes reverse charge calls to be accepted on a per-call, rather than a per-interface, basis.

ppp

To start an asynchronous connection using PPP, use the ppp EXEC command.

ppp {/default | {remote-ip-address | remote-name} [@tacacs-server]} [/routing]
/default (Optional) Makes a PPP connection when a default address has been configured.
remote-ip-address IP address of the client workstation or PC. This parameter can only be specified if the line is set for dynamic addresses using the async address dynamic line configuration command.
remote-name Name of the client workstation or PC. This parameter can be specified if the line is set for dynamic addresses using the async address dynamic line configuration command.
@tacacs-server (Optional) IP address or IP host name of the TACACS server to which the user's TACACS authentication request is sent.
/routing (Optional) Indicates that the remote system is a router and that routing messages should be exchanged over the link. The line must be configured for asynchronous routing using PPP encapsulation.

resume (setting X.3 PAD parameters)

To set X.3 parameters, use the resume EXEC command as follows:

resume [connection] [/set parameter:value]
connection (Optional) The name or number of the connection; the default is the most recent connection.
/set parameter:value (Optional) Sets the X.3 connection options and PAD parameters for the Cisco IOS software.

resume (switching sessions)

To switch to another open Telnet, rlogin, LAT, or PAD session, use the resume EXEC command.

resume [connection] [keyword]
connection (Optional) The name or number of the connection; the default is the most recent connection.
keyword (Optional) A keyword option.
/set parameter:value (Optional) Sets PAD parameters for the Cisco IOS software.

rlogin

To log onto a UNIX host using rlogin, use the rlogin EXEC command.

rlogin host [debug] [/user username]
host Specifies the host name or IP address.
debug (Optional) Enables debugging output from the rlogin protocol.
/user username (Optional) Specifies a remote username. The rlogin protocol will not present you with the "login:" prompt.

send

To send messages to one or all terminal lines, use the send EXEC command.

send {line-number | * | aux number | console number | tty number | vty number}
line-number Line number to which the message will be sent.
* Sends a message to all TTY lines.
aux number Sends a message to the AUX port.
console number Sends a message to the console port.
tty number Sends a message to an asynchronous line.
vty number Sends a message to a VTY line.

show entry

To display the list of queued host-initiated connections to a router, use the show entry user EXEC command.

show entry

show hosts

To display the default domain name, the style of name lookup service, a list of name server hosts, and the cached list of host names and addresses on the network to which you can connect, use the show hosts user EXEC command.

show hosts

show lat services

To display information about learned LAT services in the Cisco IOS software, use the show lat services user EXEC command.

show lat services [service-name]
service-name (Optional) Name of a specific LAT service.

show lat sessions

To display active LAT sessions, use the show lat sessions user EXEC command.

show lat sessions [line-number]
line-number (Optional) Shows an active LAT session on a specific line.

show service

To display information about LAT learned services in a DECserver format, use the show service user EXEC command.

show service [service-name]
service-name (Optional) Name of a specific LAT service.

show sessions

To display information about open LAT, Telnet, or rlogin connections, use the show sessions user EXEC command.

show sessions

show tcp

To display the status of a TCP connection, use the show tcp user EXEC command.

show tcp [line-number]
line-number (Optional) Displays (in octal) the status of the TCP connections for a particular line.

show tcp brief

To view a summary of the TCP connection end points in the system, use the show tcp brief user EXEC command.

show tcp brief [all]
all (Optional) Shows the status for all end points. End points in the LISTEN state are usually not shown.

show terminal

To display local terminal settings, use the show terminal user EXEC command.

show terminal

show users

To display information about the active lines on the router, use the show users user EXEC command.

show users [all]
all (Optional) Specifies that all lines be displayed, regardless of whether anyone is using them.

show x25 pad

To display information about current open connections, including packet transmissions, X.3 parameter settings, and the current status of virtual circuits, use the show lat services user EXEC command.

show x25 pad

show xremote

To list XRemote connections and monitor XRemote traffic through the networking hardware, use the show xremote user EXEC command.

show xremote [line]
line (Optional) Name or number of the line.

show xremote line

To list XRemote connections and monitor XRemote traffic for specific lines on a router, use the show xremote line user EXEC command.

show xremote line [number]
number (Optional) Decimal value representing virtual terminal lines on a server.

slip

To start a serial connection to a remote host by using SLIP, use the slip EXEC command.

slip [/default] {remote-ip-address | remote-name} [@tacacs-server] [/routing] [/compressed]
/default (Optional) Makes a SLIP connection when a default address has been configured.
remote-ip-address IP address of the client workstation or PC.
remote-name Name of the client workstation or PC.
@tacacs-server (Optional) IP address or IP host name of the TACACS server to which your TACACS authentication request is sent.
/routing (Optional) Indicates that the remote system is a router. Line must be configured for asynchronous routing using SLIP encapsulation.
/compressed (Optional) Indicates that IP header compression should be negotiated.

systat

The show users command replaces the systat command. Refer to the description of the show users command for more information.

telnet

To log on to a host that supports Telnet, use the telnet EXEC command.

telnet host [port] [keyword] 

host

A host name or an IP address.
port (Optional) A decimal TCP port number; the default is the Telnet router port (decimal 23) on the host.
keyword (Optional) A keyword option.

terminal data-character-bits

To set the number of data bits per character that are interpreted and generated by the Cisco IOS software for the current line and session, use the terminal data-character-bits EXEC command.

terminal data-character-bits {7 | 8}
7 Seven data character bits.
8 Eight data character bits.

terminal databits

To change the number of data bits per character for the current terminal line for this session, use the terminal databits EXEC command.

terminal databits {5 | 6 | 7 | 8}
5 Five data bits per character.
6 Six data bits per character.
7 Seven data bits per character.
8 Eight data bits per character.

terminal dispatch-character

To define a character that causes a packet to be sent for the current session, use the terminal dispatch-character EXEC command.

terminal dispatch-character ASCII-number1 [ASCII-number2 . . . ASCII-number]
ASCII-number The ASCII decimal representation of the character, such as Return (ASCII character 13) for line-at-a-time transmissions. The command can take multiple arguments, so you can define any number of characters as the dispatch character.

terminal dispatch-timeout

To set the character dispatch timer for the current terminal line for the current session, use the terminal dispatch-timeout EXEC command.

terminal dispatch-timeout milliseconds
milliseconds An integer that specifies the number of milliseconds that the router waits after it puts the first character into a packet buffer before sending the packet. During this interval, more characters can be added to the packet, which increases processing efficiency of the remote host.

terminal download

To temporarily set the ability of a line to act as a transparent pipe for file transfers for the current session, use the terminal download EXEC command.

terminal download

terminal escape-character

To set the escape character for the current terminal line for the current session, use the terminal escape-character EXEC command.

terminal escape-character ASCII-number
ASCII-number Either the ASCII decimal representation of the escape character or a control sequence (Ctrl-P, for example). Entering the escape character followed by X returns you to the EXEC when you are connected to another computer. See the "ASCII Character Set" appendix in the Configuration Fundamentals Command Reference for a list of ASCII characters.

terminal exec-character-bits

To locally change the ASCII character set used in EXEC and configuration command characters for the current session, use the terminal exec-character-bits EXEC command.

terminal exec-character-bits {7 | 8}
7 Selects the 7-bit ASCII character set.
8 Selects the full 8-bit character set.

terminal flowcontrol

To set flow control for the current terminal line for the current session, use the terminal flowcontrol EXEC command.

terminal flowcontrol {none | software [in | out] | hardware}
none Prevents flow control.
software Sets software flow control.
[in | out] (Optional) Specifies the direction: in causes the router to listen to flow control from the attached device, and out causes the router to send flow control information to the attached device. If you do not specify a direction, both directions are assumed.
hardware Sets hardware flow control. For information about setting up the EIA/TIA-232 line, see the manual that was shipped with your product.

terminal hold-character

To set or change the hold character for the current session, use the terminal hold-character EXEC command. Use the terminal no hold-character command to delete the hold character.

terminal hold-character ASCII-number
ASCII-number Either the ASCII decimal representation of the hold character or a control sequence (for example, Ctrl-P). By default, no local hold character is set. The Break character is represented by zero; NULL cannot be represented.

terminal keymap-type

To specify the current keyboard type for the current session, use the terminal keymap-type EXEC command.

terminal keymap-type keymap-name
keymap-name Name defining the current keyboard type.

terminal lat

To temporarily define the list of services to which you or another user can connect, use the terminal lat EXEC command.

terminal lat remote-modification
terminal lat
out-group {groupnumber [start-end] [disabled | enabled]}
remote-modification Sets the line to be remotely modifiable.
out-group Defines a group list for outgoing user-initiated connections.
groupnumber {start-end} Number of the group that has access to the system through the specified line. This number is identified by the system administrator. You also can specify a range of group numbers. Separate the beginning and end of the range with a hyphen.
disabled Incrementally removes specified groups from list.
enabled Incrementally adds specified groups to list.

terminal length

To set the number of lines on the current terminal screen for the current session, use the terminal length EXEC command.

terminal length screen-length
screen-length Your desired number of lines on the screen. The router uses this value to determine when to pause during multiple-screen output. A value of zero prevents the router from pausing between screens of output. When the output exceeds the screen length, it scrolls past.

terminal monitor

To display debug command output and system error messages for the current terminal and session, use the terminal monitor EXEC command.

terminal monitor

terminal notify

To configure a line to inform a user who has multiple concurrent Telnet connections when output is pending on a connection other than the current one, use the terminal notify EXEC command.

terminal notify

terminal padding

To change the character padding on a specific output character for the current session, use the terminal padding EXEC command.

terminal padding ASCII-number count
ASCII-number The ASCII decimal representation of the character.
count The number of NULL bytes sent after that character, up to 255 padding characters in length.

terminal parity

To define the generation of the parity bit for the current terminal line for the current session, use the terminal parity EXEC command.

terminal parity {none | even | odd | space | mark}
none No parity. This is the default.
even Even parity.
odd Odd parity.
space Space parity.
mark Mark parity.

terminal rxspeed

To set the terminal receive speed (how fast information is sent to the terminal) for the current line and session, use the terminal rxspeed EXEC command.

terminal rxspeed bps
bps Baud rate in bits per second (bps).

terminal special-character-bits

To change the ASCII character widths to accept special characters for the current terminal line and session, use the terminal special-character-bits EXEC command.

terminal special-character-bits {7 | 8}
7 Selects the 7-bit ASCII character set.
8 Selects the full 8-bit ASCII character set. Configuring the width to 8 bits enables you to use twice as many special characters as with the 7-bit setting. This selection enables you to add special graphical and international characters in banners, prompts, and so forth.

terminal speed

To set the transmit and receive speeds of the current terminal line for the current session, use the terminal speed EXEC command.

terminal speed bps
bps The baud rate in bits per second (bps).

terminal start-character

To change the flow control start character for the current session, use the terminal start-character EXEC command.

terminal start-character ASCII-number
ASCII-number The ASCII decimal representation of the start character.

terminal stop-character

To change the flow control stop character for the current session, use the terminal stop-character EXEC command.

terminal stop-character ASCII-number
ASCII-number The ASCII decimal representation of the stop character.

terminal stopbits

To change the number of stop bits transmitted per byte by the current terminal line during an active session, use the terminal stopbits EXEC command.

terminal stopbits {1 | 1.5 | 2}
1 One stop bit.
1.5 One and a half stop bits.
2 Two stop bits.

terminal telnet transparent

To cause the current terminal line to send a Return character (CR) as a CR followed by a NULL instead of a CR followed by a LINE FEED (LF) for the current session, use the terminal telnet transparent EXEC command.

terminal telnet transparent

terminal telnet break-on-ip

To cause the access server to generate a hardware Break signal on the EIA/TIA-232 line, which is associated with a reverse Telnet connection, for the current line and sessions, use the terminal telnet break-on-ip EXEC command.

terminal telnet break-on-ip

terminal telnet refuse-negotiations

To set the current line to refuse to negotiate full-duplex, remote echo options on incoming connections for current sessions, use the terminal telnet refuse-negotiations EXEC command.

terminal telnet refuse-negotiations

terminal telnet speed

To allow the access server to negotiate transmission speed for the current line and session, use the terminal telnet speed EXEC command.

terminal telnet speed default-speed maximum-speed
default-speed Line speed (in bps) that the access server will use if the device on the other end of the connection has not specified a speed.
maximum-speed Maximum line speed (in bps) that the device on the other end of the connection can use.

terminal telnet sync-on-break

To cause the access server to send a Telnet Synchronize signal when it receives a Telnet Break signal on the current line and session, use the terminal telnet sync-on-break EXEC command.

terminal telnet sync-on-break

terminal terminal-type

To specify the type of terminal connected to the current line for the current session, use the terminal terminal-type EXEC command.

terminal terminal-type terminal-type
terminal-type Defines the terminal name and type and permits terminal negotiation by hosts that provide that type of service. Default is VT100.

terminal transport preferred

To specify the preferred protocol to use for the current session when a command does not specify one, use the terminal transport preferred EXEC command.

terminal transport preferred {all | lat | mop | nasi | none | pad | rlogin | telnet}
all Specifies all recognized protocols.
lat Specifies the LAT protocol.
mop Specifies the Maintenance Operation Protocol (MOP).
nasi Specifies the NetWare Asynchronous Services Interface (NASI) protocol.
none Prevents any protocol selection on the line. The router default is that any unrecognized command is a host name. If the preferred protocol is set to none, the router will not attempt any connections if the command is not recognized.
pad Specifies X.3 PAD, which is used most often to connect a server product to X.25 hosts.
rlogin Specifies UNIX rlogin.
telnet Specifies the TCP/IP Telnet protocol.

terminal txspeed

To set the terminal transmit speed (how fast the terminal can send informaiton) on the current line and session, use the terminal txspeed EXEC command.

terminal txspeed bps
bps Baud rate in bits per second (bps).

terminal width

To set the number of character columns on the terminal screen for the current line for a session, use the terminal width EXEC command.

terminal width characters
characters Number of character columns displayed on the terminal.

tn3270

To begin a TN3270 session, use the tn3270 EXEC command.

tn3270 host
host Name or IP address of a specific host on a network that can be reached by the router. The default terminal emulation mode allows access using a VT100 emulation.

tunnel

To set up a network layer connection to a router, use the tunnel user EXEC command.

tunnel host
host Name or IP address of a specific host on a network that can be reached by the router.

where

To list the open sessions, use the where EXEC command.

where

x3

To set X.3 PAD parameters, use the x3 EXEC command.

x3 parameter:value
parameter:value Sets the PAD parameters.

xremote

To prepare the router for manual startup and initiate an XRemote connection, use the xremote EXEC command.

xremote

xremote lat

To initiate a DECwindow session over a LAT connection, use the xremote lat EXEC command.

xremote lat service
service Name of the desired LAT service.

xremote xdm

To activate automatic session startup for an XRemote connection, use the xremote xdm EXEC command.

xremote xdm [hostname]
hostname (Optional) Host computer name or IP address.

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.