Road vehicles — In-vehicle Ethernet — Part 10: Transport layer and network layer conformance test plans

This document specifies in-vehicle Ethernet transport layer and network layer conformance test plans (CTP) for electronic control units (ECUs). This document is a collection of all conformance test cases which are recommended to be considered for automotive use and should be referred by car manufacturers within their quality control processes. The document includes conformance test plans for the address resolution protocol, Internet control message protocol version 4, Internet protocol version 4, Internet protocol version 4 auto configuration, user datagram protocol, transport control protocol, and dynamic host configuration protocol version 4.

Véhicules routiers — Ethernet embarqué — Partie 10: Plans de test de conformité des couches transport et réseau

General Information

Status
Published
Publication Date
28-Oct-2021
Current Stage
6060 - International Standard published
Start Date
29-Oct-2021
Due Date
23-Nov-2023
Completion Date
29-Oct-2021
Ref Project

Buy Standard

Standard
ISO 21111-10:2021 - Road vehicles -- In-vehicle Ethernet
English language
205 pages
sale 15% off
Preview
sale 15% off
Preview
Draft
ISO/FDIS 21111-10:Version 07-avg-2021 - Road vehicles -- In-vehicle Ethernet
English language
206 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO
STANDARD 21111-10
First edition
2021-10
Road vehicles — In-vehicle Ethernet —
Part 10:
Transport layer and network layer
conformance test plans
Véhicules routiers — Ethernet embarqué —
Partie 10: Plans de test de conformité des couches transport et réseau
Reference number
ISO 21111-10:2021(E)
© ISO 2021

---------------------- Page: 1 ----------------------
ISO 21111-10:2021(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2021
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on
the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below
or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii
  © ISO 2021 – All rights reserved

---------------------- Page: 2 ----------------------
ISO 21111-10:2021(E)
Contents Page
Foreword .v
Introduction . vi
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Symbols and abbreviated terms.2
4.1 Symbols . 2
4.2 Abbreviated terms . 2
5 Conventions . 4
6 CTP test system set-up and CTC structure . 4
6.1 General . 4
6.2 Test system set-up . 5
6.3 CTC definition . 6
6.4 Terminology used in CTCs . 7
6.5 IUT prerequisites – TCP/IP TestStub . 7
6.5.1 General . 7
6.5.2 TCP/IP TestStub service primitives . 7
6.5.3 Result codes . 8
7 Network and transport layers CTCs .8
7.1 NL – Address resolution protocol (ARP) . 8
7.1.1 General . 8
7.1.2 Referenced specification . 8
7.1.3 Test system topology – NL – ARP . 8
7.1.4 Test system topology and related CTC configuration . 9
7.1.5 CTC ARP overview . 9
7.1.6 ARP parameters used in CTCs . 10
7.1.7 ARP CTCs . 11
7.2 NL – Internet control message protocol version 4 (ICMPv4) . 42
7.2.1 General . 42
7.2.2 Referenced specification . 42
7.2.3 Test system topology – NL – ICMPv4. 42
7.2.4 Test system topology and related CTC configuration . 43
7.2.5 ICMPv4 parameters used in CTCs . 43
7.2.6 ICMPv4 CTCs .44
7.3 NL – Internet protocol version 4 (IPv4) .54
7.3.1 General .54
7.3.2 Referenced specification .54
7.3.3 Test system topology – NL – IPv4 .54
7.3.4 Test system topology and related CTC configuration . 55
7.3.5 IPv4 parameters used in CTCs . 55
7.3.6 IPv4 CTCs .56
7.4 NL – Dynamic configuration of IPv4 link local address .82
7.4.1 General .82
7.4.2 Referenced specification .82
7.4.3 Test system topology – NL – Dynamic configuration of IPv4 link local
address .82
7.4.4 Test system topology and related CTC configuration .83
7.4.5 Dynamic configuration of IPv4 parameters and constants used in CTCs .83
7.4.6 IPv4 autoconf CTCs .84
7.5 TL – User datagram protocol (UDP) . 117
7.5.1 General . 117
7.5.2 Referenced specification . 117
iii
© ISO 2021 – All rights reserved

---------------------- Page: 3 ----------------------
ISO 21111-10:2021(E)
7.5.3 Test system topology – TL – UDP . 118
7.5.4 Test system topology and related CTC configuration .118
7.5.5 UDP parameters used in CTCs . 118
7.5.6 UDP CTCs . 119
7.6 TL – Transmisison control protocol (TCP) .137
7.6.1 General .137
7.6.2 Referenced specification .138
7.6.3 Test system topology – TL – TCP . .138
7.6.4 Test system topology and related CTC configuration .138
7.6.5 TCP parameters used in CTCs .138
7.6.6 TCP CTCs .139
Bibliography . 205
iv
  © ISO 2021 – All rights reserved

---------------------- Page: 4 ----------------------
ISO 21111-10:2021(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and
expressions related to conformity assessment, as well as information about ISO's adherence to
the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT), see
www.iso.org/iso/foreword.html.
This document was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 31,
Data communication.
A list of all parts in the ISO 21111 series can be found on the ISO website.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www.iso.org/members.html.
v
© ISO 2021 – All rights reserved

---------------------- Page: 5 ----------------------
ISO 21111-10:2021(E)
Introduction
The ISO 21111 series includes in-vehicle Ethernet requirements and test plans that are disseminated in
other International Standards and complements them with additional test methods and requirements.
The resulting requirement and test plans are structured in different documents following the Open
Systems Interconnection (OSI) reference model and grouping the documents that depend on the
physical media and bit rate used.
In general, the Ethernet requirements are specified in ISO/IEC/IEEE 8802-3. The ISO 21111 series
provides supplemental specifications (e.g. wake-up, I/O functionality), which are required for in-vehicle
Ethernet applications. In road vehicles, Ethernet networks are used for different purposes requiring
different bit-rates. Currently, the ISO 21111 series specifies the 1-Gbit/s optical and 100-Mbit/s
electrical physical layer.
The ISO 21111 series contains requirement specifications and test methods related to the in-vehicle
Ethernet. This includes requirement specifications for physical layer entity (e.g. connectors, physical
layer implementations) providers, device (e.g. electronic control units, gateway units) suppliers, and
system (e.g. network systems) designers. Additionally, there are test methods specified for conformance
testing and for interoperability testing.
Safety (electrical safety, protection, fire, etc.) and electromagnetic compatibility (EMC) requirements
are out of the scope of the ISO 21111 series.
The structure of the specifications given in the ISO 21111 series complies with the Open Systems
[1] [2]
Interconnection (OSI) reference model specified in ISO/IEC 7498-1 and ISO/IEC 10731 .
ISO 21111-1 defines the terms which are used in this series of standards and provides an overview of
the standards for in-vehicle Ethernet including the complementary relations to ISO/IEC/IEEE 8802-3,
the document structure, type of physical entities, in-vehicle Ethernet specific functionalities and so on.
ISO 21111-2 specifies the interface between reconciliation sublayer and physical entity including
reduced gigabit media independent interface (RGMII), and the common physical entity wake-up and
synchronized link sleep functionalities, independent from physical media and bit rate.
ISO 21111-2 specifies supplemental requirements to a physical layer capable of transmitting
1-Gbit/s over plastic optical fibre compliant with ISO/IEC/IEEE 8802-3, with specific application to
communications inside road vehicles, and a test plan for physical entity conformance testing.
ISO 21111-4 specifies the optical components requirements and test methods for 1-Gbit/s optical
invehicle Ethernet.
ISO 21111-5 specifies, for 1-Gbit/s optical in-vehicle Ethernet, requirements on the physical layer at
system level, requirements on the interoperability test set-ups, the interoperability test plan that checks
the requirements for the physical layer at system level, requirements on the device-level physical layer
conformance test set-ups, and device-level physical layer conformance test plan that checks a set of
requirements for the OSI physical layer that are relevant for device vendors.
ISO 21111-6 specifies advanced features of an ISO/IEC/IEEE 8802-3 in-vehicle Ethernet physical layer
(often also called transceiver), e.g. for diagnostic purposes for in-vehicle Ethernet physical layers. It
specifies advanced physical layer features, wake-up and sleep features, physical layer test suite,
physical layer control requirements and conformance test plan, physical sublayers test suite and
physical sublayers requirements and conformance test plan.
ISO 21111-7 specifies the implementation for ISO/IEC/IEEE 8802-3:2021, which defines the interface
implementation for automotive applications together with requirements on components used to realize
this Bus Interface Network (BIN). ISO 21111-7 also defines further testing and system requirements
for systems implemented according to the system specification. In addition, ISO 21111-7 defines
the channels for tests of transceivers with a test wiring harness that simulates various electrical
communication channels.
vi
  © ISO 2021 – All rights reserved

---------------------- Page: 6 ----------------------
ISO 21111-10:2021(E)
ISO 21111-8 specifies the transmission media, the channel performance and the tests for
ISO/IEC/IEEE 8802-3 in-vehicle Ethernet.
ISO 21111-9 specifies the data link layer requirements. It specifies the requirements for devices and
systems with bridge functionality.
This document specifies the transport layer and network layer requirements and conformance test
plans. It specifies the conformance test plans for devices and systems that include functionality related
with OSI layers from 4 and 3.
ISO 21111-11 specifies the application layer to session layer requirements and conformance test plans.
It specifies the conformance test plans for devices and systems that include functionality related with
OSI layers from 7 to 5.
Figure 1 shows the parts of the ISO 21111 series and the document structure.
Figure 1 — In-vehicle Ethernet documents reference according to OSI model
vii
© ISO 2021 – All rights reserved

---------------------- Page: 7 ----------------------
INTERNATIONAL STANDARD ISO 21111-10:2021(E)
Road vehicles — In-vehicle Ethernet —
Part 10:
Transport layer and network layer conformance test plans
1 Scope
This document specifies in-vehicle Ethernet transport layer and network layer conformance test
plans (CTP) for electronic control units (ECUs). This document is a collection of all conformance test
cases which are recommended to be considered for automotive use and should be referred by car
manufacturers within their quality control processes.
The document includes conformance test plans for the address resolution protocol, Internet control
message protocol version 4, Internet protocol version 4, Internet protocol version 4 auto configuration,
user datagram protocol, transport control protocol, and dynamic host configuration protocol version 4.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 9646-1, Information technology — Open Systems Interconnection — Conformance testing
methodology and framework — Part 1: General concepts
ISO 21111-1, Road vehicles — In-vehicle Ethernet — Part 1: General information and definitions
3 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO 21111-1, ISO/IEC 9646-1 and
the following apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https:// www .iso .org/ obp
— IEC Electropedia: available at https:// www .electropedia .org/
3.1
REPEAT
pseudo code command for an iteration
3.2
full-sized segment
segment with size equal to the effective send MSS
3.3
result code
value attributed to a result
3.4
generic result code
specific and universal value attributed to a result
1
© ISO 2021 – All rights reserved

---------------------- Page: 8 ----------------------
ISO 21111-10:2021(E)
3.5
full-window operation
IUT's TCP has reached a state where it is allowed to send data segments of size of test system Host-1's
entire receive without getting any acknowledgement from the test system Host-1
4 Symbols and abbreviated terms
4.1 Symbols
— empty table cell or feature undefined
V voltage of the battery
BAT
t
ARP-Dynamic-Cache-Timeout
time for which a dynamic entry is present in the ARP cache
t
ARP-Dynamic-Cache-Tolerance tolerance time for the ARP dynamic cache of the IUT to get refreshed
t
ARP-Tolerance IUT: tolerance time for the ARP cache of the IUT to get refreshed
LT: time variance associated to any wait-event
t
Valid-Time-To-Live
time interval of IP datagram send
t
Listen-Time
maximum time interval for which the LT waits for an ICMP reply
segment
t
Fragment-Reassemly-Timeout fragment reassembly timeout
t
Valid-Time-To-Live
value used in IP datagram send
t
Probe_Min
value of PROBE_MIN constant
t
Probe_Max value of PROBE_MAX constant
t
Announce_Wait value of ANNOUNCE_WAIT constant
t
Announce_Interval
value of ANNOUNCE_INTERVAL constant
t
Rate_Limit_Interval
value of RATE_LIMIT_INTERVAL constant
t
Defend_Interval value of DEFEND_INTERVAL constant
4.2 Abbreviated terms
ACK acknowlege
Addr address
AL application layer
ANVL automated network validation library
ARL address resolution lookup
ARP address resolution protocol
ASP abstract service primitive
CTC conformance test case
2
  © ISO 2021 – All rights reserved

---------------------- Page: 9 ----------------------
ISO 21111-10:2021(E)
CTP conformance test plan
EMC electromagnetic compatibility
EOP end of option
ETS enhanced testability service
FIF filtering of incoming frames
FIN finish control flag
FINWAIT finish wait
GEN general requirements
GND ground
ICMP internet control message protocol
IHL Internet header length
IUT implementation under test
IUT-Iface IUT physical layer interface
ISN initial sequence number
LT lower tester
LT-Iface LT physical layer interface
MSL maximum segment lifetime
MSS maximum segment size
MTU maximum transmission unit
Mv manipulated value
NL network layer
NOP no operation
PCO points of control and observation
PHY physical layer
PSH push
QOS qualitiy of service and audio/video bridging
RCVD received
RCV.NXT receive next
RPC remote procedure call
RST reset
RTO retransmission timeout
3
© ISO 2021 – All rights reserved

---------------------- Page: 10 ----------------------
ISO 21111-10:2021(E)
SEQ sequence
SL session layer
SUT system under test
SYN synchronize control flag
SYN-RCVD SYN received
SYN-SENT SYN sent
TCP transmission control protocol
TIME time synchronisation
TL transport layer
UDP user datagram protocol
UT upper tester
5 Conventions
[2]
This document is based on OSI service conventions as specified in ISO/IEC 10731 .
6 CTP test system set-up and CTC structure
6.1 General
This document specifies a CTP according to the requirements as specified in the ISO/IEC 9646 series.
A CTP does not provide qualification of test results but expected responses of the IUT. A CTP is used by
a test house to develop a conformance test specification specific for the test system used in their lab
environment.
The CTCs specified in this document are organized in such a manner as to simplify the identification
of information related to a test and to facilitate in the actual testing process. CTCs are organized into
groups, primarily in order to reduce set-up time in the lab environment. The different groups typically
also tend to focus on specific aspects of device functionality.
A CTC reference name, e.g. "ARP_03 – ARP entry learned on ARP request (no ARP request)" is used to
organize the CTC name, where:
— CTC indicates that this is a conformance test case;
— name/subject of CTC;
— supplemental name, e.g. ARP, which is address resolution protocol;
— CTC number;
— after the hyphen a descriptive name of the CTC follows.
The CTC definitions themselves are intended to provide a high-level description of the purpose,
references, prerequisite, steps/procedures, expected responses, remarks, and methodologies pertinent
to each test (see 6.3).
4
  © ISO 2021 – All rights reserved

---------------------- Page: 11 ----------------------
ISO 21111-10:2021(E)
6.2 Test system set-up
The test system topology follows ISO/IEC 9646-1 and consists of a test set-up which consists of a test
system and a system under test (SUT) connected via the physical medium. The test system implements
a UT and an LT. The UT uses the test control protocol (Figure 2, key 2) to control the LT. The LT supports
the functionality required to test the OSI layer (Figure 2, key 5, key 6, and key 7) of the IUT. The test
system uses IUT-specific set-up parameters (Figure 2, key 1) for testing the communication with the
IUT.
The control and measurement functionality is provided by direct logical access to the service interface
(dashed line) (Figure 2, key 3) and the associated parameters of the OSI layer. The UT in the IUT
(Figure 2, key 4) supports an equivalent part of the abstract service interface (ASPs, PCO) (dashed line)
(Figure 2, key 3) and the associated parameters to control and measure the state(s) of the IUT.
The UT conformance test controller in the test system manipulates the service primitive interface
parameters in the IUT via the ASPs (ETSs) and PCO of the OSI layers to fulfil the purpose of each CTC.
Key
1 set-up parameters (node's electronic data sheet)
2 test control protocol
3 points of control and observation (PCO) and abstract service primitives (ASPs) based on enhanced testability
services (ETS)
4 UT application with ETS interface
5 OSI layer 7 to 5 protocol
6 OSI layer 4 to 3 protocol
7 OSI layer 2 protocol
Figure 2 — Test system set-up
5
© ISO 2021 – All rights reserved

---------------------- Page: 12 ----------------------
ISO 21111-10:2021(E)
6.3 CTC definition
CTCs are independent of one another. Each CTC checks the behaviour of the IUT for a particular purpose
of this document. CTCs, which require variations of individual parameters, shall be repeated for each
value of the parameter. Each CTC is specified according to a common CTC structure as shown in Table 1.
Table 1 — CTC structure
Item Content
CTC # – Title CTC_x.y.z-a – CTC structure
Purpose The purpose is a brief statement outlining what the test attempts are to achieve. The test is
written at the functional level. It is recommended to begin the description of purpose with "This
CTC verifies …".
Reference The purpose of reference is to specify source material external to the test suite, including any
other references that might be helpful in understanding the test methodology and/or test results.
External sources are always referenced by number when mentioned in the test description. Any
other references not specified by number are stated with respect to the test suite document itself.
[13]
EXAMPLE AUTOSAR SOME/IP Protocol Specification, R20-11, PRS_SOMEIP_00042;
  PRS_SOMEIP_00099; …
Prerequisite The purpose of prerequisites is to specify the test hardware and/or software needed to perform
the CTC. This is generally expressed in terms of minimum requirements. In some cases, specific
equipment manufacturer/model information may be provided.
EXAMPLE The IUT is running and offering the enhanced testability service.
Set-up The purpose of set-up is to describe the initial configuration of the test environment. Small
changes in the configuration should not be included here and are generally covered in the test
pr
...

FINAL
INTERNATIONAL ISO/FDIS
DRAFT
STANDARD 21111-10
ISO/TC 22/SC 31
Road vehicles — In-vehicle Ethernet —
Secretariat: DIN
Voting begins on:
Part 10:
2021-08-09
Transport layer and network layer
Voting terminates on:
conformance test plans
2021-10-04
Véhicules routiers — Ethernet embarqué —
Partie 10: Plans de test de conformité des couches transport et réseau
RECIPIENTS OF THIS DRAFT ARE INVITED TO
SUBMIT, WITH THEIR COMMENTS, NOTIFICATION
OF ANY RELEVANT PATENT RIGHTS OF WHICH
THEY ARE AWARE AND TO PROVIDE SUPPOR TING
DOCUMENTATION.
IN ADDITION TO THEIR EVALUATION AS
Reference number
BEING ACCEPTABLE FOR INDUSTRIAL, TECHNO-
ISO/FDIS 21111-10:2021(E)
LOGICAL, COMMERCIAL AND USER PURPOSES,
DRAFT INTERNATIONAL STANDARDS MAY ON
OCCASION HAVE TO BE CONSIDERED IN THE
LIGHT OF THEIR POTENTIAL TO BECOME STAN-
DARDS TO WHICH REFERENCE MAY BE MADE IN
©
NATIONAL REGULATIONS. ISO 2021

---------------------- Page: 1 ----------------------
ISO/FDIS 21111-10:2021(E)

COPYRIGHT PROTECTED DOCUMENT
© ISO 2021
All rights reserved. Unless otherwise specified, or required in the context of its implementation, no part of this publication may
be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting
on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address
below or ISO’s member body in the country of the requester.
ISO copyright office
CP 401 • Ch. de Blandonnet 8
CH-1214 Vernier, Geneva
Phone: +41 22 749 01 11
Email: copyright@iso.org
Website: www.iso.org
Published in Switzerland
ii © ISO 2021 – All rights reserved

---------------------- Page: 2 ----------------------
ISO/FDIS 21111-10:2021(E)

Contents Page
Foreword .v
Introduction .vi
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Symbols and abbreviated terms . 2
4.1 Symbols . 2
4.2 Abbreviated terms . 2
5 Conventions . 4
6 CTP test system set-up and CTC structure. 4
6.1 General . 4
6.2 Test system set-up . 5
6.3 CTC definition . 6
6.4 Terminology used in CTCs . 7
6.5 IUT prerequisites – TCP/IP TestStub . 7
6.5.1 General. 7
6.5.2 TCP/IP TestStub service primitives . 7
6.5.3 Result codes . 8
7 Network and transport layers CTCs . 8
7.1 NL – Address resolution protocol (ARP) . 8
7.1.1 General. 8
7.1.2 Referenced specification . 8
7.1.3 Test system topology – NL – ARP . 8
7.1.4 Test system topology and related CTC configuration . 9
7.1.5 CTC ARP overview . 9
7.1.6 ARP parameters used in CTCs .10
7.1.7 ARP CTCs .11
7.2 NL – Internet control message protocol version 4 (ICMPv4) .43
7.2.1 General.43
7.2.2 Referenced specification .43
7.2.3 Test system topology – NL – ICMPv4 . .43
7.2.4 Test system topology and related CTC configuration .44
7.2.5 ICMPv4 parameters used in CTCs .44
7.2.6 ICMPv4 CTCs .45
7.3 NL – Internet protocol version 4 (IPv4) .55
7.3.1 General.55
7.3.2 Referenced specification .55
7.3.3 Test system topology – NL – IPv4 .55
7.3.4 Test system topology and related CTC configuration .56
7.3.5 IPv4 parameters used in CTCs .56
7.3.6 IPv4 CTCs.57
7.4 NL – Dynamic configuration of IPv4 link local address .83
7.4.1 General.83
7.4.2 Referenced specification .83
7.4.3 Test system topology – NL – Dynamic configuration of IPv4 link local address .83
7.4.4 Test system topology and related CTC configuration .84
7.4.5 Dynamic configuration of IPv4 parameters and constants used in CTCs .84
7.4.6 IPv4 autoconf CTCs .85
7.5 TL – User datagram protocol (UDP) .118
7.5.1 General.118
7.5.2 Referenced specification .118
7.5.3 Test system topology – TL – UDP .119
© ISO 2021 – All rights reserved iii

---------------------- Page: 3 ----------------------
ISO/FDIS 21111-10:2021(E)

7.5.4 Test system topology and related CTC configuration .119
7.5.5 UDP parameters used in CTCs .119
7.5.6 UDP CTCs .120
7.6 TL – Transmisison control protocol (TCP) .138
7.6.1 General.138
7.6.2 Referenced specification .139
7.6.3 Test system topology – TL – TCP .139
7.6.4 Test system topology and related CTC configuration .139
7.6.5 TCP parameters used in CTCs .139
7.6.6 TCP CTCs .140
Bibliography .206
iv © ISO 2021 – All rights reserved

---------------------- Page: 4 ----------------------
ISO/FDIS 21111-10:2021(E)

Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www .iso .org/ directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www .iso .org/ patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and
expressions related to conformity assessment, as well as information about ISO's adherence to the
World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT), see www .iso .org/
iso/ foreword .html.
This document was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 31,
Data communication.
A list of all parts in the ISO 21111 series can be found on the ISO website.
Any feedback or questions on this document should be directed to the user’s national standards body. A
complete listing of these bodies can be found at www .iso .org/ members .html.
© ISO 2021 – All rights reserved v

---------------------- Page: 5 ----------------------
ISO/FDIS 21111-10:2021(E)

Introduction
The ISO 21111 series includes in-vehicle Ethernet requirements and test plans that are disseminated in
other International Standards and complements them with additional test methods and requirements.
The resulting requirement and test plans are structured in different documents following the Open
Systems Interconnection (OSI) reference model and grouping the documents that depend on the
physical media and bit rate used.
In general, the Ethernet requirements are specified in ISO/IEC/IEEE 8802-3. The ISO 21111 series
provides supplemental specifications (e.g. wake-up, I/O functionality), which are required for in-vehicle
Ethernet applications. In road vehicles, Ethernet networks are used for different purposes requiring
different bit-rates. Currently, the ISO 21111 series specifies the 1-Gbit/s optical and 100-Mbit/s
electrical physical layer.
The ISO 21111 series contains requirement specifications and test methods related to the in-vehicle
Ethernet. This includes requirement specifications for physical layer entity (e.g. connectors, physical
layer implementations) providers, device (e.g. electronic control units, gateway units) suppliers, and
system (e.g. network systems) designers. Additionally, there are test methods specified for conformance
testing and for interoperability testing.
Safety (electrical safety, protection, fire, etc.) and electromagnetic compatibility (EMC) requirements
are out of the scope of the ISO 21111 series.
The structure of the specifications given in the ISO 21111 series complies with the Open Systems
[1] [2]
Interconnection (OSI) reference model specified in ISO/IEC 7498-1 and ISO/IEC 10731 .
ISO 21111-1 defines the terms which are used in this series of standards and provides an overview of
the standards for in-vehicle Ethernet including the complementary relations to ISO/IEC/IEEE 8802-3,
the document structure, type of physical entities, in-vehicle Ethernet specific functionalities and so on.
ISO 21111-2 specifies the interface between reconciliation sublayer and physical entity including
reduced gigabit media independent interface (RGMII), and the common physical entity wake-up and
synchronized link sleep functionalities, independent from physical media and bit rate.
ISO 21111-2 specifies supplemental requirements to a physical layer capable of transmitting
1-Gbit/s over plastic optical fibre compliant with ISO/IEC/IEEE 8802-3, with specific application to
communications inside road vehicles, and a test plan for physical entity conformance testing.
ISO 21111-4 specifies the optical components requirements and test methods for 1-Gbit/s optical
invehicle Ethernet.
ISO 21111-5 specifies, for 1-Gbit/s optical in-vehicle Ethernet, requirements on the physical layer at
system level, requirements on the interoperability test set-ups, the interoperability test plan that checks
the requirements for the physical layer at system level, requirements on the device-level physical layer
conformance test set-ups, and device-level physical layer conformance test plan that checks a set of
requirements for the OSI physical layer that are relevant for device vendors.
ISO 21111-6 specifies advanced features of an ISO/IEC/IEEE 8802-3 in-vehicle Ethernet physical layer
(often also called transceiver), e.g. for diagnostic purposes for in-vehicle Ethernet physical layers. It
specifies advanced physical layer features, wake-up and sleep features, physical layer test suite,
physical layer control requirements and conformance test plan, physical sublayers test suite and
physical sublayers requirements and conformance test plan.
ISO 21111-7 specifies the implementation for ISO/IEC/IEEE 8802-3:2021, which defines the interface
implementation for automotive applications together with requirements on components used to realize
this Bus Interface Network (BIN). ISO 21111-7 also defines further testing and system requirements
for systems implemented according to the system specification. In addition, ISO 21111-7 defines
the channels for tests of transceivers with a test wiring harness that simulates various electrical
communication channels.
vi © ISO 2021 – All rights reserved

---------------------- Page: 6 ----------------------
ISO/FDIS 21111-10:2021(E)

ISO 21111-8 specifies the transmission media, the channel performance and the tests for
ISO/IEC/IEEE 8802-3 in-vehicle Ethernet.
ISO 21111-9 specifies the data link layer requirements. It specifies the requirements for devices and
systems with bridge functionality.
This document specifies the transport layer and network layer requirements and conformance test
plans. It specifies the conformance test plans for devices and systems that include functionality related
with OSI layers from 4 and 3.
ISO 21111-11 specifies the application layer to session layer requirements and conformance test plans.
It specifies the conformance test plans for devices and systems that include functionality related with
OSI layers from 7 to 5.
Figure 1 shows the parts of the ISO 21111 series and the document structure.
Figure 1 — In-vehicle Ethernet documents reference according to OSI model
© ISO 2021 – All rights reserved vii

---------------------- Page: 7 ----------------------
FINAL DRAFT INTERNATIONAL STANDARD ISO/FDIS 21111-10:2021(E)
Road vehicles — In-vehicle Ethernet —
Part 10:
Transport layer and network layer conformance test plans
1 Scope
This document specifies in-vehicle Ethernet transport layer and network layer conformance test
plans (CTP) for electronic control units (ECUs). This document is a collection of all conformance test
cases which are recommended to be considered for automotive use and should be referred by car
manufacturers within their quality control processes.
The document includes conformance test plans for the address resolution protocol, Internet control
message protocol version 4, Internet protocol version 4, Internet protocol version 4 auto configuration,
user datagram protocol, transport control protocol, and dynamic host configuration protocol version 4.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their content
constitutes requirements of this document. For dated references, only the edition cited applies. For
undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 9646-1, Information technology — Open Systems Interconnection — Conformance testing
methodology and framework — Part 1: General concepts
ISO 21111-1, Road vehicles — In-vehicle Ethernet — Part 1: General information and definitions
3 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO 21111-1, ISO/IEC 9646-1 and
the following apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— ISO Online browsing platform: available at https:// www .iso .org/ obp
— IEC Electropedia: available at https:// www .electropedia .org/
3.1
REPEAT
pseudo code command for an iteration
3.2
full-sized segment
segment with size equal to the effective send MSS
3.3
result code
value attributed to a result
3.4
generic result code
specific and universal value attributed to a result
© ISO 2021 – All rights reserved 1

---------------------- Page: 8 ----------------------
ISO/FDIS 21111-10:2021(E)

3.5
full-window operation
IUT's TCP has reached a state where it is allowed to send data segments of size of test system Host-1's
entire receive without getting any acknowledgement from the test system Host-1
4 Symbols and abbreviated terms
4.1 Symbols
— empty table cell or feature undefined
V voltage of the battery
BAT
t
ARP-Dynamic-Cache-Timeout
time for which a dynamic entry is present in the ARP cache
t
ARP-Dynamic-Cache-Tolerance tolerance time for the ARP dynamic cache of the IUT to get refreshed
t
ARP-Tolerance IUT: tolerance time for the ARP cache of the IUT to get refreshed
LT: time variance associated to any wait-event
t
Valid-Time-To-Live
time interval of IP datagram send
t
Listen-Time
maximum time interval for which the LT waits for an ICMP reply
segment
t
Fragment-Reassemly-Timeout fragment reassembly timeout
t
Valid-Time-To-Live
value used in IP datagram send
t
Probe_Min
value of PROBE_MIN constant
t
Probe_Max value of PROBE_MAX constant
t
Announce_Wait value of ANNOUNCE_WAIT constant
t
Announce_Interval
value of ANNOUNCE_INTERVAL constant
t
Rate_Limit_Interval
value of RATE_LIMIT_INTERVAL constant
t
Defend_Interval value of DEFEND_INTERVAL constant
4.2 Abbreviated terms
ACK acknowlege
Addr address
AL application layer
ANVL automated network validation library
ARL address resolution lookup
ARP address resolution protocol
ASP abstract service primitive
CTC conformance test case
2 © ISO 2021 – All rights reserved

---------------------- Page: 9 ----------------------
ISO/FDIS 21111-10:2021(E)

CTP conformance test plan
EMC electromagnetic compatibility
EOP end of option
ETS enhanced testability service
FIF filtering of incoming frames
FIN finish control flag
FINWAIT finish wait
GEN general requirements
GND ground
ICMP internet control message protocol
IHL Internet header length
IUT implementation under test
IUT-Iface IUT physical layer interface
ISN initial sequence number
LT lower tester
LT-Iface LT physical layer interface
MSL maximum segment lifetime
MSS maximum segment size
MTU maximum transmission unit
Mv manipulated value
NL network layer
NOP no operation
PCO points of control and observation
PHY physical layer
PSH push
QOS qualitiy of service and audio/video bridging
RCVD received
RCV.NXT receive next
RPC remote procedure call
RST reset
RTO retransmission timeout
© ISO 2021 – All rights reserved 3

---------------------- Page: 10 ----------------------
ISO/FDIS 21111-10:2021(E)

SEQ sequence
SL session layer
SUT system under test
SYN synchronize control flag
SYN-RCVD SYN received
SYN-SENT SYN sent
TCP transmission control protocol
TIME time synchronisation
TL transport layer
UDP user datagram protocol
UT upper tester
5 Conventions
[2]
This document is based on OSI service conventions as specified in ISO/IEC 10731 .
6 CTP test system set-up and CTC structure
6.1 General
This document specifies a CTP according to the requirements as specified in the ISO/IEC 9646 series.
A CTP does not provide qualification of test results but expected responses of the IUT. A CTP is used by
a test house to develop a conformance test specification specific for the test system used in their lab
environment.
The CTCs specified in this document are organized in such a manner as to simplify the identification
of information related to a test and to facilitate in the actual testing process. CTCs are organized into
groups, primarily in order to reduce set-up time in the lab environment. The different groups typically
also tend to focus on specific aspects of device functionality.
A CTC reference name, e.g. "ARP_03 – ARP entry learned on ARP request (no ARP request)" is used to
organize the CTC name, where:
— CTC indicates that this is a conformance test case;
— name/subject of CTC;
— supplemental name, e.g. ARP, which is address resolution protocol;
— CTC number;
— after the hyphen a descriptive name of the CTC follows.
The CTC definitions themselves are intended to provide a high-level description of the purpose,
references, prerequisite, steps/procedures, expected responses, remarks, and methodologies pertinent
to each test (see 6.3).
4 © ISO 2021 – All rights reserved

---------------------- Page: 11 ----------------------
ISO/FDIS 21111-10:2021(E)

6.2 Test system set-up
The test system topology follows ISO/IEC 9646-1 and consists of a test set-up which consists of a test
system and a system under test (SUT) connected via the physical medium. The test system implements
a UT and an LT. The UT uses the test control protocol (Figure 2, key 2) to control the LT. The LT supports
the functionality required to test the OSI layer (Figure 2, key 5, key 6, and key 7) of the IUT. The test
system uses IUT-specific set-up parameters (Figure 2, key 1) for testing the communication with the
IUT.
The control and measurement functionality is provided by direct logical access to the service interface
(dashed line) (Figure 2, key 3) and the associated parameters of the OSI layer. The UT in the IUT
(Figure 2, key 4) supports an equivalent part of the abstract service interface (ASPs, PCO) (dashed line)
(Figure 2, key 3) and the associated parameters to control and measure the state(s) of the IUT.
The UT conformance test controller in the test system manipulates the service primitive interface
parameters in the IUT via the ASPs (ETSs) and PCO of the OSI layers to fulfil the purpose of each CTC.
Key
1 set-up parameters (node's electronic data sheet)
2 test control protocol
3 points of control and observation (PCO) and abstract service primitives (ASPs) based on enhanced testability
services (ETS)
4 UT application with ETS interface
5 OSI layer 7 to 5 protocol
6 OSI layer 4 to 3 protocol
7 OSI layer 2 protocol
Figure 2 — Test system set-up
© ISO 2021 – All rights reserved 5

---------------------- Page: 12 ----------------------
ISO/FDIS 21111-10:2021(E)

6.3 CTC definition
CTCs are independent of one another. Each CTC checks the behaviour of the IUT for a particular purpose
of this document. CTCs, which require variations of individual parameters, shall be repeated for each
value of the parameter. Each CTC is specified according to a common CTC structure as shown in Table 1.
Table 1 — CTC structure
Item Content
CTC # – Title CTC_x.y.z-a – CTC structure
Purpose The purpose is a brief statement outlining what the test attempts are to achieve. The test is
written at the functional level. It is recommended to begin the description of purpose with "This
CTC verifies …".
Reference The purpose of reference is to specify source material external to the test suite, including any
other references that might be helpful in understanding the test methodology and/or test results.
External sources are always referenced by number when mentioned in the test description. Any
other references not specified by number are stated with respect to the test suite document itself.
[13]
EXAMPLE AUTOSAR SOME/IP Protocol Specification, R20-11, PRS_SOMEIP_00042;
  PRS_SOMEIP_00099; …
Prerequisite The purpose of prerequisites is to specify the test hardware and/or software needed to pe
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.