Priority-based flow control Commands

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 flow control 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 flow control on which priorities:

Switch# configure terminal
Switch(config-if)# Priority-flow-control enable priority 2 3 5 7

show priority-flow-control

Command Purpose

Use this command to display priority-based flowcontrol 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 | )

Parameter

Parameter Description

Parameter Value

INTERFACE

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 example shows how to display priority-based flowcontrol information:

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

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

Related Commands

None

show priority-flow-control statistics

Command Purpose

Use this command to display priority-based flowcontrol statistics.

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 ( INTERFACE | )

Parameter

Parameter Description

Parameter Value

INTERFACE

Interface name

Support physical ports

Command Mode

Privileged EXEC

Default

None

Usage

Use the command to display priority-based flowcontrol statistics of each port.

Examples

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

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

Port RxPause TxPause
---------------------------------------------------------------
eth-0-1 0 0

Related Commands

None

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

None

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

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

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

None

Related Commands

None

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

None

Related Commands

None

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

None

Related Commands

None

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

None

Related Commands

None