summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2021-07-30 10:18:14 +0300
committerGitHub <noreply@github.com>2021-07-30 10:18:14 +0300
commit6430836d92dd6c695241ae9fc1ba72d69f2e6906 (patch)
tree0c577b0afadfffd8f9ae338dcf3930db8795c2bc
parent31a8ea0f5f5ee90363fb244a2ac81bfb13183987 (diff)
parent01af2696ebee84cb90427aa56066ea88b05083ed (diff)
Merge pull request #9237 from donaldsharp/code_block
doc: Fix code-block display for example shell commands
-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