我无法将路线重新分配到 ISIS 中。它适用于从 ISIS 到 BGP,但我无法得到相反的结果。我正在使用 IOS-XR
网络有3个路由器:
A----B----C
A 和 B 有一个 isis 连接 B 和 C 有一个 BGP 连接
路由器 A 有一些通过 ISIS 与路由器 B 共享的 10.0.0.0 子网。然后路由器 B 使用 redistribute isis 命令将这些通过 BGP 传递到路由器 C。
路由器 C 有一个 192.168.56.0 子网,该子网通过 BGP 与路由器 B 共享。路由器 B 想通过 ISIS 与路由器 A 共享此信息,但是当我使用 redistribute 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
!
!
在路由器 C 上运行show route bgp列出了来自 A 和 B 上 ISIS 的所有路由。
在路由器 B 上运行show route isis显示了我期望的所有 ISIS 提供的路由,并且运行show route bgp显示了我期望来自 C 的 192.168.56.0 路由
在路由器 A 上 192.168.56.0路线不存在。