summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-27 19:47:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-27 19:47:22 +0100
commit244eced690fb641bba72097ede510fe8e0a81c46 (patch)
treec2e659f8b19e7c966f82824ac78f4f7c01dcb5c6 /docs
parent8ff3e99af120d69084c4b682790d6f7a315b28e8 (diff)
downloadvyos-documentation-244eced690fb641bba72097ede510fe8e0a81c46.tar.gz
vyos-documentation-244eced690fb641bba72097ede510fe8e0a81c46.zip
ospf: T3753: document new CLI for passive mode
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/protocols/ospf.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/configuration/protocols/ospf.rst b/docs/configuration/protocols/ospf.rst
index 8c858ce1..3e4b0217 100644
--- a/docs/configuration/protocols/ospf.rst
+++ b/docs/configuration/protocols/ospf.rst
@@ -145,12 +145,16 @@ Optional
This command should NOT be set normally.
-.. cfgcmd:: set protocols ospf passive-interface <interface>
+.. cfgcmd:: set protocols ospf interface <interface> passive [disable]
This command specifies interface as passive. Passive interface advertises
its address, but does not run the OSPF protocol (adjacencies are not formed
and hello packets are not generated).
+ The optional `disable` option allows to exclude interface from passive state.
+ This command is used if the command :cfgcmd:`passive-interface default` was
+ configured.
+
.. cfgcmd:: set protocols ospf passive-interface default
This command specifies all interfaces as passive by default. Because this
@@ -158,11 +162,6 @@ Optional
interfaces where router adjacencies are expected need to be configured
with the :cfgcmd:`passive-interface-exclude` command.
-.. cfgcmd:: set protocols ospf passive-interface-exclude <interface>
-
- This command allows exclude interface from passive state. This command is
- used if the command :cfgcmd:`passive-interface default` was configured.
-
.. cfgcmd:: set protocols ospf refresh timers <seconds>
The router automatically updates link-state information with its neighbors.