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.
By default, OSPF is enabled to set the DN bit in LSAs.
Parameter | Description | Value |
---|---|---|
summary | Specifies that the DN bit is not set in summary LSAs. | - |
ase | Specifies that the DN bit is not set in ASE LSAs. | - |
nssa | Specifies that the DN bit is not set in NSSA LSAs. | - |
Usage Scenario
The dn-bit-set disable command can be used in the following scenarios:
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 converted from type 7 LSAs even if the DN bit is set in type 7 LSAs.
Precautions
The dn-bit-set disable command can be configured for only private OSPF processes. The configuration of this command takes effect only on the PEs.
The dn-bit-check disable command can be used to control whether OSPF running on the peer PE checks the DN bit when calculating routes.
# Disable OSPF from setting the DN bit in ASE LSAs.
<HUAWEI> system-view
[HUAWEI] ip vpn-instance huawei
[HUAWEI-vpn-instance-huawei] route-distinguisher 100:1
[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