Configuration Guide Vol. 3


11.4.3 Configuring neighboring routers in NBMA

Points to note

The neighbor command applies to NBMA interfaces only.

As shown in the example below, you can use the priority parameter of the neighbor command to specify the neighboring router's eligibility to become a designated router. A priority of 0 makes the router ineligible to become a designated router. You must assign a priority value to any neighboring router that is eligible to become the designated router.

Command examples

  1. (config)# interface vlan 1

    (config-if)# ip ospf 1 area 0

    Enables OSPF on the interface.

  2. (config-if)# ip ospf network non-broadcast

    (config-if)# exit

    Sets the interface type to NBMA.

  3. (config)# router ospf 1

    (config-router)# neighbor 192.168.1.1 priority 2

    (config-router)# neighbor 192.168.1.2 priority 2

    Specifies the interface addresses of the neighboring routers in the domain and sets the priority of the neighboring routers to 2.