Tuning Router Buffers
Problem
You want to change your default buffer allocations to improve router efficiency.
Solution
The router maintains two different sets of buffers: public buffers and interface buffers. The router uses these as temporary storage while processing packet data. You can tune the public buffer pools as follows:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#buffers big initialRouter1(config)#100buffers big max-freeRouter1(config)#200buffers big min-freeRouter1(config)#50buffers big permanentRouter1(config)#50endRouter1#
And you can adjust the interface buffer pools by using a similar set of commands:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#buffersEthernet0initialRouter1(config)#200buffersEthernet0max-freeRouter1(config)#300buffersEthernet0min-freeRouter1(config)#50buffersEthernet0permanentRouter1(config)#50endRouter1#
Discussion
Before we start this discussion, we need to offer three notes of caution on tuning buffers. First, adjusting your router’s buffers is usually not necessary. Second, a poor set of buffer parameters can cause serious performance problems on your router and for traffic passing through the router. Third, if you do find that you need to adjust these parameters, the necessary adjustments will be unique to your network, and perhaps even to each router, so we unfortunately can only offer general guidance, but ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access