BGP in FRR
bgp summary lr202007009846# show bgp summary IPv4 Unicast Summary (VRF default): BGP router identifier 192.168.111.1, local AS number 65101 vrf-id 0 BGP table version 19 RIB entries 23, using 4232 bytes of memory Peers 1, using 723 KiB of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd PfxSnt Desc 192.168.111.2 4 65102 2476 2475 0 0 0 20:29:38 9 11 N/A Total number of neighbors 1 lr202007009846# | |
show bgp all lr202007009846# show bgp all For address family: IPv4 Unicast BGP table version is 19, local router ID is 192.168.111.1, vrf id 0 Default local pref 100, local AS 65101 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, 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 *> 1.0.0.1/32 192.168.111.2 0 0 65102 ? *> 1.1.1.1/32 192.168.111.2 0 0 65102 ? * 169.245.0.0/24 192.168.111.2 0 0 65102 ? *> 0.0.0.0 0 32768 ? *> 192.168.0.0/24 0.0.0.0 0 32768 ? * 192.168.111.2 0 0 65102 ? *> 192.168.111.1/32 0.0.0.0 0 32768 ? 192.168.111.2/32 192.168.111.2 0 0 65102 ? *> 192.168.124.0/24 0.0.0.0 0 32768 ? *> 192.168.137.0/24 0.0.0.0 0 32768 ? *> 192.168.191.0/30 192.168.111.2 0 0 65102 ? * 192.168.193.0/30 192.168.111.2 0 0 65102 ? *> 0.0.0.0 0 32768 ? *> 192.168.218.0/24 192.168.111.2 0 0 65102 ? *> 192.168.227.0/24 192.168.111.2 0 0 65102 ? Displayed 12 routes and 15 total paths lr202007009846# | |
show bgp ipv4 xxxxxxxx/xx lr202007009846# show bgp ipv4 192.168.111.1/32 BGP routing table entry for 192.168.111.1/32, version 1 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.168.111.2 Local 0.0.0.0 from 0.0.0.0 (192.168.111.1) Origin incomplete, metric 0, weight 32768, valid, sourced, best (First path received) Last update: Thu Sep 1 13:46:49 2022 | |
advertised-routes & received-routes | |
show bgp ipv4 neighbors 192.168.111.2 advertised-routes show bgp ipv4 neighbors 192.168.111.2 received-routes advertised and received routes lr202007009846# show bgp ipv4 neighbors 192.168.111.2 advertised-routes BGP table version is 37, local router ID is 192.168.111.1, vrf id 0 Default local pref 100, local AS 65101 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, 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 *> 1.0.0.1/32 0.0.0.0 0 65102 ? *> 1.1.1.1/32 0.0.0.0 0 65102 ? *> 169.245.0.0/24 0.0.0.0 0 32768 ? *> 192.168.0.0/24 0.0.0.0 0 32768 ? *> 192.168.111.1/32 0.0.0.0 0 32768 ? *> 192.168.124.0/24 0.0.0.0 0 32768 ? *> 192.168.126.0/24 0.0.0.0 0 32768 ? *> 192.168.137.0/24 0.0.0.0 0 32768 ? *> 192.168.191.0/30 0.0.0.0 0 65102 ? *> 192.168.193.0/30 0.0.0.0 0 32768 ? *> 192.168.218.0/24 0.0.0.0 0 65102 ? *> 192.168.226.0/24 0.0.0.0 0 65102 ? *> 192.168.227.0/24 0.0.0.0 0 65102 ? Total number of prefixes 13 lr202007009846# show bgp ipv4 neighbors 192.168.111.2 received-routes BGP table version is 37, local router ID is 192.168.111.1, vrf id 0 Default local pref 100, local AS 65101 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, 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 *> 1.0.0.1/32 192.168.111.2 0 0 65102 ? *> 1.1.1.1/32 192.168.111.2 0 0 65102 ? *> 169.245.0.0/24 192.168.111.2 0 0 65102 ? *> 192.168.0.0/24 192.168.111.2 0 0 65102 ? *> 192.168.111.2/32 192.168.111.2 0 0 65102 ? *> 192.168.124.0/24 192.168.111.2 0 65102 65101 ? *> 192.168.126.0/24 192.168.111.2 0 65102 65101 ? *> 192.168.137.0/24 192.168.111.2 0 65102 65101 ? *> 192.168.191.0/30 192.168.111.2 0 0 65102 ? *> 192.168.193.0/30 192.168.111.2 0 0 65102 ? *> 192.168.218.0/24 192.168.111.2 0 0 65102 ? *> 192.168.226.0/24 192.168.111.2 0 0 65102 ? *> 192.168.227.0/24 192.168.111.2 0 0 65102 ? Total number of prefixes 13 lr202007009846# | |