Merge pull request #10558 from Jafaral/ospf-net-or-iface

doc: mixing `ip ospf` and `network` commands is not supported
This commit is contained in:
Donatas Abraitis 2022-02-16 22:10:21 +02:00 committed by GitHub
commit ebde4d03c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 the destination prefix. Otherwise, we test whether the network command prefix
contains the local address prefix of the interface. contains the local address prefix of the interface.
In some cases it may be more convenient to enable OSPF on a per It is also possible to enable OSPF on a per interface/subnet basis
interface/subnet basis (:clicmd:`ip ospf area AREA [ADDR]`). 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 .. clicmd:: proactive-arp
@ -515,12 +517,14 @@ Interfaces
Enable OSPF on the interface, optionally restricted to just the IP address 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 given by `ADDR`, putting it in the `AREA` area. If you have a lot of
take precedence to network commands interfaces, and/or a lot of subnets, then enabling OSPF via this command
(:clicmd:`network A.B.C.D/M area A.B.C.D`). instead of (:clicmd:`network A.B.C.D/M area A.B.C.D`) may result in a
slight performance improvement.
If you have a lot of interfaces, and/or a lot of subnets, then enabling OSPF Notice that, mixing both network commands (:clicmd:`network`) and interface
via this command may result in a slight performance improvement. 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 .. clicmd:: ip ospf authentication-key AUTH_KEY