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

[求助] 关于RIP协议当中的Passive interface的理解?

[复制链接]
发表于 2016-4-14 11:20:26 | 显示全部楼层 |阅读模式
15鸿鹄币
现在我们拓扑当中的R6和R7所有接口都宣告进RIPV2当中,且关闭自动汇总。在R6和R7的S2/0接口上都启用触发更新ip rip triggered,且将R6的S2/0置为Passive-interface。
按照我之前的理论,如果rip协议当中,将宣告进RIP进程的接口置为被动接口,这个接口不会发送任何RIP更新,但是它会接收其他路由器发送的RIP更新,但是我现在在R6上并没有看到R7上的环回口路由,请问这是怎么回事?
我记得之前在听CCNA课程的时候,有老师提过,说如果在RIP上开启了触发更新,也就意味着要建立类似于EIGRP和OSPF的邻居关系,是不是现在给R6的S2/0接口配置了被动接口,关于RIP R6什么都发不出去了,也就建立不了邻居,所以R7的环回口路由就过不来了?
--------------------------------------------------------------------------------------------
补充说明:我又稍微等了一会,发现R7的环回口路由过来了,就是要慢很多,这是怎么回事?另外我上述描述是否正确?
求救!!!!!!!!!!!

捕获.PNG
发表于 2016-4-14 12:09:15 | 显示全部楼层
问问题时,请把设定也发上来。要不然,怎么帮你呀!
沙发 2016-4-14 12:09:15 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-4-16 16:07:05 | 显示全部楼层
sboku 发表于 2016-4-14 12:09
问问题时,请把设定也发上来。要不然,怎么帮你呀!

这是R6的所有配置:
R6#show runn
*Apr 16 16:05:57.767: %SYS-5-CONFIG_I: Configured from console by console
R6#show runn
Building configuration...

Current configuration : 1410 bytes
!
! Last configuration change at 16:05:57 UTC Sat Apr 16 2016
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
!
!
!
!
!
!         
no ip domain lookup
ip cef
ipv6 multicast rpf use-bgp
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!         
!
!
!
!
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial2/0
ip address 192.168.1.1 255.255.255.0
ip rip triggered
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
router rip
version 2
network 172.16.0.0
network 192.168.1.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R6#  

这是R7的所有配置:
R7#show runn
Building configuration...

Current configuration : 1412 bytes
!
! Last configuration change at 16:05:33 UTC Sat Apr 16 2016
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R7
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
!
!
!
!
!
!         
no ip domain lookup
ip cef
ipv6 multicast rpf use-bgp
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!         
!
!
!
!
!
interface Loopback1
ip address 172.162.2.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial2/0
ip address 192.168.1.2 255.255.255.0
ip rip triggered
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
router rip
version 2
network 172.162.0.0
network 192.168.1.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end

R7#

板凳 2016-4-16 16:07:05 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-4-16 16:08:00 | 显示全部楼层
R6的配置:
R6#show runn
Building configuration...

Current configuration : 1410 bytes
!
! Last configuration change at 16:05:57 UTC Sat Apr 16 2016
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
!
hostname R6
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
no ip icmp rate-limit unreachable
!
!
!
!
!
!         
no ip domain lookup
ip cef
ipv6 multicast rpf use-bgp
no ipv6 cef
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!         
!
!
!
!
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
speed auto
duplex auto
!
interface FastEthernet1/1
no ip address
shutdown
speed auto
duplex auto
!
interface Serial2/0
ip address 192.168.1.1 255.255.255.0
ip rip triggered
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
router rip
version 2
network 172.16.0.0
network 192.168.1.0
no auto-summary
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end
地板 2016-4-16 16:08:00 回复 收起回复
回复

使用道具 举报

发表于 2018-1-7 11:07:04 | 显示全部楼层
我理解的是,开了触发更新以后,如果拓扑发生改变,路由器就会发送一条通告,告知失效的路由条目不能用了。条目进入抑制。而沉默端口则是只监听,不发送。r6起了沉默端口,但是能监听到r7发送的条目啊,就是得等到更新计时器超时。你的情况应该是查看的时候更新计时器未超时,r7没有发送更新报文。
5# 2018-1-7 11:07:04 回复 收起回复
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-14 16:28 , Processed in 0.075832 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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