Change Device Desc (NWSH) (CHGDEVNWSH)

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

The Change Device Description (NWSH) (CHGDEVNWSH) command changes the device description for a network server host adapter (NWSH) device.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Key, Positional 1
RSRCNAME Resource name Name, *SAME Optional
LCLIFC Local interface Single values: *SAME
Other values: Element list
Optional
Element 1: Subnet mask Character value
Element 2: Port speed *AUTO
Element 3: Duplex *AUTO
Element 4: Local SCSI interface Element list
Element 1: Internet address Character value
Element 2: Gateway address Character value
Element 3: SCSI TCP port 1024-65535, 860
Element 5: Local LAN interface Element list
Element 1: Internet address Character value
Element 2: Gateway address Character value
Element 3: Virtual Ethernet base UDP port 1024-65471
ONLINE Online at IPL *SAME, *NO, *YES Optional
MSGQ Message queue Single values: *SAME, *SYSOPR
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
CMNRCYLMT Recovery limits Single values: *SAME, *SYSVAL
Other values: Element list
Optional
Element 1: Count limit 0-99
Element 2: Time interval 0-120
TEXT Text 'description' Character value, *SAME, *BLANK Optional
Top

Device description (DEVD)

Specifies the name of the device description being changed.

This is a required parameter.

Top

Resource name (RSRCNAME)

Specifies the resource name that identifies the hardware this description represents. Use the Work with Hardware Resources (WRKHDWRSC) command with *CMN specified for the TYPE parameter to determine the resource name.

*SAME
The value does not change.
name
Specify the resource name of the network server host adapter.
Top

Local interface (LCLIFC)

Specifies the local interface for a network server host adapter, which consists of a subnet mask, port speed, duplex, a local Small Computer System Interface (SCSI) configuration and a local Local Area Network (LAN) configuration.

Single values

*SAME
The value does not change.

Element 1: Subnet mask

character-value
Specify the subnet mask associated with the local interface. 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. If the subnet mask is entered from a command line, it must be enclosed in apostrophes.

Element 2: Port speed

Specifies the speed of the physical port described by this local interface.

*AUTO
The hardware automatically determines the port speed.

Element 3: Duplex

Specifies the duplex mode used by the physical port described by this local interface.

*AUTO
The hardware automatically determines the duplex.

Element 4: Local SCSI interface

Specifies the local SCSI interface configuration.

Element 1: Internet address

character-value
Specify the local internet address which the SCSI interface on the network server host adapter responds to. 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 the i5/OS TCP/IP configuration. If the local internet address is entered from a command line, the address must be enclosed in apostrophes.

Element 2: Gateway address

character-value
Specify the default gateway address for the internet address associated with the SCSI interface, in the form ddd.ddd.ddd.ddd where ddd is a decimal number ranging from 0 to 255. If the gateway address is entered from a command line, the address must be enclosed in apostrophes.

Element 3: SCSI TCP port

port-number
Specify the local SCSI TCP port that the local SCSI interface will listen on for iSCSI traffic. The local SCSI interface internet address and TCP port together define an iSCSI target portal. The well-known TCP port number for iSCSI connections assigned by Internet Assigned Numbers Authority (IANA) is 3260 and this is the default iSCSI port number. The TCP port assigned by IANA as the iSCSI system port is 860. Valid values are 860 and the range 1024 through 65535.

Element 5: Local LAN interface

Specifies the local LAN interface configuration.

Element 1: Internet address

character-value
Specify the local internet address which the LAN interface on the network server host adapter responds to. 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 the i5/OS TCP/IP configuration. If the local internet address is entered from a command line, the address must be enclosed in apostrophes.

Element 2: Gateway address

character-value
Specify the default gateway address for the internet address associated with the LAN interface, in the form ddd.ddd.ddd.ddd where ddd is a decimal number ranging from 0 to 255. If the gateway address is entered from a command line, the address must be enclosed in apostrophes.

Element 3: Virtual Ethernet base UDP port

1024-65471
Specify the lowest numbered User Datagram Protocol (UDP) port that the local LAN interface will use for virtual Ethernet communication with the remote server. Virtual Ethernet communication is encapsulated in UDP packets. Each virtual Ethernet adapter is automatically assigned a UDP port from a range that begins at the specified base port number and ends at the base port number plus the number of configured virtual Ethernet adapters.
Top

Online at IPL (ONLINE)

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

*SAME
The value does not change.
*NO
This device is not varied on automatically at IPL.
*YES
This device is varied on automatically at IPL.
Top

Message queue (MSGQ)

Specifies the message queue to which operational messages for this device are sent.

Single values

*SAME
The value does not change.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).

Qualifier 1: Message queue

name
Specify the name of the message queue to which operational messages are sent.

Qualifier 2: Library

*LIBL
All libraries in the job's library list 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

Recovery limits (CMNRCYLMT)

Specifies the communications recovery limits to be used for this device description.

Single values

*SAME
The value does not change.
*SYSVAL
The recovery limits specified in the system value QCMNRCYLMT are used.

Element 1: Count limit

0-99
Specify the number of recovery attempts to be performed by the system.

Element 2: Time interval

0-120
Specify the number of minutes within which recovery attempts are made.
Top

Text 'description' (TEXT)

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

Examples

CHGDEVNWSH   DEVD(DEVNWSH)  MSGQ(NWSHLIB/NWSHMSGQ)

This command changes the device description of a network server host adapter device named DEVNWSH so that operational messages for the device will be sent to message queue NWSHMSGQ in library NWSHLIB.

Top

Error messages

*ESCAPE Messages

CPF2618
Device description &1 not changed.
Top