您的位置:首页 > 其它

9、EIGRP配置实验之被动接口

2015-11-26 10:32 405 查看
1、实验拓扑




2、被动接口的应用
被动接口(passive interface)一般应用于优化,比如在我们的拓扑中R2上有一个环回口lo0:2.2.2.2,向lo0口发送EIGRP报文是没必要的,当我们在EIGRP路由进程下启用lo0的被动接口后,R2将不再向lo0发送任何EIGRP报文,但是lo0的路由还是会被R2发送出去。

3、基本配置
R2
interface Loopback0
ip address 2.2.2.2 255.255.255.0
interface Serial0/1
ip address 23.1.1.2 255.255.255.0
router eigrp 90
network 23.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
no auto-summary

R3
interface Serial0/1
ip address 23.1.1.3 255.255.255.0
router eigrp 90
network 23.1.1.0 0.0.0.255
no auto-summary

4、被动接口配置
先用debug调试看正常情况下,EIGRP报文的发送情况



在R2上启用passive interface
router eigrp 90
passive-interface Loopback0



从图中可以看出,此时只有s0/1在收发EIGRP报文,loopback0不再收发任何EIGRP报文,但R3上还是可以收到LoopBack0的路由。



本文出自 “开源殿堂” 博客,请务必保留此出处http://kaiyuandiantang.blog.51cto.com/10699754/1716991
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: