ipv6 nd learning prefix strict disable

Function

The ipv6 nd learning prefix strict disable command disables the strict prefix learning function for dynamic neighbor entries.

The undo ipv6 nd learning prefix strict disable command restores the default configuration.

By default, the strict prefix learning function for dynamic neighbor entries is enabled.

Format

ipv6 nd learning prefix strict disable

undo ipv6 nd learning prefix strict disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nd write

Usage Guidelines

Usage Scenario

When a device receives a valid NS message on an interface, the device checks whether IPv6 addresses with the same network prefix exist on the interface. If so, the device replies with an NA message and generates dynamic neighbor entries. If not, the device performs the following operations:

  • If the strict prefix learning function for dynamic neighbor entries is enabled on the interface, the device simply discards the NS message and does not generate dynamic neighbor entries.
  • If the strict prefix learning function for dynamic neighbor entries is disabled on the interface, the device replies with an NA message and generates dynamic neighbor entries.

Precautions

  • The interfaces that need to generate host routes do not support disabling of the strict prefix learning function for dynamic neighbor entries. The configuration in the system view does not take effect for such interfaces.
  • After the strict prefix learning function is enabled for dynamic neighbor entries, the device does not delete the learned dynamic neighbor entries corresponding to different address prefixes. Instead, the device waits for the entries to automatically age out.
  • The configuration of the strict prefix learning function for dynamic neighbor entries in the interface view has a higher priority than that in the system view.

Example

# Disable the strict prefix learning function for dynamic neighbor entries on all interfaces.
<HUAWEI> system-view
[~HUAWEI] ipv6 nd learning prefix strict disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >