show route brief
Syntax
show route brief <destination-prefix> <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route brief <destination-prefix>
Description
显示有关路由表中的有效条目的简要信息。
Options
none | 显示路由表中的所有可用条目。 |
目标前缀 | 必显示指定地址或地址范围的有效条目。 |
逻辑系统(所有| 逻辑系统-名称) | 必在所有逻辑系统或特定逻辑系统上执行此操作。 |
Required Privilege Level
观看
Output Fields
有关输出字段的信息,请参阅 命令的输出字段 show route
表。
Sample Output
show route brief
user@host> show route brief inet.0: 10 destinations, 10 routes (9 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both 0.0.0.0/0 *[Static/5] 1w5d 20:30:29 Discard 10.255.245.51/32 *[Direct/0] 2w4d 13:11:14 > via lo0.0 172.16.0.0/12 *[Static/5] 2w4d 13:11:14 > to 192.168.167.254 via fxp0.0 192.168.0.0/18 *[Static/5] 1w5d 20:30:29 > to 192.168.167.254 via fxp0.0 192.168.40.0/22 *[Static/5] 2w4d 13:11:14 > to 192.168.167.254 via fxp0.0 192.168.64.0/18 *[Static/5] 2w4d 13:11:14 > to 192.168.167.254 via fxp0.0 192.168.164.0/22 *[Direct/0] 2w4d 13:11:14 > via fxp0.0 192.168.164.51/32 *[Local/0] 2w4d 13:11:14 Local via fxp0.0 207.17.136.192/32 *[Static/5] 2w4d 13:11:14 > to 192.168.167.254 via fxp0.0 green.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 100.101.0.0/16 *[Direct/0] 1w5d 20:30:28 > via fe-0/0/3.0 100.101.2.3/32 *[Local/0] 1w5d 20:30:28 Local via fe-0/0/3.0 172.16.233.5/32 *[OSPF/10] 1w5d 20:30:29, metric 1 MultiRecv
Release Information
命令在 Junos OS 版本7.4 之前引入。