Clearing ospf topology information, Clearing information for ospf areas – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 679

Brocade TurboIron 24X Series Configuration Guide
645
53-1003053-01
Clearing OSPF information
TurboIron#clear ip ospf neighbor
Syntax: clear ip ospf neighbor [ip 
This command clears all OSPF neighbors and the OSPF routes exchanged with the neighbors in the 
OSPF link state database. After this information is cleared, adjacencies with all neighbors are 
re-established, and routes with these neighbors exchanged again.
To clear information on the device about OSPF neighbor 10.10.10.1, enter the following command.
TurboIron#clear ip ospf neighbor ip 10.10.10.1
This command clears the OSPF neighbor and the OSPF routes exchanged with neighbor 10.10.10.1 
in the OSPF link state database in the device. After this information is cleared, the adjacency with 
the neighbor is re-established, and routes are exchanged again.
The neighbor router can be specified either by its IP address or its router ID. To specify the neighbor 
router using its IP address, use the ip 
router ID, use the id 
Clearing OSPF topology information
To clear OSPF topology information on the device, enter the following command.
TurboIron#clear ip ospf topology
Syntax: clear ip ospf topology
This command clears all OSPF routes from the OSPF routing table, including intra-area, (which 
includes ABR and ASBR intra-area routes), inter-area, external type 1, external type 2, OSPF default, 
and OSPF summary routes.
After you enter this command, the OSPF routing table is rebuilt, and valid routes are recomputed 
from the OSPF link state database. When the OSPF routing table is cleared, OSPF routes in the 
global routing table are also recalculated. If redistribution is enabled, the routes are imported 
again.
Clearing redistributed routes from the OSPF routing table
To clear all routes in the OSPF routing table that were redistributed from other protocols, enter the 
following command.
TurboIron#clear ospf redistribution
Syntax: clear ospf redistribution
This command clears all routes in the OSPF routing table that are redistributed from other 
protocols, including direct connected, static, RIP, and BGP. To import redistributed routes from 
other protocols, use the redistribution command at the OSPF configuration level.
Clearing information for OSPF areas
To clear information on the device about all OSPF areas, enter the following command.
TurboIron#clear ip ospf
