Create Line Desc (Ethernet) (CRTLINETH)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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
Restriction: You must have input/output system configuration (*IOSYSCFG) special authority to use this command.
Common Errors for CRTLINETH
In order to avoid common configuration errors, determine the port configuration of your switch or hub prior to configuring your line description. The line description parameters and the port configuration must match in order for operating system to communicate properly with the network.
Use the following guidelines when configuring your line description:
- If the switch or hub auto-negotiates either the line speed or duplex, specify *AUTO for both the LINESPEED and DUPLEX parameters. For example, do not specify LINESPEED(100M) and DUPLEX(*FULL).
- If the switch or hub does not auto-negotiate either the line speed or duplex, specify the corresponding values on the system. For example, if the switch specifies a line speed of 100M and full duplex, specify LINESPEED(100M) and DUPLEX(*FULL) on the command.
One frequent cause of problems is a mismatch between the duplex setting of an auto-negotiation capable adapter and the switch or hub. In the case of auto-negotiation, duplex is not detectable by either the switch, hub, or the auto-negotiation capable adapter. So, there is no way to notify the user of a mismatch. Symptoms of a duplex mismatch include:
- A6E3, A6F4 reference codes
- Poor performance
- Large numbers of TCP/IP retransmits
The following are common reference codes:
- A6E3
- Duplex mismatch, cable problems, or an auto-negotiation timeout
- A6F4
- Unable to establish link, line speed mismatch, duplex mismatch, or no cable.
- A42B
- The switch or hub did not participate in auto-negotiation. A good link may not be established. The line description should be reconfigured to match the switch or hub.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
LIND | Line description | Name | Required, Positional 1 |
RSRCNAME | Resource name | Name, *AGG, *NWSD | Required, Positional 2 |
BRIDGE | Bridge identifier | Name, *NONE | Optional |
ONLINE | Online at IPL | *YES, *NO | Optional |
VRYWAIT | Vary on wait | 15-180, *NOWAIT | Optional |
AGGPCY | Aggregate policy | Element list | Optional |
Element 1: Standard | *ETHCHL, *LNKAGG | ||
Element 2: Policy type | *DFT, *SRCPORT, *DESTPORT, *SRCDESTP, *RNDRBN | ||
AGGRSCL | Aggregated resource list | Values (up to 8 repetitions): Name | Optional |
NWS | Network server description | Single values: *NONE Other values: Element list |
Optional |
Element 1: | Name | ||
Element 2: Port number | 1-2, *VRTETHPTP, *VRTETH0, *VRTETH1, *VRTETH2, *VRTETH3, *VRTETH4, *VRTETH5, *VRTETH6, *VRTETH7, *VRTETH8, *VRTETH9 | ||
ASSOCPORT | Associated port resource name | Name, *NONE | Optional |
ADPTADR | Local adapter address | Character value, *ADPT | Optional |
ETHSTD | Ethernet standard | *ETHV2, *IEEE8023, *ALL | Optional |
LINESPEED | Line speed | 10M, 100M, 1G, 10G, 25G, 100G, *AUTO | Optional |
DUPLEX | Duplex | Character value, *AUTO, *HALF, *FULL | Optional |
SRVOPT | Serviceability options | Character value, *NONE | Optional |
MAXFRAME | Maximum frame size | 1496-8996, 1496, 8996 | Optional |
SSAP | SSAP list | Single values: *SYSGEN Other values (up to 24 repetitions): Element list |
Optional |
Element 1: Source service access point | 02-FE | ||
Element 2: SSAP maximum frame | 265-8996, *MAXFRAME, 265, 521, 1033, 1466, 1493, 1496, 8996 | ||
Element 3: SSAP type | *CALC, *NONSNA, *SNA, *HPR | ||
TEXT | Text 'description' | Character value, *BLANK | Optional |
NETCTL | Network controller | Name | Optional |
GRPADR | Group address | Single values: *NONE Other values (up to 12 repetitions): 010000000000-FDFFFFFFFFFF |
Optional |
CMNRCYLMT | Recovery limits | Single values: *SYSVAL Other values: Element list |
Optional |
Element 1: Count limit | 0-99, 2 | ||
Element 2: Time interval | 0-120, 5 | ||
MSGQ | Message queue | Single values: *SYSVAL, *SYSOPR Other values: Qualified object name |
Optional |
Qualifier 1: Message queue | Name | ||
Qualifier 2: Library | Name | ||
AUT | Authority | Name, *CHANGE, *ALL, *USE, *EXCLUDE, *LIBCRTAUT | Optional |
Top |
Top |
Resource name (RSRCNAME)
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.
- *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.
This is a required parameter.
Top |
Bridge identifier (BRIDGE)
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.
- *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.
Top |
Online at IPL (ONLINE)
Specifies whether this object is automatically varied on at initial program load (IPL).
- *YES
- The line is automatically varied on at initial program load (IPL).
- *NO
- This line is not automatically varied on at IPL.
Top |
Vary on wait (VRYWAIT)
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.
- *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.
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.
Top |
Aggregate policy (AGGPCY)
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.
Element 1: Standard
- *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.
Element 2: Policy type
- *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).
Top |
Aggregated resource list (AGGRSCL)
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.
- aggregated-resource
- Specify the aggregated resource names to be used.
Top |
Network server description (NWS)
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:
- *NONE
- No network server description is specified.
- name
- Specify the name of an existing network server description to be used.
The possible Network server port value is:
- 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.
Top |
Associated port resource name (ASSOCPORT)
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.
- *NONE
- An associated port resource name is not associated with the line.
- name
- Specify the resource name.
Top |
Local adapter address (ADPTADR)
Specifies the 12-character hexadecimal adapter address.
- *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.
Top |
Ethernet standard (ETHSTD)
Identifies the Ethernet standard used on the network.
- *ALL
- All Ethernet standards will be used on the network.
- *ETHV2
- Ethernet Version 2.
- *IEEE8023
- IEEE 802.3 standard.
Top |
Line speed (LINESPEED)
Specifies the line speed in bits per second (bps).
- *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.
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.
Top |
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.
- *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.
Top |
Serviceability options (SRVOPT)
Specifies serviceability options. This parameter allows serviceability options to be provided and is intended to be used under the direction of a service provider.
- *NONE
- No serviceability options provided.
- character-value
- Specify a value as directed by your service provider.
Top |
Maximum frame size (MAXFRAME)
Specifies the maximum frame size that can be transmitted and received on this line description.
- 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.
Note: 8996 is recommended when the NWS parameter specifies a virtual ethernet port number, *VRTETHPTP or *VRTETHn where n is 0-9.
Top |
SSAP list (SSAP)
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:
- *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
- 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.
The possible SSAPs value is:
- source-service-access-point
- Specify 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.
Note: If ETHSTD(*ETHV2) is specified, AA cannot be specified. However, TCP/IP can be run.
For Systems Network Architecture (SNA) applications, the SSAP must be a hex value ranging from 04 through 9C in multiples of four (04, 08, 0C, and so on).
- For high-performance routing (HPR) applications, the SSAP must be hex C8.
- For non-SNA applications, the SSAP must be a hex value ranging from 02 through FE in multiples of two (02, 04, 06, and so on).
- For LAN printing applications, specify a SSAP value of 12 with SSAP type of *NONSNA.
- For Transmission Control Protocol/Internet Protocol (TCP/IP) applications, the SSAP must be AA.
The possible SSAP maximum frame size values are:
- *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).
The possible SSAP type values are:
- *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.
Top |
Text 'description' (TEXT)
Specifies text that briefly describes the line description.
- *BLANK
- Text is not specified.
- character-value
- Specify no more than 50 characters of text, enclosed in apostrophes.
Top |
Top |
Group address (GRPADR)
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.
- *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.
Top |
Recovery limits (CMNRCYLMT)
Specifies the second-level communications recovery limits to be used for this line description.
The possible count-limit values are:
- 2
- Two recovery attempts are made within the specified time 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.
The possible time-interval values are:
- 5
- The specified number of recovery attempts are made within a 5-minute interval.
- time-interval
- Specify the number of minutes within which recovery attempts are made. Valid values range from 0 through 120 in 1-minute intervals.
Top |
Message queue (MSGQ)
Specifies the message queue to which operational messages are sent.
- *SYSVAL
- The value in the system value QCFGMSGQ is used.
- *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
- name
- Specify the name of the library where the message queue is located.
Top |
Authority (AUT)
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.
- *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.
Top |
Examples
Example 1: Creating an Ethernet Line Description
CRTLINETH LIND(BOSTON) RSRCNAME(LIN041)
This command creates an Ethernet line description named BOSTON with a resource name of LIN041.
Example 2: Creating an Ethernet Line Description Attached to a Network Server Description
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.
Example 3: Creating a Gigabit Ethernet Line Description
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.
Example 4: Creating an Aggregate Ethernet Line Description
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.
Top |
Top |