虾仁炒米饭怎么做:手动调整路由器的Buffer分配

来源:百度文库 编辑:九乡新闻网 时间:2024/05/07 11:30:53
本文主要从技术层面向大家介绍了如何通过手动去调整路由器Buffer的分配,那么我们在配置时要进行哪些操作呢?此文会对你有所帮助。

  路由器维护两个 Buffer池,public buffers和 interface buffers

  调整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#

  调整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命令来查看当前buffer使用情况,调整完以后建议使用show memory来查看内存使用情况