Go to file
Akhilesh Samineni 210ec2a0d6 bgpd: Incorrect number of peers count in "show bgp ipv6 summary output
The "show bgp ipv6 summary" output displays incorrect number of peers count.

sonic# show bgp ipv6 summary

IPv6 Unicast Summary:
BGP router identifier 10.1.0.1, local AS number 65100 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 5, using 103 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2003::1 4 65099 0 0 0 0 0 never Active
2088::1 4 65100 0 0 0 0 0 never Active
3021::2 4 65100 0 0 0 0 0 never Active

Total number of neighbors 3
sonic#
In the above output, the peers count displays as 5 but the actual peer count is 3, i.e.. 3 neighbors are activated in ipv6 unicast address family.
Displayed peer count (5) is the number of the neighbors activated in a BGP instance.

Fix : Now the peers count displays the number of neighbors activated per afi/safi.
After Fix:
sonic# show bgp ipv6 summary

IPv6 Unicast Summary:
BGP router identifier 10.1.0.1, local AS number 65100 vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 3, using 62 KiB of memory
Peer groups 1, using 64 bytes of memory

Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
2003::1 4 65099 0 0 0 0 0 never Active
2088::1 4 65100 0 0 0 0 0 never Active
3021::2 4 65100 0 0 0 0 0 never Active

Total number of neighbors 3
sonic#

Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
2019-03-07 13:17:25 +05:30
.github .github: add core guidelines to issue template 2018-12-13 17:12:23 +00:00
alpine *: get rid of most daemons.conf references 2018-12-06 23:05:48 +01:00
babeld build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
bfdd *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
bgpd bgpd: Incorrect number of peers count in "show bgp ipv6 summary output 2019-03-07 13:17:25 +05:30
debian debian: remove superseded systemd lintian override 2019-02-19 21:34:27 +01:00
doc Merge pull request #3836 from opensourcerouting/debian/master-kill-backports 2019-02-23 18:23:21 -05:00
docker docker: quick and dirty debian 9 img 2019-02-15 07:42:23 -05:00
eigrpd eigrp, rip, ripng, lib: unlink if_rmap from vrf 2019-02-19 21:11:37 +01:00
fpm build: disable empty libfrrfpm_pb 2018-12-13 21:14:39 +01:00
gdb bgpd: Convert binfo to path 2018-10-09 14:26:30 -04:00
include Revert "include: Add linux header mroute.h to our build" 2019-01-31 01:37:14 +01:00
isisd isisd: strncpy -> strlcpy 2019-02-26 20:50:13 +00:00
ldpd build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
lib Merge pull request #3877 from qlyoung/remove-strncpy 2019-03-01 17:06:29 -03:00
m4 *: spelchek 2018-10-25 20:10:57 +02:00
nhrpd Revert "nhrpd: strncpy -> strlcpy" 2019-03-05 19:29:49 +00:00
ospf6d ospf6d: reset the global ospf6 pointer 2019-02-15 17:42:13 +01:00
ospfclient build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
ospfd ospfd: strncpy -> strlcpy 2019-02-26 20:50:17 +00:00
pbrd *: Rename backet to bucket 2019-02-25 16:22:36 +00:00
pimd pimd: strncpy -> strlcpy 2019-02-26 20:50:17 +00:00
pkgsrc *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
ports *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
python python: make DEFPY provide the text token of fixed parameters 2019-01-21 11:11:00 -02:00
qpb *: fix config.h/zebra.h include order 2018-09-08 21:30:42 +02:00
redhat redhat: Require newer libyang (> 0.16.74) for embedded extensions 2019-02-20 05:09:03 -08:00
ripd Merge pull request #3877 from qlyoung/remove-strncpy 2019-03-01 17:06:29 -03:00
ripngd eigrp, rip, ripng, lib: unlink if_rmap from vrf 2019-02-19 21:11:37 +01:00
sharpd Merge pull request #3797 from donaldsharp/allow_in_dir_build 2019-02-18 13:09:29 +01:00
snapcraft *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
solaris *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
staticd build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
tests bgpd: Incorrect number of peers count in "show bgp ipv6 summary output 2019-03-07 13:17:25 +05:30
tools Merge pull request #3872 from dslicenc/frr-reload-vrf-context 2019-02-27 11:16:38 -05:00
vtysh vtysh: hide old BGP vpnv(4|6) commands 2019-02-28 11:15:15 -03:00
watchfrr watchfrr: build in defaults for -r/-s/-k 2019-02-19 21:34:31 +01:00
yang build: fix a whole bunch of *FLAGS 2019-01-30 19:13:51 +01:00
zebra zebra: When installing a new route always use REPLACE 2019-03-01 13:56:12 -05:00
.clang-format lib: introduce new northbound API 2018-10-27 16:16:12 -02:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.dockerignore tests/topotests: Change docker build context 2018-12-01 16:54:58 +01:00
.gitignore debian: cleanly split off from dist tarball 2019-02-19 21:31:18 +01:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
changelog-auto.in debian: cleanly split off from dist tarball 2019-02-19 21:31:18 +01:00
config.version.in build: carry --with-pkg-extra-version into tarballs 2018-10-24 15:11:50 +02:00
configure.ac Merge pull request #3836 from opensourcerouting/debian/master-kill-backports 2019-02-23 18:23:21 -05:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
Makefile.am debian: cleanly split off from dist tarball 2019-02-19 21:31:18 +01:00
README.md README.md: update list of supported protos 2019-02-15 17:57:13 +00:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00

FRRouting

FRR is free software that implements and manages various IPv4 and IPv6 routing protocols. It runs on nearly all distributions of Linux and BSD as well as Solaris and supports all modern CPU architectures.

FRR currently supports the following protocols:

  • BGP
  • OSPFv2
  • OSPFv3
  • RIPv1
  • RIPv2
  • RIPng
  • IS-IS
  • PIM-SM/MSDP
  • LDP
  • BFD
  • Babel
  • PBR
  • OpenFabric
  • EIGRP (alpha)
  • NHRP (alpha)

Installation & Use

Packages are available for various distributions on our releases page.

Snaps are also available here.

Instructions on building and installing from source for supported platforms may be found here.

Once installed, please refer to the user guide for instructions on use.

Community

The FRRouting email list server is located here and offers the following public lists:

Topic List
Development dev@lists.frrouting.org
Users & Operators frog@lists.frrouting.org
Announcements announce@lists.frrouting.org

For chat, we currently use Slack. Please email the mailing list to request an invite as we do not issue automatic invites.

Contributing

FRR maintains developer's documentation which contains the project workflow and expectations for contributors. Some technical documentation on project internals is also available.

We welcome and appreciate all contributions, no matter how small!

Security

To report security issues, please use our security mailing list:

security [at] lists.frrouting.org