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

CLI-based Configuration Guide - WLAN-AC

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document provides the concepts, configuration procedures, and configuration examples of WLAN-AC features.
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).
Configuring AC System Parameters

Configuring AC System Parameters

Configuring the WLAN Mode

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run set workmode wlan ac

    The device is configured to work in AC mode.

    By default, the AR121W, AR129W, AR129CVW, AR121GW-L, AR129GW-L, AR129CGVW-L, AR109W, AR109GW-L, AR151W-P, AR156W, AR157W, AR157VW, AR158EVW, AR161W, AR161EW, AR161EW-M1, AR161FGW-L, AR161FGW-Lc, AR169W, AR161FW, AR161FW-P-M5, AR161FGW-La, AR169FVW, AR169FVW-8S, AR169JFVW-4B4S, AR169JFVW-2S, AR169CVW-4B4S, AR169EGW-L, AR169EW, AR169CVW, AR169FGVW-L, AR169FGW-L, AR169W-P-M9, AR169RW-P-M9, AR201VW-P, AR207VW, AR1220W, AR1220EVW, and AR1220VW work in AP mode and other devices work in AC mode.

  3. Run quit

    Exit from the system view.

  4. Run reboot [ fast ]

    The device is restarted.

    NOTE:

    After the device is restarted, the AC mode takes effect.

Configuring Country Codes

Context

A country code identifies the country to which AP radios belong. Different countries support different AP radio attributes, including the transmit power and supported channels. Correct country code configuration ensures that radio attributes of APs comply with laws and regulations of countries and regions to which the APs are delivered.

The country code is configured in a regulatory domain profile. Two configuration scenarios are available:
  • If the APs managed by an AC are located in the same country or region, you only need to configure one country code.
  • If the APs managed by an AC are located in different countries, you need to configure different country codes for the APs.
As shown in Figure 4-34, APs using regulatory domain profile 1 in country 1 and those using regulatory domain profile 2 in country 2 are all managed and controlled by the same AC. In this situation, you need to configure the country code of country 1 in regulatory domain profile 1 and that of country 2 in regulatory domain profile 2.
Figure 4-34  Multiple country codes
NOTE:
  • When configuring an AC for the first time, you must configure the correct country code. The country code must comply with local laws and regulations.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan ac

    The WLAN view is displayed.

  3. Run regulatory-domain-profile name profile-name

    A regulatory domain profile is created, and the regulatory domain profile view is displayed.

    By default, the system provides the regulatory domain profile default.

  4. Run country-code country-code

    A country code is configured.

    By default, the country code CN is configured.

    For details about country codes, see country-code.

    Modifying the country code in a regulatory domain profile will restart APs using the profile.

  5. Run quit

    Return to the WLAN view.

  6. Bind the regulatory domain profile to an AP group or AP.

    • Binding the regulatory domain profile to an AP group
      1. Run the ap-group name group-name command to enter the AP group view.

      2. Run the regulatory-domain-profile profile-name command to bind the regulatory domain profile to the AP group.

        By default, the regulatory domain profile default is bound to an AP group.

    • Binding the regulatory domain profile to an AP
      1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
      2. Run the regulatory-domain-profile profile-name command to bind the regulatory domain profile to the AP specific profile.

        By default, no regulatory domain profile is bound to an AP.

  7. Run quit

    Return to the WLAN view.

  8. Run commit { all | ap-name ap-name | ap-id { ap-id1 [ to ap-id2 ] } &<1-10> }

    Configurations are delivered to APs.

Configuring a Source Interface

Context

Each AC must have at least one VLANIF or loopback interface specified as the source interface. All APs connected to the AC can learn the IP address of this interface and use the IP address to communicate with the AC.

Before an AP establishes a CAPWAP tunnel with an AC, a source interface must be specified for the AC.

You can specify a VLANIF or loopback interface on the device as the AC source interface.
  • VLANIF interface: applies to the scenario where the APs that associate with the AC belong to the same management VLAN.
  • Loopback interface: applies to the scenario where the APs that associate with the AC belong to different management VLANs. When the APs belong to multiple management VLANs, the AC must have multiple VLANIF interfaces configured. If one of the VLANIF interfaces is specified as the source interface, all the APs cannot go online when the source interface fails. A loopback interface remains Up after being created. When a loopback interface is used as the source interface and a VLANIF interface becomes faulty, only the AP that connects to the VLANIF interface cannot go online.

Procedure

  • Configure an IPv4 source interface.

    • Specify a VLANIF interface as the source interface.

      1. Run system-view

        The system view is displayed.

      2. Run vlan vlan-id

        A VLAN is created, and the VLAN view is displayed.

        The created VLAN is a management VLAN.

      3. Run quit

        Return to the system view.

      4. Run interface vlanif vlan-id

        A VLANIF interface is created, and the VLANIF interface view is displayed.

      5. Run ip address ip-address { mask | mask-length }

        An IP address and a subnet mask are configured for the VLANIF interface.

      6. Run quit

        Return to the system view.

      7. Run capwap source interface vlanif vlan-id

        A VLANIF interface is specified as the source interface of the CAPWAP tunnel established between the AP and AC.

        If a source interface has been configured on the device, you must run the undo capwap source interface command first before configuring a new source interface.

        After the undo capwap source interface command is executed, all APs get offline on the AC. Therefore, exercise caution before running the command.

    • Specify a loopback interface as the source interface.

      1. Run system-view

        The system view is displayed.

      2. Run interface loopback loopback-number

        A loopback interface is created, and the loopback interface view is displayed.

      3. Run ip address ip-address { mask | mask-length }

        An IP address and a subnet mask are configured for the loopback interface.

        The IP address of a loopback interface must use a 32-bit mask.

      4. Run quit

        Return to the system view.

      5. Run capwap source interface loopback loopback-number

        A loopback interface is specified as the source interface of the CAPWAP tunnel established between the AP and AC.

        If a source interface has been configured on the device, you must run the undo capwap source interface command first before configuring a new source interface.

        After the undo capwap source interface command is executed, all APs get offline on the AC. Therefore, exercise caution before running the command.

  • Configure an IPv6 source interface.

    • Specify a VLANIF interface as the source interface.

      1. Run system-view

        The system view is displayed.

      2. Run capwap ipv6 enable

        CAPWAP tunnels are enabled to support IPv6 functions.

        By default, CAPWAP tunnels are disabled from supporting IPv6 functions.

      3. Run ipv6

        The IPv6 packet forwarding function is enabled.

        By default, IPv6 packet forwarding is disabled.

      4. Run vlan vlan-id

        A VLAN is created, and the VLAN view is displayed.

        This VLAN is the management VLAN after WLAN planning.

      5. Run quit

        Return to the system view.

      6. Run interface vlanif vlan-id

        A VLANIF interface is created, and the VLANIF interface view is displayed.

      7. Run ipv6 enable

        The IPv6 function is enabled on the interface.

        By default, IPv6 is disabled on an interface.

      8. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

        An IPv6 address and a subnet mask are configured for the VLANIF interface.

      9. Run undo ipv6 nd ra halt

        The system is enabled to send RA packets.

        By default, the system is disabled from sending RA packets.

      10. Run ipv6 nd autoconfig managed-address-flag

        The "managed address configuration" flag (M flag) of stateful autoconfiguration in an RA packet is set.

        By default, the M flag is not set in an RA packet.

      11. Run ipv6 nd autoconfig other-flag

        The "other configuration" flag (O) flag of stateful autoconfiguration in an RA packet is set.

        By default, the O flag is not set in an RA packet.

      12. Run dhcpv6 server pool-name [ allow-hint | preference preference-value | rapid-commit | unicast ] *

        The DHCPv6 server function is enabled on the interface.

        By default, the DHCPv6 server function on an interface is disabled.

      13. Run quit

        Return to the system view.

      14. Run dhcpv6 pool pool-name

        An IPv6 address pool is created, and the IPv6 address pool view is displayed.

        By default, no IPv6 address pool is created on the device.

      15. Run address prefix ipv6-prefix/ipv6-prefix-length [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ]

        A network prefix and lifetime in the IPv6 address pool view are configured.

        By default, no network prefix or lifetime is configured in the IPv6 address pool view.

      16. Run excluded-address start-ipv6-address [ to end-ipv6-address ]

        The range of IPv6 addresses that cannot be automatically assigned from the IPv6 address pool is specified.

        By default, all IPv6 addresses in an address pool can be automatically assigned to clients. If only one IPv6 address cannot be automatically allocated, specify it as start-ipv6-address.

      17. Run capwap-ac ipv6-address

        The AC's IPv6 address is configured in the IPv6 address pool view.

        By default, the AC's IPv6 address is not configured in the IPv6 address pool view.

      18. Run quit

        Return to the system view.

      19. Run capwap source interface vlanif vlan-id

        A VLANIF interface is specified as the source interface of the CAPWAP tunnel established between the AP and AC.

        If a source interface has been configured on the device, you must run the undo capwap source interface command first before configuring a new source interface.

        After the undo capwap source interface command is executed, all APs get offline on the AC. Therefore, exercise caution before running the command.

    • Specify a loopback interface as the source interface.

      1. Run system-view

        The system view is displayed.

      2. Run capwap ipv6 enable

        CAPWAP tunnels are enabled to support IPv6 functions.

        By default, CAPWAP tunnels are disabled from supporting IPv6 functions.

      3. Run ipv6

        The IPv6 packet forwarding function is enabled.

        By default, IPv6 packet forwarding is disabled.

      4. Run interface loopback loopback-number

        A loopback interface is created, and the loopback interface view is displayed.

      5. Run ipv6 enable

        The IPv6 function is enabled on the interface.

        By default, IPv6 is disabled on an interface.

      6. Run ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length }

        An IPv6 address and a subnet mask are configured for the loopback interface.

      7. Run undo ipv6 nd ra halt

        The system is enabled to send RA packets.

        By default, the system is disabled from sending RA packets.

      8. Run ipv6 nd autoconfig managed-address-flag

        The "managed address configuration" flag (M flag) of stateful autoconfiguration in an RA packet is set.

        By default, the M flag is not set in an RA packet.

      9. Run ipv6 nd autoconfig other-flag

        The O flag of stateful autoconfiguration in an RA packet is set.

        By default, the O flag is not set in an RA packet.

      10. Run dhcpv6 server pool-name [ allow-hint | preference preference-value | rapid-commit | unicast ] *

        The DHCPv6 server function is enabled on the interface.

        By default, the DHCPv6 server function on an interface is disabled.

      11. Run quit

        Return to the system view.

      12. Run dhcpv6 pool pool-name

        An IPv6 address pool is created, and the IPv6 address pool view is displayed.

        By default, no IPv6 address pool is created on the device.

      13. Run address prefix ipv6-prefix/ipv6-prefix-length [ life-time { valid-lifetime | infinite } { preferred-lifetime | infinite } ]

        A network prefix and lifetime in the IPv6 address pool view are configured.

        By default, no network prefix or lifetime is configured in the IPv6 address pool view.

      14. Run excluded-address start-ipv6-address [ to end-ipv6-address ]

        The range of IPv6 addresses that cannot be automatically assigned from the IPv6 address pool is specified.

        By default, all IPv6 addresses in an address pool can be automatically assigned to clients. If only one IPv6 address cannot be automatically allocated, specify it as start-ipv6-address.

      15. Run capwap-ac ipv6-address

        The AC's IPv6 address is configured in the IPv6 address pool view.

        By default, the AC's IPv6 address is not configured in the IPv6 address pool view.

      16. Run quit

        Return to the system view.

      17. Run capwap source interface loopback loopback-number

        A loopback interface is specified as the source interface of the CAPWAP tunnel established between the AP and AC.

        If a source interface has been configured on the device, you must run the undo capwap source interface command first before configuring a new source interface.

        After the undo capwap source interface command is executed, all APs get offline on the AC. Therefore, exercise caution before running the command.

(Optional) Configuring a Network Element Name

Context

A network element is a physical device or service unit on the network topology. Each AC is a network element.

You can configure network element names for ACs so that the ACs can be identified by an NMS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan ac

    The WLAN view is displayed.

  3. Run ac sysnetid ac-sysnetid

    A network element name is configured for the AC.

    By default, no NE name is configured for an AC.

Verifying the AC System Parameter Configuration

Prerequisites

Settings of AC system parameters are completed.

Procedure

  • Run the display regulatory-domain-profile { all | name profile-name } command to check the country code configured in a regulatory domain profile.
  • Run the display references regulatory-domain-profile name profile-name command to check reference information about a regulatory domain profile.
  • Run the display capwap configuration command to check the source interface of an AC.
  • Run the display ac global configuration command to check global configurations of an AC, including the AC's NE name.
Translation
Download
Updated: 2019-08-07

Document ID: EDOC1100033726

Views: 36585

Downloads: 220

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