348Configuring OSPFv3 inbound route filteringAccording to some rules, you can configure OSPFv3 to filter routes that are computed fromreceived LSAs.To do… Use the command… RemarksStep 1 Enter systemview system-view —Step 2 Enter OSPFv3view ospfv3 [ process-id ] —Step 3 Configureinbound routefilteringfilter-policy { acl-number | ipv6-prefix ipv6-prefix-name } importRequiredNot configured by defaultThe filter-policy import command can only filter routes computed by OSPFv3. Only routes not filteredout can be added into the local routing table.Configuring an OSPFv3 cost for an interfaceYou can configure an OSPFv3 cost for an interface with one of the following methods:• Configure the cost value in interface view.• Configure a bandwidth reference value for the interface, and OSPFv3 computes the costautomatically based on the bandwidth reference value: Interface OSPFv3 cost = Bandwidthreference value/Interface bandwidth. If the calculated cost is greater than 65535, the valueof 65535 is used.If the cost value is not configured for an interface, OSPFv3 computes the interface cost valueautomatically.To do… Use the command… RemarksStep 1 Enter systemview system-view —Step 2 Enter interfaceviewinterface interface-typeinterface-number —Step 3 Configure anOSPFv3 cost forthe interfaceospfv3 cost value [instance instance-id ]OptionalBy default, OSPFv3 computes an interface’scost according to its bandwidth.The cost value defaults to 1 for VLANinterfaces and defaults to 0 for loopbackinterfaces.