l
Enabling IPv6 capability
l
Configuring Basic OSPFv3 Functions
Data Preparation
To configure OSPFv3 route attributes, you need the following data.
No.
Data
1
Link cost
2
Maximum number of equal-cost routes
5.7.2 Setting the Cost of the OSPFv3 Interface
OSPFv3 can automatically calculate the link cost for an interface according to the interface
bandwidth. You can also set the link cost for the interface by using the related command.
Context
You can control route calculation by setting the link cost of OSPFv3 on different interfaces.
Do as follows on the switch that runs OSPFv3.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
vlanif
interface-number
The interface view is displayed.
Step 3
Run:
ospfv3 cost
cost
[
instance
instance-id
]
The cost is set on the OSPFv3 interface.
By default, the link cost on an OSPFv3 interface is 1.
----End
5.7.3 Setting the Maximum Number of Equal-Cost Routes
If the destinations and costs of the multiple routes discovered by one routing protocol are the
same, load balancing can be performed among these routes.
Context
Do as follows on the switch that runs OSPFv3:
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
5 OSPFv3 Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
200