手動調(diào)整路由器Buffer分配
本文主要從技術(shù)層面向大家介紹了如何通過手動去調(diào)整路由器Buffer的分配,那么我們在配置時要進行哪些操作呢?此文會對你有所幫助。
路由器維護兩個 Buffer池,public buffers和 interface buffers
調(diào)整public buffers
Router1#configure terminal
Enter configuration commands, one per line.End with CNTL/Z.
Router1(config)#buffers big initial 100
Router1(config)#buffers big max-free 200
Router1(config)#buffers big min-free 50
Router1(config)#buffers big permanent 50
Router1(config)#end
Router1#
調(diào)整interface buffers
Router1#configure terminal
Enter configuration commands, one per line.End with CNTL/Z.
Router1(config)#buffers Ethernet0 initial 200
Router1(config)#buffers Ethernet0 max-free 300
Router1(config)#buffers Ethernet0 min-free 50
Router1(config)#buffers Ethernet0 permanent 50
Router1(config)#end
Router1#
注釋 一般不建議修改,如果修改,建議首先使用show buffers命令來查看當(dāng)前buffer使用情況,調(diào)整完以后建議使用show memory來查看內(nèi)存使用情況
【編輯推薦】