diff options
| author | Christian Poessinger <christian@poessinger.com> | 2019-11-27 17:20:36 +0100 | 
|---|---|---|
| committer | Christian Poessinger <christian@poessinger.com> | 2019-11-27 17:20:38 +0100 | 
| commit | 6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch) | |
| tree | 009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/routing/ospf.rst | |
| parent | 76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff) | |
| download | vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip | |
Refactor "code-block:: sh" to "code-block:: console"
This will add proper new-lines into the rendered PDF. Before if it has
been a long line, not all content was preserved in the PDF.
Diffstat (limited to 'docs/routing/ospf.rst')
| -rw-r--r-- | docs/routing/ospf.rst | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/docs/routing/ospf.rst b/docs/routing/ospf.rst index 78768145..eca0acd3 100644 --- a/docs/routing/ospf.rst +++ b/docs/routing/ospf.rst @@ -19,13 +19,13 @@ OSPFv2 (IPv4)  In order to have a VyOS system exchanging routes with OSPF neighbors, you will  at least need to configure the area and a network, -.. code-block:: sh +.. code-block:: console    set protocols ospf area 0 network 192.168.0.0/24  as well as the router ID. -.. code-block:: sh +.. code-block:: console    set protocols ospf parameters router-id 10.1.1.1 @@ -36,7 +36,7 @@ address and the node 1 sending the default route:  **Node 1** -.. code-block:: sh +.. code-block:: console    set interfaces loopback lo address 10.1.1.1/32    set protocols ospf area 0 network 192.168.0.0/24 @@ -53,7 +53,7 @@ address and the node 1 sending the default route:  **Node 2** -.. code-block:: sh +.. code-block:: console    set interfaces loopback lo address 10.2.2.2/32    set protocols ospf area 0 network 192.168.0.0/24 @@ -72,7 +72,7 @@ A typical configuration using 2 nodes.  **Node 1:** -.. code-block:: sh +.. code-block:: console    set protocols ospfv3 area 0.0.0.0 interface eth1    set protocols ospfv3 area 0.0.0.0 range 2001:db8:1::/64 @@ -81,7 +81,7 @@ A typical configuration using 2 nodes.  **Node 2:** -.. code-block:: sh +.. code-block:: console    set protocols ospfv3 area 0.0.0.0 interface eth1    set protocols ospfv3 area 0.0.0.0 range 2001:db8:2::/64 @@ -96,7 +96,7 @@ Example configuration for WireGuard interfaces:  **Node 1** -.. code-block:: sh +.. code-block:: console    set interfaces wireguard wg01 address 'fe80::216:3eff:fe51:fd8c/64'    set interfaces wireguard wg01 address '192.168.0.1/24' @@ -111,7 +111,7 @@ Example configuration for WireGuard interfaces:  **Node 2** -.. code-block:: sh +.. code-block:: console    set interfaces wireguard wg01 address 'fe80::216:3eff:fe0a:7ada/64'    set interfaces wireguard wg01 address '192.168.0.2/24' @@ -126,7 +126,7 @@ Example configuration for WireGuard interfaces:  **Status** -.. code-block:: sh +.. code-block:: console    vyos@ospf01:~$ sh ipv6 ospfv3 neighbor    Neighbor ID     Pri    DeadTime    State/IfState         Duration I/F[State] | 
