To specifies a neighbor router and its priority, use the command neighbor in OSPF Router Configuration Mode. The no form of the command removes the neighbor and resets the neighbor priority to its default value. This command configures the Router ID of OSPF routers interconnecting to nonbroadcast networks.
Parameter | Type | Description |
---|---|---|
<neighbor-id>
|
Enter to configure the neighbor router ID based on which the priority of the neighbor is defined. | |
priority
|
Enter to configure the router priority and the priority of the nonbroadcast neighbor router associated with the specified IP address. The router with the highest priority becomes the designated router. | |
<priority value (0-255)>
|
Integer | Enter a number value that specifies the router priority and the priority of the nonbroadcast neighbor router associated with the specified IP address. This value ranges from 0 to 255 with the value 0 signifying that the neighbor is not eligible to become the designated router on this particular network, |
poll-interval
|
Enter to configure the poll interval between the Hello packets sent to an inactive non-broadcast multi-access neighbor. | |
<poll-interval (1-2147483647)
|
Integer | Enter a poll interval value. This value ranges from 1 to 2147483647 seconds. |
cost
|
Enter to configure route path cost value. | |
<cost number 0-255)>
|
Integer | Enter a value for route path cost. It ranges from 0 to 255. |
database-filter
|
Enter to configure the database filter. | |
all
|
Enter to set database filter as all. |
OSPF Router Configuration Mode
iS5Comm(config)# router ospf
iS5Comm(config-router)# neighbor 12.0.0.8 priority 25