我很难把路线重新分配到ISIS的工作中去。从ISIS到BGP,这是可行的,但我不能让相反的人出现。我使用的是IOS-XR
网络有3个路由器:
A
A和B有isis连接B和C有BGP连接
路由器A有大约10.0.0.0个子网,通过ISIS与Rotuer B共享。然后,路由器B使用重新分发isis命令,使用BGP将这些信息传递给路由器C。
路由器C有一个192.168.56.0子网,通过BGP与路由器B共享。路由器B希望通过ISIS与路由器A共享这一点,但是当我使用重分发bpg命令时,路由不会被添加到isis路由中,也不会在路由器A上显示。
我不知道我在这里做了什么错事。
路由器A的配置(运行IOS):
! trimmed, several interfaces with `ip router isis`
router isis
net 49.0000.0000.0000.0000.00路由器B的配置(运行IOS XR):
router isis 1
net 49.0000.1111.0000.0000.00
distribute bgp-ls
address-family ipv4 unicast
redistribute bgp 65000 level-1
!
interface GigabitEthernet0/0/0/0
address-family ipv4 unicast
!
!
interface GigabitEthernet0/0/0/1
address-family ipv4 unicast
!
!
!
router bgp 65000
bgp router-id 10.255.0.101
address-family ipv4 unicast
redistribute isis 1
!
neighbor 10.100.0.1
remote-as 65000
address-family ipv4 unicast路由器C的配置(运行IOS XR):
router bgp 65000
bgp router-id 192.168.56.200
address-family ipv4 unicast
network 192.168.56.0/24
!
neighbor 10.100.0.2
remote-as 65000
address-family ipv4 unicast
!
!在运行show route bgp的路由器C上,列出了A和B上从ISIS出发的所有路线。
运行show route isis的路由器B显示了我期望的所有ISIS提供的路由,运行show route bgp则显示了我希望从C中获得的192.168.56.0路由
在路由器A上不存在192.168.56.0路线。
发布于 2020-05-08 06:25:20
默认情况下,禁用将IBGP重新分配到IGP。要将IBGP路由重新分发到IGP中,需要命令bgp重新分发内部。在B上配置这一点将向ISIS注入BGP路线。
router bgp 65000
bgp redistribute-internalhttps://networkengineering.stackexchange.com/questions/67766
复制相似问题