diff options
author | currite <sll@disroot.org> | 2019-08-30 23:58:57 +0200 |
---|---|---|
committer | currite <sll@disroot.org> | 2019-08-30 23:58:57 +0200 |
commit | 921bd46616e2baaa1ced6a01af976c97937bf7a7 (patch) | |
tree | 3a19b0ba85f345f50278a386c2f56101df59b5e4 | |
parent | 8f4605b0061675a35951ca293f9871f2e75b6966 (diff) | |
download | vyos-documentation-921bd46616e2baaa1ced6a01af976c97937bf7a7.tar.gz vyos-documentation-921bd46616e2baaa1ced6a01af976c97937bf7a7.zip |
show basic ospf config
-rw-r--r-- | docs/routing/ospf.rst | 17 |
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** |