summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-15 13:01:56 +0200
committerGitHub <noreply@github.com>2021-08-15 13:01:56 +0200
commit0a3b780c296c13d485a43a5ba2e1c2005d19d678 (patch)
tree7ac8e693c7934a003d6968ad675b66c9d55365a3
parent8998e42cf07c6898f011c8fcf2498cf3aa7ba06e (diff)
downloadvyos-documentation-0a3b780c296c13d485a43a5ba2e1c2005d19d678.tar.gz
vyos-documentation-0a3b780c296c13d485a43a5ba2e1c2005d19d678.zip
ospf: T3757: add new CLI command "set protocols ospf interface <if> area <id>"
-rw-r--r--docs/configuration/protocols/ospf.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst
index 64d7a893..ccddcd92 100644
--- a/docs/configuration/protocols/ospf.rst
+++ b/docs/configuration/protocols/ospf.rst
@@ -37,6 +37,14 @@ starts when the first ospf enabled interface is configured.
This command is also used to enable the OSPF process. The area number can be
specified in decimal notation in the range from 0 to 4294967295. Or it
can be specified in dotted decimal notation similar to ip address.
+
+ Prefix length in interface must be equal or bigger (i.e. smaller network) than
+ prefix length in network statement. For example statement above doesn't enable
+ ospf on interface with address 192.168.1.1/23, but it does on interface with
+ address 192.168.1.129/25.
+
+ In some cases it may be more convenient to enable OSPF on a per interface/subnet
+ basis :cfgcmd:`set protocols ospf interface <interface> area <x.x.x.x | x>`
.. cfgcmd:: set protocols ospf auto-cost reference-bandwidth <number>
@@ -306,6 +314,13 @@ Area Configuration
Interface Configuration
-----------------------
+.. cfgcmd:: set protocols ospf interface <interface> area <x.x.x.x | x>
+
+ Enable ospf on an interface and set associated area.
+
+ If you have a lot of interfaces, and/or a lot of subnets, then enabling
+ OSPF via this command may result in a slight performance improvement.
+
.. cfgcmd:: set protocols ospf interface <interface> authentication
plaintext-password <text>