采取适当的措施来解决网络问题
问题
描述
根据您隔离的问题类型,是否应采取适当的措施。在此示例中,将从 [routing-options] 层级中删除配置的R2 静态路由。其他适当的作可能包括以下内容:
溶液
检查本地路由器的配置,并在适当时进行编辑。
排除中间路由器故障。
检查远程主机配置,并在适当时对其进行编辑。
路由协议故障排除。
确定其他可能的原因。
要解决此示例中的问题,请输入以下 Junos OS CLI 命令:
[edit]
user@R2# delete routing-options static route destination-prefix
user@R2# commit and-quit
user@R2# show route destination-prefix
示例输出
[edit]
user@R2# delete routing-options static route 10.0.0.5/32
[edit]
user@R2# commit and-quit
commit complete
Exiting configuration mode
user@R2> show route 10.0.0.5
inet.0: 22 destinations, 24 routes (22 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.0.0.5/32 *[BGP/170] 3d 20:26:17, MED 5, localpref 100
AS path: 65001 I
> to 10.1.12.1 via so-0/0/0.0
意义
示例输出显示了从 [routing-options] 层次结构中删除的静态路由和提交的新配置。命令的 show route 输出现在将 BGP 路由显示为首选路由,如星号 ()* 所示。