mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 13:17:49 +00:00
doc: Add show [ip] bgp version <version>
command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
7d3cae70b2
commit
244e6cab3f
@ -3234,6 +3234,26 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`.
|
|||||||
|
|
||||||
Display flap statistics of routes of the selected afi and safi selected.
|
Display flap statistics of routes of the selected afi and safi selected.
|
||||||
|
|
||||||
|
.. clicmd:: show bgp [afi] [safi] [all] version (1-4294967295) [wide|json]
|
||||||
|
|
||||||
|
Display prefixes with matching version numbers. The version number and
|
||||||
|
above having prefixes will be listed here.
|
||||||
|
|
||||||
|
It helps to identify which prefixes were installed at some point.
|
||||||
|
|
||||||
|
Here is an example of how to check what prefixes were installed starting
|
||||||
|
with an arbitrary version::
|
||||||
|
|
||||||
|
.. code-block:: frr
|
||||||
|
|
||||||
|
~# vtysh -c 'show bgp ipv4 unicast json' | jq '.tableVersion'
|
||||||
|
9
|
||||||
|
~# vtysh -c 'show ip bgp version 9 json' | jq -r '.routes | keys[]'
|
||||||
|
192.168.3.0/24
|
||||||
|
~# vtysh -c 'show ip bgp version 8 json' | jq -r '.routes | keys[]'
|
||||||
|
192.168.2.0/24
|
||||||
|
192.168.3.0/24
|
||||||
|
|
||||||
.. clicmd:: show bgp [afi] [safi] statistics
|
.. clicmd:: show bgp [afi] [safi] statistics
|
||||||
|
|
||||||
Display statistics of routes of the selected afi and safi.
|
Display statistics of routes of the selected afi and safi.
|
||||||
|
Loading…
Reference in New Issue
Block a user