summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-10 19:25:52 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-02-10 19:46:48 -0500
commit1e91f1d1193003cb325a2bf595c8a9273740e2f0 (patch)
treeaaf4fea18772b7bd8f5f0eaba245bbd0445b686d /zebra/interface.c
parent5bf7fe566d74c1093e0c032436a657b4f44ad5f6 (diff)
bgpd: Update failed reason to distinguish some NHT scenarios
Current failed reasons for bgp when you have a peer that is not online yet is `Waiting for NHT`, even if NHT has succeeded. Add some code to differentiate this. eva# show bgp ipv4 uni summ failed BGP router identifier 192.168.201.135, local AS number 3923 vrf-id 0 BGP table version 0 RIB entries 0, using 0 bytes of memory Peers 2, using 43 KiB of memory Neighbor EstdCnt DropCnt ResetTime Reason 192.168.44.1 0 0 never Waiting for NHT 192.168.201.139 0 0 never Waiting for Open to Succeed Total number of neighbors 2 eva# eva# show bgp nexthop Current BGP nexthop cache: 192.168.44.1 invalid, peer 192.168.44.1 Must be Connected Last update: Mon Feb 10 19:05:19 2020 192.168.201.139 valid [IGP metric 0], #paths 0, peer 192.168.201.139 So 192.168.201.139 is a peer for a connected route that has not been created on .139, while 44.1 nexthop tracking has not succeeded yet. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions