show route hidden
语法
show route hidden <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
描述
仅显示隐藏的路由信息。隐藏的路由是不可用的,即使它是最佳路径。
选项
brief | detail | extensive | terse | (可选)显示指定的输出级别。如果未指定输出级别,则系统默认为 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
所需权限级别
视图
输出字段
有关输出字段的信息,请参阅命令、show route detail
命令、show route extensive
命令或show route terse
命令的show route
输出字段表。
示例输出
显示隐藏的路由
user@host> show route hidden inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 127.0.0.1/32 [Direct/0] 04:26:38 > via lo0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.5.5.5/32 [BGP/170] 03:44:10, localpref 100, from 10.4.4.4 AS path: 100 I Unusable 10.12.1.0/24 [BGP/170] 03:44:10, localpref 100, from 10.4.4.4 AS path: 100 I Unusable 10.12.80.4/30 [BGP/170] 03:44:10, localpref 100, from 10.4.4.4 AS path: I Unusable ...
显示路由隐藏详细信息
user@host> show route hidden detail inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete 127.0.0.1/32 (1 entry, 0 announced) Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via lo0.0, selected State: <Hidden Martian Int> Local AS: 1 Age: 4:27:37 Task: IF AS path: I private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete 10.5.5.5/32 (1 entry, 0 announced) BGP Preference: 170/-101 Route Distinguisher: 10.4.4.4:4 Next hop type: Unusable Next-hop reference count: 6 State: <Secondary Hidden Int Ext> Local AS: 1 Peer AS: 1 Age: 3:45:09 Task: BGP_1.10.4.4.4+2493 AS path: 100 I Communities: target:1:999 VPN Label: 100064 Localpref: 100 Router ID: 10.4.4.4 Primary Routing Table bgp.l3vpn.0 ...
显示路线隐藏广泛
命令的输出与命令的show route hidden extensive
show route hidden detail
输出相同。有关示例输出,请参阅显示路由隐藏详细信息。
显示路线隐藏简洁
user@host> show route hidden terse inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 127.0.0.1/32 D 0 >lo0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 10.5.5.5/32 B 170 100 Unusable 100 I 10.12.1.0/24 B 170 100 Unusable 100 I 10.12.80.4/30 B 170 100 Unusable I iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete bgp.l3vpn.0: 3 destinations, 3 routes (0 active, 0 holddown, 3 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 10.4.4.4:4:10.5.5.5/32 B 170 100 Unusable 100 I 10.4.4.4:4:10.12.1.0/24 B 170 100 Unusable 100 I 10.4.4.4:4:10.12.80.4/30 B 170 100 Unusable I inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
发布信息
在 Junos OS 7.4 版之前引入的命令。