ipv6 nd mac-check enable

Function

The ipv6 nd mac-check enable command enables MAC address check for ND.

The undo ipv6 nd mac-check enable command disables MAC address check for ND.

By default, MAC address check for ND is disabled.

Format

ipv6 nd mac-check enable

undo ipv6 nd mac-check enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nd write

Usage Guidelines

Usage Scenario

To allow the system to proactively check the source MAC address consistency to improve network reliability, run the ipv6 nd mac-check enable command to enable MAC address check for ND so that MAC address consistency is checked on four different types of ICMPv6 packets.

  • NS: The system checks whether the source MAC address is the same as the MAC address in the SLLA. If not, the NS message is discarded.
  • NA: The system checks whether the source MAC address is the same as the MAC address in the TLLA. If not, the NA message is discarded.
  • RS: The system checks whether the source MAC address is the same as the MAC address in the SLLA. If not, the RS message is discarded.
  • RA: The system checks whether the source MAC address is the same as the MAC address in the SLLA. If not, the RA message is discarded.

Example

# Enable MAC address check for ND.
<HUAWEI> system-view
[~HUAWEI] ipv6 nd mac-check enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >