单播邻接路由 Nexus (AM) Cisco Nexus

网络工程 路由 ip 交换 第 2 层 第 3 层
2022-02-27 05:37:35

我有一个奇怪的情况。我的 Nexus 7700 上有静态路由,可将特定子网 /24 的任何内容路由到 F5 LTM 负载均衡器、外部 VRRP 接口 10.x.153.15。

正如您在下面看到的,旧主机 10.x.135.70 工作正常,它使用 AM 邻接路由,使用成本为 250 的 nexus FIB 表。

不工作的新服务器 10.x.135.71 使用标准静态路由成本 1,我猜是使用 nexus RIB 表。

目前我们可以路由到使用 AM 路由的 0.70,但不能路由到使用静态路由的 .71。没有添加新的路线。我正在使用 /24 路由​​到交换机上的 F5 LB 10.x.135.15。

我已经对负载均衡器进行了调试,我可以看到 F5 接口 10.x.153.15(外部接口)非常正确地向 10.x.135.13(Nexus Switch Vlan 接口)询问 ARP。它没有收到回复,因为 Nexus 交换机没有解析 10.x.135.71 的 ARP。我可以从交换机很好地 ping 主机。服务器 .71 已正确配置 DG 和子网

F5

3661  23.056618 0.000228 137 F5Networ_15:76:07 → Broadcast       ARP OUT s1/tmm0 : Who has 10.x.135.71? Tell 10.x.135.13

如何使新服务器 10.x.135.71 成为 AM 路由表的一部分,FIB 不应该自动查找新服务器 ARP 并将其分配给它的表?我什至联系了 F5,他们遇到了问题,并说这是 Cisco Switch 问题!

Switch A# sh ip route 10.x.135.70  
IP Route Table for VRF "default"  
'*' denotes best ucast next-hop  
'**' denotes best mcast next-hop  
'[x/y]' denotes [preference/metric]  
'%<string>' in via output denotes VRF <string>  
10.x.135.70/32, ubest/mbest: 1/0, attached  
via 10.x.135.70, Vlan137, [250/0], 5d11h, am  
Switch A #

Switch A# sh ip route 10.x.135.71  
IP Route Table for VRF "default"  
'*' denotes best ucast next-hop  
'**' denotes best mcast next-hop  
'[x/y]' denotes [preference/metric]  
'%<string>' in via output denotes VRF <string>  
10.x.135.0/25, ubest/mbest: 1/0  
via 10.x.153.15, [1/0], 51w3d, static  
Switch A#



Switch A# sh ip arp 10.x.135.70  
Flags: * - Adjacencies learnt on non-active FHRP router  
+ - Adjacencies synced via CFSoE  
- Adjacencies Throttled for Glean  
D - Static Adjacencies attached to down interface  
IP ARP Table  
Total number of entries: 1  
Address Age MAC Address Interface  
****10.x.135.70 00:06:51 x.x.817c Vlanx**  
Switch A# sh ip arp 10.x.135.71  
Flags: * - Adjacencies learnt on non-active FHRP router  
+ - Adjacencies synced via CFSoE  
- Adjacencies Throttled for Glean  
D - Static Adjacencies attached to down interface  
IP ARP Table  
Total number of entries: 0  
Address Age MAC Address Interface  
Switch A#  
1个回答

我已经解决了这个问题!

Nexus 7700 的 FIB 表中似乎存在不一致

如果您运行此命令,这将显示任何不一致之处,其中包括我的主机 IP

test forwarding ipv4 inconsistency

然后运行

clear forwarding ipv4 route 10.x.135.71

此命令将再次将路由填充到 FIB 表中。在路由以正确的成本正确显示后,我能够通过 SSH 连接到主机并 ping