Connectivity Guide

Table Of Contents
clear ip ospf process
Clears all OSPF routing tables.
Syntax
clear ip ospf {instance-number} [vrf vrf-name] process
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
congured in that VRF.
Default Not congured
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 trac 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 trac
statistics in that congured VRF.
Default Not congured
Command Mode EXEC
Usage Information This command clears the OSPF trac statistics in a specied instance or in all the congured 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
Layer 3 445