OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

OSPF Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

Configure OSPF neighbors for nonbroadcast networks

Want to summarize with AI?

Log in

Configure OSPF neighbors for nonbroadcast networks on Cisco 8000 Series Routers.


Set up explicit OSPF neighbor relationships on nonbroadcast (NBMA) networks by using repeatable configuration steps.

Perform this task to determine your OSPF process, area, interface assignments, and routing requirements.

Before you begin

  • Ensure the network is fully meshed so every router connects directly, or via virtual circuits, to every other router.

  • Decide whether your NBMA network will use broadcast or nonbroadcast mode.

Follow these steps to configure and verify OSPF areas and neighbours:

Procedure

Configure NBMA networks as either broadcast or nonbroadcast assumes that there are virtual circuits from every router to every router or fully meshed network.

Example:

Router# configure
Router(config)# router ospf 1
Router(config-ospf)# router-id 192.168.4.3
Router(config-ospf)# area 0
Router(config-ospf-ar)# network non-broadcast
Router(config-ospf-ar)# dead-interval 40
Router(config-ospf-ar)# hello-interval 10
Router(config-ospf-ar)# interface GigabitEthernet 0/2/0/0
Router(config-ospf-ar-if)# neighbor 10.20.20.1 priority 3 poll-interval 15
! or
Router(config-ospf-ar-if)# neighbor fe80::3203:a0ff:fe9d:f3fe
Router(config-ospf-ar-if)# exit
Router(config-ospf-ar)# commit

The router applies the OSPF configuration and establishes neighbor adjacencies on the nonbroadcast network segment.