< Home

learn-client-address dhcpv6-strict

Function

The learn-client-address dhcpv6-strict command enables strict STA IPv6 address learning through DHCPv6.

The undo learn-client-address dhcpv6-strict command disables strict STA IPv6 address learning through DHCPv6.

By default, strict STA IPv6 address learning through DHCPv6 is disabled.

Format

learn-client-address dhcpv6-strict [ blacklist enable ]

undo learn-client-address dhcpv6-strict

Parameters

Parameter

Description

Value

blacklist enable

Adds STAs with bogus IPv6 addresses to a blacklist.

By default, STAs with bogus IPv6 addresses are not added to a blacklist.

-

Views

VAP profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a STA associates with an AP, the following situation occurs after strict STA IPv6 address learning through DHCPv6 is enabled:
  • If the STA obtains an IPv6 address through DHCPv6, the AP will automatically report the IPv6 address to the AC. The STA IPv6 address can be used to maintain the mapping between STA IPv6 addresses and MAC addresses.
  • For a STA using a static IPv6 address:
    • If blacklist enable is specified, the STA will be added to a dynamic blacklist of the AP and cannot associate with the AP before the blacklist entry ages.
    • If blacklist enable is not specified, the STA can associate with the AP but the AP does not learn the IPv6 address of the STA.

Prerequisites

STA address learning has been enabled using the undo learn-client-address { ipv4 | ipv6 } disable command.

Precautions

After strict STA IPv6 address learning is enabled, it is recommended that you run the ip source check user-bind enable and arp anti-attack check user-bind enable commands to enable IP source guard and dynamic ARP inspection so that STAs cannot communicate with the network before obtaining an IPv6 address through DHCPv6.

If strict STA IP address learning is disabled, you can manually configure static IP addresses. If a STA obtains an IP address dynamically using DHCP, goes online, and then statically modifies its IP address, the administrator cannot check the IP address change of this STA.

Example

# Enable strict STA IPv6 address learning through DHCPv6.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] learn-client-address dhcpv6-strict
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >