]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospf6: add the ability of specifying router-id/area-id in no debug ospf6 9740/head
authorAhmad Caracalli <ahmad.caracalli@6wind.com>
Wed, 6 Oct 2021 13:46:19 +0000 (15:46 +0200)
committerAhmad Caracalli <ahmad.caracalli@6wind.com>
Wed, 6 Oct 2021 13:46:19 +0000 (15:46 +0200)
Add the ability to specify the router-id/area-id when deleting the debug
ospf6 configuration.

The new commands are as follow:

no debug ospf6 border-routers router-id [A.B.C.D]
no debug ospf6 border-routers area-id [A.B.C.D]

Update the doc as well.

Signed-off-by: Ahmad Caracalli <ahmad.caracalli@6wind.com>
doc/user/ospf6d.rst
ospf6d/ospf6_intra.c

index d823c5d5b547578675258e5584635254f56410d3..093c5382cfa07ecd514757546127efcde86c326e 100644 (file)
@@ -476,9 +476,10 @@ The following debug commands are supported:
 
    Toggle OSPFv3 ASBR debugging messages.
 
-.. clicmd:: debug ospf6 border-routers
+.. clicmd:: debug ospf6 border-routers {router-id [A.B.C.D] | area-id [A.B.C.D]}
 
-   Toggle OSPFv3 border router debugging messages.
+   Toggle OSPFv3 border router debugging messages. This can be specified for a
+   router with specific Router-ID/Area-ID.
 
 .. clicmd:: debug ospf6 flooding
 
index 277af4b1c5215533c4d939ccd3e7f30be893f0db..988f37bd2ed72047186d27ec18b80b158df87fa7 100644 (file)
@@ -2479,12 +2479,13 @@ DEFUN (debug_ospf6_brouter_router,
 
 DEFUN (no_debug_ospf6_brouter_router,
        no_debug_ospf6_brouter_router_cmd,
-       "no debug ospf6 border-routers router-id",
+       "no debug ospf6 border-routers router-id [A.B.C.D]",
        NO_STR
        DEBUG_STR
        OSPF6_STR
        "Debug border router\n"
        "Debug specific border router\n"
+       "Specify border-router's router-id\n"
       )
 {
        OSPF6_DEBUG_BROUTER_SPECIFIC_ROUTER_OFF();
@@ -2510,12 +2511,13 @@ DEFUN (debug_ospf6_brouter_area,
 
 DEFUN (no_debug_ospf6_brouter_area,
        no_debug_ospf6_brouter_area_cmd,
-       "no debug ospf6 border-routers area-id",
+       "no debug ospf6 border-routers area-id [A.B.C.D]",
        NO_STR
        DEBUG_STR
        OSPF6_STR
        "Debug border router\n"
        "Debug border routers in specific Area\n"
+       "Specify Area-ID\n"
       )
 {
        OSPF6_DEBUG_BROUTER_SPECIFIC_AREA_OFF();