Users Guide

Table Of Contents
Layer 3 Routing Commands 1698
User Guidelines
There are no user guidelines for this command.
Example
console(config-router)#capability opaque
clear ip ospf
Use the clear ip ospf command to reset specific OSPF states. If no
parameters are specified, OSPF is disabled and then re-enabled.
Syntax
clear ip ospf [{configuration | redistribution | counters | neighbor
[interface vlan vlan id [neighbor id]]}] [vrf vrf-name]
configuration — Reset the OSPF configuration to factory defaults.
redistribution — Flush all self-originated external LSAs. Reapply the
redistribution configuration and re originate prefixes as necessary.
counters — Reset global and interface statistics.
neighbor — Drop the adjacency with all OSPF neighbors. On each
neighbor's interface, send a one-way hello. Adjacencies may then be
reestablished.
interface vlan vlan-id — Drop adjacency with all neighbors on a specific
interface.
neighbor-id — Drop adjacency with a specific router ID on a specific
interface.
vrf-name—The name of the VRF instance on which the command
operates. If no VRF parameter is given, counters for the default (global)
router instance is cleared.
Default Configuration
There is no default configuration for this command.
Command Mode
Privileged Exec mode.