set interface gigabit-ethernet ethernet-switching-options buffer ingress-queue shared-ratio
The set interface gigabit-ethernet ethernet-switching-options buffer ingress-queue shared-ratio can be used to set the dynamic threshold of shared buffer for a PFC queue on the ingress interface.
The delete interface gigabit-ethernet ethernet-switching-options buffer ingress-queue shared-ratio command deletes the configuration.
Â
Command Syntax
set interface gigabit-ethernet <interface-name> ethernet-switching-options buffer ingress-queue <queue-id> shared-ratio <ratio-value>
delete interface gigabit-ethernet <interface-name> ethernet-switching-options [buffer] [ingress-queue <queue-id>] [shared-ratio]
Â
Parameter
Parameter | Description |
gigabit-ethernet <interface-name> | Specifies the name of a physical interface in the ingress direction of the downstream switch. |
ingress-queue <queue-id> | Specifies the queue number of an ingress interface. The value is an integer that ranges from 0 to 7. Note: On Trident and Trident+ based switches, known unicast packets can be assigned to a specific queue between queues from 0 to 7, while unknown unicast packets, multicast packets, and broadcast packets can be assigned to a specific queue between queues from 0 to 3. |
shared-ratio <ratio-value> | Specifies the ratio of the shared buffer remaining space for a PFC queue on the ingress interface. When the occupied buffer space exceeds the specified threshold (a dynamic value, which equals to ratio multiply remaining space), the Pause frame will be generated and sent to the egress interface. The value is an integer that ranges from 0 to 100. Unit: %. |
Â
Example
Set the ratio of the shared buffer remaining space for PFC queue 3 on the ingress interface xe-1/1/3 as 30%.
admin@PICOS# set interface gigabit-ethernet xe-1/1/3 ethernet-switching-options buffer ingress-queue 3 shared-ratio 30%
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.