RSS
热门关键字:
当前位置 : 主页>网络方案>入门资料>列表

IGRP协议的基本配置

来源:我要研发网 作者:我要开发网.搜集 时间:2008-06-01 点击:




    本节是对IGRP协议的基本配置的相关操作及讲解。
  
    1.实验目的
  
    通过本实验,读者可以掌握以下技能:
    在路由器上启动IGRP协议;
    声明相应网络进入IGRP路由进程;
    查看路由表,
    查看IGRP协议配置信息;
    监测IGRP协议相关信息。
  
    2. 设备需求
  
    本实验需要以下设备:
    Cisco路由器3台,分别命名为R1、R2和R3,均要求具有1个以太网接口和2个串行接口。
  3条DCE电缆和3条DTE电缆,或3条DCE转DTE电缆;
    1台终端服务器,如Cisco2509路由器,及用于反向Telnet的相应电缆;
    1台带有超级终端程序的PC机,以及Console电缆及转接器。
  
    3. 拓扑结构及配置说明
  
    本实验的拓扑结构如图5-4所示。
    IP地址分配如下:
    R1:E0 172.16.1.1, S0 172.16.12.1,S1 172.16.13.1;
    R2:E0 172.16.2.2. 50 172.16.12.2, 51 172.16.23.2;
    R3:E0 172.16.3.3, 50 172.16.13.3, 51 172.16.23.30
    子网掩码均为 255.255.255.00
字串6

  

    本实验要求通过对IGRP路由选择协议的配置。
    
    4.实验配置及监测结果
  
    实现全网的连通性。
    各设备启动后,首先完成每台路由器各接口的设置。在完成接口设置的基础上,配置IGRP路由协议。熟悉了RIP协议的配置之后,IGRP协议的配置变得比较容易,从基本配置来说,它们很相似。
    配置清单5-4记录了EGRP协议的配置及监测信息。
  
    配置清单5-4 IGRP协议的基本配置
  
    第1段:R1配置清单
    R1#sh runn
    Building configuration...
  
    Current configuration : 732 bytes
    !
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R1
    !
    ip subnet-zero
    !
    interface Ethernet0
     ip address 172.16.1.1255.255.255.0
     no keepalive
    !
字串5

    interface Serial0
     ip address 172.16.12.1255.255.255.0
     clockrate 500000
     bandwidth 500
    !
    interface Serial1
     ip address 172.16.13.1255.255.255.0
     clockrate 500000
     bandwidth 500
    !
    router igrp 100
     network 172.16.0.0
    !
    ip classless
    ip http server
    !
    !
    line con 0
     exec-timeout 0 0
     logging synchronous
    line aux 0
    line vty 0 4
     password cisco
     login
    !
    end
    第2段:R2配置清单
    R2#sh run
    Building configuration...
    Current configuration : 558 bytes
    !
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R2
    !
    ip subnet-zero
    no ip finger
字串8

    !
    interface Ethernet0
     ip address 172.16.2.2 255.255.255.0
     no keepalive
    !
    interface Serial0
     ip address 172.16.12.2 255.255.255.0
     bandwidth 500
    !
    interface Serial1
     ip address 172.16.23.2 255.255.255.0
     clockrate 64000
     bandwidth 64
    !
    router igrp 100
     network 172.16.0.0
    !
    ip classless
    ip http server
    !
    line con 0
     logging synchronous
     transport input none
    line aux 0
    line vty 0 4
    !
    end
    第3段:R3配置清单
    R3#sh run
    Building configuration...
    Current configuration : 623 bytes
    !
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R3

字串6


    !
    no logging console
    ip subnet-zero
    no ip finger
    !
    interface Ethernet0
     ip address 172.16.33 255.255.255.0
     no keepalive
    !
    interface Serial0
     ip address 172.16.13.3 255.255.255.0
     bandwidth 500
    interface Serial 1
     ip address 172.16.23.3 255.255.255.0
     bandwidth 64
    !
    router igrp 100
     network 172.16.0.0
    !
    ip classless
    ip http server
    !
    line con 0
     logging synchronous
     transport input none
    line aux 0
    line vty 0 4
    !
    end
    第4段:show和debug
    R1#sh ip route igrp
   172.16,0,0/24 is subnetted, 6 subnets
    I   172.16.23.0 [100/160250] via 172.16.12.2, 00:00:59, Serial0
              [100/160250] via 172.16.13.3, 00:00:30, Serial1
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册