IBM SC41-5420-04 Server User Manual


 
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.
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 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
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
66 OS/400 TCP/IP Configuration and Reference V5R1