set class-of-service pfc-watchdog code-point restore-interval

The set class-of-service pfc-watchdog code-point restore-interval command configures the restore time when PFC deadlock occurs. The value of restore time depends on the configured granularity and restore-interval, the restore time = granularity x restore-interval.

The delete class-of-service pfc-watchdog code-point restore-interval command restores the default configuration.

 

Command Syntax

For Trident3 platforms:

set class-of-service pfc-watchdog code-point <cos> restore-interval <restore-interval>

delete class-of-service pfc-watchdog code-point <cos> restore-interval

For Tomahawk3 platforms:

set class-of-service interface <interface-name> pfc-watchdog code-point <cos> restore-interval <restore-interval>

delete class-of-service interface <interface-name> pfc-watchdog code-point <cos> restore-interval

 

Parameter

Parameter

Description

interface <interface-name>

Specifies the interface name. The value could be a physical port or a LAG port.

code-point <cos>

Specifies the COS value of the packets. The value is an integer that ranges from 0 to 7.

restore-interval <restore-interval>

Specifies the restore time when PFC deadlock occurs. The value is an integer that ranges from 1 to 15.

The default value is 15.

 

Usage Guidelines

When a PFC deadlock has occurred and a PFC deadlock restore process is required. During the PFC deadlock recovery process, the PFC PAUSE frames received by the port will be ignored, and the internal scheduler will resume sending queue traffic of corresponding priority. It is also possible to choose to drop queue traffic of the corresponding priority and restore normal PFC flow control mechanism after the restore time.

 

Example

  • Configure the restore time when PFC deadlock occurs.

admin@PICOS# set class-of-service pfc-watchdog code-point 5 restore-interval 10 admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.