C613-50631-01 Rev A Command Reference for IE340 Series 1151
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
OSPF COMMANDS
IP
OSPF PRIORITY
ip ospf priority
Overview This command sets the router priority, which is a parameter used in the election of
the designated router for the network.
The no variant of this command returns the router priority to the default of 1.
Syntax
ip ospf [<ip-address>] priority <priority>
no ip ospf [<ip-address>] priority
Default 1
Mode Interface Configuration for a VLAN interface.
Usage notes Set the priority to help determine the OSPF Designated Router (DR) for a network.
If two routers attempt to become the DR, the router with the higher router priority
becomes the DR. If the router priority is the same for two routers, the router with
the higher router ID takes precedence.
Only routers with nonzero router priority values are eligible to become the
designated or backup designated router.
Configure router priority for multi-access networks only and not for point-to-point
networks.
Example To set the OSPF priority value to 3 on the VLAN interface vlan2, use the commands:
awplus# configure terminal
awplus(config)# interface vlan2
awplus(config-if)# ip ospf priority 3
Related
commands
ip ospf network
Parameter Description
<ip-address> The IP address of the interface.
<priority> <0-255> The Router Priority of the interface.