5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
744
clear ip ospf counters [vrf vrf-name]
Parameters
vrf vrf-name
(Optional) Indicates the OSPF protocol of a virtual router.
Default
The default is None.
Command Mode
Privileged EXEC
7-143 clear ip ospf neighbor
Drop the adjacency with all OSPF neighbors for the specified virtual router. On each neighbors interface,
send a one-way hello. Adjacencies may then be re-established. If no router is specified, adjacency with all
OSPF neighbors is dropped for the default router. To drop all adjacencies with a specific router ID,
specify the neighbors Router ID using the optional parameter [
neighbor-id
].
clear ip ospf neighbor [neighbor-id] [vrf vrf-name]
Parameters
neighbor-id
(Optional) Enter the neighbor's Router ID.
vrf vrf-name
(Optional) Bounce all OSPF neighbors of a virtual router.
Default
The default is None.
Command Mode
Privileged EXEC
7-144 clear ip ospf neighbor interface
To drop adjacency with all neighbors on a specific interface, use the optional parameter [
slot/port
]. To
drop adjacency with a specific router ID on a specific interface, use the optional parameter [
neighbor-id
].
clear ip ospf neighbor interface [slot/port] [neighbor-id]