Configuring Shared and Dedicated Buffer Memory Pools
The ACX5048 and ACX5096 routerhas 12 megabytes of Packet ForwardingEngine (PFE)
wide common packet buffer memory that is used to store packets on interface queues.
The buffer memory is divided into two pools, shared buffers and dedicated buffers or
reserved buffers.
Shared buffers are a global memory pool that the router allocates dynamically to ports
as needed, so the buffers are shared among the ports. To configure a maximum amount
of shared buffer that the multicast packets can consume, include the multicast percentage
CLI statement at the [edit class-of-service schedulers scheduler-name shared-buffer
maximum] hierarchy level. The value that you can specify for multicast percentage CLI
command can be from 0 through 100 percent. If the multicast percentage CLI statement
is not added, then the value defined by the shared-buffer maximum percent percentage
is used for multicast packets as well.
Dedicated buffers or reserved buffers are a memory pool divided equally among the
router ports. Each port receives a minimum guaranteed amount of buffer space, dedicated
to each port, not shared among ports. To configure a dedicated buffer for multicast
packets, include the buffer-partition multicast percentage CLI statement at the [edit
class-of-service schedulers scheduler-name buffer-size] hierarchy level. The value that
you can specify for buffer-partition multicast percentage CLI command can be from 0
through 100 percent. If the buffer-partition multicast percentage CLI statement is not
configured, then a default value of 25% is reserved for multicast packets.
NOTE: The total amount of actual queue buffer is defined using the buffer-size
CLI command.
To configure shared and dedicated buffers, include the multicast percentage and
buffer-partition multicast percentage CLI statements at the [edit class-of-service] hierarchy
level:
[edit class-of-service]
schedulers {
scheduler-name {
buffer-size (percent percentage | remainder | temporal microseconds | buffer-partition
multicast percent percentage );
shared-buffer maximum (percent percentage | multicast percentage);
}
}
The following is a sample configuration for shared and dedicated buffers in ACX5048
and ACX5096 routers:
[edit class-of-service]
schedulers schd1{
buffer-size percent 80;
buffer-partition {
multicast {
percent 30;
Copyright © 2017, Juniper Networks, Inc.876
ACX Series Universal Access Router Configuration Guide