set class-of-service pfc-watchdog threshold count

The set class-of-service pfc-watchdog threshold count command configures the maximum number of PFC deadlocks occurrences within a specified period. When PFC watchdog functionality is enabled and the restore mode for a port is set to automatic recovery, and the number of PFC deadlocks reaches the upper limit within the specified period, the PFC function on that port will be disabled. The command set class-of-service pfc-watchdog threshold period <time> can be used to configure the specified period.

The delete class-of-service pfc-watchdog threshold count command deletes the configuration.

 

Command Syntax

set class-of-service pfc-watchdog threshold count <count>

delete class-of-service pfc-watchdog threshold count

 

Parameter

Parameter

Description

count <count>

Specifies the maximum number of PFC deadlocks. The value is an integer ranging from 1 to 500. The default value is 30.

 

Usage Guidelines

When PFC watchdog functionality is enabled and the restore mode for a port is set to automatic recovery, the PFC watchdog continuously monitors the PFC activity on the port. If deadlocks repeatedly occur and the count exceeds the configured threshold within the specified time period, the system determines that the port is in an unstable state and will automatically disable the PFC feature to prevent further network disruption.

Once PFC is disabled, the port will no longer use PFC to manage congestion until it is manually reset by using the following command:

run clear class-of-service interface <interface-name> pfc-watchdog auto

This ensures that persistent deadlocks do not degrade network performance.

 

Example

  • Configure the maximum number of PFC deadlocks occurrences within a specified period.

admin@PICOS# set class-of-service pfc-watchdog threshold count 15 admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.