background image
Configuring OSPF
143
RouterB(config-if)#router ospf 1
RouterB(config-router)#neighbor 172.16.25.10 priority 1
RouterB(config-router)#neighbor 172.16.25.11 priority 1
RouterB(config-router)#neighbor 172.16.25.12 priority 1
RouterB(config-router)#network 172.16.25.0 0.0.0.255 area
0
RouterB(config-router)#^Z
RouterB#
Point-to-Multipoint
This configuration does away with the assumption that there are PVCs con-
figured for all routers creating a full mesh. The same ip ospf network
broadcast
command is used to specify that the network type is point-to-
multipoint non-broadcast. This tells the router that no DR/BDR needs to be
elected and that the interfaces are treated as individual point-to-point links.
Here is a sample configuration:
RouterC#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
RouterC(config)#interface serial2
RouterC(config-if)#ip ospf network point-to-multipoint
non-broadcast
RouterC(config-if)#encapsulation frame-relay ietf
RouterC(config-if)#frame-relay local dlci 300
RouterC(config-if)#frame-relay map ip 172.16.26.12 312
broadcast
RouterC(config-if)#frame-relay map ip 172.16.26.13 313
broadcast
RouterC(config-if)#router ospf 1
RouterC(config-router)#neighbor 172.16.26.12 priority 1
RouterC(config-router)#neighbor 172.16.26.13 priority 1
RouterC(config-router)#network 172.16.25.0 0.0.0.255
area 0
RouterC(config-router)#^Z
RouterC#
Copyright ©2001 SYBEX , Inc., Alameda, CA
www.sybex.com