IBM SC41-5420-04 manual Work with Service Table Entry Display

Page 80

The services table stores the mapping of services to ports or ports to services as shown in Figure 59. The mapping information is usually accessed with the getservbyname() and getservbyport() socket functions.

Work with Service Table Entry

 

 

 

System:

SYSNAM03

Type options, press Enter.

 

 

1=Add

4=Remove

5=Display

 

 

Opt Service

Port

Protocol

 

echo

 

7

udp

 

finger

79

tcp

 

finger

79

udp

 

ftp-control

21

tcp

 

ftp-control

21

udp

 

ftp-data

20

tcp

 

ftp-data

20

udp

 

gopher

70

tcp

 

gopher

70

udp

 

graphics

41

tcp

 

graphics

41

udp

 

pop3

 

110

tcp

 

 

 

 

 

More...

Parameters for options 1 and 4 or command

 

 

===>

 

 

 

 

F3=Exit

F4=Prompt

F5=Refresh F6=Print list

F9=Retrieve F12=Can

F17=Top

F18=Bottom

 

 

 

Figure 59. Work with Service Table Entry Display

The protocol table stores the mapping of protocol names to protocol numbers and protocol numbers to protocol names. Socket applications use getprotobyname() and getprotobynumber() functions to access this table (Figure 60).

Work with Protocol Table Entry

System: SYSNAM03

Type options, press Enter. 1=Add 4=Remove 5=Display

 

 

Protocol

Opt

Protocol

number

______________________________

_

icmp

1

_

ip

0

_

tcp

6

_

udp

17

Bottom

Parameters for options 1 and 4 or command

===> ______________________________________________________________________

F3=Exit F4=Prompt F5=Refresh F6=Print list F9=Retrieve F12=Cancel F17=Top F18=Bottom

Figure 60. Work with Protocol Table Entry Display

66OS/400 TCP/IP Configuration and Reference V5R1

Image 80
Contents TCP/IP Configuration and Reference Page TCP/IP Configuration and Reference Fifth Edition May Contents Index About TCP/IP Configuration and Reference SC41-5420 Vi OS/400 TCP/IP Configuration and Reference V5R1 Prerequisite and related information Operations NavigatorViii OS/400 TCP/IP Configuration and Reference V5R1 Page OS/400 TCP/IP Configuration and Reference V5R1 Summary of changes Xii OS/400 TCP/IP Configuration and Reference V5R1 Configuring TCP/IP What you need to know before you can configure TCP/IPPlanning for TCP/IP Installation and Configuration Gathering Information About your NetworkTCP/IP Planning Checklists Line Description Parameters ChecklistLocal TCP/IP Host Information Checklist Interfaces to Local TCP/IP NetworksInstalling the TCP/IP Application Programs 25 / Remote System InformationUsing the TCP/IP Administration Menu TcpadmUsing the Configure TCP/IP Menu Configure TCP/IP Menu CfgtcpConfiguring TCP/IP using the EZ-Setup Wizard Configuring TCP/IP using the Command Line InterfaceServices table Protocol tableConfiguring a Line Description Configuring a TCP/IP InterfaceImportant Note Internet addressSubnet mask Line descriptionAssociated local interface Automatic startConfiguring TCP/IP Routes Do you need to add routes at all?Route destination Maximum Transmission Unit MTU sizeDftroute None Preferred binding interfaceAdding TCP/IP routes NO, *YES Multiple Default RoutesNormal Configuring TCP/IP attributes Configuring TCP/IP Remote System InformationIP Datagram Forwarding Adding Remote System InformationLind 15, *LIND, *TRANSMIT PVCNone NONE, *REQUEST, *ACCEPT Configuring TCP/IP Host Table Entries Adding an Entry to the Host TableWork with TCP/IP Host Table Display DNS BernMacian Localhost SYSNAM890Loopback Configuring the Local Domain and Host Name AnyNet/400 Appc over TCP/IPDomain Name System DNS Server LocalStarting TCP/IP and TCP/IP Servers Dspmsg Qsysopr Dspmsg QtcpTCP/IP Jobs Job Name DescriptionVerifying the TCP/IP Connection End TCP/IP EndtcpVerifying Additional TCP/IP Connections Successful Ping MessagesVerify TCP/IP Connection Verify TCP/IP Connection VfytcpcnnVerifying TCP/IP Connections with Host Name-Example Verify TCP/IP Connection PingVERBOSE, *QUIET COMP, *ESCAPESaving Your TCP/IP Configuration Verifying TCP/IP Connections with Internet Address-ExampleConfiguring TCP/IP 32 OS/400 TCP/IP Configuration and Reference V5R1 Network Status Work with TCP/IP Network Status MenuWork with TCP/IP Interface Status Work with TCP/IP Network StatusWork with TCP/IP Interface Status Internet Network LineOpt Address Mask Service Starting TCP/IP InterfacesInternet Subnet Type MaxthrputEnding TCP/IP Interfaces Route Subnet Next Opt Destination Mask Hop Available Display TCP/IP Route InformationDisplay TCP/IP Route Information Route Type Opt Destination Service Work with TCP/IP Connection StatusType Source BottomRemote Local Opt Address Port User Bytes Out Work with TCP/IP Connection StatusRemote Local Opt Address Port Idle Time State Ending TCP/IP Connections ALLRemote Local Opt Address Port Type TCPWorking with Configuration Status Confirm End of TCP/IP ConnectionsDisplaying TCP/IP Network Status Information Display Multicast GroupsOpt Description Status Job Trnline Active Trnlinet Trnlitcp QtcpipHost Group Hardware Address Displaying TCP/IP InterfacesDisplay Multicast Host Groups Displaying Associated Routes Display TCP/IP Interface StatusTrlan MSBRoute Subnet Next Opt Destination Mask Hop Displaying Route Details OptionDisplay Associated Routes Direct Displaying TCP/IP Route InformationDisplay TCP/IP Route Details Display TCP/IP Route Information, Display 1 Displaying TCP/IP Connections Display TCP Connection StatusDisplaying Connection Totals Display TCP/IP Connection Status, Display 2TCP/IP Host Tables Display TCP/IP Connection TotalsManaging TCP/IP Host Tables Host File FormatsHost Table Information with *AIX Files Host Table Information with *NIC FilesHost Table Information with *AS400 Files Tips for Merging Host TablesMerging TCP/IP Host Tables Managing the Host Table from a Central Site Merge the File Negative Advice from TCP or the Data Link Layer Dead Gateway ProcessingHow IP Responds to Negative Advice Multihoming FunctionMultihoming Single Host, Single Network, Single Line Per physical LAN only Example The Multihoming function Multihoming TCP/IP NetworkLoopback None Type of Service TOSX25LINE Multiple Routes TOS ExampleTCP/IP Port Restriction Configuring TCP/IP Port Restrictions PaoloGerry UDP, *TCPOnly Configure Related Tables Menu Related Tables and the Host TableWork with Service Table Entry Display Using X.25 PVC instead of SVC IBMMulticast Restrictions Chglintrn Lindtrnline FCNADRC00000040000 70 OS/400 TCP/IP Configuration and Reference V5R1 TCP/IP Protocol Support Provided by IOP Base Pool SizeTCP/IP Jobs Outbound batching of TCP and UDP datagrams Merge Host Table Performance Running TCP/IP Only Performance Considerations74 OS/400 TCP/IP Configuration and Reference V5R1 Line type Configuration command Configuration Steps Source Service Access PointCreating the Line Description Line Description NameSetting the Maximum Transmission Unit Determining the Maximum Size of Datagrams78 OS/400 TCP/IP Configuration and Reference V5R1 Appendix B. TCP/IP Application Exit Points and Programs TCP/IP Exit Points and Exit ProgramsOS/400 Registration Facility TCP/IP Application Exit PointsCreating Exit Programs Adding Your Exit Program to the Registration FacilitySelect your exit point QAPP0100Select the Add Exit Program option Add your exit programRemoving Exit Programs YourlibExit Point Interfaces for TCP/IP Application Exit Points TCP/IP Application Request Validation Exit Point InterfaceRequired Parameter Group Application identifierOperation identifier User profileRemote IP address Length of remote IP addressAllow operation Usage NotesLength of operation-specific information QSYS.LIB file system pathnames are always in uppercase Point Command stringLength of command string Command processor identifier Character conversion optionQshell interpreter not installed 92 OS/400 TCP/IP Configuration and Reference V5R1 Copyright IBM Corp Programming Interface Information TrademarksDB2 96 OS/400 TCP/IP Configuration and Reference V5R1 Index Special Characters Interface Qtgtelnets Qtsmtpsrvr Page SC41-5420-04