set class-of-service interface pfc-uplink-group
The set class-of-service interface pfc-uplink-group command creates a PFC uplink port group.
The delete class-of-service interface pfc-uplink-group command deletes the configuration.
NOTE: Each device supports only one PFC uplink port group. |
Command Syntax
set class-of-service interface <interface-name> pfc-uplink-group <group-name>
delete class-of-service interface <interface-name> pfc-uplink-group
Parameter
Parameter | Description |
interface <interface-name> | Specifies the interfaces to be added to the PFC uplink port group. The interface is a L2 physical port. NOTE: Routed interface and LAG interface are not allowed to be configured to the uplink port group. |
pfc-uplink-group <group-name> | Specifies the name of the uplink port group. |
Usage Guidelines
In the PFC deadlock prevention function, a PFC uplink port group is defined. For a Leaf switch, users can add the ports connected to Spine switches to the PFC uplink port group. Once the system detects that the same business flow forwarded to the ports within this port group, it indicates that the flow is a high-risk hook flow, which is prone to causing PFC deadlocks.
This command is incremental; when configured multiple times, the results are applied cumulatively.
Example
Create a PFC uplink port group.
admin@PICOS# set class-of-service interface te-1/1/1 pfc-uplink-group group1
admin@PICOS# set class-of-service interface te-1/1/2 pfc-uplink-group group1
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.