show route summary
语法
show route summary <logical-system (all | logical-system-name)> <table routing-table-name> <rib-sharding (main | rib-shard-name)>
语法(EX 系列交换机)
show route summary
操作模式
cli
模式
cli-pfe
模式。
描述
显示有关路由表中条目的汇总统计信息。此外,在模式下显示 FIB 压缩统计信息 cli-pfe
的摘要。(PTX 和 ACX 系列设备)。
当设备学习路由时,CPU 利用率可能会增加。我们建议您在设备学习路由并将其输入路由表后使用 show route summary
命令。根据您的网络规模,这可能需要几分钟时间。如果在使用该 show route summary
命令时收到“与路由守护程序通信超时”错误,请等待几分钟,然后再尝试再次使用该命令。这不是严重的系统错误,但您可能会在使用命令行界面 (CLI) 时遇到延迟。
选项
none | 显示有关路由表中条目的汇总统计信息。 |
logical-system (all | logical-system-name) | (可选)在所有逻辑系统或特定逻辑系统上执行此操作。 |
table routing-table-name | (可选)显示名称以此字符串开头的所有路由表的摘要统计信息(例如,运行 |
rib-sharding (main | rib-shard-name) | (可选)筋分片的显示名称。 |
所需权限级别
视图
输出字段
表 1 列出了命令 show route summary
的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
路由器 ID |
本地路由设备的地址。 |
高水位标记 |
系统中路由和转发 (RIB/FIB) 表路由和 VRF 的高水位线数据。显示以下详细信息:
还可以在系统日志中以 LOG_NOTICE 级别查看高水位线数据。 |
routing-table-name |
路由表示例的名称:
|
目的地 |
路由表中存在路由的目标数。 |
路线 |
路由表中的路由数:
|
重新启动完成 |
此路由表的所有协议均已重新启动。 重启状态:
例如,如果输出显示-
|
限制/阈值 |
显示为包含 最大前缀 和
|
直接 |
直连网络上的路由。 |
当地 |
本地路线。 |
protocol-name |
从中获知路由的协议的名称。例如, OSPF、 RSVP 和 静态。 |
在 PFE 上显示路由表统计信息的 CLI-PFE 模式(ACX7100-32C、ACX7100-48L 和ACX7509设备)的输出字段(例如,IPv4、IPv6、MPLS 路由表 | |
指数 | 路由表索引号。 |
路线 | 活动路由数 |
尺寸(b) | #chk w SME 的数据包大小。 |
前缀 | 对等设备发布的实际路由数。 |
阿格尔 | PFE 在压缩后生成的聚合路由数,包括有效的下一跃点 |
安装 | ACX 设备上安装的路由数。 |
计算(%) | 路由表压缩百分比。 |
示例输出
显示路由摘要
user@host> show route summary Autonomous system number: 69 Router ID: 10.255.71.52 Highwater Mark (All time / Time averaged watermark) RIB Unique destination routes: 51 at 2020-06-15 13:54:01 / 51 RIB routes : 52 at 2020-06-15 13:54:01 / 52 FIB routes : 33 at 2020-06-15 13:54:01 / 33 VRF type routing instances : 0 at 2020-06-15 13:54:00 Maximum-ECMP: 32 inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete Direct: 6 routes, 5 active Local: 4 routes, 4 active OSPF: 5 routes, 4 active Static: 7 routes, 7 active IGMP: 1 routes, 1 active PIM: 2 routes, 2 active inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete RSVP: 2 routes, 2 active iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete Direct: 1 routes, 1 active mpls.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden) Restart Complete MPLS: 3 routes, 3 active VPLS: 4 routes, 2 active inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) Restart Complete Direct: 2 routes, 2 active PIM: 2 routes, 2 active MLD: 1 routes, 1 active green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete BGP: 2 routes, 2 active L2VPN: 2 routes, 2 active red.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Restart Complete BGP: 2 routes, 2 active L2VPN: 1 routes, 1 active bgp.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete BGP: 4 routes, 4 active
显示路由摘要(ACX7100-32C、ACX7100-48L 和ACX7509设备中的 CLI-PFE 模式)
以下命令仅显示模式下的 cli-pfe
路由摘要信息:
user@host:pfe> show route summary IPv4 Route Tables: Index Routes Size(b) Prefixes Aggr Installed Comp(%) -------- ---------- ---------- --------- --------- ---------- ------ Default 10095472 1569927632 5000016 4999986 11525 100 1 0 0 0 0 0 0 51 10 1040 5 0 5 0 36738 10 1040 5 0 5 0 IPv6 Route Tables: Index Routes Size(b) Prefixes Aggr Installed Comp(%) -------- ---------- ---------- --------- --------- ---------- ------ 0 IPv6 1300025 1299963 62 100 1 IPv6 0 0 0 0 51 IPv6 6 0 6 0 36738 IPv6 6 0 6 0 MPLS Route Tables: Index Routes Size(b) Prefixes Aggr Installed Comp(%) -------- ---------- ---------- --------- --------- ---------- ------ Default 14 1456 7 0 7 - 52 2 208 1 0 1 - IPv6 Route Tables: Index Routes Size(b) Prefixes Aggr Installed Comp(%) -------- ---------- ---------- --------- --------- ---------- ------ Default 27 2808 13 0 16 4294967273 1 0 0 0 0 0 0 51 12 1248 6 0 6 0 53 12 1248 6 0 6 0 36738 12 1248 6 0 6 0 CLNP Route Tables: Index Routes Size(b) Prefixes Aggr Installed Comp(%) -------- ---------- ---------- --------- --------- ---------- ------ Default 4 416 2 0 2 - 51 2 208 1 0 1 -
显示路由摘要表(配置了 RIB 分片)
以下命令仅显示 junos-bgpshard0 线程中的路由摘要信息:
user@host> show route summary rib-sharding junos-bgpshard0 Autonomous system number: 1 Router ID: 2.2.2.1 inet.0: 774078 destinations, 1547602 routes (774078 active, 0 holddown, 0 hidden) Direct: 108 routes, 108 active Local: 7 routes, 7 active OSPF: 408 routes, 408 active BGP: 1547048 routes, 773524 active Static: 31 routes, 31 active junos-main::inet.0: 774078 destinations, 774078 routes (774078 active, 0 holddown, 0 hidden) Direct: 108 routes, 108 active Local: 7 routes, 7 active OSPF: 408 routes, 408 active BGP: 773524 routes, 773524 active Static: 31 routes, 31 active junos-bgpshard0::inet.0: 258448 destinations, 516635 routes (258448 active, 0 holddown, 0 hidden) BGP: 516374 routes, 258187 active junos-bgpshard1::inet.0: 258129 destinations, 515997 routes (258129 active, 0 holddown, 0 hidden) BGP: 515736 routes, 257868 active junos-bgpshard2::inet.0: 257731 destinations, 515200 routes (257731 active, 0 holddown, 0 hidden) BGP: 514938 routes, 257469 active __raass__inet.inet.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) RaaS: 1 routes, 1 active iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Direct: 1 routes, 1 active inet6.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Direct: 2 routes, 2 active INET6: 1 routes, 1 active junos-main::inet6.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Direct: 2 routes, 2 active INET6: 1 routes, 1 active
显示路由摘要表
user@host> show route summary table inet Router ID: 192.168.0.1 inet.0: 32 destinations, 34 routes (31 active, 0 holddown, 1 hidden) Direct: 6 routes, 5 active Local: 9 routes, 9 active OSPF: 3 routes, 1 active Static: 13 routes, 13 active IGMP: 1 routes, 1 active PIM: 2 routes, 2 active inet.1: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Multicast: 1 routes, 1 active inet6.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Local: 1 routes, 1 active PIM: 2 routes, 2 active inet6.1: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Multicast: 1 routes, 1 active
显示路由摘要表(为路由表配置路由限制)
user@host> show route summary table VPN-A.inet.0 Autonomous system number: 100 Router ID: 10.255.182.142 VPN-A.inet.0: 13 destinations, 14 routes (13 active, 0 holddown, 0 hidden) Limit/Threshold: 2000/200 destinations 20/12 routes Direct: 2 routes, 2 active Local: 1 routes, 1 active OSPF: 4 routes, 3 active BGP: 4 routes, 4 active IGMP: 1 routes, 1 active PIM: 2 routes, 2 active
显示路由摘要 RIB 分片
user@host> show route summary rib-sharding junos-bgpshard14 Autonomous system number: 100 Router ID: 20.255.255.10 inet.0: 54 destinations, 54 routes (54 active, 0 holddown, 0 hidden) Direct: 29 routes, 29 active Local: 25 routes, 25 active iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Direct: 1 routes, 1 active inet6.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden) Local: 14 routes, 14 active
发布信息
在 Junos OS 7.4 版之前引入的命令。
rib-sharding
为 cRPD 版本 20.1R1 引入了选项。