Command
IP OSPF Network point-to-point
Use
This command manually sets the OSPF network type to point-to-point. This is the default for serial links. The point-to-point network type does not have a DR election.
Note: Point-to-point can only have a single adjaceny over a link.
Syntax
Router(config-if)#ip ospf network point-to-point
Example
In this example, we will configure R1’s S1/1 to R3 to use its default network type
First, we’ll configure OSPF on R1 and R3 for their S1/1 interfaces
R1(config-router)#router ospf 1 |
Next, we’ll configure the serial link to use point-to-point.
R1(config)#int s0/0 |
Checking show ip ospf interface s1/1 we see the network type is point to piont
Serial1/1 is up, line protocol is up |
After we configure the neighbor statement, the adjacencies come up.
Notice there is no DR information in the show ip ospf neighbor output. This is because the network type doesn’t support elections
R1(config-if)#do show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface |