Skip to content

Commit

Permalink
add clear ospf database command
Browse files Browse the repository at this point in the history
  • Loading branch information
cumulusAnia committed Jul 26, 2024
1 parent 5151cc9 commit 25b97fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,17 @@ cumulus@leaf01:mgmt:~$ nv action clear vrf default router ospf interface swp51
Action succeeded
```
## Clear the OSPF Database
To clear the OSPF database, reestablish neighborships, and reoriginate LSAs, run the `nv action clear vrf <vrf>> router ospf database` command:
```
cumulus@leaf01:mgmt:~$ nv action clear vrf default router ospf database
Action executing ...
Cleared vrf default ospf database
Action succeeded
```
## Considerations
With NVUE, you cannot run both the `nv set vrf default router ospf area <area> network` command and the `nv set interface <interface> router ospf area` command in the same configuration; for example, if you run the following commands, NVUE shows an invalid configuration error:
Expand Down
2 changes: 1 addition & 1 deletion content/cumulus-linux-510/Whats-New/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ nv unset vrf <vrf>> router bgp neighbor <neighbor-id>> graceful-shutdown
```
nv action cancel system telemetry hft job
nv action clear system api session user
nv action clear vrf <vrf>> router ospf database
nv action clear vrf <vrf> router ospf database
nv action delete system tech-support files <file-name>
nv action generate system tech-support
nv action rotate system log
Expand Down

0 comments on commit 25b97fb

Please sign in to comment.