< Home

lsa-forwarding-address

Function

The lsa-forwarding-address command enables the OSPFv3 forwarding address (FA) function.

The undo lsa-forwarding-address command disables the OSPFv3 FA function.

By default, the OSPFv3 FA function is disabled.

Format

lsa-forwarding-address { standard | zero-translate }

undo lsa-forwarding-address

Parameters

Parameter Description Value

standard

Indicates that the function is compatible with RFC 3101.

-

zero-translate

Allows the Type 7 LSAs with the P-bit set and the FA being 0 to be translated to Type 5 LSAs.

-

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

For an OSPFv3 Type 5 or Type 7 LSA:
  • When there is no FA, other switches consider how to reach the ASBR (the switch that generates this LSA) and then reach an external network through this ASBR.

  • When there is an FA, other switches consider how to reach the device to which this FA belongs and then reach an external network through this device.

In this situation, if no FA is available, an additional next hop may be generated when a switch within an OSPF domain first reaches an ASBR before reaching an external network.

Therefore, the FA in an OSPFv3 Type 5 or Type 7 LSA provides a faster next hop to reach an external network.

Precautions

If the FA in an OSPFv3 Type 5 or Type 7 LSA is not 0, the corresponding route is calculated only when the lsa-forwarding-address command is configured.

Example

# Enable the OSPFv3 FA function that is compatible with RFC 3101.

<HUAWEI> system-view
[HUAWEI] ospfv3 1
[HUAWEI-ospfv3-1] lsa-forwarding-address standard
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >