Диагностика выбора пути в BGP (Troubleshooting BGP Path Selection)
Отредактирована 24.09.2026
Понимание процесса выбора наилучшего пути (Best Path Decision-Making Process)
R5#show bgp ipv4 unicast 10.1.1.0 BGP routing table entry for 10.1.1.0/26, version 46 Paths: (2 available, best #1, table default) Not advertised to any peer Refresh Epoch 4 65501 2.2.2.2 (metric 131072) from 2.2.2.2 (2.2.2.2) Origin IGP, metric 0, localpref 100, valid, internal, best rx pathid: 0, tx pathid: 0x0 Refresh Epoch 1 65501 3.3.3.3 (metric 131072) from 3.3.3.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal rx pathid: 0, tx pathid: 0
show ip bgp vpnv4 vrf <имя_VRF> 10.1.1.02.2.2.2 (metric 131072) from 2.2.2.2 (2.2.2.2)
- Next hop: 2.2.2.2
- Метрика (metric) IGP до next hop: 131072
- Получен (from) от соседа: 2.2.2.2
- BGP RID соседа: (2.2.2.2)
R2#show bgp ipv4 unicast 10.1.1.128 BGP routing table entry for 10.1.1.128/26, version 6 Paths: (2 available, best #2, table default) Advertised to update-groups: 2 Refresh Epoch 2 65501 3.3.3.3 (metric 131072) from 3.3.3.3 (3.3.3.3) Origin IGP, metric 0, localpref 100, valid, internal rx pathid: 0, tx pathid: 0 Refresh Epoch 3 65501 1.1.1.1 from 1.1.1.1 (1.1.1.1) Origin IGP, metric 0, localpref 100, valid, external, best rx pathid: 0, tx pathid: 0x0
show ip bgp vpnv4 vrf <имя_VRF> 10.1.1.128