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

[求助] VRF下OSPF的相互重发布问题

[复制链接]
发表于 2016-10-17 23:39:04 | 显示全部楼层 |阅读模式
QQ图片20161017233333.png
拓扑图如上,R3和R4运行OSPF协议,R1上的F0/0和F1/0接口分别运行VRF R3和R4,配置如下
R1:
ip vrf R3
rd 1:3
route-target export 1:3
route-target import 1:3
!
ip vrf R4
rd 1:4
route-target export 1:4
route-target import 1:4
!
!
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip vrf forwarding R3
ip address 10.1.13.1 255.255.255.0
duplex full
!
interface FastEthernet1/0
ip vrf forwarding R4
ip address 10.1.14.1 255.255.255.0
duplex full
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 4 vrf R4
log-adjacency-changes
network 10.1.14.0 0.0.0.255 area 0
!
router ospf 3 vrf R3
log-adjacency-changes
network 10.1.13.0 0.0.0.255 area 0
!


R3:
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 10.1.13.2 255.255.255.0
duplex full
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 10.1.13.0 0.0.0.255 area 0
!
!




R4:
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface FastEthernet1/0
ip address 10.1.14.2 255.255.255.0
duplex full
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 4.4.4.4 0.0.0.0 area 0
network 10.1.14.0 0.0.0.255 area 0
!
!

现在我在R1上,运行以下命令
R1(config)#router ospf 3 vrf R3
R1(config-router)#redis ospf 4 vrf R4 match in ex
%OSPF process 4 is attached to VRF R4

把VRF R4的路由重发布进R3,然后R3的路由也重发布进R4,为什么这里提示OSPF process 4 is attached to VRF R4?请知道的告诉下,谢谢了
发表于 2016-11-20 11:31:56 | 显示全部楼层
为了重发布进VRF R3中的其他OSPF进程,OSPF路由进程必须在VRF R3内。
VRF R4中的路由表保留在VRF R4中。
沙发 2016-11-20 11:31:56 回复 收起回复
回复 支持 反对

举报

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

本版积分规则

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

GMT+8, 2025-6-20 11:03 , Processed in 0.087196 second(s), 25 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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