Change Network Server Desc (CHGNWSD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Network Server Description (CHGNWSD) command changes a network server description. Parameters that can be changed include server software parameters and network protocol descriptions.

More information about using this command is in the Communications Configuration book, SC41-5401.

More information about using network server descriptions where Server connection specified *IXSVR and Server operating system specified *WIN32 for the Network server type (TYPE) parameter in CRTNWSD command can be found in the Windows environment on iSeries information in iSeries Information Center at http://www.iseries.ibm.com/infocenter

Restrictions:

Top

Parameters

Keyword Description Choices Notes
NWSD Network server description Name Required, Key, Positional 1
RSRCNAME Resource name Name, *SAME, *NONE, *AUTO Optional
STGPTH Storage path Single values: *SAME
Other values (up to 4 repetitions): Element list
Optional
Element 1: Network server host adapter Communications name, *NONE
Element 2: IP security rules Element list
Element 1: Remote interface 1 rule 1-16, *DFTSECRULE, *NONE
Element 2: Remote interface 2 rule 1-16, *DFTSECRULE, *NONE
Element 3: Remote interface 3 rule 1-16, *DFTSECRULE, *NONE
Element 4: Remote interface 4 rule 1-16, *DFTSECRULE, *NONE
DFTSECRULE Default IP security rule 1-16, *SAME, *NONE Optional
MLTPTHGRP Multi-path group Single values: *SAME, *NONE
Other values (up to 4 repetitions): 1-4
Optional
DFTSTGPTH Default storage path 1-4, *SAME, *MLTPTHGRP Optional
RMVMEDPTH Removable media path 1-4, *SAME, *MLTPTHGRP Optional
ACTTMR Activation timer 30-1800, *SAME Optional
ONLINE Online at IPL *SAME, *YES, *NO Optional
VRYWAIT Vary on wait 1-15, *SAME, *NOWAIT Optional
SHUTDTIMO Shutdown timeout 2-45, *SAME Optional
PARTITION Partition Character value, *SAME, *NONE Optional
PTNNBR Partition number Integer, *SAME, *NONE Optional
PRPDMNUSR Propagate domain users *SAME, *YES, *NO Optional
CODEPAGE Code page Integer, *SAME, *LNGVER Optional
MSGQ Server message queue Single values: *SAME, *JOBLOG, *NONE
Other values: Qualified object name
Optional
Qualifier 1: Server message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
EVTLOG Event log Single values: *SAME, *ALL, *NONE
Other values (up to 3 repetitions): *SYS, *SEC, *APP
Optional
CMNMSGQ Communications message queue Single values: *SAME, *SYSOPR
Other values: Qualified object name
Optional
Qualifier 1: Communications message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
CFGFILE Configuration file Single values: *SAME, *NONE
Other values: Qualified object name
Optional
Qualifier 1: Configuration file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
TCPPORTCFG TCP/IP port configuration Single values: *SAME, *NONE
Other values (up to 9 repetitions): Element list
Optional
Element 1: Port 1, 2, 3, 4, *INTERNAL, *VRTETHPTP, *VRTETH0, *VRTETH1, *VRTETH2, *VRTETH3, *VRTETH4, *VRTETH5, *VRTETH6, *VRTETH7, *VRTETH8, *VRTETH9
Element 2: Internet address Character value
Element 3: Subnet mask Character value
Element 4: Maximum transmission unit Integer, 1500
Element 5: Gateway address Character value
TCPRTE TCP/IP route configuration Single values: *SAME, *NONE
Other values (up to 24 repetitions): Element list
Optional
Element 1: Route destination Character value, *DFTROUTE
Element 2: Subnet mask Character value, *NONE, *HOST
Element 3: Next hop Character value
TCPHOSTNAM TCP/IP local host name Character value, *SAME, *NWSD Optional
TCPDMNNAME TCP/IP local domain name Character value, *SAME, *SYS Optional
TCPNAMSVR TCP/IP name server system Single values: *SAME, *SYS, *NONE
Other values (up to 3 repetitions): Character value
Optional
VRTETHPTH Virtual Ethernet path Single values: *SAME
Other values (up to 5 repetitions): Element list
Optional
Element 1: Port number *VRTETHPTP, *VRTETH0, *VRTETH1, *VRTETH2, *VRTETH3, *VRTETH4, *VRTETH5, *VRTETH6, *VRTETH7, *VRTETH8, *VRTETH9
Element 2: Network server host adapter Communications name
Element 3: IP security rules Element list
Element 1: Remote interface 1 rule 1-16, *DFTSECRULE, *NONE
Element 2: Remote interface 2 rule 1-16, *DFTSECRULE, *NONE
Element 3: Remote interface 3 rule 1-16, *DFTSECRULE, *NONE
Element 4: Remote interface 4 rule 1-16, *DFTSECRULE, *NONE
RSTDDEVRSC Restricted device resources Single values: *SAME, *NONE, *ALL
Other values (up to 10 repetitions): Name, *ALLTAPE, *ALLOPT
Optional
NWSCFG Network server configuration Single values: *SAME
Other values: Element list
Optional
Element 1: Remote system name Name, *DFT
Element 2: Connection security name Name, *DFT
SHUTDPORT Shutdown TCP port 1024-65535, *SAME Optional
VRTETHCTLP Virtual Ethernet control port 1024-65535, *SAME Optional
SYNCTIME Synchronize date and time *SAME, *TYPE, *YES, *NO Optional
IPLSRC IPL source *SAME, *NWSSTG, *PANEL, *STMF, A, B, D Optional
IPLSTMF IPL stream file Path name, *SAME, *NONE Optional
IPLPARM IPL parameters Character value, *SAME, *NONE Optional
PWRCTL Power control *SAME, *YES, *NO Optional
TEXT Text 'description' Character value, *SAME, *BLANK Optional
Top

Network server description (NWSD)

Specifies the network server description to be changed.

This is a required parameter.

name
Specify the name of a network server description.
Top

Resource name (RSRCNAME)

Specifies the resource name that identifies the hardware that the description represents.

Notes:

  1. Use the Work with Hardware Resources (WRKHDWRSC) command with *CMN specified for the TYPE parameter to help determine the resource name. Specify the resource name of the input/output processor (IOP) or the input/output adapter (IOA) for the file server.
  2. This parameter can be changed only while the network server is varied off.
*SAME
The value does not change.
*NONE
A hardware resource is not associated with the network server. This value is only valid when Server connection specified *GUEST or *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command. *NONE is the only valid value when *ISCSI is specified for Server connection on the Network server type (TYPE) parameter in the corresponding CRTNWSD command.
*AUTO
A hardware resource will be determined based on the partition. This value is only valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.
name
Specify a resource name.
Top

Storage path (STGPTH)

Specifies the storage paths the storage spaces can use. This information consists of two parts including the Network server host adapter description and the IP security rules for this path. You must enter at least one storage path. The first storage path in this parameter will be storage path one. You can enter up to four values for this parameter.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.

Element 1: Network server host adapter

name
Specify a name of network server host adapter (NWSH) description. The network server host adapter name must be unique for each Storage path (STGPTH) parameter on this NWSD.
*NONE
This storage path is not used by this network server.

Element 2: IP security rules

Specify any relative entry of the IP security rule (IPSECRULE) parameter, defined in NWS Configuration (NWSCFG) of type *CNNSEC, that will be used for each remote interface's security.

Element 1: Remote interface 1 rule

*DFTSECRULE
Remote interface 1 will use IP security rule specified on the Default IP security rule (DFTSECRULE) parameter.
*NONE
Remote interface 1 will not use IP security rule.
1-16
Remote interface 1 will use IP security rule specified.

Element 2: Remote interface 2 rule

*DFTSECRULE
Remote interface 2 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 2 will not use IP security rule.
1-16
Remote interface 2 will use IP security rule specified.

Element 3: Remote interface 3 rule

*DFTSECRULE
Remote interface 3 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 3 will not use IP security rule.
1-16
Remote interface 3 will use IP security rule specified.

Element 4: Remote interface 4 rule

*DFTSECRULE
Remote interface 4 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 4 will not use IP security rule.
1-16
Remote interface 4 will use IP security rule specified.
Top

Default IP security rule (DFTSECRULE)

Specify any defined entry of the IP security rules (IPSECRULE) parameter, defined in Network server configuration (NWSCFG) of type connection security (*CNNSEC), that will be used for storage and virtual Ethernet connections that are configured to use the default security rule.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*NONE
Remote interfaces will not use IP security rules.
1-16
Remote interfaces will use IP security rule specified.
Top

Multi-path group (MLTPTHGRP)

Specify storage paths as defined in the Storage path (STGPTH) parameter.

  1. See the Storage path (STGPTH) parameter to determine what storage paths are valid.
  2. This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.
*NONE
No multi-path group defined.

Other values (up to 4 repetitions)

1-4
Specify at least two relative storage paths.
Top

Default storage path (DFTSTGPTH)

Specify a storage path as defined in the Storage path (STGPTH) parameter or specify the multi-path group as defined in the Multi-path group (MLTPTHGRP) parameter.

  1. See the Storage path (STGPTH) parameter to determine what storage paths are valid.
  2. This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.
*SAME
The value does not change.
1-4
Default storage path will be storage path 1, 2, 3 or 4.
*MLTPTHGRP
Default storage path will be the multi-path group storage path.
Top

Removable media path (RMVMEDPTH)

Specify a storage path as defined in the Storage path (STGPTH) parameter or specify the multi-path group as defined in the Multi-path group (MLTPTHGRP) parameter.

  1. See the Storage path (STGPTH) parameter to determine what storage paths are valid.
  2. This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.
*SAME
The value does not change.
1-4
Removable media will use storage path 1, 2, 3 or 4.
*MLTPTHGRP
Removable media will use the multi-path group storage path.
Top

Activation timer (ACTTMR)

Specifies the amount of time (in seconds) the system will wait for the connection to be established to the remote server's service processor and to power on the remote server.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
activation-timer
Specify, in seconds, a value ranging from 30 through 1800.
Top

Online at IPL (ONLINE)

Specifies whether this object is automatically varied on at initial program load (IPL).

Notes:

  1. This parameter is ignored when Server connection specified *IXSVR or *ISCSI for the Network server type (TYPE) parameter. To have the Windows server vary on, use the CHGTCPIFC command and set the AUTOSTART parameter to *YES for the private LAN line description for the server or a startup program could be called to vary on the servers after IPL processing has completed.
  2. When Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command, it is recommended that *NO is configured. A startup program should then be called to vary on the servers after IPL processing has completed.
*SAME
The value does not change.
*YES
The server is automatically varied on at IPL.
*NO
This server is not automatically varied on at IPL.
Top

Vary on wait (VRYWAIT)

Specifies whether the network server description is varied on asynchronously or synchronously. For synchronous vary on, specifies how long the system waits for the vary on to complete.

Note: Vary on of a network server resets the IOP.

*SAME
The value does not change.
*NOWAIT
The system does not wait for the vary on to complete. The network server description is varied on asynchronously.
vary-on-wait
Specify the time (in minutes) to wait. Valid values range from 1 through 15. The system waits until the network server description is varied on, or until the specified time passes, before completing the Vary Configuration (VRYCFG) command.
Top

Shutdown timeout (SHUTDTIMO)

Specifies the network server shutdown timeout value in minutes. This is used to limit the amount of time that the network servers operating system is allowed to shutdown before the network server is varied offline.

*SAME
The value does not change.
2-45
Specify the number of minutes to wait. The system waits until the network servers operating system has shutdown successfully, or until the specified time passes before varying the network server offline.
Top

Partition (PARTITION)

Specifies the name of the logical partition to be used by this network server. Up to 48 characters may be specified.

Note: When Server connection specified *GUEST for the Network server type (TYPE) parameter either the Partition (PARTITION) or Partition number (PTNNBR) parameter can be specified but both parameters cannot be specified. When Server connection specified *GUEST for the Network server type (TYPE) parameter and RSRCNAME is specified, the Partition (PARTITION) and Partition number (PTNNBR) parameter can be set to *NONE.

*SAME
The value does not change.
*NONE
A partition name is not used by this network server.
name
Specify the name of the partition to be used by this network server. The partition name PRIMARY cannot be specified.
Top

Partition number (PTNNBR)

Specifies the number of the logical partition to be used by this network server.

Notes:

  1. When Server connection specified *GUEST for the Network server type (TYPE) parameter either the Partition (PARTITION) or Partition number (PTNNBR) parameter can be specified but both parameters cannot be specified.
  2. When Server connection specified *GUEST for the Network server type (TYPE) parameter and RSRCNAME is specified, the Partition (PARTITION) and Partition number (PTNNBR) parameter can be set to *NONE.
*SAME
The value does not change.
*NONE
A partition number is not used by this network server.
number
Specify the number of the partition to be used by this network server.
Top

Propagate domain users (PRPDMNUSR)

Allows users to determine if domain user enrollment should be allowed or not on a particular NWSD.

Note: This parameter is ignored when Server connection specified *GUEST or Server operating system specified *LINUX32 for Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*YES
Propagation of domain user enrollment is allowed for this NWSD.
*NO
Propagation of domain user enrollment is not allowed for this NWSD.
Top

Code page (CODEPAGE)

Specifies the ASCII code page representing the character set to be used by this network server. Only certain code pages can be used for a given country or region code.

Notes:

  1. This parameter can be changed only while the network server is varied off.
  2. This parameter is ignored when Server connection specified *GUEST or Server operating system specified *LINUX32 for Network server type (TYPE) parameter in the corresponding CRTNWSD command.
*SAME
The value does not change.
*LNGVER
Specifies to use the default code page corresponding to the language version (LNGVER) selected.
integer-number
Specify the ASCII code page which represents the character set used by the network server. The code pages that can be used with each country or region code are:
437
United States
850
Multilingual
852
Latin 2 (Czechoslovakia, Hungary, Poland, countries of the former Yugoslavia)
857
Turkish
860
Portuguese
861
Iceland
862
Hebrew-speaking
863
Canada (French-speaking)
864
Arabic-speaking
865
Nordic
866
Russian
932
Japanese
934
Korean
938
Chinese
942
Japanese SAA
944
Korean SAA
948
Chinese SAA
950
Traditional Chinese (DBCS)
1381
Simplified Chinese (DBCS)
Top

Server message queue (MSGQ)

Specifies the message queue to receive server messages.

Note: For details on the type of messages that are sent to this message queue, see the appropriate manual that is associated with the type of network server.

Single values

*SAME
The value does not change.
*JOBLOG
Console messages are placed on the joblog of the current job.
*NONE
Console messages are not placed in a message queue.

Qualifier 1: Server message queue

name
Specify the name of the message queue to receive the server console messages.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
name
Specify the name of the library to be searched.
Top

Event log (EVTLOG)

Specifies whether or not messages from the event log are received from the server.

Event log messages are placed in the message queue that is specified for the Server message queue (MSGQ) parameter. The MSGQ value cannot be *NONE if a value other than *NONE is specified for the EVTLOG parameter. See the MSGQ parameter for more information.

Note: This parameter is not valid when Server connection specified *GUEST or Server operating system specified *LINUX32 for Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.
*ALL
All the event log messages are received.
*NONE
The event log messages are not received.

Other values (up to 3 repetitions)

*SYS
The system event log messages are received.
*SEC
The security event log messages are received.
*APP
The application event log messages are received.
Top

Communications message queue (CMNMSGQ)

Specifies the name of a message queue to receive communications status messages. This parameter is only valid for server connection type *ISCSI.

For details on the type of messages that are sent to this message queue, see the appropriate manual that is associated with the type of network server.

Single values

*SAME
The value does not change.
*SYSOPR
Causes messages from the server to be placed in the system operator message queue.

Qualifier 1: Communications message queue

name
Specify the name of a message queue to receive status messages issued by the server.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
name
Specify the name of the library to be searched.
Top

Configuration file (CFGFILE)

Specifies the source file containing configuration data to be used in activating or further defining the server.

Note: This parameter is not valid when Server connection specified *GUEST for Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.
*NONE
No configuration file is specified.

Qualifier 1: Configuration file

name
Specify the name of the source file containing the configuration data. The file must exist on the system by the time the server is activated.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
name
Specify the name of the library to be searched.
Top

TCP/IP port configuration (TCPPORTCFG)

Specifies the TCP/IP configuration values that are specific to a port on the network server. This information consists of four parts including the identification of the network server port, the internet address assigned to the port, and the subnet mask of the port. When Server connection specified *IXSVR or *ISCSI for the Network server type (TYPE) parameter you can enter up to three values for this parameter, one for each port that can exist on a network server.

Single values

*SAME
The value does not change.
*NONE
There is no TCP/IP port configuration. *NONE cannot be specified when Server connection specified *IXSVR or *ISCSI for the Network server type (TYPE) parameter.

Other values (up to 9 repetitions)

Element 1: Port

Specifies the network server port number to be configured.

1
Network server port number 1 is configured.
2
Network server port number 2 is configured.
3
Network server port number 3 is configured.
4
Network server port number 4 is configured.

Note: The following values are not valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*INTERNAL
The network server internal token ring port is configured.

Note: *INTERNAL is not valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*VRTETHPTP
The network server virtual Ethernet point to point port is configured.
*VRTETHn
Virtual Ethernet port 'n' is configured, where 'n' is a number from 1 to 9.

Element 2: Internet address

character-value
Specify the local internet address which the network server responds to when Server connection specified *IXSVR or *ISCSI for the Network server type (TYPE) parameter. The internet address is specified in the form nnn.nnn.nnn.nnn where nnn is a decimal number ranging from 0 through 255. An Internet address that has a binary value of all ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the Internet address is not valid. The internet address selected must be unique across all NWSD objects and the i5/OS TCP/IP configuration.

Element 3: Subnet mask

character-value
Specify the subnet mask associated with the network server port. See the TCP/IP Fastpath Setup book for general information about subnets.

Subnetting provides the capability to partition an internet domain. Specify the mask for the network subnet and host address fields of the internet address that defines a subnet. The subnet mask is in the form, nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255. The subnet mask must mask off all bits of the network class's network ID portion of the internet address. For example, a subnet mask of 255.255.255.0 defines a Class B subnet consisting of all bits in the network portion of the internet address (this is a given) and consisting of all bits in the third byte of an internet address.

Element 4: Maximum transmission unit

1500
The maximum transmission unit (MTU) value is 1500 bytes.
integer-number
Specifies the MTU value, in bytes, for the interface.

Element 5: Gateway address

character-value
Specify the default gateway address for the internet address in the form, nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255.
Top

TCP/IP route configuration (TCPRTE)

Specifies routes to remote destination systems or networks to the Transmission Control Protocol/Internet Protocol (TCP/IP) configuration for the network server. A route specification has three elements, the route destination, the subnet mask, and the next hop internet address. A maximum of 24 route specifications can be specified.

Note: This parameter will be ignored when Server connection specified *IXSVR or *ISCSI for the Network server type (TYPE) parameter.

Two values uniquely define a route. They are the route destination field and the subnet mask. For *DFTROUTE values, the next hop element uniquely defines the route.

Single values

*SAME
The value does not change.
*NONE
There is no routing specification needed for the network server. *NONE must be specified when TCPPORTCFG(*NONE) is specified. *NONE may be specified if there is no need for route specifications.

Element 1: Route destination

Specifies the remote network or host that is being added. The user must specify all four bytes that make up an internet address though some of the bytes may be equal to 0. For example, a route to all the hosts on the 9.5.11 subnet is identified by entering 9.5.11.0 for the route destination. Used in combination with a subnet mask, the route destination will identify a route to a network or system.

*DFTROUTE
A TCP/IP default route is being added. A default route entry is used by the system to route data that is being sent to an undefined network or system. Multiple *DFTROUTE entries may be specified. The *DFTROUTE entries are used in the order specified. If a particular next hop gateway on a *DFTROUTE entry is not available, then the subsequent *DFTROUTE entry's next hop gateway specified will be used. This will continue until a *DFTROUTE entry's gateway is found that is active or the list of next hop gateway values is exhausted.
character-value
Specify the route destination being added. The route destination can be specified in the form, nnn.0.0.0 for Class A, nnn.nnn.0.0 for Class B, and nnn.nnn.nnn.0 for Class C, or nnn.nnn.nnn.nnn for any combination thereof, where nnn is a decimal number ranging from 0 through 255.

Note: Any combination thereof means that you may specify a route, such as 9.5.0.0 to the hosts on the 9.5 subnet even though all 9.5.x.x addresses are class A network addresses.

Exceptions:

  • The first byte (octet) must be greater than 0 and less than 255
  • The last byte (octet) may not equal 255.
  • The last byte (octet) may not equal 0 if *HOST is specified for the SUBNETMASK value.
  • Routes to a broadcast address are not allowed.

Element 2: Subnet mask

A subnet mask value must be specified if *DFTROUTE or a route destination is entered for the route destination element. Subnet mask specifies a bit mask that identifies to TCP/IP which bits of the value specified for the route destination compose the network and subnet portions of the internet address. The subnet is identified by combining the route destination internet address and the subnet mask.

*NONE
There is no subnet mask. If *DFTROUTE is specified in the route destination element, then *NONE must be specified. *NONE is valid only for the *DFTROUTE route destination value.
*HOST
The internet address value specified in the route destination field is a host address. The subnetmask value is calculated to be 255.255.255.255.
character-value
Specify the mask of the subnet field. The internet address is in the form, nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255. For example, a destination route's internet address value of 129.35.11.0 is a Class B subnet. The network ID part of its address is 129.35. The upper 2 bytes must designate 255 in the subnet mask, for example, the subnet mask must appear like 255.255.x.x, where x is determined by the user. The portion of the subnet mask which is associated with the network portion of a particular class of address must equal 255.

Element 3: Next hop

The next hop value specifies the internet address of the next system (gateway) on the route. A route cannot be added unless the internet address specified by the next hop element is directly reachable through a network associated with one of the network server ports.

See the Fastpath for TCP/IP book for general information about internet addresses.

character-value
Specify the internet address of the next system on the route in the form, nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255 except that the host ID portion and the network ID portion of the internet address may not be all 0 bits or all 1 bits. An internet address that has all binary ones or all binary zeros for the network ID portion or the host ID portion of the internet address is not valid.
Top

TCP/IP local host name (TCPHOSTNAM)

Specifies the short form of the host name to be associated with the network server.

The host name can be a text string having 2 through 63 characters.

The following characters are allowed in host names:

*SAME
The value does not change.
*NWSD
Specifies that the host name for the network server is the same as the name of the network server decsription. *NWSD must be specified if *NONE is specified for the TCP/IP port configuration (TCPPORTCFG) parameter.
name
Specify a host name to be associated with the network server.
Top

TCP/IP local domain name (TCPDMNNAME)

Specifies the local domain name associated with the network server.

A domain name can be a text string having 2 to 255 characters. Domain names consist of one or more labels separated by periods. Each label can contain up to 63 characters. The following characters are allowed in domain names:

Note: These characters are all invariant characters.

Other domain name conventions include the following:

For example, the name SYS1.MFG.ABC.COM can be broken down into the following:

COM
All commercial networks.
ABC.COM
All systems in the ABC company's commercial network.
MFG.ABC.COM
All manufacturing systems in the ABC company's commercial network.
SYS1.MFG.ABC.COM
A host named SYS1 in the manufacturing area of the company's commercial network.

In the above example, MFG.ABC.COM is the domain name and SYS1 is the short form of the host name.

The COM designation is one of several domain names used when connecting the Internet. Some of the other domain names are as follows:

COM
Commercial organizations
EDU
Educational institutions
GOV
Government institutions
MIL
Military groups
NET
Major network support centers
ORG
Organizations other than those listed above
Country code
Countries or regions other than USA
*SAME
The value does not change.
*SYS
Specifies that the local domain name for the network server should be the same value as is configured for the iSeries. *SYS must be specified if TCPPORTCFG(*NONE) is specified. Also, *SYS must be specified if only an *INTERNAL port is specified on the TCPPORTCFG parameter.
name
Specify a host name to be associated with the network server.
Top

TCP/IP name server system (TCPNAMSVR)

Specifies the internet address of the name server system that is used by the network server. Typically, this is the same value as it is for the iSeries system.

Single values

*SAME
The value does not change.
*SYS
The name server system used by the network server should be the same as for the iSeries. *SYS must be specified if TCPPORTCFG(*NONE) is specified.
*NONE
There is no name server to be used by the network server.

Other values (up to 3 repetitions)

character-value
Specify an internet address for the name server system to be used by the network server. Up to three remote name server systems can be specified. The name server systems are used in the order they are specified.
Top

Virtual Ethernet path (VRTETHPTH)

Specifies the virtual Ethernet paths the Ethernet line descriptions can use. This information consists of three parts including the virtual Ethernet port, the Network server host adapter description and the IP security rules for this path. You can enter up to five values for this parameter. You must enter at least one virtual Ethernet path which is the path to be used by the *VRTETHPTP line description.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.

Element 1: Port number

*VRTETHPTP
The network server virtual Ethernet point to point port is configured.
*VRTETHn
Virtual Ethernet port 'n' is configured, where 'n' is a number from 1 to 9.

Element 2: Network server host adapter

name
Specify the name of an existing network server host adapter (NWSH) description. The network server host adapter name does not need to be unique for each VRTETHPTH parameter on this NWSD.

Element 3: IP security rules

Specify any relative entry of the IP security rule (IPSECRULE) parameter, defined in NWS Configuration (NWSCFG) of type *CNNSEC, that will be used for each remote port's security.

Element 1: Remote interface 1 rule

*DFTSECRULE
Remote interface 1 will use IP security rule specified on the Default IP security rule (DFTSECRULE) parameter.
*NONE
Remote interface 1 will not use IP security rule.
1-16
Remote interface 1 will use IP security rule specified.

Element 2: Remote interface 2 rule

*DFTSECRULE
Remote interface 2 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 2 will not use IP security rule.
1-16
Remote interface 2 will use IP security rule specified.

Element 3: Remote interface 3 rule

*DFTSECRULE
Remote interface 3 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 3 will not use IP security rule.
1-16
Remote interface 3 will use IP security rule specified.

Element 4: Remote interface 4 rule

*DFTSECRULE
Remote interface 4 will use IP security rule specified on the DFTSECRULE parameter.
*NONE
Remote interface 4 will not use IP security rule.
1-16
Remote interface 4 will use IP security rule specified.
Top

Restricted device resources (RSTDDEVRSC)

Specifies the iSeries device resource names that are restricted and cannot be used by network servers.

The resource is used when the network server is active and a request is issued from the client that is running an application. The device resource cannot be used by the application and i5/OS at the same time. If the device resource is in used by the i5/OS, the application will not use this resource. If the device resource is intended to be used by the application, it will need to be available when the application is ready to use it.

Notes:

  1. Only tape and optical device resources can be restricted.
  2. If other device resources are specified that are not valid or are not detected, they will not allow the network server to vary on.
  3. This parameter can be changed only while the network server is varied off.

Single values

*SAME
The value does not change.
*NONE
No device resources are restricted from the network server. Therefore, any tape or optical device resources that exist on the system can be used.
*ALL
All tape and optical resources are restricted from being used by the network server.

Other values (up to 10 repetitions)

*ALLOPT
All optical resources are restricted from being used by the network server.

Note: This value can only be specified once.

*ALLTAPE
All tape resources are restricted from being used by the network server.

Note: This value can only be specified once.

name
Specify the resource name of a restricted device that cannot be used by the network server. Up to 10 restricted device resource names can be specified.
Top

Network server configuration (NWSCFG)

Specifies the network server configuration descriptions to use with this NWSD. This information consists of two parts including the Remote system name and Connection security name

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

Single values

*SAME
The value does not change.

Element 1: Remote system name

*DFT
Use the system generated default remote system network server configuration name of 'nwsdnameRM' where nwsdname is the name of this network server description.
name
Specify the name of an existing remote system network server configuration description.

Element 2: Connection security name

*DFT
Use the system generated default connection security network server configuration name of 'nwsdnameCN' where nwsdname is the name of this network server description.
name
Specify the name of an existing connection security network server configuration description.
Top

Shutdown TCP port (SHUTDPORT)

Specifies the TCP port to use for shutdown.

This port listens through the local area network (LAN) interface configured for any network server host adapter (NWSH) device associated with the network server description (NWSD) object on the Virtual Ethernet path (VRTETHPTH) parameter.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
integer
Specifies the port number identifying the port that is to be used for shutdown. Valid values range from 1024 through 65,535. Default value is 8700.
Top

Virtual Ethernet control port (VRTETHCTLP)

Specifies the TCP port to use for virtual Ethernet control.

This port listens through the local area network (LAN) interface configured for any network server host adapter (NWSH) device associated with the network server description (NWSD) object on the Virtual Ethernet path (VRTETHPTH) parameter.

Note: This parameter is only valid when Server connection specified *ISCSI for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
integer
Specifies the port number identifying the port that is to be used for virtual Ethernet control. Valid values range from 1024 through 65,535. Default value is 8800.
Top

Synchronize date and time (SYNCTIME)

Specifies whether the iSeries should synchronize the network server date and time with the iSeries system date and time.

Note: This parameter is not valid when Server operating system specified *LINUX32 for Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*TYPE
The system will perform synchronization based on the network server type. When Server operating system specified *WIN32 for the Network server type (TYPE) parameter ,synchronization will be done as if SYNCTIME(*YES) was specified.
*YES
The system will synchronize the network server date and time with the iSeries system date and time.

The following occurs when Server operating system specified *WIN32 for the Network server type (TYPE) parameter:

  • If the network server description is varied on, this reset will occur immediately and at least every 30 minutes thereafter.
  • If the network server description is varied off, this reset will occur when the network server description is varied on and at least every 30 minutes thereafter.

The QTIMZON system value must be set to the correct value for time synchronization to work correctly.

*NO
The iSeries synchronizes the network server date and time with the iSeries system date and time when the network server description is varied on, but will not keep the date and time synchronized while the network server description is varied on. If the network server description is varied on when this parameter is set to this value, the date and time will no longer be synchronized while the network server description is varied on.
Top

IPL source (IPLSRC)

Specifies the source of the load image that the partition is started from.

Note: This parameter is only valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*NWSSTG
The partition is started using the load image in the first network server storage space attached to this network server description.
*STMF
The partition is started using the load image in the stream file specified by the IPL stream file (IPLSTMF) parameter.
*PANEL
The partition is started from the source indicated on the operator's panel.
A
The partition is started from the A-source.
B
The partition is started from the B-source.
D
The partition is started from the D-source.
Top

IPL stream file (IPLSTMF)

Specifies the path of the stream file containing the image that the partition should be loaded from.

Note: This parameter is only valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command, and *STMF is specified for the IPL source (IPLSRC) parameter.

*SAME
The value does not change.
*NONE
A stream file is not specified.
path-name
Specify the path of the stream file containing the load image. Up to 5000 characters may be specified.
Top

IPL parameters (IPLPARM)

Specifies a string of characters that will be passed to the load image at IPL time. It consists of commands or configuration information for the guest operating system.

Note: This parameter is only valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*NONE
IPL parameters are not passed to the load image.
character-value
Specify a string of up to 256 characters containing the IPL parameters to be passed to the load image.
Top

Power control (PWRCTL)

Specifies whether the partition associated with the network server description will be powered down when the network server description is varied offline or powered up when the network server description is varied online.

Note: This parameter is only valid when Server connection specified *GUEST for the Network server type (TYPE) parameter in the corresponding CRTNWSD command.

*SAME
The value does not change.
*YES
The partition associated with the network server description will be powered down when the network server description is varied offline or powered up when the network server description is varied online.
*NO
The partition associated with the network server description will not be powered down when the network server description is varied offline and the partition will not be powered up when the network server description is varied online.
Top

Text 'description' (TEXT)

Specifies text that briefly describes the network server description.

*SAME
The value does not change.
*BLANK
Text is not specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

Example 1: Changing the TCP/IP Route Configuration

CHGNWSD   NWSD(REMODEL2)  TCPRTE((*DFTROUTE *NONE '9.5.5.1'))

This command changes a server description named REMODEL2. The TCP/IP default route next hop address is changed to 9.5.5.1.

Example 2: Changing the Restricted Device Resources

CHGNWSD   NWSD(WNTSVR4)  RSTDDEVRSC(OPT02 *ALLTAPE)

This command changes a server description named WNTSVR4. Device resource OPT02 and all tape resources (*ALLTAPE) are changed to have their access restricted from the network server.

Example 3: Changing the Storage Path, Multi-path Group, Network Server Configuration and Shutdown TCP Port

CHGNWSD NWSD(WINISCSI) STGPTH((NWSH3) (NWSH4 (5 3 8 9)))
        MLTPTHGRP(1 2)
        NWSCFG(YOURREMOTE YOURSECURITY)
        SHUTDPORT(8950)

This command changes a network server description named WINISCSI. Storage paths one and two are changed to use network server host adapters NWSH3 and NWSH4 and associated IP security rules. Multi-path group was changed to use storage paths 1 and 2. Network server configuration was changed to use YOURREMOTE for Remote system name and YOURSECURITY for Connection security name, and Shutdown TCP port was changed to 8950.

Top

Error messages

*ESCAPE Messages

CPF26AD
Network server description &1 not changed.
Top