文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 专题 求职 读书
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 原创网络技术视频 » 视频讨论专区 » (EIGRP实验)EIGRP完美关闭       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: [转载] (EIGRP实验)EIGRP完美关闭  ( 查看:457  回复:0 )   
 
router-out
技术员  点击可查看详细



帖子 74
精华 0
无忧币 349
积分 250
阅读权限 30
注册日期 2007-8-1
最后登录 2007-12-28 离线

[查看资料]  [发短消息]  [Blog
  QQ       
发表于:2007-8-11 11:37   标题:(EIGRP实验)EIGRP完美关闭
上一帖 |
目录
提要
正文
TOPO如下
基本配置如下
验证
附注




提要:
讨论EIGRP中的EIGRP Graceful Shutdown这个特性




•        You want to bring B down for maintenance; the traffic will switch to C because EIGRP will reroute around B when B is taken down
•        The packets on the wire will be lost when B is taken off line, though—and this could be a lot of packets, if these are high speed links
•        It’s better to get A and D to route around C while B can still forward traffic, so it happens gracefully
•        To shut down routing in B, remove the EIGRP router process
•        EIGRP will send a goodbye message, notifying its peers that it is going down, before it cleans up the entries in the routing table
•        B can send a goodbye message telling A and D to reset their neighbor relationships
•        12.3(2.3)B 12.3(1.4)T 12.3(1.4) or later
•        Old code: reset neighbor due to K value mismatch
•        New code: reset neighbor due to goodbye message
TOPO如下:



基本配置如下:
l        R1
l        R2
l        R3
l        R4


R1

interface Ethernet0/0.12
encapsulation dot1Q 12
ip address 12.1.1.1 255.255.255.0
!
interface Serial2/0
ip address 13.1.1.1 255.255.255.0
!
router eigrp 1
network 12.1.1.0 0.0.0.255
network 13.1.1.0 0.0.0.255
no auto-summary


R2

interface Ethernet0/0.12
encapsulation dot1Q 12
ip address 12.1.1.2 255.255.255.0
!
interface Ethernet0/0.24
encapsulation dot1Q 24
ip address 24.1.1.2 255.255.255.0
!

router eigrp 1
network 12.1.1.0 0.0.0.255
network 24.1.1.0 0.0.0.255
no auto-summary


R3

interface Ethernet0/0.34
encapsulation dot1Q 34
ip address 34.1.1.3 255.255.255.0
no snmp trap link-status
!
interface Serial1/0
ip address 13.1.1.3 255.255.255.0
serial restart-delay 0
!
router eigrp 1
network 13.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255
no auto-summary



R4

interface Loopback0
ip address 4.4.4.4 255.255.255.0
!
interface Ethernet0/0.24
encapsulation dot1Q 24
ip address 24.1.1.4 255.255.255.0
!
interface Ethernet0/0.34
encapsulation dot1Q 34
ip address 34.1.1.4 255.255.255.0
!
!
router eigrp 1
network 4.4.4.0 0.0.0.255
network 24.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255
no auto-summary


验证:
测试⑴:
打开r1的debug ip eigrp,在r2上关闭eigrp进程
r1#debug ip eigrp
IP-EIGRP Route Events debugging is on
r1#
*Mar 26 14:58:57.375: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 12.1.1.2 (Ethernet0/0.12) is down: Interface Goodbye received  收到goodbye消息
r1#
*Mar 26 14:58:57.419: IP-EIGRP(Default-IP-Routing-Table:1): 24.1.1.0/24 - do advertise out Serial2/0
*Mar 26 14:58:57.419: IP-EIGRP(Default-IP-Routing-Table:1): Int 24.1.1.0/24 metric 4294967295 - 256000 4294967295
*Mar 26 14:58:57.475: IP-EIGRP(Default-IP-Routing-Table:1): Int 4.4.4.0/24 metric 2323456 - 1657856 665600
*Mar 26 14:58:57.475: IP-EIGRP(Default-IP-Routing-Table:1): Int 34.1.1.0/24 metric 2195456 - 1657856 537600
*Mar 26 14:58:57.475: IP-EIGRP(Default-IP-Routing-Table:1): Processing incoming UPDATE packet
*Mar 26 14:58:57.475: IP-EIGRP(Default-IP-Routing-Table:1): Int 12.1.1.0/24 M 4294967295 - 1657856 4294967295 SM 4294967295 - 1657856 4294967295
r1#
*Mar 26 14:58:57.547: IP-EIGRP(Default-IP-Routing-Table:1): Processing incoming REPLY packet
*Mar 26 14:58:57.547: IP-EIGRP(Default-IP-Routing-Table:1): Int 24.1.1.0/24 M 2221056 - 1657856 563200 SM 307200 - 256000 51200
*Mar 26 14:58:57.583: IP-EIGRP(Default-IP-Routing-Table:1): Int 24.1.1.0/24 metric 2221056 - 1657856 563200

测试⑵:在r1上ping 4.4.4.4 2000个包,在r2上关闭eigrp进程,,看是否丢包
r2(config)#no router eigrp 1
r1#ping
Protocol [ip]:
Target IP address: 4.4.4.4
Repeat count [5]: 2000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 2000, 100-byte ICMP Echos to 4.4.4.4, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!
*Mar 26 14:52:50.863: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 12.1.1.2 (Ethernet0/0.12) is down: Interface Goodbye received!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

发现没有丢包,并且收到goodbye 消息 ,由此我们发现真的是完美shutdown哦



网络虽虚拟,技术无边界,来看看大家“真面目”!
2007-8-11 11:371楼
[ 顶部 ]
     
论坛跳转:  

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号