Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

shared-buffer

Syntax

shared-buffer {egress {buffer-partition (lossless | lossy | multicast) {percent percent}percent percent;}ingress {percent percent;buffer-partition (lossless | lossless-headroom | lossy) {percent percent}}}

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.3 for the QFX Series.

Description

Configure the global shared buffer pool allocation to ports. Shared buffers are a pool of buffer space that the system can allocate dynamically across all of its ports as memory space is needed. Some buffer space is reserved for dedicated buffers (buffers allocated permanently to ports), headroom buffers (buffers that help prevent packet loss on lossless flows), and other buffers.

Configure the way the system uses the available (user-configurable) buffer space by setting the shared-buffer percentage for the ingress buffer pool and for the egress buffer pool.

The percentage you specify is the percentage of available buffer space allocated to the global shared ingress buffer pool or to the global shared egress buffer pool. If you allocate less than 100 percent of the available buffer space to the shared buffer pool, the remaining buffer space is added to the dedicated buffer pool. (You cannot directly configure the dedicated buffer pool for each port; dedicated buffers are allocated evenly across all the ports.)

Caution: Changing the buffer configuration is a disruptive event. Traffic stops on all ports until the buffer reprogramming is complete.

You can also partition the ingress shared buffer pool and the egress shared buffer pool to adjust the buffer allocations for different mixes of network traffic (best-effort, lossless, multicast) using the buffer-partition statement.

Options

The statements are explained separately.

Required Privilege Level

interfaces—To view this statement in the configuration.
interface-control—To add this statement to the configuration.

Published: 2014-07-23