Configuring An Ospf Cost For An Interface; Configuring The Maximum Number Of Ecmp Routes - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Configuring an OSPF cost for an interface

You can configure an OSPF cost for an interface by using either of the following methods:
Configure the cost value in interface view
Configure a bandwidth reference value for the interface. OSPF computes the cost with this
formula: Interface OSPF cost = Bandwidth reference value (100 Mbps)/Interface bandwidth
(Mbps). If the calculated cost is greater than 65,535, the value of 65,535 is used. If the
calculated cost is less than 1, the value of 1 is used. If no cost or bandwidth reference value is
configured for an interface, OSPF computes the interface cost based on the interface
bandwidth and default bandwidth reference value.
To configure an OSPF cost for an interface:
Step
Enter system view.
1.
Enter interface view.
2.
Configure an OSPF
3.
cost for the interface.
To configure a bandwidth reference value:
Step
Enter system view.
1.
Enter OSPF view.
2.
Configure a bandwidth
3.
reference value.

Configuring the maximum number of ECMP routes

Perform this task to implement load sharing over ECMP routes.
To configure the maximum number of ECMP routes:
Step
Enter system view.
1.
Enter OSPF view.
2.
Configure the maximum
3.
number of ECMP routes.
Command
system-view
interface interface-type
interface-number
ospf cost value
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
bandwidth-reference value
Command
system-view
ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *
maximum load-balancing maximum
71
Remarks
N/A
N/A
Optional.
The default cost depends on the
interface type. The default cost for a
loopback interface is 0.
Remarks
N/A
N/A
Optional.
The value defaults to 100
Mbps.
Remarks
N/A
N/A
Optional.
By default, the
maximum number of
ECMP routes is 8.

Advertisement

Table of Contents
loading

Table of Contents