mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #9237 from donaldsharp/code_block
doc: Fix code-block display for example shell commands
This commit is contained in:
commit
6430836d92
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user