Name
transport — line
Synopsis
transport inputprotocoltransport outputprotocoltransport preferredprotocol
Configures
The transport protocol
Default
Output and preferred, telnet; input, none
Description
This command specifies the transport protocol the router should use. input specifies the protocol to use for incoming connections on a line; output is for output connections on a line; and preferred is the transport protocol to use when the user does not specify one.
Using the command transport preferred none helps to prevent typos at the command line from causing a bogus DNS lookup. (With the default output setting, a mistyped command is frequently interpreted as a hostname for the telnet, initializing a DNS lookup.)
The protocol parameter specifies which protocol to use; possible values are given in Table 17-27.
|
Protocol |
Meaning |
|
|
DEC LAT protocol, when connecting to DEC hosts |
|
|
Maintenance operation protocol |
|
|
Netware asynchronous services interface protocol |
|
|
No protocol selection is to be made on this line |
|
|
The Unix rlogin protocol |
|
|
TCP/IP telnet protocol |
|
|
SSH (Secure Shell) |
|
|
All in the list |
|
|
ISDN asynchronous protocols |
Example
Routers do not allow incoming network connections to a TTY by default, so you must use the transport input command to enable this feature:
line tty 2 transport input all