• Aucun résultat trouvé

Local Mode Commands

Dans le document Using 3174 TCP/IP Networks (Page 80-87)

1 IBM HOST 2 TELNET VT00

3.11.8 Local Mode Commands

Connection closed by foreign host.

3174 TELNET>

Figure 38. Logging On to MVS TSO

3.11.8 Local Mode Commands

The 3174 converts all local mode commands and arguments into lowercase before processing. Any numeric arguments that are required must be given in decimal. IP addresses must be entered in dotted decimal form, with no imbedded spaces, and leading zeros are not necessary.

In the following explanations of the commands, arguments must be given in the order shown. We have adopted the following convention:

• A command is shown in uppercase.

• An argument, option or variable (for example, hostname) is shown in lowercase.

Parentheses

0

denote optional arguments. If you wish to specify any optional argument, you must specify all the arguments that precede it. Abbreviations for commands and parameters are allowed. If the correct input cannot be

determined, you will receive either an "invalid" or an "ambiguous" message.

You can use "?" after any command to get help.

NAMES Command

Purpose: The NAMES command will display any host nicknames that you have customized at your 3174 (see 3.9.13, "Defining TCP/IP Nicknames" on page 43) together with its associated I P address.

Command Format: NAMES

Chapter 3. Adding 3174 to TCP/IP Network

51

Example Display:

3174 TELNET> names

rs6eeEll 9.67.38.71

9.67.38.72 9.67.38.73 9.67.38.96 9.67.38.134 rs6eee2

rs6eee3 mvs2e mvs18

Figure 39. TCP/IP Using NAMES Command

Figure 39 shows the display for the nicknames defined in 3.9.13, "Defining TCP/IP Nicknames" on page 43.

PING Command

Purpose: The PING command is used to query the availability of a remote host.

Once issued, the PING operation will continue until the 3174 has sent a specified number of packets to the remote host (if it is available). You can stop the PING operation at any time by pressing any key.

Command Format: PING (destination (count (size))) Where:

destination

count

size

Is the remote host being queried. The destination can be:

• A nickname

• An unqualified hostname, if the host is part of the same domain as the 3174 you are attached to

• A fully qualified hostname

• An IP address

If no destination is given, the IP address, if customized in question 790 for the selected station set, is used.

Is the number of packets the 3174 should send. If count=O, the 3174 will send packets until you stop the query. Possible values are 0 through 1000 (default 10).

Is the number of bytes to send in each query. Possible values are 8 through 64 (default 64).

Example Display:

3174 TELNET> ping

••• sending eee64 characters to 9.67.3S.71 Received reply to packet eeeee, delay (ms) = eee2e

Received reply to packet eeeel, delay (ms) = eee2e Received reply to packet eeee2, delay (ms) = eee2e Received reply to packet eeee3, delay (ms) = eee2e Received reply to packet eeee4, delay (ms) = eee2e

Received reply to packet eeees, delay (ms) = eoe27 Received reply to packet eeee6, delay (ms) = eee39 Received reply to packet eeee7, delay (ms) = eee2e Received reply to packet eeees, delay (ms) = eee2e Received reply to packet eeee9, delay (ms) = ee02e Summary for PING to 9.67.3S.7l

Packets sent: eeele Packets received: eeOle Round-trip (ms) (min avg max ) = eOe2e eOe22 eee39 3174 TELNET>

Figure 40. TCPIIP Using PING Command - to Default Destination

In this display, the PING command was issued, without a destination, from an L T that selected the DEC VT100 station set number 3 (see Figure 21 on page 34).

The default destination is, therefore, as customized in Question 790.

3174 TELNET> ping mvs2e S 2 Finding address of mvs2e

••• sending eeees characters to 9.67.3S.96 Received reply to packet eeeee, delay (ms) = eee47 Received reply to packet eeee1, delay (ms) = eee2l Summary for PING to 9.67.3S.96

Packets sent: eeoe2 Packets received: eeee2 Round-trip (ms) (min avg max) = eee2l eee34 eee47 3174 TELNET>

Figure 41. TCPI/P Using PING Command - with Parameters

In this display, the PING command is issued, specifying the destination host name as mvs20, data packet size 8 bytes, and two packets to be sent for the PING operation.

3174 TELNET> ping ?

Usage: ping host size count

host - destination host name or address size - size of data packet (S-64) count - number of packets (e-leee) If unspecified, size=64 and count=le.

3174 TELNET>

Figure 42. TCPI/P Using PING Command - Help

In this display, the help information is provided to show the format and valid values that can be specified.

Chapter 3. Adding 3174 to TCP/IP Network 53

You can request help with any command by typing in the command followed by the question mark (or by the word help).

3174 TELNET> ping mvs30 Finding address of mvs30

II

Unknown host

3174 TELNET> ping mvs18 Finding address of mvs18

II

••• sending 00064 characters to 9.67.38.134 Summary for PING to 9.67.38.134

Packets sent: 00010 Packets received: 00000 Percent packet loss: 100

3174 TELNET>

Figure 43. TCP/IP Using PING Command - Messages

D

Messages displayed for a destination that is not known.

fJ

Messages displayed for a destination that is not available.

OPEN Command

Purpose: The OPEN command opens a connection to a remote host.

Command Format: OPEN (destination (remote""port)) Where:

destination

remote ""port

Is a remote host to which you wish to connect. The destination can be:

• A nickname

• An unqualified hostname, if the host is part of the same domain as the 3174 you are attached to

• A fully qualified hostname

• An IP address.

If no destination is given, the IP address, if customized in question 790 for the selected station set, is used.

Is the port number of the Telnet server at the remote host, if you want a port other than the standard Telnet port 23. Possible values are 0 through 65535.

Example Display: See Figure 35 on page 49 and Figure 38 on page 51.

CLOSE Command

Purpose: The CLOSE command will end the connection with the remote host;

that is, it is used to disconnect from a remote host. Your L T will remain in Telnet local mode.

Command Format: CLOSE Example Display:

login: root root's Password:

*******************************************************************************

* *

* Welcome to IBM AIX Version 3.1!

*

* * Please see the README file in /usr/lpp/bos for information pertinent to

* this release of the AIX Operating System.

*

*

* *

*

* *

*

* *

******************************************************************************* * 1 unsuccessful login attempt since last login

Last unsuccessful login: Fri Oct 9 08:14:26 1992 on pts/l from 9.67.38.88 Last login: Fri Oct 9 08:13:52 1992 on pts/l from 9.67.38.88

[YOU HAVE NEW MAIL]

<rs60001>#

II

3174 TELNET> close

II

Connection closed by user request 3174 TELNET>

Figure 44. TCP/IP Using CLOSE Command

D

At this point, you are in session with the RS/6000 host.

fJ

At this point, you have escaped to the local mode and issued the CLOSE command. The resulting message shows the connection was closed at your request and you are returned to the Telnet prompt.

QUIT

Purpose: The QUIT command will end any open connection and return the L T to the Connection Menu.

Command Format: QUIT

Example Display: No example display is provided.

Chapter 3. Adding 3174 to TCP/IP Network

55

STATUS Command

Purpose: The STATUS command is used to display the status of the current connection, showing the address of the remote host, and the mode of operation.

Command Format: STATUS Example Display:

login: root root's Password:

*******************************************************************************

* *

* Welcome to IBM AIX Version 3.1!

*

* * Please see the README file in/usr/1pp/bos for information pertinent to

* this release of the AIX Operating System.

* *

* *

*

*

* *

* *

******************************************************************************* * 1 unsuccessful login attempt since last login

Last unsuccessful login: Fri Oct 9 08:14:26 1992 on pts/1 from 9.67.38.88 Last login: Fri Oct 9 08:13:52 1992 on pts/1 from 9.67.38.88

[YOU HAVE NEW MAIL]

<rs60001>#

I

3174 TELNET> status Connected to 9.67.38.71

Operating in character-at-a-time mode.

escape [$]

<rs60001>#

I

Figure 45. TCPIIP Using STATUS Command

II

At this point, you are in session with the RS/6000 host.

fJ

At this point, you have escaped to the local mode and issued the STATUS command. The resulting three messages show the connection status, the operating mode, and the character that/will allow you to escape to the local mode.

II

The display will stay at this point until you press Enter.

II

When you press Enter, you are again in session with the RS/6000.

DISPLAY Command

Purpose: The DISPLAY command, without any argument, will show the current operating parameters and their settings. The settings can be changed by the SET or TOGGLE command.

Command Format: DISPLAY (option (option (option .•• )))

Where:

option Is one of the options set by the SET or TOGGLE command.

Example Display:

3174 TELNET> display

II II

won't - map received carriage returns won't - recognize local control characters won't - wrap long output lines

will - translate backspace/delete

II II

escape [AL]

tenninal DEC-VT100 erase [AH]

interrupt [AZ]

ki 11 [AU]

quit [AX]

3174 TELNET>

Figure 46. TCPIIP Using DISPLA Y Command

This display shows the current parameters and their settings:

II

Shows the parameters that can be changed by the TOGGLE command from "will" to "won't" and vice versa.

fJ

Shows the current TOGGLE values. For example, if you issue the following command:

TELNET> toggle crmod

The result will show the following change:

will - map received carriage returns

II

Shows the parameters that can be changed by the SET command.

II

Shows the current SET values. For example, if you issue the following command:

TELNET> set escape $

The result will show the following change:

escape [$]

Chapter 3. Adding 3174 to TCP/IP Network 57

Dans le document Using 3174 TCP/IP Networks (Page 80-87)

Documents relatifs