设为首页收藏本站language 语言切换
查看: 1703|回复: 4
收起左侧

EIGRP基本设置

[复制链接]
发表于 2010-8-24 11:04:34 | 显示全部楼层 |阅读模式
eigrp基本设置与igrp完成一致。启动eigrp路由协议,在全局设置模式下,
  
  router eigrp 自治域号
  
  同一自治域内的路由器才能交换路由信息本路由器参加动态路由的子网
  
  network 子网号
  
  eigrp只是将由network指定的子网在各端口中进行传递以交换路由信息,如果不指定子网,则路由器不会将该子网广播给其它路由器。
  
  指定某路由器所知的eigrp路由信息广播给那些与其邻接的路由器neighbor 邻接路由器的相邻端口地址。
  
   1.png
  
  实例
  
  2511-1的设置
  
  Current configuration :
  
  !
  
  version 11.3
  
  no service password-encryption
  
  !
  
  hostname 2511-1
  
  !
  
  enable password cisco
  
  !
  
  !
  
  interface Ethernet0
  
  ip address 192.4.1.1 255.255.255.0
  
  !
  
  interface Serial0
  
  ip address 192.3.1.1 255.255.255.0
  
  encapsulation frame-relay IETF
  
  no ip mroute-cache
  
  bandwidth 2000
  
  frame-relay map ip 192.3.1.2 100 broadcast
  
  frame-relay lmi-type cisco
  
  !
  
  interface Serial1
  
  ip address 192.1.1.1 255.255.255.0
  
  encapsulation ppp
  
  bandwidth 64
  
  !
  
  router eigrp 10
  
  passive-interface Ethernet0
  
  network 192.1.1.0 255.255.255.0
  
  network 192.3.1.0 255.255.255.0
  
  network 192.4.1.0 255.255.255.0
  
  neighbor 192.1.1.2
  
  neighbor 192.3.1.2
  
  !
  
  ip classless
  
  !
  
  line con 0
  
  line 1 8
  
  line aux 0
  
  line vty 0 4
  
  login
  
  !
  
  end
  
   
  
  2505的设置
  
  Current configuration :
  
  version 11.2
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname 2505
  
  !
  
  enable secret 5 $1$GbyT$OR05giiLx14hEAO0F8kV1
  
  !
  
  hub ether 0 1
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 2
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 3
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 4
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 5
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 6
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 7
  
  link-test
  
  auto-polarity
  
  !
  
  hub ether 0 8
  
  link-test
  
  auto-polarity
  
  !
  
  interface Ethernet0
  
  ip address 192.1.4.1 255.255.255.0
  
  !
  
  interface Serial0
  
  ip address 192.1.2.1 255.255.255.0
  
  bandwidth 2000
  
  clockrate 2000000
  
  !
  
  interface Serial1
  
  ip address 192.1.1.2 255.255.255.0
  
  enpsuration ppp
  
  bandwidth 64
  
  clockrate 64000
  
  !
  
  router eigrp 10
  
  passive-interface Ethernet0
  
  network 192.1.1.0 255.255.255.0
  
  network 192.1.2.0 255.255.255.0
  
  network 192.1.4.0 255.255.255.0
  
  neighbor 192.1.1.1
  
  neighbor 192.1.2.2
  
  !
  
  no ip classless
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  login
  
  !
  
  end
  
  internal -2的设置
  
  Current configuration :
  
  !
  
  version 11.2
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname internal-2
  
  !
  
  enable secret 5 $1$KX00$rT1/2TvDokWxT4xC6wvmi/
  
  !
  
  interface Ethernet0
  
  no ip address
  
  shutdown
  
  !
  
  interface Serial0
  
  ip address 192.1.2.2 255.255.255.0
  
  !
  
  interface Serial1
  
  no ip address
  
  shutdown
  
  !
  
  router eigrp 10
  
  network 192.1.2.0 255.255.255.0
  
  neighbor 192.1.2.1
  
  !
  
  no ip classless
  
  !
  
  line con 0
  
  line 1 16
  
  line aux 0
  
  line vty 0 4
  
  login
  
  !
  
  end
  
   
  
   
  
  2514的设置
  
  Current configuration :
  
  !
  
  version 11.2
  
  no service udp-small-servers
  
  no service tcp-small-servers
  
  !
  
  hostname 2514
  
  !
  
  enable secret 5 $1$uoHU$Vks/lY CRi33z4TXs4qekI0
  
  !
  
  frame-relay switching
  
  !
  
  interface Ethernet0
  
  ip address 192.5.1.1 255.255.255.0
  
  !
  
  interface Ethernet1
  
  no ip address
  
  shutdown
  
  !
  
  interface Serial0
  
  ip address 192.3.1.2 255.255.255.0
  
  encapsulation frame-relay IETF
  
  bandwidth 2000
  
  clockrate 2000000
  
  frame-relay map ip 192.3.1.1 100 broadcast
  
  frame-relay intf-type dce
  
  !
  
  interface Serial1
  
  ip address 192.2.1.1 255.255.255.0
  
  no ip mroute-cache
  
  encapsulation X25 dce
  
  bandwidth 64
  
  x25 address 1234
  
  x25 htc 16
  
  x25 nvc 4
  
  x25 map ip 192.2.1.2 5678 broadcast
  
  clockrate 64000
  
  !
  
  router eigrp 10
  
  passive-interface Ethernet0
  
  network 192.3.1.0 255.255.255.0
  
  network 192.2.1.0 255.255.255.0
  
  network 192.5.1.0 255.255.255.0
  
  neighbor 192.2.1.2
  
  neighbor 192.3.1.1
  
  !
  
  no ip classless
  
  !
  
  line con 0
  
  line aux 0
  
  line vty 0 4
  
  login
  
  !
  
  end
  
   
  
   
  
  2511-2的设置
  
  Building configuration ...
  
  Current configuration:
  
  !
  
  version 11.3
  
  no service password-encryption
  
  !
  
  hostname 2511-2
  
  !
  
  enable secret 5 $1$7o5F$MSyFWzVf6JBgnjLJghHSB.
  
  !
  
  !
  
  interface Ethernet0
  
  ip address 192.2.4.1 255.255.255.0
  
  !
  
  interface Serial0
  
  ip address 192.2.1.2 255.255.255.0
  
  encapsulation x25
  
  no ip mroute-cache
  
  x25 address 5678
  
  x25 htc 16
  
  x25 nvc 4
  
  x25 map ip 192.2.1.1 1234 broadcast
  
  !
  
  interface Serial1
  
  ip address 192.2.2.1 255.255.255.0
  
  no ip mroute-cache
  
  bandwidth 2000
  
  clockrate 2000000
  
  !
  
  router igrp 10
  
  passive-interface Ethernet0
  
  network 192.2.2.0 255.255.255.0
  
  network 192.2.4.0 255.255.255.0
发表于 2013-1-24 21:16:33 | 显示全部楼层
看不明白
沙发 2013-1-24 21:16:33 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-25 17:45:47 | 显示全部楼层
好贴,绝对要支持下!!~~
板凳 2013-1-25 17:45:47 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-29 00:19:02 | 显示全部楼层
看帖子的要发表下看法
地板 2013-1-29 00:19:02 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-2-26 21:45:10 | 显示全部楼层
5# 2013-2-26 21:45:10 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 17:54 , Processed in 0.065728 second(s), 13 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表