Command
IP OSPF Network Nonbroadcast
Use
This command manually sets the OSPF network type to nonbroadcast. This is a default for frame-relay and ATM links. Neighbor statements are required to form adjacency.
The Nonbroadcast network type has a DR election.
Syntax
Router(config-if)#ip ospf network nonbroadcast
Example
In this example, we will configure R4 to use its default network type. First we’ll configure OSPF on R1, R3, and R4 for all interfaces.
R4(config-router)#router ospf 1 |
Next we’ll configure the frame-relay network to use its default nonbroadcast type.
R4(config)#int s0/0 |
After a couple minutes, R4 still doesn’t have any adjacencies
R4(config-router)#do show ip ospf neighbor R4(config-router)# |
Notice that the OSPF network type is non_broadcast, so it will require unicast updates.
R4(config)#do show ip ospf interface s0/0 |
After we configure the neighbor statement, the adjacencies come up.
R4(config)#router ospf 1 R4(config-router)# |