340 likes | 481 Views
Series I Connectivity. Communication resources. Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions 7=Display resource detail
E N D
Communication resources • Display Communication Resources System: ODIN Type options, press Enter. 5=Display configuration descriptions 7=Display resource detail Opt Resource Type Status Text CMB01 284C Operational Combined function IOP LIN01 2771 Operational Comm Adapter CMN01 2771 Operational Comm Port CMN02 2771 Operational V.24 Port LIN03 2745 Operational Comm Adapter CMN04 2745 Operational Comm Port CMN05 2745 Operational Comm Port CMB02 2843 Operational Combined function IOP LIN04 2743 Operational LAN Adapter CMN07 2743 Operational Ethernet Port LIN02 2838 Operational LAN Adapter CMN03 2838 Operational Ethernet Port Bottom F3=Exit F5=Refresh F6=Print F12=Cancel
Configuration StatusGo cmnsts Work with Configuration Status ODIN 04/04/07 11:33:21 Position to . . . . . Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status 13=Work with APPN status... Opt Description Status -------------Job-------------- CTL01 ACTIVE DSP01 SIGNON DISPLAY ETHERNET ACTIVE ETHERTCP ACTIVE QTCPIP QTCP 488697 FIBERNET ACTIVE FIBERTCP ACTIVE QTCPIP QTCP 488697 QCTL VARIED OFF QCONSOLE VARIED OFF QESCTL VARIED OFF More... Parameters or command ===> F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
MULTIPLE PROTOCOLS • Can run simultaneous in OS/400 • It is very common to have APPC and TCP/IP active at the same time • APPC to support business applications • TCP/IP for TELNET and FTP • More configuration required to for LPD and SMTP
Client Access Ops Nav WDSc (Internet) TCP/IP
“Green” screen(Local - workstation) Sign On System . . . . . : ODIN Subsystem . . . . : QINTER Display . . . . . : QPADEV02PN S E N E C A C O L L E G E S C H O O L O F C O M P U T E R S T U D I E S OOOOOO DDDDDDD IIIIIII NN NN OO OO DD DD II NNN NN OO OO DD DD II NN NN NN OO OO DD DD II NN NN NN OOOOOO DDDDDDD IIIIIIII NN NNN User . . . . . . . . . . . . . . Password . . . . . . . . . . . . Program/procedure . . . . . . . . Menu . . . . . . . . . . . . . . Current library . . . . . . . . .
“Green” screenCA – (Client Access) or Mocharemote Sign On System . . . . . : ODIN Subsystem . . . . : QINTER Display . . . . . : QPADEV02PN S E N E C A C O L L E G E S C H O O L O F C O M P U T E R S T U D I E S OOOOOO DDDDDDD IIIIIII NN NN OO OO DD DD II NNN NN OO OO DD DD II NN NN NN OO OO DD DD II NN NN NN OOOOOO DDDDDDD IIIIIIII NN NNN User . . . . . . . . . . . . . . Password . . . . . . . . . . . . Program/procedure . . . . . . . . Menu . . . . . . . . . . . . . . Current library . . . . . . . . .
“Green” screenCA – (Client Access) COPY PASTE to clipboard from clipboard Transfer to Host (AS/400) Transfer from Host (to PC)
Ops Nav (Operations Navigator)(PC workstation - GUI)Local or Remote
WDSc(Websphere Development Studio client)PC server / internet
GO CFGTCP CFGTCP Configure TCP/IP Select one of the following: 1. Work with TCP/IP interfaces 2. Work with TCP/IP routes 3. Change TCP/IP attributes 4. Work with TCP/IP port restrictions 5. Work with TCP/IP remote system information 10. Work with TCP/IP host table entries 11. Merge TCP/IP host table 12. Change TCP/IP domain information 20. Configure TCP/IP applications 21. Configure related tables 22. Configure point-to-point TCP/IP
GO CFGTCP - Option1 Type options, press Enter. 5=Display Internet Subnet Line Line Opt Address Mask Description Type ---- 127.0.0.1 255.0.0.0 *LOOPBACK *NONE --- 142.204.57.104 255.255.255.192 ETHERNET *ELAN --- 142.204.57.105 255.255.255.192 FIBER *ELAN Required for internal processing and testing!!
GO MAIN, 6, 4 or GO CFGCMN CFGCMN Configure Communications and Remote Hardware System: ODIN Select one of the following: 1. Work with lines 2. Work with communications controllers 3. Work with work station controllers 4. Work with communications devices 5. Work with printers 6. Work with display stations 7. Work with modes 8. Work with classes-of-service 9. Work with configuration lists 10. Work with network interfaces 11. Work with connection lists 12. Work with network servers 13. Work with NetBIOS descriptions More...
WRKLIND Work with Line Descriptions System: ODIN Position to . . . . . Starting characters Type options, press Enter. 2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename 8=Work with status 9=Retrieve source Opt Line Type Text ETHERNET *ELAN FIBER *ELAN FIBER ETHERNET ONNECTION QESLINE *SDLC QTILINE *SDLC Q1PLIN *SDLC PM iSeries line
Configure TCP/IP applications SNMP - Simple Network Management Protocol FTP - File Transfer Protocol TELNET - Character mode client to server port connection SMTP - Simple Mail Transfer Protocol LPD - Line Printer Deamon HTTP - HyperText Transfer Protocol WSG - WorkStation Gateway POP - Post Office Protocol
Go CFGTCP, 20 Configure TCP/IP Applications Select one of the following: 1. Configure SNMP agent 2. Configure RouteD 4. Configure BOOTP 5. Change DDM TCP attributes 10. Change FTP attributes 11. Configure TELNET 12. Configure SMTP 13. Change LPD attributes 16. Change POP attributes 17. Change REXEC attributes
Configuring FTP • When the AS/400 acts as a server, it allows clients to access physical, logical, source and save files and members stored on the system • When files are transferred to a client system , the AS/400 automatically translates them from EBCDIC to ASCII, but files can also be transferred without translation.
Configuring FTP CHGFTPA autostart *yes (STRTCP) *no (STRTCPSVR) . FTP server doesn’t need to be active for the AS/400 to initiate a file transfer, either to or from the AS/400. . The only need for the FTP server to be active on the AS/400 is for a remote system to initiate a file transfer to or from the AS/400. . NBRSVR: The default FTP servers to be started automatically is three. (1----20) . INACTTIMO: The default number of seconds that an FTP connection can remain idle before the AS/400 disconnects the FTP connection is 300 seconds. (0----68years) 0 = NO Timeout
Change FTP Attributes (CHGFTPA) Type choices, press Enter. Autostart servers . . . . . . . AUTOSTART *SAME Number of initial servers . . . NBRSVR *SAME Inactivity timeout . . . . . . . INACTTIMO *SAME Coded character set identifier CCSID *SAME Outgoing EBCDIC/ASCII table: TBLFTPOUT Outgoing EBCDIC/ASCII table . *SAME Library . . . . . . . . . . Incoming ASCII/EBCDIC table: TBLFTPIN Incoming ASCII/EBCDIC table . *SAME Library . . . . . . . . . . Initial name format . . . . . . NAMEFMT *SAME Initial directory . . . . . . . CURDIR *SAME Initial list format . . . . . . LISTFMT *SAME New file CCSID . . . . . . . . . CRTCCSID *SAME Subsystem description . . . . . SBSD *SAME Library . . . . . . . . . . . Allow secure sockets layer . . . ALWSSL *SAME
Configuring TELNET • CFGTCPTELN = TELNET • CHGTELNAautostart *yes (STRTCP) *no (STRTCPSVR) The default Telnet server to be started automatically is one. You can start additional Telnet servers by using the command : STRTCPSVR SERVER(*Telnet) INACTTIMO: The default number of seconds that an Telnet connection can remain idle before the AS/400 disconnects the Telnet connection is 0 seconds, meaning idle connections will not be broken. (Valid range: 0----68years) 0 = No Timeout
Configuring Telnet • Changing Telnet related system values • QAUTOVRT QLMTSECOFR QINACTITV QINACTMSGQ QLMTDEVSSN QMAXSGNACN QMAXSIGN QRMTSIGN QDEVRCYACN QDSCJOBITV .The number of attempts a hacker can try to break into AS/400 system is: QAUTOVRT * QMAXSIGN
Configuring SMTP • SMTP is used to transfer mail between host. • POP3 is used to transfer mail from a host to a client. • AS/400 supports both SMTP and POP3.
STRTCP - 1 Start TCP/IP (STRTCP) Where allowed to run: All environments (*ALL) • The Start TCP/IP (STRTCP) • command initializes and activates TCP/IP processing • starts the TCP/IP interfaces • starts the TCP/IP server jobs • starts the TCP/IP Point-To-Point (PTP) profiles. A STRTCP command must be issued before any TCP/IP processing can be performed on the iSeries. This includes Simple Network Management Protocol (SNMP) agent processing. • The TCP/IP interfaces that are started are those that have set the AUTOSTART parameter to a value of *YES using the Add TCP/IP Interface (ADDTCPIFC), the Change TCP/IP Interface (CHGTCPIFC) commands, or the iSeries Navigator. • The Change IPL Attributes (CHGIPLA) command with the STRTCP parameter set to a value of *YES can be used to automatically submit the STRTCP command at the completion of IPL.
TCP/IP Management GO TCPADM
TCP/IP Management • Using the TCP/IP management tools to keep TCP/IP on your AS/400 robust, reliable and effective. • Each option of the menu GO TCPADM has an associated command.
GO TCPADM GO CFGTCP WRKTCPSTS=NETSTAT CFGTCPAPP VFYTCPCNN=PING STRTCP STRTCPFTP ENDTCP STRTCPTELN STRTCPSVR SNDTCPSPLF ENDTCPSVR WRKSBSJOB
The components of TCP/IP processing on the AS/400 include: • The TCP/IP jobs • The physical connection over the line • The logical connection to the network • Optional SNMP services
PING • Can help find problems in logical connections • If the connection is successful ,receives a return reply. • If the packet never returns, there is no route from the source to the destination system and back again. This does not mean that TCP/IP is not configured correctly; it may mean that the routing is not established properly. • If the packet does make a successful round trip, the time that it takes to make the round trip may be excessive. You may need to examine your network for potential performance or bottleneck problem
TCP/IP connection status • Listen--- the AS/400 is listening at the local port for an incoming connection • Established--- the connection is established and the system are communicating • Closed --- the connection has ended • Other states may be seen during a transition period • The ports( both remote and local) can use well-known names rather than a port number. These names are defined in the service table modified by the command WRKSRVTBLE
TCP/IP connection details • The number of bytes in and out ( from AS/400 perspective) for this connection. • The retransmission information gives the number of segments retransmitted by the AS/400 due to an acknowledgement not being received. • If the number of retransmission is higher than the number that has been historically present for this connection, it could be an indication that there are network problems.
TCP/IP connection details • The send window information identifies the current and largest size of the send window, or the number of bytes that can be transmitted without an acknowledgment. • A large send window indicates that the network is successfully transmitting large packets without the need for retransmission. • A small send window size means that the system has detected problems and has reduced the window size in an attempt to reduce the number of retransmissions.
AS/400 database—DB2 STRSQL CREATE INSERT UPDATE SELECT DELETE ALTER DROP