set class-of-service pfc-watchdog threshold period
The set class-of-service pfc-watchdog threshold period command configures the period for PFC deadlock occurrences. 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 count <count> can be used to configure the upper limit number of PFC deadlocks occurrences.
The delete class-of-service pfc-watchdog threshold period command deletes the configuration.
Â
Command Syntax
set class-of-service pfc-watchdog threshold period <time>
delete class-of-service pfc-watchdog threshold period
Â
Parameter
Parameter | Description |
period <time> | Specifies the time period in seconds. The value is an integer ranging from 1 to 60. The default value is 20 seconds. |
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 period for PFC deadlock occurrences.
admin@PICOS# set class-of-service pfc-watchdog threshold period 20
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.