set class-of-service pfc-watchdog code-point detect-interval
The set class-of-service pfc-watchdog code-point detect-interval command configures the time interval of PFC deadlock detection. The value of detection time depends on the configured granularity and detect-timer, the value of detection time = granularity x detect-interval.
The delete class-of-service pfc-watchdog code-point detect-interval command restores the default configuration.
Â
Command Syntax
For Trident3 platforms:
set class-of-service pfc-watchdog code-point <cos> detect-interval <detect-interval>
delete class-of-service pfc-watchdog code-point <cos> detect-interval
For Tomahawk3 platforms:
set class-of-service interface <interface-name> pfc-watchdog code-point <cos> detect-interval <detect-interval>
delete class-of-service interface <interface-name> pfc-watchdog code-point <cos> detect-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. |
detect-interval <detect-interval> | Specifies the time interval of PFC deadlock detection. The value is an integer that ranges from 1 to 15. The default value is 15. |
Â
Usage Guidelines
After receiving the PFC Pause frame, the internal scheduler will stop forwarding the queue traffic of corresponding priority and start the timer to detect the PFC Pause frame received by the queue based on the set deadlock detection and granularity.
If the queue remains under flow control state within the configured PFC deadlock detection time, it is considered that a PFC deadlock has occurred and a PFC deadlock restore process is required.
Â
Example
Configure the time interval of PFC deadlock detection.
admin@PICOS# set class-of-service pfc-watchdog code-point 5 detect-interval 10
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.