212 Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Clearing OSPF information

Configuring the OSPF graceful restart time

Use the following commands to specify the maximum amount of time advertised to a neighbor
router to maintain routes from and forward traffic to a restarting router.
Brocade(config) router ospf
Brocade(config-ospf-router)# graceful-restart restart-time 120
Syntax: [no] graceful-restart restart-time seconds
The seconds variable sets the maximum restart wait time advertised to neighbors.
Possible values are from 10 through 1800 seconds.
The default value is 120 seconds.

Disabling OSPF graceful restart helper mode

By default, a Layer 3 switch supports other restarting routers as a helper. You can prevent your
router from participating in OSPF graceful restart by using the following commands.
Brocade(config) router ospf
Brocade(config-ospf-router)# graceful-restart helper-disable
Syntax: [no] graceful-restart helper-disable
This command disables OSPF graceful restart helper mode.
The default behavior is to help the restarting neighbors.
Clearing OSPF information
The following kinds of OSPF information can be cleared from a Brocade OSPF link state database
and OSPF routing table:
Routes received from OSPF neighbors. You can clear routes from all OSPF neighbors, or an
individual OSPF neighbor, specified either by the neighbor IP address or its router ID
OSPF topology information, including all routes in the OSPF routing table
All routes in the OSPF routing table that were redistributed from other protocols
OSPF area information, including routes received from OSPF neighbors within an area, as well
as routes imported into the area. You can clear area information for all OSPF areas, or for a
specified OSPF area
The OSPF information is cleared dynamically when you enter the command; you do not need to
remove statements from the Brocade configuration or reload the software for the change to take
effect.

Clearing OSPF neighbor information

To clear information on the Brocade device about all OSPF neighbors, enter the following
command.
Brocade#clear ip ospf neighbor
Syntax: clear ip ospf neighbor [ip ip-addr | id ip-addr]