diff options
| author | Yash Ranjan <ranjany@vmware.com> | 2021-05-03 04:46:41 -0700 |
|---|---|---|
| committer | Yash Ranjan <ranjany@vmware.com> | 2021-06-27 20:56:10 -0700 |
| commit | f71ed6df3e1cc7b1fc0b2e1c8ba3c5ec9c16d89f (patch) | |
| tree | 21a6b9cb9f565da524050cef40c60b712f5b961d /ospf6d/ospf6d.c | |
| parent | 32694c41bb298075c19b2cd50525bee3a336ccec (diff) | |
ospf6d: "clear ipv6 ospf6 process" command
Adding the "clear ipv6 ospf6 command" . It resets
the ospfv3 datastructures and clears the database
as well as route tables. It resets the neighborship
by restarting the interface state machine.
If the user wants to change the router-id, this
command updates the router-id to the latest static
router-id and starts the neighbor formation with
the new router-id.
Signed-off-by: Yash Ranjan <ranjany@vmware.com>
Diffstat (limited to 'ospf6d/ospf6d.c')
| -rw-r--r-- | ospf6d/ospf6d.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6d.c b/ospf6d/ospf6d.c index 65f0aa664e..fb6ac4402a 100644 --- a/ospf6d/ospf6d.c +++ b/ospf6d/ospf6d.c @@ -1425,6 +1425,7 @@ void ospf6_init(struct thread_master *master) install_element_ospf6_debug_flood(); install_element_ospf6_debug_nssa(); + install_element_ospf6_clear_process(); install_element_ospf6_clear_interface(); install_element(ENABLE_NODE, &show_debugging_ospf6_cmd); |
