show route exact
语法
show route exact destination-prefix <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
语法(EX 系列交换机)
show route exact destination-prefix <brief | detail | extensive | terse>
描述
仅显示与指定地址或地址范围完全匹配的路由。
选项
brief | detail | extensive | terse | (可选)显示指定的输出级别。如果未指定输出级别,则系统默认为 |
destination-prefix | 地址或地址范围。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
所需权限级别
视图
输出字段
有关输出字段的信息,请参阅命令、show route detail
命令、show route extensive
命令或show route terse
命令的show route
输出字段表。
示例输出
显示路线精确
user@host> show route exact 207.17.136.0/24 inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 207.17.136.0/24 *[Static/5] 2d 03:30:22 > to 192.168.71.254 via fxp0.0
显示路线确切详细信息
user@host> show route exact 207.17.136.0/24 detail inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete 207.17.136.0/24 (1 entry, 1 announced) *Static Preference: 5 Next-hop reference count: 29 Next hop: 192.168.71.254 via fxp0.0, selected State: <Active NoReadvrt Int Ext> Local AS: 69 Age: 2d 3:30:26 Task: RT Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I
显示路线精确广泛
user@host> show route exact 207.17.136.0/24 extensive inet.0: 22 destinations, 23 routes (21 active, 0 holddown, 1 hidden) 207.17.136.0/24 (1 entry, 1 announced) TSI: KRT in-kernel 207.17.136.0/24 -> {192.168.71.254} *Static Preference: 5 Next-hop reference count: 29 Next hop: 192.168.71.254 via fxp0.0, selected State: <Active NoReadvrt Int Ext> Local AS: 69 Age: 1:25:18 Task: RT Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I
显示路线精确简洁
user@host> show route exact 207.17.136.0/24 terse inet.0: 22 destinations, 23 routes (21 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 207.17.136.0/24 S 5 >192.168.71.254
发布信息
在 Junos OS 7.4 版之前引入的命令。