采取适当的措施解决网络问题
问题
描述
适当的措施取决于您隔离的问题类型。在此示例中,从 [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 路由显示为首选路由,如星号 (*) 所示。