Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

clear ospf database

clear ospf database—Delete the entries in the OSPF link-state database learned from OSPF neighbors (on vEdge routers only). Use this command for troubleshooting OSPF or to reset the link-state database if you suspect that it has been corrupted.

Command Syntax

clear ospf database vpn vpn-id

Options

VPN
vpn vpn-id
Clear the OSPF link-state database of entries from  the specified VPN.

Output Fields

The output is self-explanatory.

Example Output

vEdge# show ospf database router 
           LSA                LINK             ADVERTISING                                               
VPN  AREA  TYPE               ID               ROUTER           AGE      CHECKSUM  SEQ#        
-----------------------------------------------------------------------------------------------
1    0     router             172.16.255.15    172.16.255.15    143      0x27ee    0x8000000f  
1    0     router             172.16.255.17    172.16.255.17    24       0x27ea    0x8000000d  

vEdge# clear ospf database vpn 1 
vEdge# show ospf database router
           LSA                LINK             ADVERTISING                                               
VPN  AREA  TYPE               ID               ROUTER           AGE      CHECKSUM  SEQ#        
-----------------------------------------------------------------------------------------------
1    0     router             172.16.255.15    172.16.255.15    164      0x27ee    0x8000000f  

Release Information

Command introduced in Viptela Software Release 14.2.

Additional Information

show ospf database

  • Was this article helpful?