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.
device# 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
unit/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.
device# 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.
device# 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
and
prefix-length
variables specify a particular route to delete and then reschedules the SPF calculation.
Clearing OSPF information
FastIron Ethernet Switch Layer 3 Routing
290
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...