The peer command sets an IP address and a DR priority for the adjacent switch on an NBMA network.
The undo peer command cancels the IP address of the adjacent switch on an NBMA network.
By default, the IP address and DR priority for the adjacent switch on an NBMA network are not set.
Parameter | Description | Value |
---|---|---|
ip-address | Specifies an IP address for the adjacent switch. | The value is in dotted decimal notation. |
dr-priority priority | Sets a DR priority for the adjacent switch. | The value of the priority is an integer that ranges from 0 to 255. By default, it is 1. |
On an NBMA network (such as an X.25 or FR network), the entire network can be fully meshed based on the mapping configuration. This means that there is a virtual link between any two devices. In this case, the network running OSPF can be considered as a broadcast network where a DR or a BDR can be selected. However, you must run the peer command to manually specify an IP address and a DR priority for an adjacent switch. This is necessary because it is impossible to find the adjacent devices dynamically by broadcasting Hello packets.