]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/all_protocol_startup/test_all_protocol_startup.py
bgpd: add show bgp summary filter by neighbor or AS
authorLouis Scalbert <louis.scalbert@6wind.com>
Wed, 12 May 2021 15:17:56 +0000 (17:17 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 26 May 2021 14:16:08 +0000 (16:16 +0200)
commit8c1d4cd512af258dfab9379117157f85dcf102e8
tree2f059db36328c268e354e40e2c6de3e808bcd66b
parent1446730fd0a38f8403527c7a13f04194a14f2bef
bgpd: add show bgp summary filter by neighbor or AS

Add ability to filter session on show bgp summary by neighbor or
remote AS:

ubuntu# show bgp summary ?
  neighbor     Show only the specified neighbor session
  remote-as    Show only the specified remote AS session
ubuntu# show bgp summary neighbor ?
  A.B.C.D   Neighbor to display information about
  WORD      Neighbor on BGP configured interface
  X:X::X:X  Neighbor to display information about
ubuntu# show bgp summary remote-as ?
  (1-4294967295)  AS number
  external        External (eBGP) AS sessions
  internal        Internal (iBGP) AS sessions

This patch includes the documentation and the topotest.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_evpn_vty.c
bgpd/bgp_vty.c
bgpd/bgp_vty.h
doc/user/bgp.rst
tests/topotests/all_protocol_startup/test_all_protocol_startup.py