R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
165
ospf dr-priority
Use ospf dr-priority to set the router priority for DR/BDR election on an interface.
Use undo ospf dr-priority to restore the default value.
Syntax
ospf dr-priority priority
undo ospf dr-priority
Default
The router priority is 1.
Views
Interface view
Predefined user roles
network-admin
Parameters
priority: Specifies the router priority for the interface, in the range of 0 to 255.
Usage guidelines
The greater the value, the higher the priority for DR/BDR election. If a device has a priority of 0, it will
not be elected as a DR or BDR.
Examples
# Set the router priority on GigabitEthernet 2/1/1 to 8.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] ospf dr-priority 8
ospf fast-reroute lfa-backup
Use ospf fast-reroute lfa-backup to enable LFA on the interface.
Use undo ospf fast-reroute lfa-backup to disable LFA on the interface.
Syntax
ospf fast-reroute lfa-backup
undo ospf fast-reroute lfa-backup
Default
LFA is enabled on the interface.
Views
Interface view
Predefined user roles
network-admin