The ip ospf commands have two effects on interface configuration. These effects apply to all ip ospf commands:
The ip ospf command configures the specified OSPF parameters for all networks configured on the given IP interface—for example, all multinetted addresses on an interface.
The no version of the command resets the specified parameters to unspecified.
If the no version of the command takes effect for a specified IP interface, there is no default value for the specified parameters. The parameter is set back to unspecified values. However, the value of the specified parameter for the OSPF interface is set back to the default value or the value previously specified by the address command.
![]() |
Note: The ip ospf commands configure OSPF attributes for all OSPF networks in the given interface context—for example, in a multinet environment where multiple IP networks sit on top of an Ethernet interface. The address commands configure OSPF attributes for a single OSPF interface. |
The ip ospf command configures the specified OSPF parameters for each OSPF interface that sits on top of the IP interface.
The no version of the command restores the specified parameters to the default values.
![]() |
Note: We recommend using address commands to set attributes of OSPF interfaces created using the address area command. |
ipv6 ospf area
- host1(config)#interface fastethernet 0/0
- host1(config-if)#ipv6 ospf area 50
ip ospf cost
ipv6 ospf cost
- host1(config)#interface fastethernet 0/0
- host1(config-if)#ip ospf cost 50
- host1(config)#interface fastethernet 0/0
- host1(config-if)#ipv6 ospf cost 50
ip ospf dead-interval
ipv6 ospf dead-interval
- host1(config-if)#ip ospf dead-interval 60
- host1(config-if)#ipv6 ospf dead-interval 60
ip ospf hello-interval
ipv6 ospf hello-interval
- host1(config-if)#ip ospf hello-interval 8
- host1(config-if)#ipv6 ospf hello-interval
8
ipv6 ospf mtu-ignore
- host1(config-if)#ipv6 ospf mtu-ignore
ipv6 ospf network
- host1(config)#interface fastethernet 0/0
- host1(config-if)#ipv6 ospf network broadcast
ip ospf priority
ipv6 ospf priority
- host1(config-if)#ip ospf priority 2
- host1(config-if)#ipv6 ospf priority 2
ip ospf retransmit-interval
ipv6 ospf retransmit-interval
- host1(config-if)#ip ospf retransmit-interval
10
- host1(config-if)#ipv6 ospf retransmit-interval
10
ip ospf transmit-delay
ipv6 ospf transmit-delay
- host1(config-if)#ip ospf transmit-delay 4
- host1(config-if)#ipv6 ospf transmit-delay
4