Ospf Cost; Ospf Dr-Priority - HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

ospf cost

Syntax
ospf cost value
undo ospf cost
View
Interface view
Default level
2: System level
Parameters
value: OSPF cost, in the range of 0 to 65535 for a loopback interface and 1 to 65535 for other
interfaces.
Description
Use ospf cost to set an OSPF cost for the interface.
Use undo ospf cost to restore the default.
The default cost depends on the interface type: 1 for a VLAN interface; 0 for a loopback interface;
computed according to the bandwidth for other interfaces with the formula: Interface OSPF cost =
Bandwidth reference value (100 Mbps) ÷ Interface bandwidth (Mbps).
If the calculated cost is greater than 65535, the value of 65535 is used; if the calculated cost is
smaller than 1, the value of 1 is used.
Examples
# Set the OSPF cost for the interface to 65.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospf cost 65

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 of 0 to 255.
Description
Use ospf dr-priority to set the priority for DR/BDR election on an interface.
Use undo ospf dr-priority to restore the default value.
By default, the priority is 1.
108

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents