No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
DCB Configuration Commands

DCB Configuration Commands

NOTE:

CE6880EI and CE5800 series switches do not support this feature.

The CE8860EI, CE8850EI, CE6860EI, and CE6810LI do not support ETS. Ensure that ETS parameters at both ends are consistent so that DCBX negotiation can be successful.

application priority

Function

The application priority specifies the service priority in the APP TLV of DCB packets.

The undo application priority restores the default service priority in the APP TLV of DCB packets.

By default, the priorities of FCoE and FIP services are both 3, and the ISCSI service priority is 4.

Format

application { fcoe | fip | iscsi | ethtype ethtype | [ tcp | udp ] port port-id } priority priority-value

undo application { fcoe | fip | iscsi | ethtype ethtype | [ tcp | udp ] port port-id } priority priority-value

Parameters

Parameter

Description

Value

fcoe

Specifies the FCoE service priority.

-

fip

Specifies the FIP service priority.

-

iscsi

Specifies the ISCSI service priority.

-

ethtype ethtype

Specifies the Ethernet frame type service priority.

The value is an integer that ranges from 0 to ffff.

tcp

Specifies the TCP service priority.

-

udp

Specifies the UDP service priority.

-

port port-id

Specifies the TCP or UDP service priority of the port number.

The value is an integer that ranges from 0 to 65535.

priority priority-value

Specifies a service priority.

The value is an integer that ranges from 0 to 7.

Views

APP profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable the DCB-enabled device to interwork with a non-Huawei device, create an APP profile, specify a service priority in the APP TLV in the APP profile, and apply the APP profile to an interface. To specify the service priority in the APP TLV, run this command.

Precautions

PFC must be enabled for queues with a priority; otherwise, FCF and NPV services cannot take effect.

Both FCoE and FIP service priorities need to be configured.

Example

# Set the FCoE service priority in the APP TLV to 4.

<HUAWEI> system-view
[~HUAWEI] dcb app-profile myapp
[*HUAWEI-dcb-app-myapp] application fcoe priority 4
Related Topics

dcb app-profile

Function

The dcb app-profile command creates an APP profile and displays the APP profile view, or directly displays the view of the existing APP profile.

The undo dcb app-profile command deletes an APP profile.

By default, no APP profile is configured.

Format

dcb app-profile profile-name

undo dcb app-profile profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of an APP profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following characters: | > $ * ^.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable the DCB-enabled device to interwork with a non-Huawei device, create an APP profile, specify a service priority in the APP TLV in the APP profile, and apply the APP profile to an interface. To create the APP profile, run this command.

Follow-up Procedure

Run the application priority command to specify a service priority.

Precautions

If an APP profile has been applied to an interface, you must unbind the APP profile from the interface so that you can delete this profile.

Example

# Create an APP profile named myapp.

<HUAWEI> system-view
[~HUAWEI] dcb app-profile myapp
[*HUAWEI-dcb-app-myapp]

dcb compliance

Function

The dcb compliance command configures the version of DCBX TLVs sent from on an interface.

The undo dcb compliance command restores the default version of DCBX TLVs sent from on an interface.

By default, an interface sends DCBX TLVs of the IEEE standard version.

Format

dcb compliance intel-oui

undo dcb compliance intel-oui

Parameters

Parameter

Description

Value

intel-oui

Indicates Intel DCBX.

-

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Two standards are available for the Data Center Bridging eXchange (DCBX) protocol: IEEE DCBX and Intel DCBX.

Huawei switches support both the two standards. By default, an interface sends DCBX TLVs of the IEEE standard version. Most FCoE devices such as an FC forwarder (FCF) and converged network adapter (CNA) support Intel DCBX by default.

When a Huawei switch connects to a non-Huawei device, the two devices must use the same DCBX version. Otherwise, DCBX negotiation fails. You can run the dcb compliance command to change the DCBX version.

NOTE:

Executing the dcb compliance command results in DCBX re-negotiation.

Example

# Set the DCBX version to Intel DCBX on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] dcb compliance intel-oui

dcb enable

Function

The dcb enable command applies a PFC, ETS, or APP profile to an interface.

The undo dcb pfc enable command deletes a PFC profile from an interface.

The undo dcb ets enable command deletes an ETS profile from an interface.

The undo dcb app-profile enable command applies the default priority to an interface.

The dcb app-profile disable command deletes an APP profile from an interface.

By default, no PFC, ETS, or APP profile is applied to an interface.

Format

dcb { pfc enable [ pfc-profile-name ] [ mode { auto | manual } ] | ets enable ets-profile-name | app-profile { enable app-profile-name | disable } } *

undo dcb { pfc enable [ pfc-profile-name ] [ mode { auto | manual } ] | ets enable [ ets-profile-name ] | app-profile { enable [ app-profile-name ] | disable } } *

Parameters

Parameter

Description

Value

pfc-profile-name

Specifies the name of a PFC profile.

The PFC must already exist.

mode { auto | manual }

Specifies the PFC working mode on an interface.

  • auto: negotiation mode
  • manual: forcible mode

If this parameter is not specified, PFC works in manual mode.

-

ets-profile-name

Specifies the name of an ETS profile.

The ETS must already exist.

app-profile-name

Specifies the name of an APP profile.

The APP must already exist.

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Eight priority queues on the transmit interface of an upstream device correspond to eight buffers on the receive interface of a downstream device. When a receive buffer on the receive interface is to be congested, the downstream device sends a backpressure signal to the upstream device, requesting the upstream device to stop sending packets in the corresponding priority queue.

After setting priorities for queues, run the dcb pfc enable command to enable PFC. PFC parameters are set in different manners when PFC works in different modes:

  • auto

    The local device and remote device exchange PFC parameters through the Data Center Bridging eXchange protocol (DCBX). If PFC negotiation has succeeded, PFC takes effect. Otherwise, PFC does not work.

    DCB parameters of the remote device can be configured on the local device, if the remote device allows such configuration.

    NOTE:

    The device does not allow DCB parameters of the remote device to be locally configured.

  • manual

    PFC parameters on the local and remote devices are set manually and must be the same. If the remote device does not support DCBX, configure PFC to work in manual mode.

    NOTE:

    The stack interface does not support DCBX, and the stack interface uses a set of PFC parameters on non-stack interfaces.

Enhanced Transmission Selection (ETS) ensures that traffic of the specified type is preferentially processed and improves bandwidth use efficiency. The dcb ets enable command applies an ETS profile to an interface.

To enable the DCB-enabled device to interwork with a non-Huawei device, create an APP profile, specify a service priority in the APP TLV in the APP profile, and apply the APP profile to an interface. To apply the APP profile to an interface, run this command.

Precautions

If PFC works in auto mode, perform the following operations to enable an interface to advertise or receive DCBX TLVs:
  1. Run the lldp enable (system view) command to enable LLDP globally,
  2. Run the lldp tlv-enable dcbx command to configure the interface to advertise or receive DCBX TLVs.
The ETS configuration and QoS configuration conflict on an interface:
  • If an interface has QoS configuration such as shaping, WRED, and non-PQ scheduling, an ETS profile cannot be applied to the interface.
  • If an ETS profile has been applied to an interface, QoS configuration such as shaping, WRED, and non-PQ scheduling cannot be performed on the interface.

Before applying an APP profile to an interface, ensure that the APP profile has been created using the dcb app-profile command in the system view. Otherwise, the system displays an error message.

Example

# Configure PFC to work in auto mode on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] dcb pfc enable mode auto

# Apply the ETS profile myets to 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] dcb ets enable myets

# Apply the APP profile myapp to 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] dcb app-profile myapp
[*HUAWEI-dcb-app-myapp] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] dcb app-profile enable myapp

dcb ets-profile

Function

The dcb ets-profile command creates an enhanced transmission selection (ETS) profile and displays the ETS profile view, or displays the view of an existing ETS profile.

The undo dcb ets-profile command deletes an ETS profile.

By default, the system provides ETS profile default.

Format

dcb ets-profile profile-name

undo dcb ets-profile profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of an ETS profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: | > $ * ^.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The dcb ets-profile command creates an ETS profile and displays the ETS profile view, or displays the view of an existing ETS profile. ETS ensures that traffic of the specified type is preferentially processed and improves bandwidth use efficiency.

A maximum of eight ETS profiles, including the default ETS profile, can be configured. The default ETS profile can be modified but cannot be deleted.

The following table lists the default configuration of the default ETS profile.
Table 14-53  Configuration of the default ETS profile (excluding CE6870EI)

PGID

Priority Queue

Scheduling Mode

Bandwidth Usage

Traffic Type

0

0, 1, 2, 4, 5

DRR

50%

LAN

1

3

DRR

50%

SAN

15

6, 7

PQ

-

IPC

Table 14-54  Configuration of the default ETS profile (CE6870EI )

PGID

Priority Queue

Scheduling Mode

Bandwidth Usage

Traffic Type

0

0, 1, 2, 4, 5

WFQ

50%

LAN

1

3

WFQ

50%

SAN

15

6, 7

PQ

-

IPC

Follow-up Procedure

Run the priority-group drr, priority-group wfq, priority-group shaping, priority-group queue, queue { pq | drr }, queue shaping, and queue wred commands to configure the ETS profile.

Precautions

If an ETS profile has been applied to an interface, you must unbind the ETS profile from the interface before deleting this profile.

Example

# Create an ETS profile myets.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets]

dcb pfc

Function

The dcb pfc command creates a priority-based flow control (PFC) profile and displays the PFC profile view, or displays the view of an existing PFC profile.

The undo dcb ets-profile command deletes a PFC profile.

By default, the system provides PFC profile default.

Format

dcb pfc [ profile-name ]

undo dcb pfc profile-name

Parameters

Parameter

Description

Value

profile-name

Specifies the name of a PFC profile.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: | > $ * ^.

The command displays the default PFC profile if this parameter is not specified.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

As an enhancement to the Pause mechanism, Priority-based Flow Control (PFC) defines eight queues on an Ethernet link and can pause or restart any queue. It provides lossless service for specified queues on an interface, without affecting other types of traffic on the interface.

Follow-up Procedure

Run the priority (PFC) command to configure the PFC profile.

Precautions

If a PFC profile has been applied to an interface, you must unbind the PFC profile from the interface before deleting this profile.

Example

# Create an ETS profile mypfc.

<HUAWEI> system-view
[~HUAWEI] dcb pfc mypfc
[*HUAWEI-dcb-pfc-mypfc]

dcb pfc buffer

Function

The dcb pfc buffer command configures the PFC reserved thresholds and headroom buffer thresholds for inbound queues, and thresholds for triggering and stopping PFC frames.

The undo dcb pfc buffer command cancels the configuration.

By default, the PFC reserved thresholds and headroom buffer thresholds for inbound queues and thresholds for triggering and stopping PFC frames are not configured.

Format

CE6870EI:

dcb pfc buffer queue-index { xoff xoff-value | xon xon-value } *

undo dcb pfc buffer [ queue-index [ xoff [ xoff-value ] | xon [ xon-value ] ] * ]

Devices excluding CE6870EI:

dcb pfc buffer queue-index { reserved reserved-value | xoff xoff-value | xon xon-value | hdrm hdrm-value } *

undo dcb pfc buffer [ queue-index [ reserved [ reserved-value ] | xoff [ xoff-value ] | xon [ xon-value ] | hdrm [ hdrm-value ] ] * ]

Parameters

Parameter

Description

Value

queue-index

Specifies the index of an interface queue.

The value is an integer that ranges from 0 to 7.

reserved reserved-value

Specifies the PFC reserved threshold for a queue. The buffer space specified by this threshold cannot be used by other queues.

The value is an integer, in cells by default. You can enter a question mark (?) and select a value from the displayed value range. You can view the default value using the display dcb pfc buffer command.

xoff xoff-value

Specifies the threshold for triggering PFC frames. When the buffer space is higher than this threshold, PFC frames are sent.

The value is an integer, in cells by default. You can enter a question mark (?) and select a value from the displayed value range. You can view the default value using the display dcb pfc buffer command.

xon xon-value

Specifies the threshold for stopping PFC frames. When the buffer space is lower than this threshold, PFC frames are not sent.

The value is an integer, in cells by default. You can enter a question mark (?) and select a value from the displayed value range. You can view the default value using the display dcb pfc buffer command.

hdrm hdrm-value

Specifies the headroom buffer space. The traffic that exceeds the buffer space is discarded.

The value is an integer, in cells by default. You can enter a question mark (?) and select a value from the displayed value range. You can view the default value using the display dcb pfc buffer command.

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the buffer space of a queue on an interface of the receive device exceeds the threshold, a backpressure signal is sent to the transmit device, requesting the transmit device to stop sending packets in the corresponding priority queue. You can run this command to adjust the threshold of a queue on an interface of the receive device.

Precautions

When traffic is transmitted on an interface, the PFC thresholds may fail to be configured due to traffic congestion. You are advised to configure the thresholds when an interface is not congested (you can run the display qos buffer-usage command to check whether the interface is congested) or the shutdown command is used on an interface.

Example

# Configure the PFC reserved threshold as 20, thresholds for triggering and stopping PFC frames as 300 cells and 100 cells, and headroom buffer space as 20 cells for queue 1 on 10GE1/0/1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] dcb pfc buffer 1 reserved 20 xoff 300 xon 100 hdrm 20

display dcb

Function

The display dcb command displays the DCB configuration and negotiation status.

Format

display dcb [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays the DCB configuration on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, the DCB configuration on all interfaces is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring DCB on interfaces, you can run the display dcb command to check the DCB configuration and negotiation status on the interfaces.

Example

# Display the DCB configuration and negotiation status on all interfaces.

<HUAWEI> display dcb
M:Manual;    A:Auto                                                             
------------------------------------------------------------------------------- 
Interface         PFC Name     PFC Status  ETS Name    ETS Status App-Profile   
------------------------------------------------------------------------------- 
10GE1/0/1         default      ENABLE(M)   default     ENABLE     -             
-------------------------------------------------------------------------------
Related Topics

display dcb app-profile

Function

The display dcb app-profile command displays the APP profile configuration.

Format

display dcb app-profile [ profile-name ]

Parameters

Parameter

Description

Value

profile-name

Displays the configuration of a specified APP profile.

If this parameter is not specified, the configurations of all APP profiles are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the APP profile configuration is complete, run the display dcb app-profile command to view the APP profile configuration.

Example

# Display brief information about all APP profiles.

<HUAWEI> display dcb app-profile
APP-Profile Maximum: 8                                                          
Total: 1                                                                        
------------------------------------------------------------------------------- 
APP Profile: myapp                                                              
------------------------------------------------------------------------------- 
Application                           Priority                                  
------------------------------------------------------------------------------- 
FCoE                                  3                                         
FIP                                   4                                         
ISCSI                                 5                                         
Ethtype:0xa3                          6                                         
TCP:45                                0                                         
UDP:56                                1                                         
23                                    7
-------------------------------------------------------------------------------
Table 14-55  Description of the display dcb app-profile command output

Item

Description

APP-Profile Maximum

Maximum number of APP profiles can be configured.

Total

Total number of APP profiles.

APP Profile

APP profile name.

Application

Type of the service.

Priority

Service priority.

display dcb ets-profile

Function

The display dcb ets-profile command displays the ETS profile configuration.

Format

display dcb ets-profile [ profile-name ]

Parameters

Parameter

Description

Value

profile-name

Displays the configuration of a specified ETS profile.

If this parameter is not specified, the configurations of all ETS profiles are displayed.

The ETS profile must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the ETS profile configuration is complete, run the display dcb ets-profile command to view the ETS profile configuration.

Example

# Display brief information about all ETS profiles.

The command output on the devices excluding CE6870EI is as follows:

<HUAWEI> display dcb ets-profile
Q:Queue    SCH:Schedule    RN:Renumber                                          
ETS Maximum: 8                                                                  
Total: 1                                                                        
ETS Profile: default                                                            
------------------------------------------------------------------------------- 
PG(RN)  Q  SCH    Weight       CIR/PIR(kbps)       CBS/PBS(Bytes) WRED          
------------------------------------------------------------------------------- 
 0(0)   -  DRR     50(-)         -/-                 -/-          -             
        0  PQ          -         -/-                 -/-          -             
        1  PQ          -         -/-                 -/-          -             
        2  PQ          -         -/-                 -/-          -             
        4  PQ          -         -/-                 -/-          -             
        5  PQ          -         -/-                 -/-          -             
 1(1)   -  DRR     50(-)         -/-                 -/-          -             
        3  PQ          -         -/-                 -/-          -             
15(15)  -  PQ          -         -/-                 -/-          -             
        6  PQ          -         -/-                 -/-          -             
        7  PQ          -         -/-                 -/-          -             
------------------------------------------------------------------------------- 

The command output on the CE6870EI is as follows:

<HUAWEI> display dcb ets-profile
Q:Queue    SCH:Schedule    RN:Renumber                                          
ETS Maximum: 8                                                                  
Total: 1                                                                        
ETS Profile: default                                                            
------------------------------------------------------------------------------- 
 PG(RN)     Q     SCH       Weight    CIR(kbps)    CBS(Bytes)    WRED           
------------------------------------------------------------------------------- 
  0(0)      -     WFQ        50(-)            -             -    -              
            0     PQ             -            -             -    -              
            1     PQ             -            -             -    -              
            2     PQ             -            -             -    -              
            4     PQ             -            -             -    -              
            5     PQ             -            -             -    -              
  1(1)      -     WFQ        50(-)            -             -    -              
            3     PQ             -            -             -    -              
 15(15)     -     PQ             -            -             -    -              
            6     PQ             -            -             -    -              
            7     PQ             -            -             -    -              
------------------------------------------------------------------------------- 
Table 14-56  Description of the display dcb ets-profile command output

Item

Description

ETS Maximum

Maximum number of ETS profiles can be configured.

Total

Total number of ETS profiles.

ETS Profile

ETS profile name.

PG(RN)

Priority group (redefined group ID).

Q

Queues in a priority group.

To add a queue to a priority group, run the priority-group queue command.

SCH

Scheduling mode of a queue or priority group:
  • DRR: indicates that the scheduling mode is DRR.

  • WFQ: indicates that the scheduling mode is WFQ.

  • PQ: indicates that the scheduling mode is PQ.

The scheduling modes of PG0 and PG1 are fixed as DRR, and the scheduling mode of PG15 is fixed as PQ. The scheduling modes of queues can be configured using the queue { pq | drr } command.

Weight

DRR weight of a queue or priority group or WFQ weight of a priority group.

To set the DRR weight for a priority group, run the priority-group drr or priority-group drr command. To set the DRR weight for a queue, run the queue { pq | drr } command.

Assume that A is the configured value, the sum of configured values of priority groups can exceed 100, B is the actual value after calculation, and the sum of actual values of priority groups is 100. During scheduling, B is used.

CIR/PIR(kbps)

CIR and PIR of a queue or priority group.

To set traffic shaping parameters for a queue, run the queue shaping command. To set traffic shaping parameters for a priority group, run the priority-group shaping command.

CBS/PBS(Bytes)

CBS and PBS of a queue or priority group.

To set traffic shaping parameters for a queue, run the queue shaping command. To set traffic shaping parameters for a priority group, run the priority-group shaping command.

WRED

A drop profile bound to an interface queue.

To create a WRED drop profile, run the drop-profile command. To bind a drop profile to an interface queue, run the queue wred command.

display dcb fail-record

Function

The display dcb fail-record command displays DCB negotiation failure records on an interface.

Format

display dcb fail-record [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays DCB negotiation failure records on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, DCB negotiation failure records on all interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When PFC works in auto mode, interfaces at both ends of an FCoE link negotiate PFC parameters through DCBX.

You can run the display dcb fail-record command to check the negotiation failure cause of the DCBX peers, which helps you locate faults.

The system reserves only the latest five negotiation failure records.

Example

# Display DCB negotiation failure records on all interfaces.

<HUAWEI> display dcb fail-record
DCB Fail-Record Show:                                                           
Interface           Fail-Record                                                 
------------------------------------------------------------------------------- 
10GE1/0/1           [2012-08-21 18:51:01]Neighbor does not exist.                 
                    [2012-08-21 18:59:43]PFC is not matched.                    
------------------------------------------------------------------------------- 
Table 14-57  Description of the display dcb fail-record command output

Item

Description

Interface

Name of an interface.

Fail-Record

Negotiation failure records:
  • Multi neighbor is not supported.
  • Neighbor does not exist.
  • PFC is not matched.
  • ETS is not matched.
  • OUI is not matched.
  • Duplicate TLV is received.
  • Packet length is overflowed.
  • Total bandwidth is incorrect.
  • ETS max tc is incorrect.
Related Topics

display dcb pfc-profile

Function

The display dcb pfc-profile command displays the PFC profile configuration.

Format

display dcb pfc-profile [ profile-name ]

Parameters

Parameter

Description

Value

profile-name

Displays the configuration of a specified PFC profile.

If this parameter is not specified, the configurations of all PFC profiles are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the PFC profile configuration is complete, run the display dcb pfc-profile command to view the PFC profile configuration.

Example

# Display brief information about all PFC profiles.

<HUAWEI> display dcb pfc-profile
PFC-Profile Maximum: 8                                                          
Total: 2                                                                        
------------------------------------------------------------------------------- 
PFC-profile Name                      Priority                                  
------------------------------------------------------------------------------- 
default                               3                                         
------------------------------------------------------------------------------- 
mypfc                                 5 to 6                                    
-------------------------------------------------------------------------------
Table 14-58  Description of the display dcb pfc-profile command output

Item

Description

PFC-Profile Maximum

Maximum number of PFC profiles can be configured.

Total

Total number of PFC profiles.

PFC-profile Name

PFC profile name.

Priority

Priority of a queue for which PFC is enabled.

Related Topics

display dcb pfc

Function

The display dcb pfc command displays statistics on backpressure signals.

Format

display dcb pfc [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays statistics on backpressure signals on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To diagnose and locate PFC faults, collect statistics on backpressure signals in a period of time.

Before recollecting statistics on backpressure signals, run the reset dcb pfc command to clear existing statistics on backpressure signals. Then you can use the display dcb pfc command to view statistics on backpressure signals.

Example

# Display statistics on backpressure signals on 10GE1/0/1.

<HUAWEI> display dcb pfc interface 10ge 1/0/1 
-----------------------------------------------------------------------------
 Interface           Queue           Received(Frames)     Transmitted(Frames)
-----------------------------------------------------------------------------
 10GE1/0/1            0               994213               0
                      1               994213               0
                      2               994213               0
                      5               994213               0
                      6               994213               0
 ------------------------------------------------------------------------------
Table 14-59  Description of the display dcb pfc command output

Item

Description

Interface

Name of the interface where statistics on backpressure signals need to be viewed.

Queue

Priority queue.

Received(Frames)

Number of received backpressure signals.

Transmitted(Frames)

Number of transmitted backpressure signals.

Related Topics

display dcb pfc buffer

Function

The display dcb pfc buffer command displays the thresholds for PFC.

Format

display dcb pfc buffer [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays PFC thresholds on a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

If this parameter is not specified, PFC thresholds on all interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After PFC thresholds are configured, you can run the display dcb buffer command to check PFC thresholds on interfaces.

Example

# Display PFC thresholds on all interfaces.

Table 14-60  Description of the display dcb pfc buffer command output

Item

Description

Interface

Interface name.

Queue

Queue index.

Reserved

PFC reserved threshold. If this parameter is not supported, the value is displayed as --.

Xon

Threshold for stopping PFC frames.

Xoff

Threshold for triggering PFC frames.

Hdrm

Headroom buffer space. If this parameter is not supported, the value is displayed as --.

Related Topics

priority (PFC)

Function

The priority command enables PFC for queues with a specified priority.

The undo priority command disables PFC for queues with a specified priority.

By default, PFC is enabled for queues with priority 3.

Format

priority { start-priority [ to end-priority ] } &<1-8>

undo priority [ start-priority [ to end-priority ] ] &<0-8>

Parameters

Parameter

Description

Value

start-priority

Specifies the start priority.

The value is an integer that ranges from 0 to 7.

to end-priority

Specifies the end priority.

NOTE:
end-priority must be larger than start-priority. start-priority and end-priority determine a priority range. If to end-priority is not specified, PFC is enabled for queues with the priority specified by start-priority.

The value is an integer that ranges from 0 to 7.

Views

PFC profile view

Default Level

2: Configuration level

Usage Guidelines

PFC is also called Per Priority Pause or Class Based Flow Control (CBFC). It enhances the Ethernet Pause mechanism. Eight priority queues on the transmit interface of an upstream device correspond to eight buffers on the receive interface of a downstream device. When a receive buffer on the receive interface is to be congested, the downstream device sends a backpressure signal to the upstream device, requesting the upstream device to stop sending packets in the corresponding priority queue.

You can run the priority command to enable PFC for queues with a specified priority on an interface, and then run the dcb enable command to enable PFC on the interface.

Example

# Enable PFC for queues with priorities 1, 3, 4, 5, 6, and 7.

<HUAWEI> system-view
[~HUAWEI] dcb pfc
[~HUAWEI-dcb-pfc] priority 1 3 to 7

priority-group

Function

The priority-group command creates a priority group.

The undo priority-group command deletes a priority group.

By default, an ETS profile defines three priority groups: PG0, PG1, and PG15.

Format

priority-group pg-value

undo priority-group pg-value

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

  • 15: PG15

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ETS provides CoSs based on the priority group. A priority group is a group of queues with the same interface priority. You can run the priority-group command to create a priority group. Queues in the same priority group share the same CoS such as the low latency and no packet loss.

Precautions

An ETS profile can define a maximum of eight priority groups.

The default priority groups PG0, PG1, and PG15 cannot be deleted.

When you run the undo priority-group pg-value command to delete a priority group, the default setting of queues in the priority group is restored.

Example

# Create PG5.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 5

priority-group drr

Function

The priority-group drr command sets the Deficit Round Robin (DRR) weight for a priority group.

The undo priority-group drr command restores the default DRR weight for a priority group.

By default, the DRR weights of PG0 and PG1 are both 50.

NOTE:

CE6870EI does not support this command.

Format

priority-group pg-value drr weight weight-value

undo priority-group pg-value drr [ weight weight-value ]

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

weight-value

Specifies the DRR weight of a queue or some queues participating in DRR scheduling.

The value is an integer that ranges from 1 to 100.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Priority groups except PG15 use DRR scheduling. You can run the priority-group drr command to set the DRR weight for each priority group so that the system schedules each priority group based on weights in turn.

In DRR scheduling, the weight indicates the percentage of resources that a queue can obtain. You can configure the DRR weight according to the actual networking.

Example

# Set the DRR weight of PG1 to 80.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 1 drr weight 80

priority-group pq

Function

The priority-group pq command configures PQ scheduling for a priority group.

Format

priority-group pg-value wfq

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

The value must be 15.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

The priority-group pq command configures PQ scheduling for a priority group.

Example

# Configure PQ scheduling for PG15.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 15 pq

priority-group queue

Function

The priority-group queue command adds an interface queue to a priority group.

The undo priority-group queue command deletes an interface queue from a priority group.

By default, queues 0, 1, 2, 4, and 5 belong to PG0, queue 3 belongs to PG1, and queues 6 and 7 belong to PG15.

Format

priority-group pg-value queue { start-queue [ to end-queue ] } &<1-8>

undo priority-group pg-value queue [ start-queue [ to end-queue ] ] &<0-8>

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

  • 15: PG15

{ start-queue [ to end-queue ] }

Specifies the queues to be added to a priority group.

NOTE:
end-queue must be larger than start-queue. start-queue and end-queue determine a range of queues. If to end-queue is not specified, the queue specified by start-queue joins a priority group.

The value is an integer that ranges from 0 to 7.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

ETS provides CoSs based on priority groups. A priority group is a group of queues with the same attributes on an interface. You can run the priority-group queue command to add queues with different priorities to a priority group.

Queues in the same priority group share the same CoS such as low latency and lossless packets.

Precautions

A queue can join only one priority group.

If you run the undo priority-group queue command without any parameter specified, the default setting of queues is restored.

Excluding CE6870EI, when more than three priority groups (excluding PG15) contain queues with priorities, only one priority group can contain multiple queues with priorities.

Example

# Add queues 5, 6, and 7 to PG1.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 1 queue 5 to 7

priority-group renumber

Function

The priority-group renumber command redefines the priority group ID.

The undo priority-group renumber command cancels the configuration.

By default, the redefined value of each priority group in an ETS profile is the priority group ID.

Format

priority-group pg-value1 renumber pg-value2

undo priority-group pg-value1 renumber pg-value2

Parameters

Parameter

Description

Value

pg-value1

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

  • 15: PG15

pg-value2

Specifies the priority group ID to be redefined.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the device connects to a non-Huawei device, the negotiation may fail because the priority group ID is different in the ETS profile. You can run this command to redefine the priority group ID.

Precautions

The redefined priority group ID must be unique.

Example

# Redefine PG1 into PG2.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 1 renumber 2
Related Topics

priority-group shaping

Function

The priority-group shaping command enables traffic shaping for a priority group and sets shaping parameters.

The undo priority-group shaping command disables traffic shaping for a priority group.

By default, traffic shaping is disabled for a priority group.

Format

priority-group pg-value shaping cir cir-value [ kbps | mbps | gbps ] pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ]

undo priority-group pg-value shaping [ cir cir-value [ kbps | mbps | gbps ] pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] ]

NOTE:

CE6870EI does not support pir and pbs parameter.

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

  • 15: PG15

cir cir-value

Specifies the committed information rate (CIR) for a priority group.

The value is an integer that ranges from 64 kbps to 100 gbps. The default rate unit is kbit/s.

kbps

Indicates that the rate unit is kbit/s.

-

mbps

Indicates that the rate unit is mbit/s.

-

gbps

Indicates that the rate unit is gbit/s.

-

pir pir-value

Specifies the peak information rate (PIR) for a priority group.

The value is an integer that ranges from 64 kbps to 100 gbps. The default rate unit is kbit/s.

cbs cbs-value

Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface.

If this parameter is not specified, the CBS is 125 times the CIR.

The value is an integer that ranges from 1000 bytes to 512 mbytes. The default rate unit is bytes.

bytes

Indicates that the CBS is expressed in bytes.

-

kbytes

Indicates that the CBS is expressed in kbytes.

-

mbytes

Indicates that the CBS is expressed in mbytes.

-

pbs pbs-value

Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface.

If this parameter is not specified, the PBS is 125 times the PIR.

The value is an integer that ranges from 1000 bytes to 512 mbytes. The default rate unit is bytes.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

When the rate of an interface on a downstream device is lower than the rate of an interface on an upstream device, traffic congestion may occur on the interface of the downstream device. In this case, you can configure traffic shaping for priority groups on the outbound interface of the upstream device and adjust the transmit rate of the priority group.

NOTE:

After traffic shaping is configured for priority groups, the system first processes traffic of the priority group configured with the CIR. Packets of other priority groups may be discarded. For example, when traffic shaping is configured for PG0 and the CIR approximates to the interface bandwidth, packets in PG1 and PG15 may be discarded.

Example

# Set the CIR to 200 kbit/s, PIR to 400 kbit/s, CBS to 12000 bytes, and PBS to 24000 bytes for PG1.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 1 shaping cir 200 kbps pir 400 kbps cbs 12000 bytes pbs 24000 bytes

priority-group wfq

Function

The priority-group wfq command sets the Weighted Fair Queuing (WFQ) weight for a priority group.

The undo priority-group wfq command restores the default WFQ weight for a priority group.

By default, the weights of PG0 and PG1 are both 50.

Format

priority-group pg-value wfq weight weight-value

undo priority-group pg-value wfq [ weight weight-value ]

NOTE:

Only CE6870EI supports this command.

Parameters

Parameter

Description

Value

pg-value

Specifies the value of a priority group.

Enumerated type. The values are as follows:

  • 0: PG0

  • 1: PG1

  • 2: PG2

  • 3: PG3

  • 4: PG4

  • 5: PG5

  • 6: PG6

  • 7: PG7

weight-value

Specifies the WFQ weight of a queue or some queues participating in WFQ scheduling.

The value is an integer that ranges from 1 to 100.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Priority groups except PG15 use WFQ scheduling. You can run the priority-group wfq command to set the WFQ weight for each priority group so that the system schedules each priority group based on weights in turn.

In WFQ scheduling, the weight indicates the percentage of resources that a queue can obtain. You can configure the WFQ weight according to the actual networking.

Example

# Set the WFQ weight of PG1 to 80.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] priority-group 1 wfq weight 80

queue { pq | drr }

Function

The queue { pq | drr } command configures a scheduling mode for an interface queue.

By default, an interface queue uses priority queuing (PQ).

Format

queue { start-queue [ to end-queue ] } &<1-8> { pq | drr [ weight weight-value ] }

NOTE:

CE6870EI does not support drr parameter.

Parameters

Parameter

Description

Value

start-queue [ to end-queue ]

Specifies one or multiple queues.

NOTE:
end-queue must be larger than start-queue. start-queue and end-queue determine a range of queues. If end-queue is not specified, a scheduling mode is configured for the queue specified by start-queue.

The value is an integer that ranges from 0 to 7.

pq

Sets the scheduling mode to PQ.

-

drr [ weight weight-value ]

Sets the scheduling mode to DRR and specifies the DRR weight.

The value is an integer that ranges from 1 to 100.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

ETS supports two-level scheduling: scheduling based on priority groups and queues. ETS provides fine-grained QoS services.

ETS uses the following scheduling modes for queues in priority groups:
  • PQ scheduling

    Priority queuing (PQ) schedules packets in descending order of priority. Queues with lower priories are processed only after all the queues with higher priorities have been processed. By using PQ scheduling, the device puts packets of delay-sensitive key services into queues with higher priorities and packets of other services into queues with lower priorities so that packets of key services can be transmitted first. In PQ scheduling, if a lot of packets exist in queues with higher priorities when congestion occurs, packets in queues with lower priorities cannot be transmitted for a long time.

  • DRP scheduling

    Deficit Round Robin (DRR) ensures that packets in all the queues are scheduled in turn.

    When eight output queues are configured on an interface, each queue is configured with a weight, namely, w7, w6, w5, w4, w3, w2, w1, and w0. The weight values represent the percentage of resources that the queues can obtain. Assume that the weights of queues on a 100M interface are 50, 50, 30, 30, 10, 10, 10, and 10, which match w7, w6, w5, w4, w3, w2, w1, and w0 respectively. The queue with the lowest priority can obtain at least 5 Mbit/s bandwidth. This ensures that packets in all the queues can be scheduled. In addition, DRR schedules packets based on the packet length. If the packet length is too long, DRR allows the negative weight value so that long packets can be scheduled. In the next round, the queue with the negative weight value is not scheduled until its weight value becomes positive. DRR offsets the disadvantages of PQ scheduling and DRR scheduling. (PQ scheduling can cause starvation of packets in queues with lower priorities, and DRR scheduling cannot allocate bandwidth evenly when the packet length in each queue is different or variable.) However, DRR has its own disadvantage. It cannot schedule delay-sensitive services such as voice services in a timely manner.

  • PQ+DRR scheduling

    PQ and DRR have their own advantages and disadvantages. If only PQ scheduling is used, packets in queues with lower priorities cannot obtain bandwidth. If only DRR scheduling is used, delay-sensitive services, such as voice services, cannot be scheduled in a timely manner. PQ+DRR scheduling integrates the advantages of PQ scheduling and DRR scheduling and offsets their disadvantages. PQ+DRR scheduling puts protocol packets and packets of delay-sensitive services into the PQ queue, and allocates bandwidth to the PQ queue. Then, other packets are put into DRR queues based on their priorities. The DRR queues can be scheduled in a polling manner.

Example

# Configure PQ for queue 5. Configure DRR for queues 6 and 7, and set the DRR weights to 30.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] queue 5 pq
[*HUAWEI-ets-myets] queue 6 7 drr weight 30

queue shaping

Function

The queue shaping command enables traffic shaping for an interface queue and sets shaping parameters.

The undo queue shaping command disables traffic shaping for an interface queue.

By default, traffic shaping is disabled for an interface queue.

Format

queue { start-queue [ to end-queue ] } &<1-8> shaping cir cir-value [ kbps | mbps | gbps ] pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ]

undo queue { start-queue [ to end-queue ] } &<1-8> shaping [ cir cir-value [ kbps | mbps | gbps ] pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] ]

NOTE:

CE6870EI does not support pir and pbs parameter.

Parameters

Parameter

Description

Value

start-queue [ to end-queue ]

Specifies one or more interface queues.

NOTE:
end-queue must be larger than start-queue. start-queue and end-queue determine a range of queues. If to end-queue is not specified, traffic shaping is enabled for the queue specified by start-queue.

The value is an integer that ranges from 0 to 7.

cir cir-value

Specifies the committed information rate (CIR) for a priority group.

The value is an integer that ranges from 64 kbps to 100 gbps. The default rate unit is kbit/s.

kbps

Indicates that the rate unit is kbit/s.

-

mbps

Indicates that the rate unit is mbit/s.

-

gbps

Indicates that the rate unit is gbit/s.

-

pir pir-value

Specifies the peak information rate (PIR) for a priority group.

The value is an integer that ranges from 64 kbps to 100 gbps. The default rate unit is kbit/s.

cbs cbs-value

Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface.

If this parameter is not specified, the CBS is 125 times the CIR.

The value is an integer that ranges from 10000 bytes to 512 mbytes. The default rate unit is bytes.

bytes

Indicates that the CBS is expressed in bytes.

-

kbytes

Indicates that the CBS is expressed in kbytes.

-

mbytes

Indicates that the CBS is expressed in mbytes.

-

pbs pbs-value

Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface.

If this parameter is not specified, the PBS is 125 times the PIR.

The value is an integer that ranges from 10000 bytes to 512 mbytes. The default rate unit is bytes.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

ETS supports two-level traffic shaping: traffic shaping based on priority groups and queues. ETS provides fine-grained QoS services.

You can run the queue shaping command to configure traffic shaping for priority queues in a priority group. The priority-group shaping command configures traffic shaping for priority groups.

Example

# Set the CIR to 200 kbit/s, PIR to 400 kbit/s, CBS to 12000 bytes, and PBS to 24000 bytes for queues 5, 6, and 7.

<HUAWEI> system-view
[~HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] queue 5 to 7 shaping cir 200 kbps pir 400 kbps cbs 12000 bytes pbs 24000 bytes 

queue wred

Function

The queue wred command binds a drop profile to an interface queue.

The undo queue wred command unbinds a drop profile from an interface queue.

By default, no drop profile is bound to an interface queue.

Format

queue { start-queue [ to end-queue ] } &<1-8> wred drop-profile-name

undo queue { start-queue [ to end-queue ] } &<1-8> wred [ drop-profile-name ]

Parameters

Parameter

Description

Value

start-queue [ to end-queue ]

Specifies interface queues bound to a drop profile.

NOTE:
end-queue must be larger than start-queue. start-queue and end-queue determine a range of queues. If to end-queue is not specified, a drop profile is bound only to the queue specified by start-queue.

The value is an integer that ranges from 0 to 7.

wred drop-profile-name

Specifies the name of a drop profile.

The name of a drop profile must already exist.

Views

ETS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can bind a drop profile to queues in an ETS profile. When congestion occurs, packets at the end of a queue are discarded until the congestion is removed. The tail drop method causes global Transmission Control Protocol (TCP) synchronization and reduces the link use efficiency. The Weighted Random Early Detection (WRED) can solve the problem.

Prerequisites

A drop profile has been created using the drop-profile command.

Precautions

If you run the queue wred command for the same queue multiple times, only the latest configuration takes effect.

If PFC and queue wred are configured for a queue simultaneously, PFC may fail to work. This is because the device first uses WRED to process packets when congestion occurs.

Example

# Bind a drop profile wred1 to queues 5, 6, and 7.

<HUAWEI> system-view
[~HUAWEI] drop-profile wred1
[*HUAWEI-drop-wred1] quit
[*HUAWEI] dcb ets-profile myets
[*HUAWEI-ets-myets] queue 5 to 7 wred wred1

reset dcb fail-record

Function

The reset dcb fail-record command clears DCB negotiation failure records on an interface.

Format

reset dcb fail-record [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Clears DCB negotiation failure records on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, DCB negotiation failure records on all interfaces are cleared.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To troubleshoot DCB faults, you may need to view DCB negotiation failure records within a certain period of time.

Before recollecting DCB negotiation failure records on a specified interface or all interfaces, run the reset dcb fail-record command to clear existing DCB negotiation failure records. Then run the display dcb fail-record command to view DCB negotiation failure records.

Precautions

After the reset dcb fail-record command is executed, DCB negotiation failure records are cleared and cannot be restored. Confirm your action before you use this command.

Example

# Clear DCB negotiation failure records on an interface.

<HUAWEI> reset dcb fail-record

reset dcb pfc

Function

The reset dcb pfc command clears statistics on backpressure signals on an interface.

Format

reset dcb pfc [ interface interface-type interface-number ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Clears statistics on backpressure signals on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, backpressure signals on all interfaces are cleared.

-

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To diagnose and locate PFC faults, collect statistics on backpressure signals in a period of time.

Before recollecting statistics on backpressure signals, run the reset dcb pfc command to clear existing statistics on backpressure signals. Then you can use the display dcb pfc command to view statistics on backpressure signals.

Precautions

After the reset dcb pfc command is executed, statistics on backpressure signals are cleared and cannot be restored. Exercise caution when you use this command.

Example

# Clear statistics on backpressure signals on 10GE1/0/1.

<HUAWEI> reset dcb pfc interface 10ge 1/0/1  
Related Topics
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 55529

Downloads: 345

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next