sample test plan€¦ · 1. configuration group (cfg) 2. ets configuration tlvs group (ecg) 3. pfc...

37
Veryx ATTEST TM Conformance Test Suite Data Center Bridging Capability eXchange (DCBX) Sample Test Plan Part Number: T / TPS – DCBX 1.0 - 0511/1.1

Upload: others

Post on 14-Oct-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

Veryx ATTESTTM Conformance Test Suite

Data Center Bridging Capability eXchange (DCBX) Sample Test Plan

Part Number: T / TPS – DCBX 1.0 - 0511/1.1

Page 2: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

Page ii

Copyright© 2010-2011 Veryx Technologies Pvt. Ltd. All rights reserved. Veryx ATTESTTM is a trademark of Veryx Technologies Pvt. Ltd. All other trademarks of respective owners are acknowledged. This document may not be copied either in whole or in part by any means or media without permission of Veryx Technologies Pvt. Ltd. THE PROGRAMS FURNISHED ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT ANY WARRANTIES OR REPRESENTATIONS EXPRESS, IMPLIED OR STATUTORY; INCLUDING, WITHOUT LIMITATION, WARRANTIES OF QUALITY, PERFORMANCE, NONINFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NOR ARE THERE ANY WARRANTIES CREATED BY A COURSE OF DEALING, COURSE OF PERFORMANCE OR TRADE USAGE. LICENSOR DOES NOT WARRANT THAT THE PRODUCTS WILL MEET LICENSEE'S NEEDS OR BE FREE FROM ERRORS, OR THAT THE OPERATION OF THE PRODUCTS WILL BE UNINTERRUPTED.

Page 3: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

Page iii

Table of Contents 1. Introduction....................................................................................................................................... 1 2. Scope of DCBX Test Groups .............................................................................................................. 2

2.1 DCBX Test Case Setup Conventions ......................................................................................................4 3. Sample Test Cases ............................................................................................................................. 5

3.1 tc_conf_dcbx_cfg_001............................................................................................................................5 3.2 tc_conf_dcbx_cfg_002............................................................................................................................7 3.3 tc_conf_dcbx_ecg_001 ...........................................................................................................................9 3.4 tc_conf_dcbx_ecg_002 .........................................................................................................................10 3.5 tc_conf_dcbx_ecg_003 .........................................................................................................................12 3.6 tc_conf_dcbx_ecg_004 .........................................................................................................................15 3.7 tc_conf_dcbx_ffg_001 ..........................................................................................................................17 3.8 tc_conf_dcbx_ffg_002 ..........................................................................................................................19 3.9 tc_conf_dcbx_ohg_001.........................................................................................................................21 3.10 tc_conf_dcbx_ohg_002.........................................................................................................................23 3.11 tc_conf_dcbx_ohg_003.........................................................................................................................25 3.12 tc_conf_dcbx_pcg_001 .........................................................................................................................27 3.13 tc_conf_dcbx_pcg_002 .........................................................................................................................28 3.14 tc_conf_dcbx_pcg_003 .........................................................................................................................30 3.15 tc_conf_dcbx_pcg_004 .........................................................................................................................32

Page 4: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

Page iv

This page is intentionally left blank.

Page 5: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 1

1. Introduction

Veryx ATTESTTM Data Center Bridging eXchange (DCBX) Conformance Test Suite consists of the following test groups:

S.No. ATTEST DCBX Test Group

1. Configuration Group (CFG)

2. ETS Configuration TLVs Group (ECG)

3. PFC Configuration TLVs Group (PCG)

4. Organizational TLVs Handling Group (OHG)

5. Frame Format Group (FFG) Each Test Case has an ID such as given in the example below:

Figure 1. Sample Test Case ID

Test Case (TC) numbers within a group may not always be strictly sequential; also, certain numbers are reserved for future use.

tc_conf_dcbx_cfg_001.tcl

Item type: test case

Suite type: conformance

Protocol type: DCBX Group type: DCBX Configuration Group

TC Number

File type: tcl script File extension delimiter

Page 6: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 2

2.Scope of DCBX Test Groups Veryx ATTEST DCBX Test Suite verifies Data Center Bridging eXchange (DCBX) implementation in Data center Bridging switches, Ethernet Adapters with DCB support and Converged Network Adapters (CNA) as specified in IEEE Standard P802.1Qaz (section 38). DCBX test suite tests the following functionality:

• Frame Formats

• Administrative configuration of DCBX features and the default configuration

• DCBX operation over point-to-point and point-to-multipoint links

• Attribute passing mechanisms and their state machines

• Generation and processing of valid DCBX TLVs (Traffic Classes, ETS, PFC, Application Priority Configuration)

• Handling of invalid and non-standard DCBX TLVs

ATTEST DCBX test suite consists of the following test groups:

S.No. Test Group Functionalities verified

1. Configuration Group (CFG) Verifies if DCBX support is enabled when both transmit and receive operations of LLDP is administratively enabled and DCBX is administratively enabled

2. ETS Configuration TLVs Group (ECG)

Verifies if the DCBX enabled DUT supports ETS Configuration TLVs transmission and processing when ETS support is administratively enabled

3. PFC Configuration TLVs Group (PCG)

Verifies if DCBX enabled DUT supports PFC Configuration TLVs transmission and processing when PFC support is administratively enabled

4. Organizational TLVs Handling Group (OHG)

Verifies processing of LLDPDUs having organizationally specific TLV and OUI value

Page 7: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 3

5. Frame Format Group (FFG) Verifies if LLDP agent transmits valid LLDPDUs when a new transmission cycle is initiated for an LLDP enabled port

Verifies if the LLDP agent transmits shutdown LLDPDUs when an associated port become non-operational

Page 8: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 4

2.1 DCBX Test Case Setup Terminologies The DCBX Test Cases i.e. the Test Procedure, Test Setup and Ladder Diagram use the following terminologies:

Abbreviation Expansion

DCBX Data Center Bridging eXchange

TLV Type Length Value

ETS Enhanced Transmission Selection

PFC Priority based Flow Control

TTL Time To Live

LLDP Link Layer Discovery Protocol

LLDPDU LLDP Protocol Data Unit

Page 9: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 5

3. Sample Test Cases

3.1 tc_conf_dcbx_cfg_001 Test Case : tc_conf_dcbx_cfg_001 Module Name : DCBX Configuration Group (CFG) Title : Both Transmit and Receive operations of LLDP are enabled Purpose : To verify that DUT DCBX capability is enabled if both Transmit and Receive operations of LLDP are administratively enabled and DUT DCBX is administratively enabled Reference : Sec. 38.4, Page 60(IEEE P802-1Qaz/d1.3) Sec. 38.4, Page 62(IEEE P802-1Qaz/d1.8) Test Type : Conformance Test Status : MUST Ladder Diagram : TEE DUT | | | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx>| P1 | <enable DCBX> | | <enable DCBX on port> | P1 | | | | | <!CH1D1+PID1 entry in lldpRemTable> | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (OUI-0x0080c2, | | subtype=PFC)] (P1) | |------->>--------------------------------------------| | | | | | <CH1D1+PID1 entry in lldpRemTable> | | | CHID1 = valid Chassis Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both Tx and Rx) iv. Enable DCBX at DUT v. Enable DCBX at port P1

Page 10: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 6

Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 is in forwarding state (Part 1) Step 3 : Verify that entry with ChassisID=CHID1 and PortId=PID1 is not existing in lldpRemTable Step 4 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2 & subtype=PFC on port P1 Step 5 : Verify that entry with ChassisID=CHID1 and PortId=PID1 is now existing in lldpRemTable

Page 11: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 7

3.2 tc_conf_dcbx_cfg_002 Test Case : tc_conf_dcbx_cfg_002 Module Name : DCBX Configuration Group (CFG) Title : Multiple DCBX Neighbors Purpose : To verify that DCBX enabled DUT detects multiple DCBX neighbors presence and that it ignores processing of DCBX TLVs until that condition is resolved Reference : Sec. 38.4, Page 60(IEEE P802-1Qaz/d1.3) Sec. 38.4, Page 62(IEEE P802-1Qaz/d1.8) Test Type : Conformance Test Status : MUST Ladder Diagram : TEE DUT | | | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on port> | P1 | | | | | <!CHID1+PID1 entry in lldpRemTable> | | <!CHID2+PID2 entry in lldpRemTable> | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (OUI-0x0080c2, | | subtype=PFC)] (P1) | |------->>--------------------------------------------| | | | | | | | < CHID1+PID1 entry in lldpRemTable> | | <!CHID2+PID2 entry in lldpRemTable> | | | | LLDPDU [ChassisId=CHID2, PortId=PID2, TTL=120, | | Organization specific TLV (OUI-0x0080c2, | | subtype=PFC)] (P1) | |------->>--------------------------------------------| | | | | | | | <!CHID1+PID1 entry in lldpRemTable> | | <!CHID2+PID2 entry in lldpRemTable> | | | CHID1, CHID2 = valid Chassis Ids PID1, PID2 = valid Port Ids

Page 12: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 8

Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both Tx and Rx) iv. Enable DCBX at DUT v. Enable DCBX at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 is in forwarding state (Part 1) Step 3 : Verify that entry with ChassisID=CHID1 and PortId=PID1 is not existing in lldpRemTable : Verify that entry with ChassisID=CHID2 and PortId=PID2 is not existing in lldpRemTable Step 4 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2 and subtype=PFC on port P1 Step 5 : Verify that entry with ChassisID=CHID1 and PortId=PID1 is now existing in lldpRemTable : Verify that entry with ChassisID=CHID2 and PortId=PID2 is not existing in lldpRemTable Step 6 : Send LLDPDU with ChassisID=CHID2, PortID=PID2, TTL=120 and Organization specific TLV with OUI=0x0080c2 and subtype=PFC on port P1 Step 7 : Verify that entry with ChassisID=CHID1 and PortId=PID1 is not existing in lldpRemTable : Verify that entry with ChassisID=CHID2 and PortId=PID2 is not existing in lldpRemTable

Page 13: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 9

3.3 tc_conf_dcbx_ecg_001 Test Case : tc_conf_dcbx_ecg_001 Module Name : DCBX ETS Configuration TLVs Group (ECG) Title : Administrative configuration of ETS - Enable ETS (ECG) Purpose : To verify that DCBX enabled DUT generates and transmits ETS configuration TLV if its ETS support is administratively enabled Reference : Sec 38.5.2, Page 63 (IEEE P802-1Qaz/d1.3) Sec.38.5.1, Page 64 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable ETS on Port> | P1 | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=ETS configuration TLV)] | P1 P1 |----------------------------------------<<-----------| | | | | CHID1 = valid Chassis ID PID1 = valid Port ID Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable ETS at DUT port P1 (Part 1) Step 4 : Receive LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype ETS-Configuration TLV on port TEE P1

Page 14: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 10

3.4 tc_conf_dcbx_ecg_002 Test Case : tc_conf_dcbx_ecg_002 Module Name : DCBX ETS Configuration TLVs Group (ECG) Title : ETS Configuration TLV Generation - Frame Format Purpose : To verify that DCBX and ETS enabled DUT generates valid ETS Configuration TLV and transmits to its directly connected peer ETS configuration TLV is valid if conforms to following format: 1) Total Size of TLV including Type-Length = 27 octets 2) Type Field = 127 and occupies 7-bits(MSB)of 1st octet 3) Length = 25 and occupies 9-bits(LSB) bit 1 of 1st octet and all bits of 2nd octet 4) OUI = 0x 00-80-C2, is set in next three octets octet-3 = 0x00 octet-4= 0x80 and octet-5 = 0xC2 5) Sub-Type field = ETS-CONF is set in octet-6 6) Other fields of this TLV are set as below Willing = octet-7 MSB bit 1, Next 4 bits are being reserved and octet-7 LSB 3 bits are used for Max TCGs field 7) Priority Assignment Table: Octets-8, 9, 10 and 11 Each priority is assigned with 4 bits. Values 0-7 are valid and remaining values are reserved. Octet-7: Prio-0 MSB 4 bits and Prio-1 LSB 4 bits Octet-8: Prio-2 MSB 4 bits and Prio-3 LSB 4 bits Octet-9: Prio-4 MSB 4 bits and Prio-5 LSB 4 bits Octet-10:Prio-6 MSB 4 bits and Prio-7 LSB 4 bits 8) Bandwidth Assignment Table: Octets 12 to 19(total=8 ) Each priority uses an octet to specify the % of bandwidth assigned. Total % of bandwidth assigned to all groups =100 % 9) TSA Assignment Table: Octets 20 to 27 (total=8) Each priority is assigned with an octet. Transmission selection algorithm valid values are 0, 1, 2 and 255. Reference : Sec 38.5.2, Page 63-64 (IEEE P802-1Qaz/d1.3) Sec.38.5.1, Page 64 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1

Page 15: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 11

| <enable ETS on Port> | P1 | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=ETS configuration TLV)] | P1 P1 |----------------------------------------<<-----------| | | | | CHID1 = valid Chassis Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable ETS at DUT at port P1 (Part 1) Step 4 : Receive LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=ETS-Configuration TLV on port TEE P1

Page 16: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 12

3.5 tc_conf_dcbx_ecg_003 Test Case : tc_conf_dcbx_ecg_003 Module Name : DCBX ETS Configuration TLVs Group (ECG) Title : ETS Configuration - Processing of valid TLV - Frame Format Purpose : To verify that DCBX and ETS enabled DUT processes valid ETS Configuration TLV received from its DCBX enabled and ETS enabled peer ETS configuration TLV is valid if conforms to following format: 1) Total Size of TLV including Type-Length = 27 octets 2) Type Field = 127 and occupies 7-bits(MSB)of 1st octet 3) Length = 25 and occupies 9-bits(LSB) bit 1 of 1st octet and all bits of 2nd octet 4) OUI = 0x 00-80-C2, is set in next three octets octet-3 = 0x00 octet-4= 0x80 and octet-5 = 0xC2 5) Sub-Type field = ETS-CONF is set in octet-6 6) Other fields of this TLV are set as below Willing = octet-7 MSB bit 1, Next 4 bits are being reserved and octet-7 LSB 3 bits are used for Max TCGs field 7) Priority Assignment Table: Octets-8, 9, 10 and 11 Each priority is assigned with 4 bits. Values 0-7 are valid and remaining values are reserved. Octet-7: Prio-0 MSB 4 bits and Prio-1 LSB 4 bits Octet-8: Prio-2 MSB 4 bits and Prio-3 LSB 4 bits Octet-9: Prio-4 MSB 4 bits and Prio-5 LSB 4 bits Octet-10:Prio-6 MSB 4 bits and Prio-7 LSB 4 bits 8) Bandwidth Assignment Table: Octets 12 to 19(total=8 ) Each priority uses an octet to specify the % of bandwidth assigned. Total % of bandwidth assigned to all groups =100 % 9) TSA Assignment Table: Octets 20 to 27 (total=8) Each priority is assigned with an octet. Transmission selection algorithm valid values are 0, 1, 2 and 255. Reference : Sec 38.5.2, Page 63-64 (IEEE P802-1Qaz/d1.3) Sec 38.4.1, Page 60-61 (IEEE P802-1Qaz/d1.3) Sec 38.5.1, Page 64 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1

Page 17: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 13

| <enable DCBX> | | <enable DCBX on Port> | P1 | <enable ETS on Port> | P1 | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D1), | | lldpStatsRxPortFramesErrors(E1), | | lldpStatsRxPortFramesTotal(F1), | | lldpStatsRxPortTLVsDiscardedTotal(T1), | | lldpStatsRxPortTLVsUnrecognizedTotal(U1)> | | | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=ETS configuration TLV)] | P1 P1 |----->>----------------------------------------------| | | | | | | | <collect from DUT port P1 | | lldpStatsRxPortFramesDiscardedTotal(D2), | | lldpStatsRxPortFramesErrors(E2), | | lldpStatsRxPortFramesTotal(F2), | | lldpStatsRxPortTLVsDiscardedTotal(T2), | | lldpStatsRxPortTLVsUnrecognizedTotal(U2)> | | | | | | | | Verify if ( D2 == D1, E2 == E1, | | F2 == (F1 + 1), | | T2 == T1 and U2 == U1 ) | | | | | CHID1 = valid Chassid Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable ETS at DUT at port P1 (Part 1) Step 4 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D1), lldpStatsRxPortFramesErrors(E1),

Page 18: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 14

lldpStatsRxPortFramesTotal(F1), lldpStatsRxPortTLVsDiscardedTotal(T1), lldpStatsRxPortTLVsUnrecognizedTotal(U1) > Step 5 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=ETS Configuration TLV on TEE port P1 Step 6 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D2), lldpStatsRxPortFramesErrors(E2), lldpStatsRxPortFramesTotal(F2), lldpStatsRxPortTLVsDiscardedTotal(T2), lldpStatsRxPortTLVsUnrecognizedTotal(U2) > Step 7 : Verify whether the following is true ( (D2 == D1) && (E2 == E1)&& ((F2 == (F1 + 1))&& (T2 == T1) && (U2 == U1) )

Page 19: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 15

3.6 tc_conf_dcbx_ecg_004 Test Case : tc_conf_dcbx_ecg_004 Module Name : DCBX ETS Configuration TLVs Group (ECG) Title : ETS Configuration - Processing of invalid sized TLV Purpose : To verify that DCBX and ETS enabled DUT ignores invalid sized ETS Configuration TLV received from its DCBX enabled and ETS enabled peer Here, received ETS Configuration TLV Total size is not equal to 25 octets, excluding TLV Type-Len header TLV information string length of the received ETS configuration TLV is 23 octets instead of 25 octets Reference : Sec 38.5.2, Page 63-64 (IEEE P802-1Qaz/d1.3) Sec 38.4.1, Page 60-61 (IEEE P802-1Qaz/d1.3) Sec 38.5.1, Page 64 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable ETS on Port> | P1 | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D1), | | lldpStatsRxPortFramesErrors(E1), | | lldpStatsRxPortFramesTotal(F1), | | lldpStatsRxPortTLVsDiscardedTotal(T1), | | lldpStatsRxPortTLVsUnrecognizedTotal(U1)> | | | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=ETS configuration TLV, | | TLV information string length is set as 23 octets)] | P1 P1 |----->>----------------------------------------------| | | | | | | | <collect from DUT port P1 | | lldpStatsRxPortFramesDiscardedTotal(D2), | | lldpStatsRxPortFramesErrors(E2), | | lldpStatsRxPortFramesTotal(F2), | | lldpStatsRxPortTLVsDiscardedTotal(T2), | | lldpStatsRxPortTLVsUnrecognizedTotal(U2)> | | | | | | | | Verify if ( D2 == D1, E2 == E1, |

Page 20: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 16

| F2 == (F1 + 1), | | T2 == (T1 + 1) and U2 == U1 ) | | | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable ETS at DUT port P1 (Part 1) Step 4 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D1), lldpStatsRxPortFramesErrors(E1), lldpStatsRxPortFramesTotal(F1), lldpStatsRxPortTLVsDiscardedTotal(T1), lldpStatsRxPortTLVsUnrecognizedTotal(U1) > Step 5 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=ETS Configuration TLV with TLV information string length is set as 23 octets on TEE port P1 Step 6 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D2), lldpStatsRxPortFramesErrors(E2), lldpStatsRxPortFramesTotal(F2), lldpStatsRxPortTLVsDiscardedTotal(T2), lldpStatsRxPortTLVsUnrecognizedTotal(U2) > Step 7 : Verify whether the following is true ( (D2 == D1) && (E2 == E1)&& ((F2 == (F1 + 1))&& (T2 == (T1 + 1)) && (U2 == U1) )

Page 21: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 17

3.7 tc_conf_dcbx_ffg_001 Test Case : tc_conf_dcbx_ffg_001 Module Name : Frame Format Group(FFG) Title : LLDPDU Frame format verification Purpose : To verify that a LLDP agent transmits normal LLDPDUs when a new transmission cycle is indicated for an LLDP enabled port. Checking that the LLDPDU fields have correct information Basic TLV format: - Type - 7 bits (value - 0 to 8 and 127) - Length - 9 bits - Value - (0 <= N <= 511 octects) 1) Destination MAC with LLDP-Multicast address 2) Source MAC Address with unicast MAC address 3) Length/Type field with LLDP Ethertype (0x88CC) 4) First TLV present is Chassis ID TLV 5) Chassis ID TLV information string length is greater than or equal to 2. 6) Chassis ID Subtype is valid ( 1 <= Chassis ID <= 7) 7) Second TLV present is Port ID TLV 8) Port ID TLV information string length is greater than or equal to 2 9) Port ID Subtype is valid ( 1 <= Port ID <= 7) 10) Third TLV present is Time to Live TLV 11) TTL TLV information string length is equal to 2 12) TTL Value (0 <= TTL <= 65535) 13) Last TLV present is End of LLDPDU TLV 14) End of LLDPDU TLV information string length = 0 Reference : IEEE 802.1AB - 2005 Sec 10.2.1.1 Page 34, Sec 8.1 Page 16, Sec 8.3 Page 17, Sec 9.5.2 Page 21, Sec 9.5.3 Page 22, Section 9.5.4 Page 24, Sec 9.5.1 Page 20 Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | | | <enable LLDP on Port - txAndRx> | P1 | | | LLDPDU | P1 |--------------------------------------------<<-------| | | | | Procedure : (Initial Part)

Page 22: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 18

Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (txAndRx) Step 2 : Initialization of TEE i. Add port P1 at TEE. ii. Ensure that the DUT port P1 is in forwarding state. (Part 1) Step 3 : Verify whether the received LLDPDU on port P1 is in correct format Basic TLV format: - Type - 7 bits (value - 0 to 8 and 127) - Length - 9 bits - Value - (0 <= N <= 511 octects) 1) Destination MAC with LLDP-Multicast address (01:80:c2:00:00:0E) 2) Source MAC Address with unicast MAC address 3) Length/Type field with LLDP Ethertype (0x88CC) 4) First TLV present is Chassis ID TLV 5) Chassis ID TLV information string length is greater than or equal to 2. 6) Chassis ID Subtype is valid ( 1 <= Chassis ID <= 7) 7) Second TLV present is Port ID TLV 8) Port ID TLV information string length is greater than or equal to 2 9) Port ID Subtype is valid ( 1 <= Port ID <= 7) 10) Third TLV present is Time to Live TLV 11) TTL TLV information string length is equal to 2 12) TTL Value (1 <= TTL <= 65535) 13) Last TLV present is End of LLDPDU TLV 14) End of LLDPDU TLV information string length = 0

Page 23: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 19

3.8 tc_conf_dcbx_ffg_002 Test Case : tc_conf_dcbx_ffg_002 Module Name : Frame Format Group(FFG) Title : Shutdown LLDPDU Frame format verification Purpose : To verify that a LLDP agent transmits shutdown LLDPDU when an associated port is about to become non-operational. Check that the LLDPDU fields have correct information Basic TLV format: - Type - 7 bits (value - 0 to 8 and 127) - Length - 9 bits - Value - (0 <= N <= 511 octects) 1) Destination MAC with LLDP-Multicast address 2) Source MAC Address with unicast MAC address 3) Length/Type field with LLDP Ethertype (0x88CC) 4) First TLV present is Chassis ID TLV 5) Chassis ID TLV information string length is greater than or equal to 2. 6) Chassis ID Subtype is valid ( 1 <= Chassis ID <= 7) 7) Second TLV present is Port ID TLV 8) Port ID TLV information string length is greater than or equal to 2 9) Port ID Subtype is valid ( 1 <= Port ID <= 7) 10) Third TLV present is Time to Live TLV 11) TTL TLV information string length is equal to 2 12) TTL Value == 0 13) Last TLV present is End of LLDPDU TLV 14) End of LLDPDU TLV information string length = 0 Reference : Sec 10.2.1.1 Page 34, Sec 8.1 Page 16, Sec 8.3 Page 17, Sec 9.5.2 Page 21, Sec 9.5.3 Page 22, Section 9.5.4 Page 24, Sec 9.5.1 Page 20 Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | | | <enable LLDP on Port - txAndRx> | P1 | | | <disable LLDP on port P1> | P1 | | | LLDPDU | P1 |--------------------------------------------<<-------| | |

Page 24: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 20

Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT. ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (txAndRx) Step 2 : Initialization of TEE i. Add port P1 at TEE. ii. Ensure that the DUT port P1 is in forwarding state. (Part 1) Step 3 : Disable LLDP on port P1. Step 4 : Verify whether LLDPDU received on port P1 is in correct format 1) Destination MAC with LLDP-Multicast address (01:80:c2:00:00:0E) 2) Source MAC Address with unicast MAC address 3) Length/Type field with LLDP Ethertype (0x88CC) 4) First TLV present is Chassis ID TLV 5) Chassis ID TLV information string length is greater than or equal to 2. 6) Chassis ID Subtype is valid ( 1 <= Chassis ID <= 7) 7) Second TLV present is Port ID TLV 8) Port ID TLV information string length is greater than or equal to 2 9) Port ID Subtype is valid ( 1 <= Port ID <= 7) 10) Third TLV present is Time to Live TLV 11) TTL TLV information string length is equal to 2 12) TTL Value = 0 13) Last TLV present is End of LLDPDU TLV 14) End of LLDPDU TLV information string length = 0

Page 25: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 21

3.9 tc_conf_dcbx_ohg_001 Test Case : tc_conf_dcbx_ohg_001 Module Name : Organizational TLVs Handling Group (OHG) Title : LLDPPDU Organizationally Specific TLV Handling Group - DCBX TLVs (OHG) Purpose : To verify that LLDP agent supporting DCBX accepts the LLDPDU containing Organizationally Specific TLV, 802.1 OUI and the organizationally specific subtype is one of the DCBX reserved value Reference : Sec 10.3.2 bullet g.2 Page 37, Sec 10.3.2.1 and 10.3.2.2 IEEE Std 802.1AB Sec. 38.4, Page 60 (IEEE P802-1Qaz/d1.3) Sec. 38.4, Page 62 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable PFC on Port> | | | | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D1), | | lldpStatsRxPortFramesErrors(E1), | | lldpStatsRxPortFramesTotal(F1), | | lldpStatsRxPortTLVsDiscardedTotal(T1), | | lldpStatsRxPortTLVsUnrecognizedTotal(U1)> | | | | | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI=0x0080C2, | | TLV type=127 and subtype=PFC)] | P1 |------->>--------------------------------------------| | | | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D2), | | lldpStatsRxPortFramesErrors(E2), | | lldpStatsRxPortFramesTotal(F2), | | lldpStatsRxPortTLVsDiscardedTotal(T2), | | lldpStatsRxPortTLVsUnrecognizedTotal(U2)> | | | | | | | | Verify if ( D2 == D1, E2 == E1, | | F2 == (F1 + 1), | | T2 == T1 and U2 == U1 )|

Page 26: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 22

| | CHID1 = valid Chassid Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable PFC at DUT at port P1 (Part 1) Step 4 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D1), lldpStatsRxPortFramesErrors(E1), lldpStatsRxPortFramesTotal(F1), lldpStatsRxPortTLVsDiscardedTotal(T1), lldpStatsRxPortTLVsUnrecognizedTotal(U1) > Step 5 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=PFC on port P1 Step 6 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D2), lldpStatsRxPortFramesErrors(E2), lldpStatsRxPortFramesTotal(F2), lldpStatsRxPortTLVsDiscardedTotal(T2), lldpStatsRxPortTLVsUnrecognizedTotal(U2) > Step 7 : Verify whether the following is true ( (D2 == D1) && (E2 == E1)&& ((F2 == (F1 + 1))&& (T2 == T1) && (U2 == U1) )

Page 27: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 23

3.10 tc_conf_dcbx_ohg_002 Test Case : tc_conf_dcbx_ohg_002 Module Name : Organizational TLVs Handling Group (OHG) Title : LLDPDU Organizationally Specific TLV Handling Group (OHG) Purpose : To verify whether the LLDP agent accepts the LLDPDU and increments statsTLVUnrecognizedTotal counter when it receives a LLDPDU containing a Organizationally Specific TLV and the OUI value is neither 802.1 OUI(00-80-C2) nor 802.3 OUI(00-12-0F). Reference : Sec 10.3.2 bullet g.2 Page 37 Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | | | <enable LLDP on Port - txAndRx> | P1 | | | <collect port P1's | | lldpStatsRxPortTLVsUnrecogizedTotal (X1)> | | | | LLDPDU [Org. specific TLV OUI=00-98-98] | P1 |------->>--------------------------------------------| | | | <collect port P1's | | lldpStatsRxPortTLVsUnrecogizedTotal (X2)> | | | | X2 > X1 | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add ports P1 at DUT. ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (txAndRx) Step 2 : Initialization of TEE i. Add port P1 at TEE. ii. Ensure that the DUT port P1 is in forwarding state. (Part 1) Step 3 : Collect 'lldpStatsRxPortTLVsUnrecogizedTotal' value (X1) on P1 Step 4 : Send LLDPDU with Organizational Specific TLV with OUI value 00-98-98 on port P1 Step 5 : Collect 'lldpStatsRxPortTLVsUnrecogizedTotal' value (X2) on P1

Page 28: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 24

Step 6 : Verify that value X2 is greater than X1

Page 29: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 25

3.11 tc_conf_dcbx_ohg_003 Test Case : tc_conf_dcbx_ohg_003 Module Name : Organizational TLVs Handling Group (OHG) Title : LLDPDU Organizationally Specific TLV Handling Group (OHG) Purpose : To verify whether the LLDP agent discards received LLDPDU, increments statsFramesDiscardedTotal and statsFramesInErrorsTotal when the received PDU contains Port VLAN ID TLV and the TLV information string length is less than 6. Reference : Sec F.2 Figure F-1 Page 107, Sec 10.3.2.1 bullet c.1 Page 38 Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | | | <enable LLDP on Port - txAndRx> | P1 | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal (Y1)> | |<collect port P1's lldpStatsRxPortFramesErrors (Z1)> | | | | LLDPDU [with Port VLANID TLV; Length = 5] | |------->>--------------------------------------------| | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal (Y2)> | |<collect port P1's lldpStatsRxPortFramesErrors (Z2)> | | | | Y2 > Y1 | | Z2 > Z1 | | | Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT. ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (txAndRx) Step 2 : Initialization of TEE i. Add port P1 at TEE. ii. Ensure that the DUT port P1 is in forwarding state. (Part 1) Step 3 : Collect 'lldpStatsRxPortFramesDiscardedTotal' value (Y1) and 'lldpStatsRxPortFramesErrors' value (Z1) on port P1

Page 30: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 26

Step 4 : Send LLDPDU with Port VLAN ID TLV and the TLV information string is equal 5 octects on port P1 Step 5 : Collect 'lldpStatsRxPortFramesDiscardedTotal' value (Y2) and 'lldpStatsRxPortFramesErrors' value (Z2) on port P1 Step 6 : Verify whether the value Y2 is greater than Y1 and Z2 is greater than Z1

Page 31: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 27

3.12 tc_conf_dcbx_pcg_001 Test Case : tc_conf_dcbx_pcg_001 Module Name : DCBX PFC Configuration TLVs Group (PCG) Title : Administrative configuration of PFC - Enable PFC (PCG) Purpose : To verify that DCBX enabled DUT generates and transmits PFC configuration TLV if its PFC support is administratively enabled Reference : Sec 38.5.4, Page 65-67 (IEEE P802-1Qaz/d1.3) Sec.38.5.3, Page 67-68 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable PFC on Port> | P1 | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=PFC configuration TLV)] | P1 P1 |----------------------------------------<<-----------| | | | | CHID1 = valid Chassis Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. (Part 1) Step 3 : Enable PFC at DUT at port P1 Step 4 : Receive LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=PFC Configuration TLV on port TEE P1

Page 32: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 28

3.13 tc_conf_dcbx_pcg_002 Test Case : tc_conf_dcbx_pcg_002 Module Name : DCBX PFC Configuration TLVs Group (PCG) Title : Priority-based Flow control (PFC) Configuration TLV - Generation - Frame Format Purpose : To verify that DCBX and PFC enabled DUT generates valid PFC Configuration and transmits to its directly connected peer PFC configuration TLV is valid if conforms to following format: 1) Total Size of TLV including Type-Length = 8 octets 2) Type field occupies 7-bits(MSB)of 1st octet, Val=127 3) Length field occupies 9-bits, LSB bit 1 of 1st octet and all bits of 2nd octet, Val = 6 4) OUI = 0x 00-80-C2 , is set in next three octets octet-3 = 0x00 octet-4= 0x80 and octet-5 = 0xC2 5) Sub-Type field = PFC-CONF is set in octet-6 6) Other fields of this TLV are set as below Willing = octet-7 MSB bit 1, Next 1 bit is for MACSec Bypass Capability (MBC) and next 2 bits are being reserved 7) Octet-7 LSB 4 bits are used for PFC Capability 8) PFC Priority status for each traffic classes is captured in Octet-8 Reference : Sec 38.5.4, Page 65-67 (IEEE P802-1Qaz/d1.3) Sec.38.5.3, Page 67-68 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable PFC on Port> | P1 | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=PFC configuration TLV)] | P1 P1 |----------------------------------------<<-----------| | | | | CHID1 = valid Chassis id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT

Page 33: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 29

i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable PFC at DUT at port P1 (Part 1) Step 4 : Receive LLDPDU with ChassisID=CH1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype PFC-Configuration TLV on port TEE P1

Page 34: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 30

3.14 tc_conf_dcbx_pcg_003 Test Case : tc_conf_dcbx_pcg_003 Module Name : DCBX PFC Configuration TLVs Group (PCG) Title : Priority-based Flow control Configuration TLV - Processing of valid TLV Purpose : To verify that DCBX and PFC enabled DUT processes valid Priority-based Flow control Configuration TLV received from its DCBX enabled and DCB PFC enabled peer PFC configuration TLV is valid if conforms to following format: 1) Total Size of TLV including Type-Length = 8 octets 2) Type field occupies 7-bits(MSB)of 1st octet, Val=127 3) Length field occupies 9-bits, LSB bit 1 of 1st octet and all bits of 2nd octet, Val = 6 4) OUI = 0x 00-80-C2 , is set in next three octets octet-3 = 0x00 octet-4= 0x80 and octet-5 = 0xC2 5) Sub-Type field = PFC-CONF is set in octet-6 6) Other fields of this TLV are set as below Willing = octet-7 MSB bit 1, Next 1 bit is for MACSec Bypass Capability (MBC) and next 2 bits are being reserved 7) Octet-7 LSB 4 bits are used for PFC Capability 8) PFC Priority status for each traffic classes is captured in Octet-8 Reference : Sec 38.5.4, Page 65-67 (IEEE P802-1Qaz/d1.3) Sec.38.5.3, Page 67-68 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable PFC on Port> | P1 | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D1), | | lldpStatsRxPortFramesErrors(E1), | | lldpStatsRxPortFramesTotal(F1), | | lldpStatsRxPortTLVsDiscardedTotal(T1), | | lldpStatsRxPortTLVsUnrecognizedTotal(U1)> | | | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=PFC configuration TLV)] | P1 P1 |----->>----------------------------------------------| | | | |

Page 35: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 31

| | | <collect from DUT port P1 | | lldpStatsRxPortFramesDiscardedTotal(D2), | | lldpStatsRxPortFramesErrors(E2), | | lldpStatsRxPortFramesTotal(F2), | | lldpStatsRxPortTLVsDiscardedTotal(T2), | | lldpStatsRxPortTLVsUnrecognizedTotal(U2)> | | | | | | | | Verify if ( D2 == D1, E2 == E1, | | F2 == (F1 + 1), | | T2 == T1 and U2 == U1 ) | | | | | CHID1 = valid Chassis Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable PFC at DUT at port P1 (Part 1) Step 4 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D1), lldpStatsRxPortFramesErrors(E1), lldpStatsRxPortFramesTotal(F1), lldpStatsRxPortTLVsDiscardedTotal(T1), lldpStatsRxPortTLVsUnrecognizedTotal(U1) > Step 5 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=PFC Configuration TLV on TEE port P1 Step 6 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D2), lldpStatsRxPortFramesErrors(E2), lldpStatsRxPortFramesTotal(F2), lldpStatsRxPortTLVsDiscardedTotal(T2), lldpStatsRxPortTLVsUnrecognizedTotal(U2) > Step 7 : Verify whether the following is true ( (D2 == D1) && (E2 == E1)&& ((F2 == (F1 + 1))&& (T2 == T1) && (U2 == U1) )

Page 36: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 32

3.15 tc_conf_dcbx_pcg_004 Test Case : tc_conf_dcbx_pcg_004 Module Name : DCBX PFC Configuration TLVs Group (PCG) Title : PFC Configuration - Processing of invalid sized TLV Purpose : To verify that DCBX and PFC enabled DUT ignores invalid sized PFC Configuration TLV received from its DCBX enabled and PFC enabled peer Here, received PFC Configuration TLV Total size is not equal to 6 octets, excluding TLV Type-Len header TLV information string length of the received PFC configuration TLV is 4 octets instead of 6 octets Reference : Sec 38.5.2, Page 63-64 (IEEE P802-1Qaz/d1.3) Sec 38.4.1, Page 60-61 (IEEE P802-1Qaz/d1.3) Sec 38.5.1, Page 64 (IEEE P802-1Qaz/d1.8) Conformance Type : MUST Ladder Diagram : TEE DUT | | | <enable LLDP> | | <enable LLDP on Port - Both TxRx> | P1 | <enable DCBX> | | <enable DCBX on Port> | P1 | <enable PFC on Port> | P1 | | | | | <collect port P1's | | lldpStatsRxPortFramesDiscardedTotal(D1), | | lldpStatsRxPortFramesErrors(E1), | | lldpStatsRxPortFramesTotal(F1), | | lldpStatsRxPortTLVsDiscardedTotal(T1), | | lldpStatsRxPortTLVsUnrecognizedTotal(U1)> | | | | | | | | LLDPDU [ChassisId=CHID1, PortId=PID1, TTL=120, | | Organization specific TLV (802.1 OUI-0x0080C2, | | TLV type=127 and subtype=PFC configuration TLV, | | TLV information string length is set as 4 octets)] | P1 P1 |----->>----------------------------------------------| | | | | | | | <collect from DUT port P1 | | lldpStatsRxPortFramesDiscardedTotal(D2), | | lldpStatsRxPortFramesErrors(E2), | | lldpStatsRxPortFramesTotal(F2), | | lldpStatsRxPortTLVsDiscardedTotal(T2), | | lldpStatsRxPortTLVsUnrecognizedTotal(U2)> | | | | | | | | Verify if ( D2 == D1, E2 == E1, |

Page 37: Sample Test Plan€¦ · 1. Configuration Group (CFG) 2. ETS Configuration TLVs Group (ECG) 3. PFC Configuration TLVs Group (PCG) 4. Organizational TLVs Handling Group (OHG) 5. Frame

ATTEST DCBX Conformance Sample Test Plan

Copyright © 2010-2011 Veryx Technologies Page 33

| F2 == (F1 + 1), | | T2 == (T1 + 1) and U2 == U1 ) | | | | | CHID1 = valid Chassis Id PID1 = valid Port Id Procedure : (Initial Part) Step 1 : Initialization of DUT i. Add port P1 at DUT ii. Enable LLDP at DUT iii. Enable LLDP at port P1 (both tx and rx) iv. Enable DCBX at DUT v. Enable DCBX at DUT at port P1 Step 2 : Initialization of TEE i. Add port P1 at TEE ii. Ensure that the DUT port P1 in forwarding state. Step 3 : Enable PFC at DUT at port P1 (Part 1) Step 4 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D1), lldpStatsRxPortFramesErrors(E1), lldpStatsRxPortFramesTotal(F1), lldpStatsRxPortTLVsDiscardedTotal(T1), lldpStatsRxPortTLVsUnrecognizedTotal(U1) > Step 5 : Send LLDPDU with ChassisID=CHID1, PortID=PID1, TTL=120 and Organization specific TLV with OUI=0x0080c2,TLV Type=127 and subtype=PFC Configuration TLV with TLV information string length is set as 4 octets on TEE port P1 Step 6 : Collect following statistical information on DUT port P1 < lldpStatsRxPortFramesDiscardedTotal(D2), lldpStatsRxPortFramesErrors(E2), lldpStatsRxPortFramesTotal(F2), lldpStatsRxPortTLVsDiscardedTotal(T2), lldpStatsRxPortTLVsUnrecognizedTotal(U2) > Step 7 : Verify whether the following is true ( (D2 == D1) && (E2 == E1)&& ((F2 == (F1 + 1))&& (T2 == (T1 + 1)) && (U2 == U1) )