The ignore-receive-lsa advertise-router command configures the device to discard LSAs of a specified type.
The undo ignore-receive-lsa advertise-router command cancels the configuration of discarding LSAs of a specified type.
By default, the device is not configured to discard LSAs of a specified type.
Parameter | Description | Value |
---|---|---|
adv-rtr-id |
Specifies the router ID of the device that advertises the LSA. |
The value is in dotted decimal notation. |
lsa-type type-value |
LSA type. |
The value is in hexadecimal notation. The value ranges from 0 to ffff. |
area area-id |
Specifies the area ID in decimal format. |
The value is an integer that ranges from 0 to 4294967295. |
area-idipv4 |
Specifies the area ID in dotted-decimal notation. |
The value is in dotted decimal notation. |
link-state-id ls-id |
Specifies the LSID of an LSA. |
The value is in dotted decimal notation. |
Usage Scenario
Configuration Impact
If this command is run incorrectly, services cannot be restored even if the undo command is run. In this case, you may need to reset the process or neighbor to restore services.
To filter out LSAs that affect topology path computation, they must be filtered out of all LSDBs on the entire network. If they are filtered out of only some of LSDBs, routing loops may occur. You are not advised to filter out the LSAs that exist on the network because normal service LSAs may also be filtered out.Precautions
This command is not used to address attacks. It violates protocol processing principles and affects services. Therefore, use this command with caution.
It is recommended that the attack source be isolated directly. The LSA of the attack can have any key and cannot be defended against by running a command. If the fault is caused by a bug, you are advised to run this command temporarily. After the patch is installed, run the undo command immediately and check whether services are affected. If services are affected, re-establish all neighbor relationships to restore services.<HUAWEI> system-view [~HUAWEI] ospfv3 100 [*HUAWEI-ospfv3-100] ignore-receive-lsa advertise-router 2.2.2.2 Warning: The operation will cause ospf lsdb not correct and can not recover ospf lsdb by undo command,need reset all neighbors to recover lsdb. Continue? [Y/N]:Y [*HUAWEI-ospfv3-100]