From: Jafar Al-Gharaibeh Date: Thu, 10 Feb 2022 16:22:02 +0000 (-0600) Subject: doc: mixing `ip ospf` and `network` commands is not supported X-Git-Tag: pim6-testing-20220430~316^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F10558%2Fhead;p=mirror%2Ffrr.git doc: mixing `ip ospf` and `network` commands is not supported Signed-off-by: Jafar Al-Gharaibeh --- diff --git a/doc/user/ospfd.rst b/doc/user/ospfd.rst index ed4d02d89b..8312544deb 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 @@ -510,12 +512,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