4-51
ospf dr-priority
Syntax
ospf dr-priority priority
undo ospf dr-priority
View
Interface view
Default Level
2: System level
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, the higher the priority. If a device has a priority of 0, it will not be elected as a DR
or BDR.
The DR priority configuration is not supported on the null and loopback interfaces.
Examples
# Set the DR priority on the current interface to 8.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf dr-priority 8
ospf mib-binding
Syntax
ospf mib-binding
process-id
undo ospf mib-binding
View
System view
Default Level
2: System level
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 for responding to
SNMP requests.
Use the
undo ospf mib-binding
command to restore the default.
By default, MIB operation is bound to the OSPF process with the smallest process ID.