API Guide

clear ip ospf statistics
Clears OSPF traffic 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 traffic statistics in that configured VRF.
Default Not configured
Command Mode EXEC
Usage
Information
This command clears the OSPF traffic statistics in a specified instance or in all the configured 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
debug ip ospfv2
Enables Open Shortest Path First version 2 (OSPFv2) debugging and displays messages related to processing of OSPFv2.
Syntax
debug ip ospfv2
Parameters None
Defaults None
Command Mode EXEC
Usage
Information
The no debug ip ospfv2 command stops displaying messages related to processing of OSPFv2
Example
debug ip ospfv2
Supported
Releases
OS10 legacy command.
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
Layer 3 701