学习网考试学习资料

Gzu521.com

思科CCNA认证培训辅导:路由器的管理(1)

思科认证   点击:次   发布时间:2007-3-14   【字体: 】   来源:Gzu521.com
Gzu521.com我的学习网
路由器管理 

  2.1. 创建命令别名 

  提问 为常用的命令创建简洁的别名 

  回答 

  router1#configure terminal 

  enter configuration commands, one per line. end with cntl/z. 

  router1(config)#alias exec rt show ip route 

  router1(config)#alias exec on show ip ospf neighbor 

  router1(config)#end 

  router1# 

  注释 show aliases命令可以输出当前配置的别名 

  2.2. 管理路由器arp缓存 

  提问 修改arp表条目超时时长 

  回答 

  router1#configure terminal 

  enter configuration commands, one per line. end with cntl/z. 

  router1(config)#interface ethernet0 

  router1(config-if)#arp timeout 600 

  router1(config-if)#end 

  router1# 

  注释 缺省情况为4个小时,同时思科没有提供命令能单独的清除某个arp缓存,只能通过clear arp 命令来清除整个arp表 

  2.3. 路由器buffer调整 

  提问 手动调整路由器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来查看内存使用情况 

  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协议 

  提问 为了安全期间不想让邻近设备发现自己设备的信息 

  回答 

  router1#configure terminal 

  enter configuration commands, one per line. end with cntl/z. 

  router1(config)#cdp run 

  router1(config)#interface fastethernet0/0 

  router1(config-if)#no cdp enable 

  router1(config-if)#end 

  router1# 

  注释 为了安全期间可以在边界设备上禁止cdp 

下 一 页
3页: 第 [1] [2] [3]

责任编辑:gzu521

IT认证分类
计算机软件水平考试
全国计算机等级考试
思科认证
微软认证
ORACLE/CIW认证
Linux认证
JAVA认证
其它认证
分类推荐信息
更多...
大类最新文章
更多...