Chinaunix首页 | 论坛 | 博客
  • 博客访问: 871423
  • 博文数量: 275
  • 博客积分: 3904
  • 博客等级: 中校
  • 技术积分: 4605
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:10
文章分类

全部博文(275)

文章存档

2014年(9)

2013年(124)

2012年(142)

分类:

2012-05-24 08:25:48

router(config-router)#
     eigrp stub [receive-only | connected | static | summary ]
--receive-only : prevents the stub from sending any type of route
--connected    : permits stub send connceted routes(need redistribute)
--static       : permits stub to send static routes (need redistribute)
--summary      : permits stub to send summary routes

default is connects and summary


Router A
|
|
|10.2.2.2/31
|
|
Router B   10.1.3.0/24
|
|
|
| 10.1.2.0/24


routerB
ip route 10.1.4.0 255.255.255.0 10.1.1.10
int s0
ip summary-address eigrp 10.1.2.0 255.255.254.0

rotuer eigrp 100
redistribute static 1000 1 255 1 1500
network 10.2.2.2 0.0.0.1
network 10.1.2.0 0.0.0.255

eigrp stub connected
eigrp stub summary

If connects :
B will advertise 10.1.2.0/24 to A
B will not advertise 10.1.2.0/23(汇总), 10.1.3.0/24(没有network),10.1.4.0/24(static)

If summary:
B will advertise 10.1.2.0/23 to A
B will not adverse 10.1.2.0/24,10.1.3.0/24 or 10.1.4.0/24

If static :
B will only adverse 10.1.4.0/24 to A

If receive-only :
B will not advertise anything to A ,so A needs to have a static route to the networks behind B to reach them.

阅读(1155) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~