BGP 活动编号是什么意思?

网络工程 bgp 思科-ios cisco 命令
2021-07-27 10:52:26

以下是运行 BGP 的 2921 的示例命令和输出:

router#show ip bgp summary
BGP router identifier a.b.c.d, local AS number xxxxx
BGP table version is 352841773, main routing table version 352841773
629306 network entries using 90620064 bytes of memory
629307 path entries using 50344560 bytes of memory
106106/105965 BGP path/bestpath attribute entries using 16976960 bytes of memory
97455 BGP AS-PATH entries using 4812166 bytes of memory
1 BGP ATTR_SET entries using 40 bytes of memory
12009 BGP community entries using 1523662 bytes of memory
116 BGP extended community entries using 7108 bytes of memory
220 BGP route-map cache entries using 7920 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 164292440 total bytes of memory
BGP activity 12705113/12039960 prefixes, 19056016/18390892 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
a.b.c.d         4        xxxxx       0       0        1    0    0 8w4d     Idle (Admin)
a.b.c.d         4        xxxxx 7319210   47142 352841520    0    0 2w1d       629303
a.b.c.d         4        xxxxx   33222 4258052 352841520    0    0 2w6d            1
a.b.c.d         4        xxxxx   33251 4258051 352841520    0    0 2w6d            1

我对这条线很好奇:

BGP 活动12705113 / 12039960前缀,19056016 / 18390892路径,扫描间隔 60 秒

四个粗体数字是什么意思?

我在Cisco 命令参考中可以找到的所有内容是:

BGP 活动... 显示为路径或前缀分配或释放内存的次数。

1个回答

也就是说,内存已分配给您的前缀12705113次并释放了12039960次。它已分配给您的路径19056016并已发布18390892

我怀疑你的路由器已经有一段时间了。

路线公告有时称为“前缀”。BGP 中公布的前缀由被公布的 IPV4 或 IPV6 地址块以及 AS 编号的路径组成,指示流量必须通过哪些 ASN 才能到达公布的地址块。BGP 前缀类似于 (IPV4):701 1239 42 206.24.14.0/24。/24 部分称为 CIDR 掩码。/24 表示地址块中的前 24 位是 ?network? 地址块的一部分。

https://www.sprint.net/index.php?p=faq_bgp

BGP 活动显示为路径或前缀分配或释放内存的次数。

http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp5.html#wp1162687