summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/user/bgp.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index 88f0483901..d06dce947e 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -3541,15 +3541,15 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`.
Here is an example of how to check what prefixes were installed starting
with an arbitrary version::
- .. code-block:: frr
+.. code-block:: shell
- ~# 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
+ # 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