beautypg.com

Clearing ospf information, Clearing ospf neighbors, Disabling and re-enabling the ospf process – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 267: Clearing ospf routes

background image

Multi-Service IronWare Routing Configuration Guide

239

53-1003033-02

Clearing OSPF information

Clearing OSPF information

You can use the clear ip ospf commands to clear OSPF data on an router as described in the
following:

neighbor information – refer to

“Clearing OSPF neighbors”

on page 239.

reset the OSPF process –

“Disabling and re-enabling the OSPF process”

on page 239.

clear and re-add OSPF routes –

“Clearing OSPF routes”

on page 239.

Clearing OSPF neighbors

You can use the following command to delete and relearn all OSPF neighbors, all OSPF neighbors
for a specified interface or a specified OSPF neighbor.

Brocade# clear ip ospf neighbor all

Syntax: clear ip ospf [ vrf vrf-name ] neighbor all [ interface ] | interface | ip-address [ interface ]

Selecting the all option without specifying an interface clears all of the OSPF neighbors on the
router.

The interface variable specifies the interface that you want to clear all of the OSPF neighbors on.
The following types of interfaces can be specified:

ethernet slot/port

tunnel tunnel-ID

ve ve-ID

The ip-address variable allows you to clear a specific OSPF neighbor.

Disabling and re-enabling the OSPF process

You can use the following command to disable and re-enable the OSPF process on a router.

Brocade# clear ip ospf all

Syntax: clear ip ospf [ vrf vrf-name ] all

This command resets the OSPF process and brings it back up after releasing all memory used
while retaining all configurations.

Clearing OSPF routes

You can use the following command to clear all OSPF routes or to clear a specific OSPF route.

Brocade# clear ip ospf routes all

Syntax: clear ip ospf [ vrf vrf-name ] routes all | ip-address/prefix-length

Selecting the all option resets the OSPF routes including external routes, and OSPF internal routes.

The ip-address/prefix-length variable specifies a particular route to delete and then reschedules
the SPF calculation.