Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
3-46
Examples
# Set the OSPF cost for the interface to 65.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf cost 65
3.1.41 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, the higher the priority.
This configuration is not supported on the NULL interface 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
3.1.42 ospf mib-binding
Syntax
ospf mib-binding
process-id
undo ospf mib-binding
View
System view