set interface gigabit-ethernet ethernet-switching-options buffer egress-queue shared-ratio
The set interface gigabit-ethernet ethernet-switching-options buffer egress-queue shared-ratio can be used to set the dynamic threshold of shared buffer for a PFC queue on the egress interface.
The delete interface gigabit-ethernet ethernet-switching-options buffer egress-queue shared-ratio command deletes the configuration.
Â
Command Syntax
set interface gigabit-ethernet <interface-name> ethernet-switching-options buffer egress-queue <queue-id> shared-ratio <ratio-value>
delete interface gigabit-ethernet <interface-name> ethernet-switching-options [buffer] [egress-queue <queue-id>] [shared-ratio]
Â
Parameter
Parameter | Description |
gigabit-ethernet <interface-name> | Specifies the name of a physical interface in the egress direction of the downstream switch. |
ingress-queue <queue-id> | Specifies the queue number of an egress 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 shared buffer remaining space for a PFC queue on the egress interface. When the occupied buffer space exceeds the specified threshold (a dynamic value, which equals to ratio multiply remaining space), the packets will be saved in the headroom buffer. The value is an integer that ranges from 0 to 100. Unit: %. |
Â
Example
Set the ratio of shared buffer remaining space for PFC queue 3 on the egress interface xe-1/1/3 as 30%.
admin@PICOS# set interface gigabit-ethernet xe-1/1/3 ethernet-switching-options buffer egress-queue 3 shared-ratio 30%
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.