The display nd optimized-passby status command displays whether the device is configured not to send NS packets destined for other devices to the CPU and whether the configuration takes effect.
display nd optimized-passby status interface vlanif vlanif-id slot slot-id
Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter |
Description |
Value |
---|---|---|
interface vlanif vlanif-id |
Displays whether the device is configured not to send NS packets destined for other devices to the CPU and whether the configuration takes effect on a specified VLANIF interface. |
The value is an integer and the value range depends on the range of existing VLANIF interfaces. You can enter ? to obtain the range of VLANIF interface numbers. |
slot slot-id |
Displays whether the device is configured not to send NS packets destined for other devices to the CPU and whether the configuration takes effect in a specified slot. |
The value must be set according to the device configuration. |
If an interface receives a large number of NS packets whose destination IPv6 addresses are different from the IPv6 address of this interface and sends these NS packets to the CPU for processing, the CPU usage is high and the CPU cannot process services properly.
To prevent this issue, you can configure the device to directly forward NS packets destined for other devices without sending them to the CPU. This improves the device's capability of defending against packet attacks.
When the device is configured not to send NS packets destined for other devices to the CPU, the configuration does not take effect if a conflict configuration exists on the device. You can use the display nd optimized-passby status command to check whether the device is configured not to send NS packets destined for other devices to the CPU and whether the configuration takes effect. For details about conflict configurations, see nd optimized-passby enable.
# Display whether the device is configured not to send NS packets destined for other devices to the CPU and whether the configuration takes effect on VLANIF 100.
<HUAWEI> display nd optimized-passby status interface Vlanif 100 slot 0 Current configuration: Enable Actual status: Inactive Inactive Reason: The interface protocol status is down.
Item |
Description |
---|---|
Current configuration |
Whether the device is configured not to send NS packets destined for other devices to the CPU.
|
Actual status |
Whether the configuration of disabling the device from sending NS packets destined for other devices to the CPU takes effect.
|
Inactive Reason |
Conflict configuration. |