]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: replace "interface IFNAME area" with "ipv6 ospf6 area"
authorIgor Ryzhov <iryzhov@nfware.com>
Tue, 25 May 2021 23:05:11 +0000 (02:05 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 8 Jun 2021 18:38:09 +0000 (21:38 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
doc/user/ospf6d.rst

index 59a3af7645189281182b9b1e79b33f02ab0299da..d26062e2b9855f1adc2796c902d70cea0858df7c 100644 (file)
@@ -18,13 +18,6 @@ OSPF6 router
 
    Set router's Router-ID.
 
-.. clicmd:: interface IFNAME area (0-4294967295)
-
-.. clicmd:: interface IFNAME area A.B.C.D
-
-   Bind interface to specified area, and start sending OSPF packets. `area` can
-   be specified as 0.
-
 .. clicmd:: timers throttle spf (0-600000) (0-600000) (0-600000)
 
    This command sets the initial `delay`, the `initial-holdtime`
@@ -108,6 +101,10 @@ The following functionalities are implemented as per RFC 3101:
 OSPF6 interface
 ===============
 
+.. clicmd:: ipv6 ospf6 area <A.B.C.D|(0-4294967295)>
+
+   Enable OSPFv3 on the interface and add it to the specified area.
+
 .. clicmd:: ipv6 ospf6 cost COST
 
    Sets interface's output cost. Default value depends on the interface
@@ -265,12 +262,12 @@ Example of ospf6d configured on one interface and area:
 .. code-block:: frr
 
    interface eth0
+    ipv6 ospf6 area 0.0.0.0
     ipv6 ospf6 instance-id 0
    !
    router ospf6
     ospf6 router-id 212.17.55.53
     area 0.0.0.0 range 2001:770:105:2::/64
-    interface eth0 area 0.0.0.0
    !
 
 
@@ -282,6 +279,7 @@ Larger example with policy and various options set:
    debug ospf6 neighbor state
    !
    interface fxp0
+    ipv6 ospf6 area 0.0.0.0
     ipv6 ospf6 cost 1
     ipv6 ospf6 hello-interval 10
     ipv6 ospf6 dead-interval 40
@@ -302,7 +300,6 @@ Larger example with policy and various options set:
    router ospf6
     router-id 255.1.1.1
     redistribute static route-map static-ospf6
-    interface fxp0 area 0.0.0.0
    !
    access-list access4 permit 127.0.0.1/32
    !