Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: [SOO] show bgp ip unicast detail per src nhg
Enhance the commands "show bgp ipv4/ipv6 unicast" detail and non detail outputs when 'bgp nhg-per-origin' is configured. Testing: switch# sh bgp ipv4 unicast BGP table version is 218, local router ID is 6.0.0.6, vrf id 0 Default local pref 100, local AS 65011 Status codes: s suppressed, d damped, h history, u unsorted, * valid, > best, = multipath, + multipath nhg i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path *> 6.0.0.7/32 220.10.0.65(spine11) 0 65201 65012 ? *+ 220.10.0.81(spine11) 0 65201 65012 ? *+ 220.10.0.97(spine11) 0 65201 65012 ? *+ 220.11.0.65(spine12) 0 65201 65012 ? *+ 220.11.0.81(spine12) 0 65201 65012 ? *+ 220.11.0.97(spine12) 0 65201 65012 ? *> 77.0.0.0/32 220.10.0.65(spine11) 0 65201 65012 ? *+ 220.10.0.81(spine11) 0 65201 65012 ? *+ 220.10.0.97(spine11) 0 65201 65012 ? *+ 220.11.0.65(spine12) 0 65201 65012 ? *+ 220.11.0.81(spine12) 0 65201 65012 ? *+ 220.11.0.97(spine12) mlx-3700-68# show bgp ipv4 unicast 77.0.0.0/32 BGP routing table entry for 77.0.0.0/32, version 150 SoO:6.0.0.7, multipath soo nhg:70328887 Paths: (6 available, best #1, table default) Advertised to non peer-group peers: spine11(220.10.0.65) spine11(220.10.0.81) spine11(220.10.0.97) spine12(220.11.0.65) spine12(220.11.0.81) spine12(220.11.0.97) 65201 65012 220.11.0.65 (spine12) from spine12(220.11.0.65) (6.0.0.11) Origin incomplete, valid, external, multipath soo nhg, bestpath-from-AS 65201, best (Older Path) Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 65201 65012 220.10.0.65 (spine11) from spine11(220.10.0.65) (6.0.0.10) Origin incomplete, valid, external, multipath soo nhg Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 65201 65012 220.10.0.81 (spine11) from spine11(220.10.0.81) (6.0.0.10) Origin incomplete, valid, external, multipath soo nhg Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 65201 65012 220.10.0.97 (spine11) from spine11(220.10.0.97) (6.0.0.10) Origin incomplete, valid, external, multipath soo nhg Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 65201 65012 220.11.0.81 (spine12) from spine12(220.11.0.81) (6.0.0.11) Origin incomplete, valid, external, multipath soo nhg Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 65201 65012 220.11.0.97 (spine12) from spine12(220.11.0.97) (6.0.0.11) Origin incomplete, valid, external, multipath soo nhg Extended Community: SoO:6.0.0.7:1234 Last update: Mon Oct 7 09:48:36 2024 mlx-3700-68# Ticket: #3951671 Signed-off-by: Karthikeya Venkat Muppalla <kmuppalla@nvidia.com>
- Loading branch information