/
set interface ethernet-switching-options buffer service-pool threshold

set interface ethernet-switching-options buffer service-pool threshold

The set interface ethernet-switching-options buffer service-pool threshold can be used to set the global threshold of shared buffer for all ingress interfaces.

The delete interface ethernet-switching-options buffer service-pool threshold command deletes the configuration.

 

Command Syntax

set interface ethernet-switching-options buffer service-pool 0 threshold <value>

delete interface ethernet-switching-options [buffer] [service-pool 0] [threshold]

 

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.

service-pool 0

Specifies the service pool of shared buffer as 0.

threshold <value>

Specifies the global threshold of shared buffer for all ingress interfaces. When the occupied space of an interface exceeds the specified threshold, the packets will be saved in the headroom buffer.

The value is an integer that ranges from 1 to 120000. Unit: cell.

Note: The values of cell are different on different platforms. The value is 256 bytes on Trident3-X5 and Trident3-X7 platforms, and is 254 bytes on the Tomahawk3 platform.

 

Example

  • Set the global threshold of shared buffer for all ingress interfaces as 100000.

admin@PICOS# set interface ethernet-switching-options buffer service-pool 0 threshold 100000 admin@PICOS# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.