IEEE DCBX Administration Guide - Oracle · iv Sun Ethernet Fabric Operating System IEEE DCBX...

54
Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide Part No.: E41875-02 August 2013

Transcript of IEEE DCBX Administration Guide - Oracle · iv Sun Ethernet Fabric Operating System IEEE DCBX...

Sun Ethernet Fabric Operating System

IEEE DCBX Administration Guide

Part No.: E41875-02August 2013

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected byintellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate,broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering,disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to usin writing.If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, thefollowing notice is applicable:U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware,and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal AcquisitionRegulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, includingany operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and licenserestrictions applicable to the programs. No other rights are granted to the U.S. Government.This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in anyinherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerousapplications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. OracleCorporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks orregistered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks ofAdvanced Micro Devices. UNIX is a registered trademark of The Open Group.This software or hardware and documentation may provide access to or information on content, products, and services from third parties. OracleCorporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, andservices. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-partycontent, products, or services.

Copyright © 2013, Oracle et/ou ses affiliés. Tous droits réservés.Ce logiciel et la documentation qui l’accompagne sont protégés par les lois sur la propriété intellectuelle. Ils sont concédés sous licence et soumis à desrestrictions d’utilisation et de divulgation. Sauf disposition de votre contrat de licence ou de la loi, vous ne pouvez pas copier, reproduire, traduire,diffuser, modifier, breveter, transmettre, distribuer, exposer, exécuter, publier ou afficher le logiciel, même partiellement, sous quelque forme et parquelque procédé que ce soit. Par ailleurs, il est interdit de procéder à toute ingénierie inverse du logiciel, de le désassembler ou de le décompiler, excepté àdes fins d’interopérabilité avec des logiciels tiers ou tel que prescrit par la loi.Les informations fournies dans ce document sont susceptibles de modification sans préavis. Par ailleurs, Oracle Corporation ne garantit pas qu’ellessoient exemptes d’erreurs et vous invite, le cas échéant, à lui en faire part par écrit.Si ce logiciel, ou la documentation qui l’accompagne, est concédé sous licence au Gouvernement des Etats-Unis, ou à toute entité qui délivre la licence dece logiciel ou l’utilise pour le compte du Gouvernement des Etats-Unis, la notice suivante s’applique :U.S. GOVERNMENT END USERS. Oracle programs, including any operating system, integrated software, any programs installed on the hardware,and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal AcquisitionRegulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, includingany operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and licenserestrictions applicable to the programs. No other rights are granted to the U.S. Government.Ce logiciel ou matériel a été développé pour un usage général dans le cadre d’applications de gestion des informations. Ce logiciel ou matériel n’est pasconçu ni n’est destiné à être utilisé dans des applications à risque, notamment dans des applications pouvant causer des dommages corporels. Si vousutilisez ce logiciel ou matériel dans le cadre d’applications dangereuses, il est de votre responsabilité de prendre toutes les mesures de secours, desauvegarde, de redondance et autres mesures nécessaires à son utilisation dans des conditions optimales de sécurité. Oracle Corporation et ses affiliésdéclinent toute responsabilité quant aux dommages causés par l’utilisation de ce logiciel ou matériel pour ce type d’applications.Oracle et Java sont des marques déposées d’Oracle Corporation et/ou de ses affiliés.Tout autre nom mentionné peut correspondre à des marquesappartenant à d’autres propriétaires qu’Oracle.Intel et Intel Xeon sont des marques ou des marques déposées d’Intel Corporation. Toutes les marques SPARC sont utilisées sous licence et sont desmarques ou des marques déposées de SPARC International, Inc. AMD, Opteron, le logo AMD et le logo AMD Opteron sont des marques ou des marquesdéposées d’Advanced Micro Devices. UNIX est une marque déposée d’The Open Group.Ce logiciel ou matériel et la documentation qui l’accompagne peuvent fournir des informations ou des liens donnant accès à des contenus, des produits etdes services émanant de tiers. Oracle Corporation et ses affiliés déclinent toute responsabilité ou garantie expresse quant aux contenus, produits ouservices émanant de tiers. En aucun cas, Oracle Corporation et ses affiliés ne sauraient être tenus pour responsables des pertes subies, des coûtsoccasionnés ou des dommages causés par l’accès à des contenus, produits ou services tiers, ou à leur utilisation.

PleaseRecycle

Contents

Using This Documentation 1

Product Notes 1

Related Documentation 2

Acronyms and Abbreviations 2

CLI Command Modes 3

Feedback 3

Support and Accessibility 4

DCB Overview 5

DCB Protocol 5

ETS Feature 6

PFC Feature 6

Application Priority Feature 6

Configuring DCB 9

DCB Example Topology 10

Configuration Specifications 10

Configuration Guidelines 11

Default Settings 11

▼ Configure DCB Features 12

Verifying DCB and LLDP Configurations 13

▼ Determine Whether Interfaces Are Active 14

▼ Determine Whether LLDP is Running and Recognizing Peers 14

iii

▼ Enable DCB 18

▼ Disable DCB 18

▼ Enable DCB for Each Interface 19

▼ Disable DCB for Each Interface 20

▼ Enable and Disable a Specific DCB Feature 21

▼ Configure the Mode for the DCB Feature 23

▼ Configure DCB ETS Attributes 24

▼ Configure DCB PFC Attributes 36

▼ Configure DCB APP features 43

▼ Configure LLDP DCBX TLVs 45

▼ Show DCBX Feature Statistics and Control Information 48

▼ Display Output of Unstarted DCBX Protocol Exchange 49

▼ Clear Feature Statistics 49

▼ Display Output Showing a Down Link 50

iv Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

Using This Documentation

The DCBX protocol is used to exchange DCB configuration parameters with LLDPneighbors. The CEE DCBX standard specifies two major feature sets, priority group,also known as enhanced transmission selection, and priority-flow control. Thisdocument describes the SEFOS DCB implementation, which is based on the CEEstandard version 1.01 DCBX base specification revision 1.0.1.

■ “Product Notes” on page 1

■ “Related Documentation” on page 2

■ “Acronyms and Abbreviations” on page 2

■ “CLI Command Modes” on page 3

■ “Feedback” on page 3

■ “Support and Accessibility” on page 4

Product NotesFor late-breaking information and known issues about the following products, referto the product notes at:

Oracle Switch ES1-24:

http://www.oracle.com/goto/ES1-24/docs

Sun Network 10GbE Switch 72p:

http://www.oracle.com/goto/SN-10GbE-72p/docs

Sun Blade 6000 Ethernet Switched NEM 24p 10GbE:

http://www.oracle.com/goto/SB6K-24p-10GbE/docs

1

Related Documentation

For detailed information about the commands and options described in thisdocument, refer to the Sun Ethernet Fabric Operating System CLI Base Reference Manual.

Acronyms and Abbreviations

Documentation Links

All Oracle products http://oracle.com/documentation

Oracle Switch ES1-24 http://www.oracle.com/goto/ES1-24/docs

Sun Network 10GbE Switch72p

http://www.oracle.com/goto/SN-10GbE-72p/docs

Sun Blade 6000 EthernetSwitched NEM 24p 10GbE

http://www.oracle.com/goto/SB6K-24p-10GbE/docs

Sun Blade 6000 modularsystem

http://www.oracle.com/pls/topic/lookup?ctx=sb6000

Oracle Integrated Lights OutManager (Oracle ILOM) 3.0

http://www.oracle.com/pls/topic/lookup?ctx=ilom30

Acronym or Abbreviation Explanation

IEEE Institute of Electrical and Electronic Engineers

CLI Command-line interface

CNA Converged network adapter

DCB Data center bridging

DCBX DCB Capability Exchange Protocol

ETS Enhanced transmission selection

FC Fibre Channel

FCoE Fibre Channel over Ethernet

LLDP Link Layer Discovery Protocol, IEEE 802.1AB

2 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

CLI Command ModesThe following table provides the access and exit methods to various generalconfiguration modes.

FeedbackProvide feedback on this documentation at:

OUI Organizationally unique identifier

PFC Priority-based flow control

TC Traffic class to which the priority belongs

QoS Quality of service

SEFOS Sun Ethernet Fabric Operating System

TLV Type length value

Command Mode Access Method Prompt Exit Method

User EXEC Access SEFOS from Oracle ILOMwith read-only rights (privilegelevel 1).

SEFOS> Use the logout or exitcommand to return to theOracle ILOM prompt.

PrivilegedEXEC

Access SEFOS from Oracle ILOMwith full administrative rights(privilege level 15).

SEFOS# Use the logout or exitcommand to return to theOracle ILOM prompt.

GlobalConfiguration

From User EXEC mode, use theenable command.

SEFOS(config)# Use the end command toreturn to PrivilegedEXEC mode.

InterfaceConfiguration

From Global Configurationmode, use the interfaceinterface-typeinterface-id command.

SEFOS(config-if)# Use the exit commandto return to GlobalConfiguration mode, oruse the end command toreturn to PrivilegedEXEC mode.

Acronym or Abbreviation Explanation

Using This Documentation 3

http://www.oracle.com/goto/docfeedback

Support and AccessibilityOracle customers have access to electronic support through My Oracle Support. Forinformation visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trsif you are hearing impaired.

4 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

DCB Overview

These sections describe DCB, the ETS feature, the PFC feature, the applicationpriority feature, and an example topology.

■ “DCB Protocol” on page 5

■ “ETS Feature” on page 6

■ “PFC Feature” on page 6

■ “Application Priority Feature” on page 6

DCB ProtocolDCB is a term commonly used to describe Ethernet enhancements to improveEthernet networking and management in data center environments. DCB is aframework that defines the enhancements that are required for switches andendpoints and includes the following features:

■ ETS is the enhanced transmission selection specification, which providesbandwidth management as well as a scheduling algorithm for various trafficclasses on a converged link.

■ PFC is an enhancement to the existing Ethernet pause protocol. This feature allows"no-drop" packet delivery for certain traffic classes.

This release of the SEFOS DCB feature supports both IEEE DCBX and DCB version1.0.1, as specified by the DCB task group. By default, DCB version 1.0.1 (CEE) ischosen. Only one version of DCB protocol can be configured at one time.

DCB features are discovered and exchanged using the DCBX protocol. DCBX usesLLDP to exchange parameters between two converged link peers. The parametersthat are exchanged by DCB are packaged into organizationally specific TLVs and sentto the peer through LLDP messages.

The OUI used for the IEEE DCBX TLV is 0x001B21. Because DCBX is anacknowledged protocol that uses LLDP, both transmit and receive directions fromLLDP must be enabled on the interface that runs DCBX.

5

In addition to exchanging DCB parameters with the link partner, the local systemDCBX entity works closely with the QoS module to configure the scheduling policy,manage bandwidth, and control the priority flow control in the hardware.

ETS FeatureETS allocates link bandwidth based on the ETS setting on a link. Different traffictypes might have different network bandwidth requirements. With a traffic classidentifier, one or more priorities can be grouped together for the purpose ofbandwidth allocation. The number of traffic types that can be supported cannotexceed the number of traffic classes supported.

Before you configure the ETS, you must identify the priority to the traffic classmapping based on the the network traffic types and the bandwidth requirement foreach traffic class. Traffic classes from 0 to 7 are available for bandwidth allocation.

The ETS feature is an asymmetric parameter exchange feature. The desired ETSconfiguration for the peer does not have to match the local ETS configuration.

PFC FeatureThe PFC feature provides "no-drop" packet delivery for certain traffic classes whilemaintaining existing LAN behavior for other traffic classes on a converged link.Priority 3 is enabled by default for flow control. The Ethernet per-priority pause isapplied only to PFC packets.

The PFC feature is a symmetric exchange feature. The desired PFC configuration forthe peer must match the local PFC configuration.

Application Priority FeatureThe application protocol feature allows the DCB node to advertise the upper-layerprotocols and associated priority mapping over a DCB link. Because the SEFOSswitch is only a DCB-capable switch and is not FCoE-capable, EtherType for layer 2protocols is the only protocol supported. The protocol’s main purpose is to advertise

6 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

its capability to the link partner, which is a CNA port, and the host runs FCoE overthis CNA link. The priority mapping for this feature is taken from what the PFCfeature has configured.

DCB Overview 7

8 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

Configuring DCB

These sections describe an example topology, configuration requirements and how toconfigure the topology.

■ “DCB Example Topology” on page 10

■ “Configuration Specifications” on page 10

■ “Configuration Guidelines” on page 11

■ “Default Settings” on page 11

■ “Configure DCB Features” on page 12

■ “Verifying DCB and LLDP Configurations” on page 13

■ “Enable DCB” on page 18

■ “Disable DCB” on page 18

■ “Enable DCB for Each Interface” on page 19

■ “Disable DCB for Each Interface” on page 20

■ “Enable and Disable a Specific DCB Feature” on page 21

■ “Configure the Mode for the DCB Feature” on page 23

■ “Configure DCB ETS Attributes” on page 24

■ “Configure DCB PFC Attributes” on page 36

■ “Configure DCB APP features” on page 43

■ “Configure LLDP DCBX TLVs” on page 45

■ “Show DCBX Feature Statistics and Control Information” on page 48

■ “Display Output of Unstarted DCBX Protocol Exchange” on page 49

■ “Clear Feature Statistics” on page 49

■ “Display Output Showing a Down Link” on page 50

9

DCB Example TopologyAll the configurations explained in this document are based on the followingtopology.

Configuration SpecificationsThe topology in this document is configured with these specifications:

In a configuration using DCB with SEFOS switches, the host server (server 1) has thefollowing specifications:

■ Sun Dual 10GbE PCIe 2.0 low profile adapter connected to the switch.

■ Oracle Solaris interface - net3 ixgbe1

■ Switch port number - 21

■ Host server running Oracle Solaris 11 or later.

SEFOS DCB only supports a server with a Sun Dual 10GbE SFP+ PCIe 2.0 Adapterinstalled.

Switch A has the following specifications:

■ Port 21 is connected to the host Oracle Solaris server.

10 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

Configuration GuidelinesThe following configuration guidelines apply where DCB is used:

■ The default version of DCBX is CEE, so to use IEEE DCBX, you must set the DCBversion to IEEE.

■ Configure the ETS based on the traffic types and bandwidth requirements.

■ The PFC priority set must match the peer’s configuration, or the willing bit shouldbe set for the switch to accept the peer’s configuration. VLAN priority 3 isnormally used.

■ Evaluate the following default settings table to determine if the default settingsare applicable.

■ If SEFOS DCB is used as a pass-through for FCoE traffic, the port connected to thehost CNA running FCoE and the port connected to a third-party FCoE switchmust be configured to belong to the same VLAN as what is configured on thethird-party switch.

■ LLDP system control status must be started before DCBX TVLs can beexchanged.

■ LLDP must be enabled for both transmit and receive, which is the defaultbehavior.

■ To enable and configure SEFOS DCB, you must complete the following minimumtasks:

■ Enable LLDP.

■ Enable DCB globally.

■ Enable the interface DCB feature that will be involved in DCBX exchange.

■ Configure the VLAN to DCB-capable ports if needed.

■ The SEFOS DCB accepts its configurations from the peer if the willing bit is set.

Refer to the Sun Ethernet Fabric Operating System CLI Base Reference Manual for thecomplete set of commands and the various options available for configuring DCB.

Default SettingsWhen DCB is enabled, SEFOS configures each of the DCB features with the followingdefault values.

Configuring DCB 11

▼ Configure DCB FeaturesPerform the following task to apply the default DCB configuration, enabling all thethree DCB features.

See “Default Settings” on page 11 for detailed information about the specificationsused here. See other sections in this document for additional details on eachcommand.

1. Start DCB globally.

2. Set the DCB version to IEEE.

You must set the DCB version to IEEE before starting the configuration.

PriorityTraffic Class(TC)

ETS BandwidthAllocation (%)

Priority FlowControl

ApplicationPriority Mapping

0 0 50 (share withsame group)

disable disable

1 1 30 (share withsame group)

disable disable

2 2 20 (share withsame group)

disable disable

3 3 0 enable enable

4 4 0 disable disable

5 5 0 disable disable

6 6 0 disable disable

7 7 0 disable disable

SEFOS# configure terminalSEFOS(config)# no shutdown dcb

SEFOS(config)# set dcb version ieee

12 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

3. Enable DCB features on interface 0/21 and start the interface.

4. Start LLDP globally.

You must start and enable LLDP for the DCBX protocol TLV exchange.

Verifying DCB and LLDP ConfigurationsIf the peers that are connected to port 21 have been configured properly, you can usevarious show ommands to verify the configurations. Use the following commands todisplay the configurations and verify that a DCB feature is configured correctly, andthat DCBX TVLs are exchanged with a peer.

■ “Determine Whether Interfaces Are Active” on page 14

■ “Determine Whether LLDP is Running and Recognizing Peers” on page 14

SEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enableSEFOS(config-if)# set dcb priority-flow-control enableSEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 00 1 0 0 0 0SEFOS(config-if)# set dcb priority-flow-control mode autoSEFOS(config-if)# set dcb enhanced-transmission-selection enableSEFOS(config-if)# set dcb enhanced-transmission-selection 0 1 2 34 5 6 7 bandwidth 50 30 20 0 0 0 0 0 algo 2 2 2 2 2 2 2 2SEFOS(config-if)# set dcb enhanced-transmission-selection modeautoSEFOS(config-if)# set dcb application-etype-fcoe enableSEFOS(config-if)# lldp tlv-select dot1dcbxtlvenhanced-transmission-selection priority-flow-controlapplication-etype-fcoeSEFOS(config-if)# no shutdownSEFOS(config-if)# exit

SEFOS(config)# no shutdown lldpSEFOS(config)# set lldp enableSEFOS# end

Configuring DCB 13

▼ Determine Whether Interfaces Are Active● Determine whether interfaces are active.

If interfaces are not in the up state, DCBX TLVs will not be exchanged.

▼ Determine Whether LLDP is Running andRecognizing PeersIn a correct DCB configuration, LLDP must be running and recognizing peers. IfLLDP does not show the neighbors for port 21, perform the following steps todetermine whether the peers are configured correctly and both links are up.

1. Display the DCB administrative, operational, and peer configurations.

In the following steps, DCB features are exchanged, and DCB is in operating modewith its peer.

2. Ensure that the interface is up on a specified port (port 0/21, in this example).

3. Display the LLDP global configuration details.

show interfaces extreme-ethernet 0/21 description

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detailSEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detailSEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe detailSEFOS# show interfaces extreme-ethernet 0/21 dcb counters

SEFOS# show interfaces extreme-ethernet 0/21 descriptionInterface Status Protocol Description--------- ------ -------- -----------Ex0/21 up up

SEFOS# show lldp

LLDP is enabledTransmit Interval : 30Holdtime Multiplier : 4Reinitialization Delay : 2

14 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

4. Display information about the neighbors learned on the interfaces.

5. Display the local configuration, operational status, and peer configuration of theETS feature.

Tx Delay : 2Notification Interval : 5Chassis Id SubType : Mac AddressChassis Id : 00:10:e0:2c:0f:41

SEFOS# show lldp neighbors

Capability Codes :(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device,(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other

Chassis ID Local Intf Hold-time Capability Port Id848c6f2c Ex0/21 121 00:1b:21:bc:b6:acTotal Entries Displayed : 1

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 50 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission Selection

Configuring DCB 15

6. Display the local configuration, operational status, and peer configuration of thePFC feature.

Local Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detail

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : truePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

16 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

7. Display the local configuration, operational status, and peer configuration of theapplication priority feature.

In addition to the commands shown in this section, you can also use the followingcommands to display information:

■ show lldp

■ show lldp interface

■ show lldp neighbor

■ show lldp traffic

------------------------------------------------------------

Total Entries Displayed : 1

SEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe detail

Port : Ex0/21Show Type : Admin ConfigFeature : Application FCoEEnable : trueAdvertise : truePriority Map : 0 0 0 1 0 0 0 0

Show Type : Oper ConfigFeature : Application FCoEErrors : 0x0 - nonePriority Map : 0 0 0 1 0 0 0 0

Show Type : Peer ConfigFeature : Application FCoELocal Interface : Ex0/21Priority Map : 0 0 0 1 0 0 0 0

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 17

▼ Enable DCBAfter you have configured the desired DCB features, perform the following steps tostart DCB in the switch. By default, DCB is disabled globally.

1. Enable DCB in the switch.

2. View the DCB information.

▼ Disable DCBBy default, DCB is disabled globally.

1. Disable DCB.

2. View the DCB information.

SEFOS# configure terminalSEFOS(config)# no shutdown dcbSEFOS(config)# end

SEFOS# show dcb global info

DCB Global Information----------------------System Control : Start

SEFOS# configure terminalSEFOS(config)# shutdown dcbSEFOS(config)# end

SEFOS# show dcb global info

DCB Global Information----------------------System Control : Shutdown

18 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

▼ Enable DCB for Each InterfaceBy default, all three features are enabled. However, to use the features, the globalinterface state must be turned on.

This example uses port 0/21.

1. Enable DCB on a specific interface.

2. View the interface configuration.

These examples show the default configurations.

3. Display the DCB state and feature mode on a specific interface.

4. Display the local configuration of ETS.

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enableSEFOS(config-if)# no shutdownSEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 description

Interface Status Protocol--------- ------ --------Ex0/21 up up

SEFOS# show interfaces extreme-ethernet 0/2 dcb mode

Port : Ex0/21Show Type : Admin StateDCB Capable State : onPriority Group(FTS) : autoPriority Flow Control : auto

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : true

Configuring DCB 19

5. Display the local configuration of the priority flow control feature.

6. Display the local configuration of the application feature.

▼ Disable DCB for Each InterfaceThis example uses port 0/21.

1. Enter Global Configuration mode.

Advertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/2 dcbpriority-flow-controlPort : Ex0/2Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 1 0 0 0 0Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21

20 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

2. Disable DCB.

3. Exit Global Configuration mode.

4. View the interface DCB state after it was disabled.

▼ Enable and Disable a Specific DCBFeatureYou can enable and disable a specific DCB feature after DCB has been globallyenabled. For example, when exchanging a DCBX protocol with its peer, you mightwant to inform its peer that a DCB-specific feature has been enabled or disabled.

The following example enables the PFC feature and disables ETS and the application.This example uses port 0/21.

1. Enable DCB.

2. Enable PFC.

SEFOS(config-if)# set dcb disable

SEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcb mode

Port : Ex0/21Show Type : Admin StateDCB Capable State : offPriority Group (ETS) : autoPriority Flow Control : auto

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enable

SEFOS(config-if)# set dcb priority-flow-control enable

Configuring DCB 21

3. Disable ETS and the application.

4. View the DCB state and feature mode.

5. View the DCB ETS parameters.

6. View the PFC parameters.

SEFOS(config-if)# set dcb enhanced-transimission-selection disableSEFOS(config-if)# set dcb application-etype-fcoe disableSEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcb mode

Port : Ex0/21Show Type : Admin StateDCB Capable State : onPriority Group : autoPriority Flow Control : auto

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : falseAdvertise : falseWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

22 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

7. View the application parameters.

▼ Configure the Mode for the DCBFeatureIn normal operation, the DCB feature is in automatic mode. Whenever applicable, thehardware configuration is set after a feature is exchanged with its peer and thefeature attributes are compatible with its peer. In some cases, force mode might beneeded to set the hardware configuration, regardless of its peer configuration,without waiting for DCBX TLV to be exchanged.

1. Set the ETS feature to auto mode.

2. View the DCB mode.

SEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoePort : Ex0/21Show Type : Admin ConfigFeature : Application FCoEEnable : falseAdvertise : falsePriority Map : 0 0 0 0 1 0 0 0

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection modeautoSEFOS(config-if)# set dcb priority-flow-control mode autoSEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcb mode

Port : Ex0/21Show Type : Admin StateDCB Capable State : onPriority Group (ETS) : autoPriority Flow Control : auto

Configuring DCB 23

3. Set the ETS feature to force mode.

4. View the interface mode after setting it to force mode.

▼ Configure DCB ETS AttributesYou can set ETS feature attributes. But whether your configuration takes effectdepends on the willing state on both local and remote side. This example configuresa total of three groups with bandwidths of 40%, 20%, and 40%.

When the local willing state is false, the new configuration changes localoperational status, but changes the remote configuration only if the remote willingstate is true.

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection mode onSEFOS(config-if)# set dcb priority-flow-control mode onSEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcb mode

Port : Ex0/21Show Type : Admin StateDCB Capable State : onPriority Group (ETS) : forcePriority Flow Control : force

24 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

1. View the original configuration before any change is made.

Local willing state is false and remote willing state is true, so localconfiguration change is used on both the local switch and the remote OracleSolaris server.

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8------------------------------------------------------------Total Entries Displayed : 1

Configuring DCB 25

2. Configure ETS with different bandwidth allocation.

3. View the configuration to verify that the configuration changes have beenapplied to both the local and remote systems.

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection 0 1 2 34 5 6 7 bandwidth 40 20 40 0 0 0 0 0 algorithm 2 2 2 2 2 2 2 2SEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2

26 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

4. Change the willing state so that both local and remote willing states are true.

Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection willingenableSEFOS(config-if)# end

Configuring DCB 27

5. Check output on the switch again to verify.

Since the ETS is asymmetric, when the local willing state is true, the local switchblindly accepts the remote configuration.

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

28 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

6. Change the configuration again on the switch.

The operational and remote configuration is not affected.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection 0 1 2 34 5 6 7 bandwidth 50 30 20 0 0 0 0 0 algorithm 2 2 2 2 2 2 2 2SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Configuring DCB 29

7. Change the willing state so that local willing is true and remote willing isfalse.

Since local willing state has already been set to true, type the following OracleSolaris commands to change the remote willing state to false.

------------------------------------------------------------

Total Entries Displayed : 1

# lldpadm set-atp -p willing=off -a net3 etscfg# lldpadm show-atp -a net3 etscfgPOSSIBLEAGENT TLVNAME PROPERTY PERM VALUE DEFAULTnet3 etscfg willing rw off

30 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

8. Check output on the switch again to verify.

The local operational status has been changed to the remote configuration once thewilling state is changed. If the configuration is changed again on the switch, the

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detailPort : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 31

operational status and remote configuration is not affected.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection 0 1 2 34 5 6 7 bandwidth 50 30 20 0 0 0 0 0 algorithm 2 2 2 2 2 2 2 2SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detailPort : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : truePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

32 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

9. Change the willing state again so that both local willing and remote willingstates are false.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection willingdisableSEFOS(config-if)# end

Configuring DCB 33

10. Check output on the switch again to verify.

The operational configuration is changed back to the admin configuration once thelocal willing state is set to false.

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detailPort : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 50 30 20 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

34 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

11. Change the configuration on the switch side.

The operational operation also is changed.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb enhanced-transmission-selection 0 1 2 34 5 6 7 bandwidth 40 20 40 0 0 0 0 0 algorithm 2 2 2 2 2 2 2 2SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection detail

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Oper ConfigFeature : Enhanced Transmission SelectionErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority : 0 1 2 3 4 5 6 7Priority : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Show Type : Peer ConfigFeature : Enhanced Transmission SelectionLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwith : 100 0 0 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

Configuring DCB 35

▼ Configure DCB PFC AttributesYou can set PFC feature attributes. But whether your configuration takes effectdepends on the willing state on both local and remote side.

When local willing state is false, the new configuration changes the operationalstatus, but changes the remote configuration only if the remote willing state is true.

------------------------------------------------------------

Total Entries Displayed : 1

36 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

1. View the original configuration before any change is made.

The local willing state is false and the remote willing state is true, so localconfiguration change are used on both the local switch and the remote OracleSolaris server.

2. Configure ETS with different bandwidth alocation.

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detail

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 01 1 0 0 0 0SEFOS(config-if)# end

Configuring DCB 37

3. View the configuration to verify that configuration changes have been appliedto both the local and remote systems.

The PFC configuration on the remote server is the same as the local configurationand is synchronized up with the switch.

4. Change the willing state so that both local and remote willing states are true.

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detail

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# set dcb priority-flow-control willing enableSEFOS(config-if)# end

38 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

5. Check output on the switch again to verify.

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detail

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 39

6. Change the configuration again on the switch.

The operational and remote configuration is not affected.

When both sides are willing to accept the changes, configuration on the interfacewith smaller MAC address is used. Port 21 of the switch has the MAC address00:10:e0:2c:0f:41 and net 3 of the Oracle Solaris server has the MAC address00:1b:21:bc:b4:89. The preceding output shows that the configuration of theswitch is used.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 01 0 0 0 0 0SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detailPort : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : truePriority Mask : 0 0 1 0 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 1 0 0 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : truePriority Mask : 0 0 1 0 0 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

40 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

7. Change the willing state so that local willing is true and remote willing isfalse.

Since the local willing state has already been set to true, type the followingOracle Solaris commands to change the remote willing state to false.

8. Check output on the switch again to verify.

The local operational status has been changed to the remote configuration once thewilling state is changed.

# lldpadm set-atp -p willing=off -a net3 pfc# lldpadm show-atp -a net3 pfcAGENT TLVNAME PROPERTY PERM VALUE DEFAULT POSSIBLEnet3 pfc willing rw off on on,off

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detail

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : truePriority Mask : 0 0 1 0 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 0 1 1 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority Mask : 0 0 0 1 1 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 41

9. Change the configuration again on the switch.

The operational and remote configuration is not affected.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 01 1 0 0 0 0SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detailPort : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : truePriority Mask : 0 0 1 1 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 0 1 1 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority Mask : 0 0 0 1 1 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

42 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

10. Show the configuration details.

When the local willing and remote willing states are both false, the local adminconfiguration should match the peer’s configuration, since neither side is willingto accept the peer’s configuration.

▼ Configure DCB APP featuresThere is no direct way to configure the application priority feature. But theapplication priority map is always the same as the PFC priority map.

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control detailPort : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 1 0 0 0 0Max Traffic Class: 8

Show Type : Oper ConfigFeature : Priority Flow ControlErrors : 0x0 - noneOperational Mode : trueSyncd with Peer : truePriority Mask : 0 0 0 1 0 0 0 0Max Traffic Class: 8

Show Type : Peer ConfigFeature : Priority Flow ControlLocal Interface : Ex0/21Status : successfulEnable : trueWilling : falsePriority Mask : 0 0 0 1 0 0 0 0Max Traffic Class: 8

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 43

1. Check the current application priority configuration.

SEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe detailPort : Ex0/21Show Type : Admin ConfigFeature : Application FCoEEnable : trueAdvertise : truePriority Map : 0 0 1 0 0 0 0 0

Show Type : Oper ConfigFeature : Application FCoEErrors : 0x0 - nonePriority Map : 0 0 1 0 0 0 0 0

Show Type : Peer ConfigFeature : Application FCoELocal Interface : Ex0/21Priority Map : 0 0 1 0 0 0 0 0

------------------------------------------------------------

Total Entries Displayed : 1

44 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

2. Change the PFC priority map.

Since the application priority is only informative, the configuration on both sidesdo not affect each other.

▼ Configure LLDP DCBX TLVsYou can enable or disable the transmission of DCBX TLV (type, length, value) typeson a port. This example uses port 0/21.

SEFOS# configure terminalSEFOS(config)# interfaces extreme-ethernet 0/21SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 00 1 0 0 0 0SEFOS(config-if)# endSEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe detailPort : Ex0/21Show Type : Admin ConfigFeature : Application FCoEEnable : trueAdvertise : truePriority Map : 0 0 0 1 0 0 0 0

Show Type : Oper ConfigFeature : Application FCoEErrors : 0x0 - nonePriority Map : 0 0 0 1 0 0 0 0

Show Type : Peer ConfigFeature : Application FCoELocal Interface : Ex0/21Priority Map : 0 0 1 0 0 0 0 0

------------------------------------------------------------

Total Entries Displayed : 1

Configuring DCB 45

1. Enable DCBX TLVs for ETS, PFC, and the application.

2. View the TLV settings.

3. View the PFC settings.

4. View the application settings.

SEFOS# configure terminalSEFOS(config)# interface extreme-ethernet 0/21SEFOS(config-if)# lldp tlv-select dcb1tlvenhanced-transmission-selection priority-flow-controlapplication-etype-fcoeSEFOS(config)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : trueAdvertise : trueWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : trueAdvertise : trueWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe

Port : Ex0/21

46 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

5. Disable DCBX TLVs for ETS, PFC, and the application.

6. View the TLV settings after disabling them for the ETS.

7. View the TLV settings after disabling them for the PFC.

Show Type : Admin ConfigFeature : Application FCoEEnable : trueAdvertise : truePriority Map : 0 0 0 0 1 0 0 0

SEFOS# configure terminalSEFOS(config-if)# no lldp tlv-select dcb1tlvenhanced-transmission-selection priority-flow-controlapplication-etype-fcoeSEFOS(config-if)# end

SEFOS# show interfaces extreme-ethernet 0/21 dcbenhanced-transmission-selection

Port : Ex0/21Show Type : Admin ConfigFeature : Enhanced Transmission SelectionEnable : falseAdvertise : falseWilling : falsePriority : 0 1 2 3 4 5 6 7Traffic Class : 0 1 2 3 4 5 6 7Bandwidth : 40 20 40 0 0 0 0 0Algorithm : 2 2 2 2 2 2 2 2Max Traffic Class: 8

SEFOS# show interfaces extreme-ethernet 0/21 dcbpriority-flow-control

Port : Ex0/21Show Type : Admin ConfigFeature : Priority Flow ControlEnable : falseAdvertise : falseWilling : falsePriority Mask : 0 0 0 0 1 0 0 0Max Traffic Class: 8

Configuring DCB 47

8. View the TLV settings after disabling them for the PFC.

▼ Show DCBX Feature Statistics andControl Information● Type.

SEFOS# show interfaces extreme-ethernet 0/21 dcbapplication-etype-fcoe

Port : Ex0/21Show Type : Admin ConfigFeature : Application FCoEEnable : falseAdvertise : falsePriority Map : 0 0 0 0 1 0 0 0

SEFOS# show interfaces extreme-ethernet 0/21 dcb countersPort : Ex0/21Show Type : Control and Feature StatsPriority Group : Frames Out : 29 Frames In : 5

Priority Flow Control: Frames Out : 21 Frames In : 7

Application Proto : Frames Out : 17 Frames In : 5

48 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013

▼ Display Output of Unstarted DCBXProtocol Exchange● Type.

All controls and features are zeroes, which indicates that the DCBX protocolexchange has not yet been started.

▼ Clear Feature Statistics● Type.

SEFOS# show interfaces extreme-ethernet 0/21 dcb countersPort : Ex0/21Show Type : Control and Feature StatsPriority Group : Frames Out : 0 Frames In : 0

Priority Flow Control: Frames Out : 0 Frames In : 0

Application Proto : Frames Out : 0 Frames In : 0

SEFOS# clear interfaces extreme-ethernet 0/2 dcb countersSEFOS# show interfaces extreme-ethernet 0/2 dcb counters

Port : Ex0/21Show Type : Control and Feature StatsPriority Group : Frames Out : 0 Frames In : 0

Priority Flow Control: Frames Out : 0 Frames In : 0

Configuring DCB 49

▼ Display Output Showing a Down Link● Type.

Application Proto : Frames Out : 0 Frames In : 0

SEFOS# show interfaces extreme-ethernet 0/3 dcb counters

Port : Ex0/3Show Type : Control and Feature StatsStatus : Link Down

SEFOS# show interfaces extreme-ethernet 0/3 description

Interface Status Protocol--------- ------ --------Ex0/3 down down

50 Sun Ethernet Fabric Operating System IEEE DCBX Administration Guide • August 2013