Command reference / comm

CRTLINETH

Create Line Description (Ethernet)

The Create Line Description (Ethernet) (CRTLINETH) command creates a line description for an Ethernet line. Notes: Parameters no longer supported as of V2R3M0: THRESHOLD Parameters no longer supported as of V5R3M0: ACCTYPE, EMLLANNAME, LECDSCTIMO, LESATMADR, PVCID, USELECSADR Parameters no longer supported as of V7R4M0: AUTOCRTCTL, AUTODLTCTL, COSTBYTE, COSTCNN, EXCHID, GENTSTFRM, LINKSPEED, MAXCTL, NWI, NWIDLCI, NWITYPE, PRPDLY, SECURITY, USRDFN1, USRDFN2, USRDFN3 Resource name (RSRCNAME) value no longer supported as of V7R4M0: *NWID.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

LIND Line description

Specifies the name of the line description. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

RSRCNAME Resource name

Specifies 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. The resource name is on the port. For example, the resource name may be CMN01 on an Ethernet port. Note: The value specified on the RSRCNAME parameter cannot be changed from *NWSD to another value or from another value to *NWSD. Note: The value specified on the RSRCNAME parameter cannot be changed from *AGG to another value or from another value to *AGG. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

Suggested / special values: *AGG, *NWSD

*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
Specify the resource name of the communications port.

BRIDGE Bridge identifier

Specifies the bridge identifier this Ethernet line description is associated with. A bridge identifier allows a server partition to effectively share a single physical Ethernet adapter with several client partitions, each of which has only a virtual Ethernet adapter. Not all Ethernet line descriptions support bridging.

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

Suggested / special values: *NONE

*NONE
This line description is not associated with any bridge.
name
Specify the name of the bridge identifier that this Ethernet line description is associated with.

ONLINE Online at IPL

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

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

Allowed values: *NO, *YES

*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

Specifies 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. Notes: When ONLINE(*YES) is used, specifying a wait time in the line description affects system IPL time. In such cases, system IPL time is influenced by the amount of time required to synchronously vary on the line or reach the wait-time value. The time required to vary on a line is the time it takes to: Put tasks in place to manage the line Activate the communications I/O processor (IOP), including downloading the IOP model-unique Licensed Internal Code Establish the communications tasks and processes Normal vary-on time ranges from 5 through 45 seconds, but can be longer, depending on the system, line protocol, and other factors.

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

Suggested / special values: *NOWAIT

*NOWAIT
The system does not wait for vary on completion. The line is varied on asynchronously.
vary-on-wait
Specify 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

Specifies 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
Case
Uppercase
*ETHCHL
Specifies to use Etherchannel technology to allow several Ethernet adapters to be aggregated together to form a single psuedo Ethernet device.
*LNKAGG
Specifies 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). This mode is typically the best initial choice for a server with a large number of clients.
*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

Specifies 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. The resource name is the name associated with the Ethernet port. Note: This parameter is only valid when *AGG is specified on the Resource name (RSRCNAME) parameter to configure an aggregate line.

Type
*NAME
Required
No
Length
10
List limit
8
Case
Uppercase
aggregated-resource
Specify the aggregated resource names to be used.

NWS Network server description

Specifies the network server name to which this line is attached. Note: NWS must be specified when RSRCNAME(*NWSD) is specified. NWS(*NONE) must be specified if RSRCNAME(*NWSD) is not specified. The possible Network server description values are: The possible Network server port value is:

Type
*ELEM
Required
No
Default
*NONE
Case
Uppercase

Suggested / special values: *NONE

*NONE
No network server description is specified.
name
Specify the name of an existing network server description to be used.
network-server-port
Specify the network server port to which the line is attached. Valid values are 1,2 or virtual ports *VRTETHPTP or *VRTETHn where n is 0-9.
Elements in order

Element 1 Element 1

Type
*NAME
Required
No
Length
10
Case
Uppercase

Port number Port number

Type
*INT4
Required
No
Range
1 to 2
Case
Uppercase

Suggested / special values: *VRTETHPTP, *VRTETH0, *VRTETH1, *VRTETH2, *VRTETH3, *VRTETH4, *VRTETH5, *VRTETH6, *VRTETH7, *VRTETH8, *VRTETH9

ASSOCPORT Associated port resource name

Specifies 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. The resource name is on the port. For example, the resource name may be CMN01 on an Ethernet port. Note: ASSOCPORT parameter is only valid when RSRCNAME(*NWSD) is specified.

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

Suggested / special values: *NONE

*NONE
An associated port resource name is not associated with the line.
name
Specify the resource name.

ADPTADR Local adapter address

Specifies the 12-character hexadecimal adapter address.

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

Suggested / special values: *ADPT

*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
Specify 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. Valid values are *ADPT or hexadecimal 020000000000 through FEFFFFFFFFFF. The second digit must be 2, 6, A, or E.

ETHSTD Ethernet standard

Identifies the Ethernet standard used on the network.

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

Allowed values: *ALL, *ETHV2, *IEEE8023

*ALL
All Ethernet standards will be used on the network.
*ETHV2
Ethernet Version 2.
*IEEE8023
IEEE 802.3 standard.

LINESPEED Line speed

Specifies the line speed in bits per second (bps). Notes: 1G or 10G must be specified when the NWS parameter specifies a virtual Ethernet port number, *VRTETHPTP or *VRTETHn where n is 0-9. When specifying *AGG for the Resource name (RSRCNAME) parameter to configure an aggregate line, all aggregated resources must be capable of running at the specified speed.

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

Suggested / special values: *AUTO

*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

Specifies 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. Refer to IBM i Information Center at http://www.ibm.com/systems/i/infocenter/ for more information.

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

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

*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. Note: *HALF cannot be specified when specifying *AGG for the Resource name (RSRCNAME) parameter to configure an aggregate line.

SRVOPT Serviceability options

Specifies 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
*NONE
Length
50
Case
Uppercase

Suggested / special values: *NONE

*NONE
No serviceability options provided.
character-value
Specify a value as directed by your service provider.

MAXFRAME Maximum frame size

Specifies 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
1496
Range
1496 to 8996
Case
Uppercase
1496
The maximum frame size is 1496 bytes.
maximum-frame-size
Specify the maximum frame size value to be used. The valid frame sizes (in bytes) range from 1496 through 8996.

SSAP SSAP list

Specifies the source service access point (SSAP) information, including an SSAP value, a maximum frame size, and an SSAP type. You can enter multiple values for this parameter. The possible source service access point values are: The possible SSAPs value is: The possible SSAP maximum frame size values are: The possible SSAP type values are:

Type
*ELEM
Required
No
Default
*SYSGEN
Case
Uppercase

Suggested / special values: *SYSGEN

*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 (SSAP list (SSAP))
Specify a service access point for receiving and transmitting data. The SSAP must be hexadecimal 06 or AA for TCP/IP applications if ETHSTD is *ALL or *IEEE8023 (06 and AA are not allowed when ETHSTD is *ETHV2; however, TCP/IP can still be run). For SNA applications, specify a value ranging from 04 through 9C in multiples of four. For example, 7C is a valid choice. For non-SNA applications, specify a value ranging from 02 through FE in multiples of 2.
*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. If ETHSTD(*ETHV2) was specified, *CALC produces a frame size of 1493 for SNA SSAPs.
SSAP-maximum-frame
Specify 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

TEXT Text 'description'

Specifies text that briefly describes the line description.

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

Suggested / special values: *BLANK

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

NETCTL Network controller

Specifies the name of an existing network controller.

Type
*NAME
Required
No
Length
10
Case
Uppercase

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
*NONE
Length
50
Case
Uppercase
*NONE
No group addresses are defined.
group-address
Specify 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. Up to 12 addresses may be specified.

CMNRCYLMT Recovery limits

Specifies the second-level communications recovery limits to be used for this line description. The possible count-limit values are: The possible time-interval values are:

Type
*ELEM
Required
No
Case
Uppercase

Suggested / special values: *SYSVAL

2
Two recovery attempts are made within the specified time interval.
5
The specified number of recovery attempts are made within a 5-minute interval.
*SYSVAL
The value in the QCMNRCYLMT system value is used.
count-limit
Specify the number of recovery attempts to be performed by the system. Valid values range from 0 through 99.
time-interval
Specify 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

Specifies the message queue to which operational messages are sent.

Type
*QUAL
Required
No
Default
*SYSVAL
Case
Uppercase

Suggested / special values: *SYSVAL, *SYSOPR

*SYSVAL
The value in the system value QCFGMSGQ is used.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
name (Message queue)
Specify the name of the message queue to which operational messages are sent.
name (Library)
Specify the name of the library where the message queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 20-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 20-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

AUT Authority

Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.

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

Suggested / special values: *ALL, *CHANGE, *EXCLUDE, *LIBCRTAUT, *USE

*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
*EXCLUDE
The user cannot access the object.
*LIBCRTAUT
The system determines the authority for the object by using the value specified for the Create authority (CRTAUT) parameter on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
name
Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.

Examples

CRTLINETH LIND(BOSTON) RSRCNAME(LIN041)

This command creates an Ethernet line description named BOSTON with a resource name of LIN041.

CRTLINETH LIND(ETHLIN) RSRCNAME(*NWSD) NWS(REMODEL 1)

This command creates an Ethernet line description named ETHLIN that is attached to port 1 of the network server description named REMODEL.

CRTLINETH LIND(GIGETH) RSRCNAME(LIN041) LINESPEED(1G) DUPLEX(*FULL)

This command creates an Ethernet line description with a line speed of 1 gigabit per second.

CRTLINETH LIND(AGGETH) RSRCNAME(*AGG) AGGPCY(*ETHCHL *DFT) DUPLEX(*FULL) AGGRSCL(CMN01 CMN02)

This command creates an Ethernet line description using aggregated resource entries CMN01 and CMN02.

IBM command documentation

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