Switch 7700 Command reference Guide, v2.0

Table Of Contents
OSPF Configuration Commands 151
View
VLAN interface view
Parameter
value Enter the cost for running the OSPF protocol, in the range 1 to 65535.
Description
Using the ospf cost command, you can configure the cost of sending messages
from each interface.
Using the undo ospf cost command, you can restore the default costs.
Example
To specify a cost of 33 when the interface vlan-interface 1 runs OSPF, enter the
following:
[SW7700]interface Vlan-interface 1
[SW7700-Vlan-interface1]ospf cost 33
ospf dr-priority Syntax
ospf dr-priority value
undo ospf dr-priority
View
VLAN interface view
Parameter
value Enter the interface priority for electing the "designated router", ranging
from 0 to 255. The default value is 1.
Description
Using the ospf dr-priority command, you can configure the priority for
electing the "designated router" on an interface. Using the
undo ospf
dr-priority
command, you can restore the default value.
The priority of the interface determines the qualification of the interface when the
"designated router" is elected. The interface with higher priority will be
considered first when the vote collision occurs.
Example
To set a priority of 8 for interface Vlan-interface 1 to 8, when electing the DR,
enter the following:
[SW7700]interface Vlan-interface 1
[SW7700-Vlan-interface1]ospf dr-priority 8
ospf mtu-enable Syntax
ospf mtu-enable
undo ospf mtu-enable