Use the mode command to change or display the operating parameters for a current telnet session. Anyone can issue the mode command.
Enter the mode command as shown below to change telnet operating parameters:
mode [bin={on|off}] [crmod={on|off}] [crlf={on|off}]
Enter the mode command as shown below to display the operating parameters of the current telnet session.
|
Command Field |
Description |
|
bin |
on - means that binary mode is on, that is, all transmitted and received characters are converted to binary during this telnet session. off - means that binary mode is off for this telnet session. The default is off. |
|
crmod |
on - means that line feed characters are added to received carriage return characters. off - means that line feed characters are not added to received carriage return characters. The default is off. |
|
crlf |
on - means that line feed characters are added to transmitted carriage return characters. off - means that line feed characters are not added to transmitted carriage return characters. The default is off. |
In this example, the mode command turns binary mode on.
mode binary=on
In this example, the mode command adds line feed characters to both transmitted and received carriage returns.
mode crmod=on crlf=on
In this example, the mode command displays information on each telnet session. This information includes
mode