IS-IS同时下发缺省路由出现路由环路问题的解决方法
IS-IS中间系统到中间系统的路由选择协议是由 ISO 提出的一种路由选择协议。它是一种链路状态协议。在该协议中,IS路由器负责交换基于链路开销的路由信息并决定网络拓扑结构。IS-IS 类似于 TCP/IP 网络的开放最短路径优先OSPF协议。
网络环境
NE80E_A、NE80E_B与NE40三台设备都运行在IS-IS Level-2区域中。为了引导NE40的上行流量负载分担,NE80E_A与NE80E_B同时对NE40下发了IS-IS缺省路由,出现路由环路。
故障分析
步骤 1 在NE80E_A 、NE80E_B和NE40设备上分别执行命令display current-configuration查看接口上IS-IS的配置情况,发现NE80E_A 、 NE80E_B和NE40设备的IS-IS配置正确,如下所示。
NE80E_Adisplaycurrent-configuration
sysnameRouterA
apsfast-interval0
isis1
is-levellevel-2
network-entity10..
default-route-advertisealways
interfaceSerial1/0/0
link-protocolppp
ipaddress1.1.1.1255.255.255.0
isisenable1
interfaceSerial1/0/1
link-protocolppp
ipaddress3.3.3.1255.255.255.0
isisenable1
interfaceSerial1/0/2
link-protocolppp
ipaddress10.10.10.1255.255.255.0
isisenable1
NE80E_Bdisplaycurrent-configuration
sysnameRouterB
apsfast-interval0
isis1
is-levellevel-2
network-entity10..
default-route-advertisealways
interfaceSerial1/0/0
link-protocolppp
ipaddress2.2.2.1255.255.255.0
isisenable1
interfaceSerial1/0/1
link-protocolppp
ipaddress4.4.4.1255.255.255.0
isisenable1
interfaceSerial1/0/2
link-protocolppp
ipaddress10.10.10.2255.255.255.0
isisenable1
NE40displaycurrent-configuration
sysnameRouterC
apsfast-interval0
isis1
is-levellevel-2
network-entity10..
interfaceSerial1/0/0
link-protocolppp
ipaddress3.3.3.2255.255.255.0
isisenable1
interfaceSerial1/0/1
link-protocolppp
ipaddress4.4.4.2255.255.255.0
isisenable1
步骤 2 在NE40设备上执行命令display isis peer,查看邻居状况,发现NE40已 分别与NE80E_A 和NE80E_B建立邻居关系。
NE40displayisispeer
PeerinformationforISIS1
SystemIdInterfaceCircuitIdStateHoldTimeTypePRI
-------------------------------------------------------------------------------
.0001S1/0/002Up23sL2--
.0002S1/0/102Up29sL2--
步骤 3 在NE40设备上执行命令display isis route,发现存在NE80E_A 和 NE80E_B的缺省路由。在NE80E_A 和NE80E_B设备上分别执行命令 display isis route发现NE80E_A 和NE80E_B能互相学习到对方的 缺 省路由,因此而形成了路由环路,如下所示。
NE40displayisisroute
RouteinformationforISIS1
-----------------------------
ISIS1Level-2ForwardingTable
--------------------------------
IPV4DestinationIntCostExtCostExitInterfaceNextHopFlags
----------------------------------------------------------------------------
0.0.0.0/010NULLS1/0/03.3.3.1A/-/-/-
S1/0/14.4.4.14.4.4.0/2410NULLS1/0/1DirectD/-/L/-
10.10.10.0/2420NULLS1/0/03.3.3.1A/-/-/-
S1/0/14.4.4.1
3.3.3.0/2410NULLS1/0/0DirectD/-/L/-
2.2.2.0/2420NULLS1/0/14.4.4.1A/-/-/-
1.1.1.0/2420NULLS1/0/03.3.3.1A/-/-/-
Flags:D-Direct,A-AddedtoURT,L-AdvertisedinLSPs,S-IGPShortcut,
U-Up/DownBitSet
NE80E_Adisplayisisroute
RouteinformationforISIS1
-----------------------------
ISIS1Level-2ForwardingTable
----------