The peer command sets the IP addresses and the designated router (DR) priority for the adjacent router on an NBMA network.
The undo peer command cancels the IP address of the adjacent router on an NBMA network.
| Parameter | Description | Value |
|---|---|---|
| ip-address | Specifies the IP address for the adjacent router. |
The value is in dotted decimal notation. |
| dr-priority priority | Sets the priority for the adjacent router to select a DR. |
The value of the priority is an integer ranging from 0 to 255. The default value is 1. |
Usage Scenario
In an NBMA network (such as an X.25 or FR network), the entire network can be fully meshed based on the mapping configuration. That means that there is a virtual link between any two routers. In this case, the network running OSPF can be considered as a broadcast network where a DR or a BDR can be selected. You need, however, manually specify the IP address and the DR priority for the adjacent router using the peer command, because it is impossible to find the adjacent router dynamically by broadcasting the Hello packet.