Connectivity Guide
Parameters
• instance-number — Enter an OSPF instance number, from 1 to 65535.
• vrf vrf-name — Enter the keyword vrf followed by the name of the VRF to reset the OSPF process
congured in that VRF.
Default Not congured
Command Mode EXEC
Usage Information This command clears all entries in the OSPF routing table.
Example
OS10# clear ip ospf 3 vrf vrf-test process
Supported Releases 10.2.0E or later
clear ip ospf statistics
Clears OSPF trac statistics.
Syntax
clear ip ospf [instance-number] [vrf vrf-name] statistics
Parameters
• instance-number — (Optional) Enter an OSPF instance number, from 1 to 65535.
• vrf vrf-name — (Optional) Enter the keyword vrf followed by the name of the VRF to clear OSPF trac
statistics in that congured VRF.
Default Not congured
Command Mode EXEC
Usage Information This command clears the OSPF trac statistics in a specied instance or in all the congured OSPF instances, and
resets them to zero.
Example
OS10# clear ip ospf 10 vrf vrf-test statistics
Supported Releases 10.4.0E(R1) or later
default-information originate
Generates and distributes a default external route information to the OSPF routing domain.
Syntax
default-information originate [always]
Parameters always — (Optional) Always advertise the default route.
Defaults Disabled
Command Mode ROUTER-OSPF
Usage Information The no version of this command disables the distribution of default route.
Example
OS10(config)# router ospf 10
OS10(config-router-ospf-10)# default-information originate always
Supported Releases 10.3.0E or later
544 Layer 3