Configuring an AS/400 for TCP/IP - Support

Configuring an AS/400 for TCP/IP

From Support

Jump to: navigation, search

1. Create an Ethernet Line Description

The command listed below can be used to create an AS/400 Ethernet Line Description. You will first need to identify the hardware resource name for the Ethernet card. This sample shows an AS/400 resource name of CMN03.

To identify your Ethernet line resource, use the GO HARDWARE command to go to the hardware menu and select option 1. (Work with communication resources)

CRTLINETH LIND(ETHLINE) RSRCNAME(CMN03) ONLINE(*YES) +                
VRYWAIT(*NOWAIT) MAXCTL(40) ADPTADR(420000000000) +          
EXCHID(05655555) ETHSTD(*ALL) LINESPEED(10M) +               
DUPLEX(*HALF) +                                              
SSAP((04 1496 *SNA)(12 1496 *NONSNA)(AA 1496 *NONSNA)(C8 +   
1496 *HPR)) THRESHOLD(*OFF) LINKSPEED(10M) COSTCNN(0) +      
COSTBYTE(0) SECURITY(*NONSECURE) PRPDLY(*LAN) +              
USRDFN1(128) USRDFN2(128) USRDFN3(128) AUTOCRTCTL(*YES) +    
AUTODLTCTL(1440) CMNRCYLMT(2 5) TEXT('Ethernet Port')        


2. Use the GO CMDTCP command to view all TCP/IP related commands.

3. Type CFGTCP to go to the Configure TCP/IP menu.

4. Take Opt 1. (Work with TCP/IP interfaces)

Type Opt 1 to Add a TCP/IP IP Address and connect it to the Ethernet card.

  Enter information similar to the following:
  Add TCP/IP Interface (ADDTCPIFC)                        
                                                                               
  Type choices, press Enter.                                                     
                                                                               
  Internet address . . . . . . . . > '155.1.1.100'                               
  Line description . . . . . . . .   ETHLINE
  Subnet mask  . . . . . . . . . .   255.255.255.0                                   
  Type of service  . . . . . . . .   *NORMAL
  Maximum transmission unit  . . .   *LIND
  Autostart  . . . . . . . . . . .   *YES          
  PVC logical channel identifier               
  X.25 idle circuit timeout  . . .   60          
  X.25 maximum virtual circuits  .   64      
  X.25 DDN interface . . . . . . .   *NO        
  TRLAN bit sequencing . . . . . .   *MSB   
                                                                               
  After saving the entry, press F3 to return to the Configure TCP/IP menu.

5. Take Opt 10. Work with Host Table Entries

Type Opt 1 to Add a TCP/IP Host Table Entry Address and connect it to the specified AS/400 IP address.

  Enter information similar to the following:
  Add TCP/IP Host Table Entry (ADDTCPHTE)                    
                                                                               
  Type choices, press Enter.                                                     
                                                                               
  Internet address . . . . . . . . > '155.1.1.100'                               
  Host names:                                                                    
  Name . . . . . . . . . . . . .   S1012477
  Text 'description' . . . . . . .   Host Name for RJS AS/400 System
 

After saving the entry, press F3 to return to the Configure TCP/IP menu.

6. Take Opt 12. Change local domain and host names

  Enter information similar to the following:
  Change Local Domain and Host Names                       

Type choices, press Enter.

 Local domain name . . .   RJSSOFT.NET
 Local host name . . . .   S1012477


Congratulations, basic TCP/IP Configuration should now be complete.

7. Use the STRTCP STRSVR(*YES) command to start TCP/IP support.


Listed below are some additional related TCP/IP configuration commands:

(Note: A list of all TCP/IP related commands can be reviewed by typing GO CMDTCP at any AS/400 command line.)

(Note: A list of all TCP/IP related application servers can be reviewed by typing GO CMDTCPAPP at any AS/400 command line.)

To change TCP/IP Attributes: CHGTCPA
To change FTP Attributes: CHGFTPA
To change HTTP Attributes: CHGHTTPA  
To change LPD Attributes: CHGLPDA   
To change POP Server Attributes: CHGPOPA   
To change SMTP Attributes: CHGSMTPA   
To change TCP/IP Attributes: 'CHGTCPA

To start TCP/IP Support: STRTCP STRSVR(*YES) To start individual TCP/IP application servers: STRTCPSVR

Personal tools