diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-16 21:10:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 21:10:21 +0100 |
commit | ebde4d03c101d1d8ac147fff3f972d6ff4b24733 (patch) | |
tree | 7e2d13df6a69f74cbd79400e0d213a5a7e1a18c8 /doc/user/ospfd.rst | |
parent | Merge pull request #10598 from mobash-rasool/pim-compile-fix (diff) | |
parent | doc: mixing `ip ospf` and `network` commands is not supported (diff) | |
download | frr-ebde4d03c101d1d8ac147fff3f972d6ff4b24733.tar.xz frr-ebde4d03c101d1d8ac147fff3f972d6ff4b24733.zip |
Merge pull request #10558 from Jafaral/ospf-net-or-iface
doc: mixing `ip ospf` and `network` commands is not supported
Diffstat (limited to 'doc/user/ospfd.rst')
-rw-r--r-- | doc/user/ospfd.rst | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/user/ospfd.rst b/doc/user/ospfd.rst index 349b54098..d1a0bb6f7 100644 --- a/doc/user/ospfd.rst +++ b/doc/user/ospfd.rst @@ -268,8 +268,10 @@ To start OSPF process you have to specify the OSPF router. the destination prefix. Otherwise, we test whether the network command prefix contains the local address prefix of the interface. - In some cases it may be more convenient to enable OSPF on a per - interface/subnet basis (:clicmd:`ip ospf area AREA [ADDR]`). + It is also possible to enable OSPF on a per interface/subnet basis + using the interface command (:clicmd:`ip ospf area AREA [ADDR]`). + However, mixing both network commands (:clicmd:`network`) and interface + commands (:clicmd:`ip ospf`) on the same router is not supported. .. clicmd:: proactive-arp @@ -515,12 +517,14 @@ Interfaces Enable OSPF on the interface, optionally restricted to just the IP address - given by `ADDR`, putting it in the `AREA` area. Per interface area settings - take precedence to network commands - (:clicmd:`network A.B.C.D/M area A.B.C.D`). - - 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. + given by `ADDR`, putting it in the `AREA` area. If you have a lot of + interfaces, and/or a lot of subnets, then enabling OSPF via this command + instead of (:clicmd:`network A.B.C.D/M area A.B.C.D`) may result in a + slight performance improvement. + + Notice that, mixing both network commands (:clicmd:`network`) and interface + commands (:clicmd:`ip ospf`) on the same router is not supported. + If (:clicmd:`ip ospf`) is present, (:clicmd:`network`) commands will fail. .. clicmd:: ip ospf authentication-key AUTH_KEY |