Ospf Cost; Ospf Dr-Priority - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

[Sysname-Vlan-interface11] ospf bfd enable

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.
108

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents