beautypg.com

Clearing ospf topology information, Clearing information for ospf areas – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 231

background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

213

53-1002603-01

Clearing OSPF information

This command clears all OSPF neighbors and the OSPF routes exchanged with the neighbors in the
Brocade 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 Brocade device about OSPF neighbor 10.10.10.1, enter the following
command.

Brocade#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 Brocade 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 ip-addr parameter. To specify the neighbor router using its
router ID, use the id ip-addr parameter.

Clearing OSPF topology information

To clear OSPF topology information on the Brocade device, enter the following command.

Brocade#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.

Brocade#clear ip ospf redistribution

Syntax: clear ip 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 Brocade device about all OSPF areas, enter the following command.

Brocade#clear ip ospf

This command clears all OSPF areas, all OSPF neighbors, and the entire OSPF routing table. After
this information has been cleared, adjacencies with all neighbors are re-established, and all OSPF
routes are re-learned.