1146 CHAPTER 76: OSPF CONFIGURATION COMMANDS
<Sysname> system-view
[Sysname] interface serial2/0
[Sysname-Serial2/0] ospf cost 65
ospf dr-priority
Syntax ospf dr-priority priority
undo ospf dr-priority
View Interface view
Parameters priority: DR Priority of the interface, in the range 0 to 255.
Description Use the ospf dr-priority command to set the priority for DR/BDR election on an
interface.
Use the undo ospf dr-priority command to restore the default value.
By default, the priority is 1.
The bigger the value is, the higher the priority.
This configuration is not supported on the NULL interface.
Examples # Set the DR priority on the current interface to 8.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] ospf dr-priority 8
ospf mib-binding
Syntax ospf mib-binding process-id
undo ospf mib-binding
View System view
Parameters process-id: OSPF process ID, in the range 1 to 65535.
Description Use the ospf mib-binding command to bind an OSPF process to MIB operation.
Use the undo ospf mib-binding command to restore the default.
By default, MIB operation is bound to the first enabled OSPF process.
Examples # Bind OSPF process 100 to MIB operation.