Command reference / comm

CHGLINETH

Change Line Description

Updates the line description for an Ethernet connection.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

LIND Line description

Enter the name of the line description.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

RSRCNAME Resource name

Sets the resource name that identifies the communications port. Note: Use the Work with Hardware Resources (WRKHDWRSC) command with *CMN specified for the TYPE parameter to help determine the resource name.

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *AGG, *NWSD, *SAME

*SAME
Keep the current setting.
*AGG
The resource name specified is an aggregate line. It represents one or more physical resources.
*NWSD
The resource name is determined by the network server used.
name
Enter the resource name of the communications port.

BRIDGE Bridge identifier

Sets the bridge identifier this Ethernet line description is associated with.

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
This line description is not associated with any bridge.
name
Enter the name of the bridge identifier that this Ethernet line description is associated with.

ONLINE Online at IPL

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

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
The line is automatically varied on at initial program load (IPL).
*NO
This line is not automatically varied on at IPL.

VRYWAIT Vary on wait

Controls whether the line is varied on asynchronously or synchronously. For synchronous vary on, this parameter specifies how long the system waits for the vary on to complete.

Type
*INT4
Required
No
Default
*SAME
Range
15 to 180
Case
Uppercase

Suggested / special values: *NOWAIT, *SAME

*SAME
Keep the current setting.
*NOWAIT
The system does not wait for vary on completion. The line is varied on asynchronously.
vary-on-wait
Enter the time (in seconds) to wait. Valid values range from 15 through 180. The system waits until the line is varied on, or until the specified time passes, before completing the Vary Configuration (VRYCFG) command.

AGGPCY Aggregate policy

Sets the standard used to configure aggregated resource names, and what policy used for load-balancing outgoing Ethernet frames. Note: This parameter is only valid when *AGG is specified on the Resource name (RSRCNAME) parameter to configure an aggregate line.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
*ETHCHL
Sets to use Etherchannel technology to allow several Ethernet adapters to be aggregated together to form a single psuedo Ethernet device.
*LNKAGG
Sets to use IEEE 802.3ad Link Aggregation technology to allow several Ethernet adapters to be aggregated together to form a single psuedo Ethernet device.
*DFT
The adapter selection algorithm uses the last byte of the Destination IP address (for TCP/IP traffic) or MAC address (for ARP and other non-IP traffic).
*SRCPORT
The adapter selection algorithm uses the source TCP/IP or UDP port value.
*DESTPORT
The outgoing adapter path is selected via an algorithm using the destination TCP/IP or UDP port value.
*SRCDESTP
The outgoing adapter path is selected via an algorithm using the combined source and destination TCP or UDP port values.
*RNDRBN
Outgoing traffic is spread evenly across all the adapter ports in the Etherchannel. This mode is the typical choice for two host connected back-to-back (i.e. without a intervening switch).
Elements in order

Standard Standard

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Suggested / special values: *ETHCHL, *LNKAGG

Policy type Policy type

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Suggested / special values: *DFT, *SRCPORT, *DESTPORT, *SRCDESTP, *RNDRBN

AGGRSCL Aggregated resource list

Sets the aggregated resource names associated with the communication ports that compose an aggregate line (a line description that uses Etherchannel or IEEE802.3ad Link Aggregation). Up to 8 resource names may be specified. Note: Use the Work with Hardware Resources (WRKHDWRSC) command with TYPE(*CMN) to help determine the resource name.

Type
*NAME
Required
No
Default
*SAME
Length
10
List limit
8
Case
Uppercase

Suggested / special values: *SAME

aggregated-resource
Enter the aggregated resource names to be used.
*SAME
Keep the current setting.

ASSOCPORT Associated port resource name

Sets the resource name that describes the port that is used to establish a connection between a Windows network server and the network. Note: Use the Work with Hardware Resources (WRKHDWRSC) command with *CMN specified for the TYPE parameter to help determine the resource name.

Type
*NAME
Required
No
Default
*SAME
Length
10
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
An associated port resource name is not associated with the line.
name
Enter the resource name.

ADPTADR Local adapter address

Sets the 12-character hexadecimal adapter address.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *ADPT, *SAME

*SAME
Keep the current setting.
*ADPT
The preset default address for this Ethernet adapter card is used. Note: *ADPT must be specified when the NWS parameter specifies a virtual ethernet port number, *VRTETHPTP or *VRTETHn where n is 0-9.
local-adapter-address
Enter an adapter address of your choice to describe this system in the Ethernet network. The value specified must be an individual address that is locally administered.

GRPADR Group address

A group address is an address to which a subset of nodes on the Ethernet line will respond in addition to their local adapter addresses.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *NONE Other values (up to 12 repetitions): 010000000000-FDFFFFFFFFFF, *SAME

*SAME
Keep the current setting.
*NONE
No group addresses are defined.
group-address
Enter a group address of your choice to describe this system in the Ethernet network. Valid values are hexadecimal 010000000000 through FDFFFFFFFFFF. The second digit of the value specified must be 1, 3, 5, 7, 9, B, D, or F.

SSAP SSAP list

Sets the source service access point (SSAP) information, including an SSAP value, a maximum frame size, and an SSAP type.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSGEN

*SAME
Keep the current setting.
*SYSGEN
The system determines the source service access points. If ETHSTD(*ALL) or ETHSTD(*IEEE8023) is specified, the system generates the SSAPs 04, 12, AA, and C8. If ETHSTD(*ETHV2) is specified, the system generates the SSAPs 04 and 08.
source-service-access-point
Enter a service access point for receiving and transmitting data.
source-service-access-point (2)
Enter a source service access point for receiving and transmitting data. A maximum of 24 SSAP values can be specified. For Transmission Control Protocol/Internet Protocol (TCP/IP) applications, the SSAP must be AA.
*MAXFRAME
The system determines the maximum frame size (data field size) that can be transmitted or received. If ETHSTD(*ALL or *IEEE8023) was specified, *CALC produces a frame size of 1496 for TCP/IP and SNA SSAPs.
SSAP-maximum-frame
Enter a maximum frame size for this SSAP. Valid values range from 265 through 8996 (265 through 1493 for SNA SSAPs when *ETHV2 is specified on the Ethernet standard (ETHSTD) parameter).
*CALC
The system determines the SSAP type based on the SSAP value specified.
*SNA
The system uses IBM's Systems Network Architecture for communication. Only SSAP values of 04 through 9C in multiples of 4 are supported.
*NONSNA
The system does not use SNA communications. Only SSAP values of 02 through FE in multiples of 2 are supported.
*HPR
The SSAP is used for HPR communications. It also can be used for SNA applications. The valid value is hex C8.
Elements in order

Source service access point Source service access point

Type
*CHAR
Required
No
Length
50
Case
Uppercase

SSAP maximum frame SSAP maximum frame

Type
*INT4
Required
No
Default
*MAXFRAME
Range
265 to 8996
Case
Uppercase

Suggested / special values: *MAXFRAME

SSAP type SSAP type

Type
*CHAR
Required
No
Default
*CALC
Length
50
Case
Uppercase

Suggested / special values: *CALC, *NONSNA, *SNA, *HPR

LINESPEED Line speed

Sets the line speed in bits per second (bps).

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *AUTO, *SAME

*SAME
Keep the current setting.
*AUTO
The line speed value will be determined by the hardware using auto-negotiation.
line speed
A line speed value ending with the letter 'M' specifies millions of bits per second. A line speed value ending with the letter 'G' specifies billions of bits per second.

DUPLEX Duplex

Controls whether the hardware can send and receive data simultaneously. In half duplex mode, the hardware must alternate between sending data and receiving data. In full duplex mode, data can be sent and received simultaneously. Note: For optimum performance, this setting should match the setting on the switch or hub this line is connected to.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *AUTO, *FULL, *HALF, *SAME

*SAME
Keep the current setting.
*AUTO
The duplex value will be determined by the hardware using auto-negotiation.
*HALF
The line communicates using half duplex mode.
*FULL
The line communicates using full duplex mode. Note: *FULL must be specified when the NWS parameter specifies a virtual ethernet port number, *VRTETHPTP or *VRTETHn where n is 0-9.

SRVOPT Serviceability options

Sets serviceability options. This parameter allows serviceability options to be provided and is intended to be used under the direction of a service provider.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
No serviceability options provided.
character-value
Enter a value as directed by your service provider.

MAXFRAME Maximum frame size

Sets the maximum frame size that can be transmitted and received on this line description. Note: 8996 is recommended when the NWS parameter specifies a virtual ethernet port number, *VRTETHPTP or *VRTETHn where n is 0-9.

Type
*INT4
Required
No
Default
*SAME
Range
1496 to 8996
Case
Uppercase

Suggested / special values: *SAME

1496
The maximum frame size is 1496 bytes.
*SAME
Keep the current setting.
maximum-frame-size
Enter the maximum frame size value to be used. The valid frame sizes (in bytes) range from 1496 through 8996.

CMNRCYLMT Recovery limits

Sets the second-level communications recovery limits to be used for this line description.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
The value in the QCMNRCYLMT system value is used.
count-limit
Enter the number of recovery attempts to be performed by the system. Valid values range from 0 through 99.
time-interval
Enter the number of minutes within which recovery attempts are made. Valid values range from 0 through 120 in 1-minute intervals.
Elements in order

Count limit Count limit

Type
*INT4
Required
No
Default
2
Range
0 to 99
Case
Uppercase

Time interval Time interval

Type
*INT4
Required
No
Default
5
Range
0 to 120
Case
Uppercase

MSGQ Message queue

Sets the message queue to which operational messages are sent.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSOPR, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
Messages are sent to the message queue defined in the QCFGMSGQ system value.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
name (message queue)
Enter the name of the message queue to which operational messages are sent.
name (library)
Enter the name of the library where the message queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 16-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 16-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

TEXT Text 'description'

Sets text that briefly describes the line description.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *BLANK, *SAME

*SAME
Keep the current setting.
*BLANK
Text is not specified.
character-value
Enter no more than 50 characters of text, enclosed in apostrophes.

Examples

CHGLINETH LIND(BOSTON) RSRCNAME(LIN041)

Changes the resource name of an Ethernet line description named BOSTON to LIN041.

CHGLINETH LIND(LINETH) MAXFRAME(1496)

Changes the maximum frame size of the Ethernet line description to 1496 bytes.

IBM command documentation

Generated from os/cl/catalog/CHGLINETH.json and os/cl/help/CHGLINETH.json.