No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
learn-client-address dhcpv6-strict

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

You have disabled the DHCP trusted interface by running undo dhcp trust port in the VAP profile view.

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
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116607

Downloads: 83

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next