summaryrefslogtreecommitdiff
path: root/docs/routing/ospf.rst
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-31 05:05:41 +0700
committerGitHub <noreply@github.com>2019-08-31 05:05:41 +0700
commitb79f568fd0dad03d8932b08db1fd993e92c21882 (patch)
treee652005fcfd0df10f2d13f9a649f6d0458c463bb /docs/routing/ospf.rst
parent677352eda5cb8b3a384ea17039380d3351565686 (diff)
parent921bd46616e2baaa1ced6a01af976c97937bf7a7 (diff)
downloadvyos-documentation-b79f568fd0dad03d8932b08db1fd993e92c21882.tar.gz
vyos-documentation-b79f568fd0dad03d8932b08db1fd993e92c21882.zip
Merge pull request #97 from currite/ospf_00
show basic ospf config
Diffstat (limited to 'docs/routing/ospf.rst')
-rw-r--r--docs/routing/ospf.rst17
1 files changed, 15 insertions, 2 deletions
diff --git a/docs/routing/ospf.rst b/docs/routing/ospf.rst
index 23033bd6..b8366cdc 100644
--- a/docs/routing/ospf.rst
+++ b/docs/routing/ospf.rst
@@ -15,8 +15,21 @@ OSPF is a widely used IGP in large enterprise networks.
OSPFv2 (IPv4)
^^^^^^^^^^^^^
-A typical configuration using 2 nodes, redistribute loopback address and the
-node 1 sending the default route:
+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
+
+ set protocols ospf area 0 network 192.168.0.0/24
+
+as well as the router ID.
+
+.. code-block:: sh
+
+ set protocols ospf parameters router-id 10.1.1.1
+
+That is the minimum configuration you will need.
+
+Below you can see a typical configuration using 2 nodes, redistribute loopback address and the node 1 sending the default route:
**Node 1**