Use this command to set the OSPF priority value for router interfaces.
number | Specifies the router‘s OSPF priority in a range from 0 to 255. |
None.
OSPF router configuration.
The priority value is communicated between routers by means of hello messages and influences the election of a designated router.
The “no” form of this command resets the value to the default of 1.
This example shows how to set the OSPF priority to 20 for VLAN 1:
System(rw-config)->interface vlan 1 System(rw-config-intf-vlan.0.1)->ip ospf priority 20