The dn-bit-set disable command disables OSPF from setting the DN bit in LSAs.
The undo dn-bit-set disable command enables OSPF to set the DN bit in LSAs.
The dn-bit-set disable command disables OSPFv3 from setting the DN bit in LSAs.
The undo dn-bit-set disable command enables OSPFv3 to set the DN bit in LSAs.
By default, OSPF is enabled to set the DN bit in LSAs.
By default, OSPFv3 is enabled to set the DN bit in LSAs.
Usage Scenario
The dn-bit-set disable command can be used in the following scenarios:
Prerequisites
Configuration Impact
When the dn-bit-set disable command is used to disable OSPF from setting the DN bit in LSAs, routing loops may occur. If the parameter ase or nssa is specified, the DN bit in ASE LSAs or NSSA LSAs is not set. You can use the route-tag command to set the same tag value to prevent routing loops. Therefore, it is recommended that the dn-bit-set disable command be used in only the scenarios specified in Usage Scenario.
If the dn-bit-set disable ase command is configured, the DN bit is not set in type 5 LSAs that are translated from type 7 LSAs even if the DN bit is set in type 7 LSAs. After the dn-bit-check disable command is run to disable OSPFv3 from checking the DN bit in LSAs, routing loops may occur. If ase or nssa is configured, you can set the same VPN route tag for imported VPN routes using the route-tag command in the OSPFv3 view to prevent routing loops. You are advised to run the dn-bit-set disable command only in VPN Option A scenarios.Precautions
The dn-bit-set disable command can be configured for only private OSPF processes. The configuration of this command takes effect only on PEs.
The dn-bit-check disable command can be used to prevent OSPF running on the peer PE from checking the DN bit when calculating routes. The dn-bit-set disable command can be run only in OSPFv3 VPN processes and takes effect only on PEs.<HUAWEI> system-view [~HUAWEI] ip vpn-instance huawei [*HUAWEI-vpn-instance-huawei] ipv4-family [*HUAWEI-vpn-instance-huawei-af-ipv4] quit [*HUAWEI-vpn-instance-huawei] quit [*HUAWEI] ospf 100 vpn-instance huawei [*HUAWEI-ospf-100] dn-bit-set disable ase
<HUAWEI> system-view [~HUAWEI] ip vpn-instance huawei [*HUAWEI-vpn-instance-huawei] ipv6-family [*HUAWEI-vpn-instance-huawei-af-ipv6] quit [*HUAWEI-vpn-instance-huawei] quit [*HUAWEI] ospfv3 100 vpn-instance huawei [*HUAWEI-ospfv3-100] dn-bit-set disable ase
Item | Description |
---|---|
Set ASE | Enables or disables the DN bit of all ASE LSAs. |
Set NSSA | Enables or disables the DN bit of all NSSA LSAs. |
Set Summary LSA | Enables or disables the DN bit of all summary LSAs. |
Router ID | ID of a router. The DN bit in summary LSAs generated by this router is not checked. |