云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > CCNA中文笔记第5章IP路由

CCNA中文笔记第5章IP路由

  • 62 次阅读
  • 3 次下载
  • 2025/6/19 14:42:16

配置RouterA,注意AS号的范围为1到65535,如下:

RouterA(config)#router igrp ?

<1-65535> Autonomous system number RouterA(config)#router igrp 10

RouterA(config-router)#netw 192.168.10.0 RouterA(config-router)#netw 192.168.20.0 RouterA(config-router)#^Z RouterA#

记住IGRP也是classful routing,而且配置网络号是与它直接相连的网络 配置RouterB,如下:

RouterB(config)#router igrp 10

RouterB(config-router)#netw 192.168.20.0 RouterB(config-router)#netw 192.168.30.0 RouterB(config-router)#netw 192.168.40.0 RouterB(config-router)#^Z RouterB#

配置RouterC,如下:

RouterC(config)#router igrp 10

RouterC(config-router)#netw 192.168.40.0 RouterC(config-router)#netw 192.168.50.0 RouterC(config-router)#^Z RouterC#

注意RouterA,RouterB和RouterC使用相同的AS号 Verifying the IGRP Routing Tables

我们来验证下: RouterA#sh ip route (略)

I 192.168.50.0 [100/170420] via 192.168.20.2, Serial0/0 (略)

I代表IGRP[100/170420]为AD和复合度,度越低越好

Verifying Your Configurations

一些验证性的命令:

show protocols:显示所有的可路由协议和查看接口及其相关协议,如下: RouterB#sh protocols Gloabal values:

Internet Protocol routing is enabled FastEthernet0 is up, line protocol is up Internet Address is 192.168.30.1/24 Serial0/0 is up, line protocol is up Internet Address is 192.168.20.2/24 Serial0/1 is up, line protocol is up Internet Address is 192.168.40.1/24 RouterB#

show ip protocols:显示router上配置好了的路由协议,如下: RouterB#sh ip protocols Routing Protocols is “rip” (略)

debug ip rip:发送控制台消息显示有关在router接口上收发RIP数据包的信息,关闭debug,使用undebug all或者no debug all命令,如下: RouterB#debug ip rip

RIP protocol debugging is on RouterB#

07:12:56: RIP: received v1 update from 192.168.40.2 on Serial0/1 07:12:56: 192.168.50.0 in 1 hops (略)

RouterB#undebug all

All possible debugging has been turned off RouterB#

debug ip igrp events:提供在网络中运行的IGRP路由选择信息的概要,关闭使用undebug ip igrp events或undebug all命令,如下:

RouterB#debug ip igrp events IGRP event debugging is on

07:13:50: IGRP: received request from 192.168.40.2 on Serial0/1

07:13:50: IGRP: sending update to 192.168.40.2 via Serial1(192.168.40.1) 07:13:51: IGRP: Update contains 3 interior, 0 system, and 0 exterior routes 07:13:51: IGRP: Total route in update: 3 (略)

RouterB#un all

All possible debugging has been turned off

debug ip igrp transactions:显示来自相邻router要求更新的请求消息和由router发到相邻router的广播消息,关闭使用undebug all,如下:

RouterB#debug ip igrp transactions

07:14:05: IGRP: received request from 192.168.40.2 on Serial1

07:14:05: IGRP: sending update to 192.168.40.2 via Serial1(192.168.40.1) 07:14:05: subnet 192.168.30.0, metric=1100 07:14:05: subnet 192.168.20.0, metric=158250 (略)

RouterB#un all

All possible debugging has been turned off RouterB#。(Written by 红头发,ChinaITLab BBS)

搜索更多关于: CCNA中文笔记第5章IP路由 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

配置RouterA,注意AS号的范围为1到65535,如下: RouterA(config)#router igrp ? Autonomous system number RouterA(config)#router igrp 10 RouterA(config-router)#netw 192.168.10.0 RouterA(config-router)#netw 192.168.20.0 RouterA(config-router)#^Z RouterA# 记住IGRP也是classful routing,而且配置网络号是与它直接相连的网络 配置RouterB,如下: <

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com