set interface ethernet-switching-options buffer egress-queue shared-ratio


The set interface ethernet-switching-options buffer shared-ratio command sets the dynamic threshold ratio of the available shared space.


Command Syntax

set interface ethernet-switching-options buffer egress-queue <queue-index> shared-ratio <ratio-value>


Parameter

Parameter

Description

egress-queue <queue-index>

Specifies the interface queue. 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 value of the dynamic threshold ratio of the available shared space. The value is an integer that ranges from 0 to 100, indicating 1% to 100%.

The default value is 33.


Usage Guidelines

The dynamic mode of both multicast (must enable dynamic threshold) and unicast queues can configure the max dynamic threshold ratio. The threshold is still dynamically adjusted until reaching the max ratio configured.

For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10 rages. The table below shows the effective values that correspond to the configured values of ratio-value.

NOTE:

Currently, multicast queue just support eight (1~67) effective ratio value on all platforms.


Example

  •   Set the dynamic threshold ratio of the available shared space to 40%.
admin@Xorplus# set interface ethernet-switching-options buffer egress-queue 0 shared-ratio 40
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.