set class-of-service interface pfc-watchdog restore-mode

The set class-of-service interface pfc-watchdog restore-mode command configures the restore mode for a deadlocked port.

The delete class-of-service interface pfc-watchdog restore-mode command deletes the configuration.

 

Command Syntax

set class-of-service interface <interface-name> pfc-watchdog restore-mode <manual | auto>

delete class-of-service interface <interface-name> pfc-watchdog restore-mode

 

Parameter

Parameter

Description

interface <interface-name>

Specifies the physical port name where PFC watchdog can be enabled. The interface could be a physical port or a member port of a LAG port.

restore-mode <manual | auto>

 

Specifies the restore mode for a deadlocked port. The value could be manual or auto.

  • manual: Specifies the restore mode for a deadlocked port to manual.

  • auto: Specifies the restore mode for a deadlocked port to auto.

The default value is auto.

 

Usage Guidelines

The system supports two different restore modes: Manual and Auto, representing different deadlock detection processes and different PFC deadlock recovery methods:

  • Auto

When PFC watchdog functionality is enabled and the restore mode for a port is set to Auto 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

  • Manual

When PFC watchdog functionality is enabled and the restore mode for a port is set to Manual recovery, the PFC watchdog continuously monitors the PFC activity on the port, once a PFC deadlock occurs, the PFC function on that port will be automatically disabled.

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 manual

This ensures that persistent deadlocks do not degrade network performance.

 

Example

  • Configure the restore mode to manual for port xe-1/1/1.      

admin@PICOS# set class-of-service interface xe-1/1/1 pfc-watchdog restore-mode manual admin@PICOS# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.