18.1. PFC Commands

18.1.1. priority-flow-control mode

Command Purpose

Use this command to enable or disable priority-based flow control function on the interface.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

priority-flow-control mode (on|auto)

no priority-flow-control

Parameter

Parameter Description

Parameter Value

on

enable priority-based flowcontrol no matter how the peer configures

-

auto

enable priority-based flowcontrol negotiating with the peer

-

Command Mode

Interface Configuration

Default

Enable priority-based flowcontrol on priority 3

Usage

Use the priority-flow-control interface Configuration command to set the interface’s ability to send pause frames to on or off on the specialed priorities.

Examples

This example shows how to enable priority-based flowcontrol on the interface:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# priority-flow-control mode on

This example shows how to enable priority-based flowcontrol on the interface(auto negotiating with the peer):

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# priority-flow-control mode auto

18.1.2. priority-flow-control enable priority

Command Purpose

Use this command to enable or disable priority-based flow control function on which priority.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

priority-flow-control enable priority {0|1|2|3|4|5|6|7}

no priority-flow-control enable priority {0|1|2|3|4|5|6|7}

Command Mode

Interface Configuration

Default

Enable priority-based flowcontrol on priority 3

Usage

Use the priority-flow-control enable priority interface Configuration command to set the interface’s ability to send pause frames to on or off on which priorities.

Examples

This example shows how to enable priority-based flowcontrol on which priorities:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# priority-flow-control enable priority 1 3 4 7

Related Commands

priority-flow-control mode (on|auto)

lldp tlv 8021-org-specific dcbx

18.1.3. show priority-flow-control

Command Purpose

Use this command to display priority-based flow control information.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show priority-flow-control (interface IFNAME| )

Parameter

Parameter Description

Parameter Value

IFNAME

Interface name

Support physical ports

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to display priority-based flowcontrol admin-config and operation-config information of each port.

Examples

This examples shows how to display priority-based flowcontrol information:

Switch# show priority-flow-control

Port             PFC-enable          PFC-enable on priority
               admin    oper        admin     oper
---------------------------------------------------------------
eth-0-1        off      off         off       off
.
.
.
eth-0-n       off      off         off       off 
Switch# show priority-flow-control interface eth-0-1

Port             PFC-enable          PFC-enable on priority
               admin    oper        admin     oper
---------------------------------------------------------------
eth-0-1        off      off         off       off

Related Commands

None

18.1.4. show priority-flow-control statistics

Command Purpose

Use this command to display the statistic of priority-based flowcontrol.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show priority-flow-control statistics (IFNAME| )

Parameter

Parameter Description

Parameter Value

IFNAME

Interface name

Support physical ports

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to display the counting information of pause frames for priority-based flowcontrol.

Examples

This example shows how to display the counting information of pause frames for priority-based flowcontrol:

Switch# show priority-flow-control statistics interface eth-0-1
Port               RxPause          TxPause
--------------------------------------------------
eth-0-1            0                0
Switch# show priority-flow-control statistics                  
Port               RxPause          TxPause
--------------------------------------------------
eth-0-1            0                0     
.
.
.
eth-0-n            0                0 

Related Commands

None

18.1.5. priority-flow-control deadlock precision

Command Purpose

Use this command to configure time precision for priority-based flowcontrol deadlock

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

Not supported

Base

-

Command Syntax

priority-flow-control deadlock precision PRECISION

no priority-flow-control deadlock precision

Parameter

Parameter Description

Parameter Value

PRECISION

Precision

10 - 50

Command Mode

Global Config

Default

10

Usage

Use the command to set time precision for priority-based flowcontrol deadlock

Examples

This example shows how to configure priority-based flow control deadlock precision:

Switch# configure terminal
Switch(config)# priority-flow-control deadlock precision 20

This example shows how to revert the priority-based flow control deadlock precision to 10:

Switch# configure terminal
Switch(config)# no priority-flow-control deadlock precision

Related Commands

None

18.1.6. priority-flow-control deadlock priority

Command Purpose

Use this command to configure port priority-based flowcontrol deadlock detection

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

priority-flow-control deadlock priority PRI1 (PRI2| ) (detect DETECT recover RECOVER| )

no priority-flow-control deadlock priority (PRI1| ) (PRI2| )

Parameter

Parameter Description

Parameter Value

PRI1

Traffic-priority value

0 - 7

PRI2

Traffic-priority value

0 - 7

DETECT

Detect time

2023/1/30

RECOVER

Recover time

0 - 3000

Command Mode

Interface Configuration

Default

None

Usage

Use the command to set port priority-based flowcontrol deadlock detection

Examples

This example shows how to configure port priority-based flowcontrol deadlock detection:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# priority-flow-control deadlock priority 5 6 detect 20 recover 300

None

Related Commands

None

18.1.7. priority-flow-control deadlock limit priority

Command Purpose

Use this command to configure port priority-based flowcontrol deadlock limitation

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

priority-flow-control deadlock limit priority PRI1 (PRI2| ) (frequency FREQUENCY period PERIOD| )

no priority-flow-control deadlock limit priority (PRI1| ) (PRI2| )

Parameter

Parameter Description

Parameter Value

PRI1

Traffic-priority value

0 - 7

PRI2

Traffic-priority value

0 - 7

FREQUENCY

Frequency

10 - 100000

PERIOD

Period

2023/1/5

Command Mode

Interface Configuration

Default

None

Usage

Use the command to set port priority-based flowcontrol deadlock limitation

Examples

This example shows how to configure port priority-based flowcontrol deadlock limitation:

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# priority-flow-control deadlock limit priority 7 frequency 100 period 5

Related Commands

None

18.1.8. show priority-flow-control deadlock status

Command Purpose

Use this command to display priority-based flowcontrol deadlock status information

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show priority-flow-control deadlock status

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to display priority-based flowcontrol deadlock status information

Examples

This example shows how to display priority-based flowcontrol deadlock status information:

Switch# show priority-flow-control deadlock status

Related Commands

None

18.1.9. show priority-flow-control deadlock statistics

Command Purpose

Use this command to display priority-based flowcontrol deadlock statistics information

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show priority-flow-control deadlock statistics (interface IFPHYSICAL| )

Parameter

Parameter Description

Parameter Value

IFPHYSICAL

Physical interface

Support physical ports

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to display priority-based flowcontrol deadlock statistics information

Examples

This example shows how to display priority-based flowcontrol deadlock statistics information:

Switch# show priority-flow-control deadlock statistics interface eth-0-1

Related Commands

None

18.1.10. clear priority-flow-control deadlock statistics

Command Purpose

Use this command to clear priority-based flowcontrol deadlock statistics information

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

clear priority-flow-control deadlock statistics (interface IFPHYSICAL| )

Parameter

Parameter Description

Parameter Value

IFPHYSICAL

Physical interface

Support physical ports

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to clear priority-based flowcontrol deadlock statistics information

Examples

This example shows how to clear priority-based flowcontrol deadlock statistics information:

Switch# clear priority-flow-control deadlock statistics interface eth-0-1

Related Commands

None