C H A P T E R  16

Feedback DCB

DCB is a term commonly used to describe Ethernet enhancements to improve Ethernet networking and management in the data center environments. The DCB framework defines these enhancements required for switches and endpoints and includes the following features:

Also known as Enhancement Transmission Selection ETS (IEEE definition). The priority grouping specification provides bandwidth management and a scheduling algorithm for various traffic classes 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.

The DCB features are discovered and exchanged using Data Center Exchange Protocol (DCBX). DCBX uses LLDP (Link Layer Discovery Protocol) to exchange parameters between two DCB enabled link peers. In addition to the type, length, and value (TLV) attributes described in the LLDP chapter, DCBX TLVs can also be advertised over an LLDP enabled link to the peer. The DCBX capabilities (PG and PFC) exchanged with a link partner become the operational configuration and are passed to the QoS management subsystem for configuring the hardware.

The SEFOS DCB for this release supports DCB version 1.0.1 which was specified by the DCB Task Group.

16.0.1 Priority Group Feature (PG)

The purpose of PG (ETS) is to allocate link bandwidth based on the priority group setting on a link. Different traffic types may have different network bandwidth requirements. For example, priority 7 can be assigned to a priority group that does not require a bandwidth limitation.

16.0.2 Priority Flow Control Feature (PFC)

This PFC feature is important to provide "no-drop" packet delivery for certain traffic classes while maintaining existing LAN behavior for other traffic classes on a converged link. Priority 3 is enabled by default for the flow control. To efficiently use the switch resources, the switch allows up to two priorities for Ethernet priority pause. The Ethernet pause is applied to the PFC packets only.

16.0.3 Application Protocol Feature

This application protocol feature allows the DCB node to advertise the upper layer protocols and associated priority mapping over a DCB link. Since SEFOS switch is only a DCB capable switch and it is not a FCoE capable switch, the only protocol supported is the EtherType for layer 2 protocols. Its main purpose is to advertise its capability to the link partner which is a CNA (converged network adapter) port and the host runs FCoE over this CNA link. The priority mapping is taken from what the PFC feature is configured.

The following table shows the default setting for PG, PFC and Application.


Priority

Priority Group

PG Bandwidth Allocation (%)

Priority Flow Control

Application Priority Mapping

0

0

50

disable

disable

1

0

50

disable

disable

2

0

50

disable

disable

3

1

30

disable

disable

4

2

20

disable

disable

5

2

20

disable

disable

6

2

20

disable

disable

7

15

unrestricted

disable

disable



16.1 DCB Commands

The list of DCB commands is as follows:

16.1.1 shutdown dcb

Shutdowns DCB in the switch. The no form of this command starts DCB in the switch.


shutdown dcb


no shutdown dcb


Mode

Global Configuration

Default

DCB is shutdown.

Example

SEFOS(config)# no shutdown dcb

SEFOS(config)# shutdown dcb

Notes

For DCB features to be advertised, LLDP must be started and enabled.


Related Commands

16.1.2 set dcb {enable | disable}

Enables and disables the DCB feature on a specific interface.


set dcb {enable | disable}


Syntax Description

enable - Enables DCB on the port.

disable - Disables DCB on the port.

Mode

Interface Configuration

Default

Disabled.

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb enable

SEFOS(config-if)# set dcb disable

Notes

DCB must be enabled before any of the DCB features can be advertised.


Related Commands

16.1.3 set dcb priority-group {enable | disable}

Enables and disables the priority group feature on the port.


set dcb priority-group {enable | disable}


Syntax Description

enable - Enables PG on the port.

disable - Disables PG on the port.

Mode

Interface Configuration

Default

Enabled.

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb priority-group enable

SEFOS(config-if)# set dcb priority-group disable

Notes

PG must be enabled for using the priority group feature.


Related Commands

16.1.4 set dcb priority-group mode

Configures the PG mode for the port.


set dcb priority-group mode {auto | on | off}


Syntax Description

auto - Feature on after PG DCBX protocols are exchanged.

on - Force-enable the PG.

off - PG feature is off.

Mode

Interface Configuration

Default

auto

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb priority-group mode auto

Notes

In normal operation, this command is not required to run since its default is auto.


Related Commands

16.1.5 set dcb priority-group

Sets the priority grouping identifier for eight priorities and priority group percentage of link bandwidth.


set dcb priority-group priority0-pgid_0-15 priority1-pgid_0-15 priority2-pgid_0-15 priority3-pgid_0-15 priority4-pgid_0-15 priority5-pgid_0-15 priority6-pgid_0-15 priority7-pgid_0-15 bandwidth prioritygroup0-bw_0-100 prioritygroup1-bw_0-100 prioritygroup2-bw_0-100 prioritygroup3-bw_0-100 prioritygroup4-bw_0-100 prioritygroup5-bw_0-100 prioritygroup6-bw_0-100 prioritygroup7-bw_0-100


Syntax Description

priority0-pgid_0-15 - Priority group ID of priority 0.

priority1-pgid_0-15 - Priority group ID of priority 1.

priority2-pgid_0-15 - Priority group ID of priority 2.

priority3-pgid_0-15 - Priority group ID of priority 3.

priority4-pgid_0-15 - Priority group ID of priority 4.

priority5-pgid_0-15 - Priority group ID of priority 5.

priority6-pgid_0-15 - Priority group ID of priority 6.

priority7-pgid_0-15 - Priority group ID of priority 7.

Bandwidth - Percentage of link bandwidth. Total bandwidth must be added up to 100%.

prioritygroup0-bw_0-100 - Percentage of link bandwidth allocated to PG 0.

prioritygroup1-bw_0-100 - Percentage of link bandwidth allocated to PG 1.

prioritygroup2-bw_0-100 - Percentage of link bandwidth allocated to PG 2.

prioritygroup3-bw_0-100 - Percentage of link bandwidth allocated to PG 3.

prioritygroup4-bw_0-100 - Percentage of link bandwidth allocated to PG 4.

prioritygroup5-bw_0-100 - Percentage of link bandwidth allocated to PG 5.

prioritygroup6-bw_0-100 - Percentage of link bandwidth allocated to PG 6.

prioritygroup7-bw_0-100 - Percentage of link bandwidth allocated to PG 7.

Mode

Interface Configuration

Default

Four priority groups are defined as default:

priority 0, 1, 2 - PG group 0.

priority 3 - PG group 1.

priority 4, 5, 6 - PG group 2.

priority 7 - PG group 15 (no limit on bandwidth).

Bandwidth:

priority group 0 - 50%.

priority group 1 - 30%.

priority group 2 - 20%.

priority group 15 - Unrestricted priority group.

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb priority-group 0 0 0 1 2 2 2 2

Notes

  • The priority group ID values from 0 to 7 can be used for groups which require bandwidth allocation. Priority group 15 is used for unrestricted group.
  • The priority group ID assigned must be entered in sequence except group ID 15 which is an unrestricted group. For example, the assignment of "1 0 0 0 0 0 0 2" is not allowed.

Related Commands

16.1.6 set dcb priority-flow-control {enable | disable}

Enables and disables the priority flow control feature on the port.


set dcb priority-flow-control {enable | disable}


Syntax Description

enable - Enables PFC on the port.

disable - Disables PFC on the port.

Mode

Interface Configuration

Default

Disabled.

Example

SEFOS(config)# interface extreme-ethernet 0/18

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

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

Notes

PFC must be enabled for using the priority flow control feature.


Related Commands

16.1.7 set dcb priority-flow-control mode

Configures PFC mode for the port.


set dcb priority-flow-control mode {auto | on | off}


Syntax Description

auto - Feature on after PG DCBX protocols are exchanged.

on - Force-enable the PFC feature.

off - PFC feature is off.

Mode

Interface Configuration

Default

auto

Example

SEFOS(config)# interface extreme-ethernet 0/18

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

Notes

In normal operation, this command is not required to run because its default is auto.


Related Commands

16.1.8 set dcb priority-flow-control vlan-priority

Configures the priority flow control.


set dcb priority-flow-control vlan-priority priority_0-1 priority_0-1 priority_0-1 priority_0-1 priority_0-1 priority_0-1 priority_0-1 priority_0-1


Syntax Description

Vlan-priority - VLAN priority to be priority flow control.

priority_0-1:

  • 0 - No priority flow control.
  • 1 - Enables the priority pause.

Default

vlan priority 3

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb priority-flow-control vlan-priority 0 0 0 1 0 0 0 0

Notes

In normal operation, this command is not required since the default is priority 3.


Related Commands

16.1.9 set dcb application-etype-fcoe

Enables and disables the layer 2 Ethertype for FcoE protocol.


set dcb application-etype-fcoe {enable | disable}


Mode

Interface Configuration

Default

Enabled.

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# set dcb application-etype-fcoe enable

Notes

This command is mainly used when the switch port is connected to a host CNA (Converged Network Adapter) port which is capable of running FCoE (Fiber channel over Ethernet) and the host interface is configured to run FCoE.


Related Commands

16.1.10 lldp tlv-select dcb1tlv

Configures DCBX TLV (type, length, value) types to be transmitted on a port. The no form of the command disables the transmission of DCBX TLV types on a port.


lldp tlv-select dcb1tlv {[priority-group] [priority-flow-control] [application-etype-fcoe]}


no lldp tlv-select dcb1tlv {[priority-group] [priority-flow-control] [application-etype-fcoe]}


Syntax Description

priority-group - PG TLV.

priority-flow-control - PFC TLV.

application-etype-fcoe - Application TLV.

Mode

Interface Configuration

Default

All three TVLs are enabled.

Example

SEFOS(config)# interface extreme-ethernet 0/18

SEFOS(config-if)# lldp tlv-select dcb1tlv priority-group priority-flow-control application-etype-fcoe

SEFOS(config-if)# no lldp tlv-select dcb1tlv priority-group priority-flow-control application-etype-fcoe

SEFOS(config-if)# no lldp tlv-select dcb1tlv application-etype-fcoe

SEFOS(config-if)# lldp tlv-select dcb1tlv priority-flow-control

Notes

Currently, all three DCB TLVs must be entered in order as shown in the above example. The first TLV is priority-group and followed by priority-flow-control and application-etype-fcoe.


Related Commands

16.1.11 show dcb global info

Displays DCB Global Configuration.


show dcb global info


Mode

Privileged EXEC

Example

SEFOS# show dcb global info

DCB Global Information

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

System Control : Start


Related Commands

16.1.12 show interfaces dcb priority-group

Displays configuration and status of priority group feature on an interface or all interfaces.


show interfaces [interface-type interface-id] dcb priority-group [detail]


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

detail - Display the following configuration and status: Local configuration of PG, operational status of PG, and peer configuration of PG. Without the detail key word, this command displays the local PG configuration only.

Mode

Privileged EXEC

Example

SEFOS# show interfaces extreme-ethernet 0/18 dcb priority-group detail

Port : Ex0/18

Show Type : Admin Config

Feature : Priority Group

Enable : true

Advertise : false

Willing : false

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 2 2 2 15

Max Traffic Class: 8

 

Show Type : Oper Config

Feature : Priority Group

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : true

Syncd with Peer : true

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 2 2 2 15

Max Traffic Class: 8

 

Show Type : Peer Config

Feature : Priority Group

Local Interface : Ex0/18

Status : successful

Enable : true

Willing : true

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 1 2 2 15

Max Traffic Class: 8

 

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

 

Total Entries Displayed : 1

 

The operational and peer configurations will not be displayed if "detail" keyword is omitted as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/18 dcb priority-group

Port : Ex0/18

Show Type : Admin Config

Feature : Priority Group

Enable : true

Advertise : true

Willing : false

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 1 2 2 15

Max Traffic Class: 8

 

The peer configuration will not be shown if the interface is connected to a non-DCB capable peer as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/19 dcb priority-group detail

Port : Ex0/19

Show Type : Admin Config

Feature : Priority Group

Enable : true

Advertise : true

Willing : false

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 2 2 2 15

Max Traffic Class: 8

 

Show Type : Oper Config

Feature : Priority Group

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : false

Syncd with Peer : false

Group Bandwidth : 0% 0% 0% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 0 0 0 0 0

Max Traffic Class: 8


Related Commands

16.1.13 show interfaces dcb priority-flow-control

Displays configuration and status of priority flow control feature on an interface or all interfaces.


show interfaces [interface-type interface-id] dcb priority-flow-control [detail]


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

detail - Display the following configuration and status: Local configuration of PFC, operational status of PFC, and peer configuration of PFC. Without the detail key word, this command displays the local PFC configuration only.

Mode

Privileged EXEC

Example

SEFOS# show interfaces extreme-ethernet 0/18 dcb priority-flow-control detail

Port : Ex0/18

Show Type : Admin Config

Feature : Priority Flow Control

Enable : true

Advertise : false

Willing : false

Priority Mask : 0 0 0 1 0 0 0 0

Max Traffic Class: 8

 

Show Type : Oper Config

Feature : Priority Flow Control

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : true

Syncd with Peer : true

Priority Mask : 0 0 0 1 0 0 0 0

Max Traffic Class: 8

 

Show Type : Peer Config

Feature : Priority Flow Control

Local Interface : Ex0/18

Status : successful

Enable : true

Willing : true

Priority Mask : 0 0 0 1 0 0 0 0

Max Traffic Class: 8

 

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

 

Total Entries Displayed : 1

 

The operational and peer configurations will not be displayed if "detail" keyword is omitted as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/18 dcb priority-group

Port : Ex0/18

Show Type : Admin Config

Feature : Priority Group

Enable : true

Advertise : true

Willing : false

Group Bandwidth : 50% 30% 20% 0% 0% 0% 0% 0%

Priority Group ID: 0 0 0 1 1 2 2 15

Max Traffic Class: 8

 

The peer configuration will not be shown if the interface is connected to a non-DCB capable peer as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/19 dcb priority-flow-control detail

Port : Ex0/19

Show Type : Admin Config

Feature : Priority Flow Control

Enable : true

Advertise : true

Willing : false

Priority Mask : 0 0 0 1 0 0 0 0

Max Traffic Class: 8

 

Show Type : Oper Config

Feature : Priority Flow Control

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : false

Syncd with Peer : false

Priority Mask : 0 0 0 0 0 0 0 0

Max Traffic Class: 8


Related Commands

16.1.14 show interfaces dcb application-etype-fcoe

Displays configuration and status of priority flow control feature on an interface or all interfaces.


show interfaces [interface-type interface-id] dcb application-etype-fcoe [detail]


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

detail - Display the following configuration and status: Local configuration of application feature, and peer configuration of application feature. Without the detail key word, this command displays the local application configuration only.

Mode

Interface Configuration

Example

SEFOS# show interfaces extreme-ethernet 0/18 dcb application-etype-fcoe detail

Port : Ex0/18

Show Type : Admin Config

Feature : Application FCoE

Enable : true

Advertise : false

Willing : false

Priority Map : 0 0 0 1 0 0 0 0

 

Show Type : Oper Config

Feature : Application FCoE

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : true

Syncd with Peer : true

Priority Map : 0 0 0 1 0 0 0 0

 

Show Type : Peer Config

Feature : Application FCoE

Local Interface : Ex0/18

Status : successful

Enable : true

Willing : true

Priority Map : 0 0 0 1 0 0 0 0

 

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

 

Total Entries Displayed : 1

 

The operational and peer configurations will not be displayed if "detail" keyword is omitted as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/18 dcb application-etype-fcoe

Port : Ex0/18

Show Type : Admin Config

Feature : Application FCoE

Enable : true

Advertise : true

Willing : false

Priority Map : 0 0 0 1 0 0 0 0

 

The peer configuration will not be shown if the interface is connected to a non-DCB capable peer as shown below.

 

SEFOS# show interfaces extreme-ethernet 0/19 dcb application-etype-fcoe detail

Port : Ex0/19

Show Type : Admin Config

Feature : Application FCoE

Enable : true

Advertise : true

Willing : false

Priority Map : 0 0 0 1 0 0 0 0

 

Show Type : Oper Config

Feature : Application FCoE

Oper Version : 0

Max Version : 0

Errors : 0x0 - none

Operational Mode : false

Syncd with Peer : false

Priority Map : 0 0 0 0 0 0 0 0

 

Total Entries Displayed : 0

Notes

If application feature is enabled, its priority mapping will be taken from the PFC setting since both PFC priority sets and the application priority mapping must have the same priority set. The default priority mapping is 0x08 (priority 3 is enabled for priority flow control).


Related Commands

16.1.15 show interfaces dcb mode

Displays the DCB state and feature mode on all interfaces or on a specific interface.


show interfaces [interface-type interface-id] dcb mode


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

Mode

Privileged EXEC

Example

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

Port : Ex0/18

Show Type : Admin State

DCB Capable State : on

Priority Group : auto

Priority Flow Control : auto


Related Commands

16.1.16 show interfaces dcb counters

Displays the DCB control and counters on all interfaces or on a specific interface.


show interfaces [interface-type interface-id] dcb counters


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

Mode

Privileged EXEC

Example

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

Port : Ex0/18

Show Type : Control and Feature Stats

Control Info Stats :

SeqNo : 1

AckNo : 1

Frames Out : 1

Frames In : 2

 

Priority Group :

Frames Out : 1

Frames In : 2

 

Priority Flow Control:

Frames Out : 1

Frames In : 2

 

Application Proto :

Frames Out : 1

Frames In : 2

 

If the interface is not yet connected to a DCB capable peer, no DCB packets will be received by the interface as shown below.

 

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

Port : Ex0/19

Show Type : Control and Feature Stats

Control Info Stats :

SeqNo : 1

AckNo : 0

Frames Out : 1

Frames In : 0

 

Priority Group :

Frames Out : 1

Frames In : 0

 

Priority Flow Control:

Frames Out : 1

Frames In : 0

 

Application Proto :

Frames Out : 1

Frames In : 0

 

If the interface is down, no DCB will be transmitted and received by the interface as shown below.

 

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

Port : Ex0/20

Show Type : Control and Feature Stats

Status : Link Down


Related Commands

16.1.17 clear interfaces dcb counters

Clears the DCB control and counters on all interfaces or on a specific interface.


clear interfaces [interface-type interface-id] dcb counters


Syntax Description

interface-type - Interface type.

interface-id - Interface identifier.

Mode

Privileged EXEC

Example

SEFOS# clear interfaces extreme-ethernet 0/18 dcb counters


Related Commands

 

Feedback