Cisco IOS Cookbook 中文精简版第二章路由器管理…

2008-02-23 04:55:08来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

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来查看内存使用情况

2.4. 自动调整路由器Buffer

提问 希望路由器根据自己的情况自动进行buffer分配调整

回答

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#buffers tune automatic

Router(config)#end

Router#

注释 此命令引自IOS 12.3(14)T,使用show buffers tune命令来查看自动调整情况

2.5. 使用CDP协议

提问 希望获得相连网络设备的信息

回答

Router1#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router1(config)#cdp run

Router1(config)#interface Serial0/0

Router1(config-if)#cdp enable

Router1(config-if)#exit

Router1(config)#interface FastEthernet0/0

Router1(config-if)#no cdp enable

Router1(config-if)#exit

Router1(config)#interface FastEthernet1/0

Router1(config-if)#cdp enable

Router1(config-if)#end

Router1#

注释 CDP(Cisco Discovery Protocol)是思科专有的协议,用于发现相连的思科设备,帮助了解网络拓朴,缺省是启用的,使用show cdp neighbor detail 命令可以查看相连设备的详细信息

2.6. 禁止CDP协议

提问

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:Cisco IOS Cookbook 中文精简版第三章用户访问和权限管理

下一篇:Cisco IOS Cookbook 中文精简版第一章路由器配置和文件管理