< Home

primary-access

Function

The primary-access command configures a primary AC IP address.

The undo primary-access command restores the default primary AC IP address.

By default, no primary AC IP address is configured.

Format

primary-access ip-address ip-address

undo primary-access

Parameters

Parameter

Description

Value

ip-address ip-address

Specifies an IPv4 address of the primary AC.

The value is in dotted decimal notation.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In AC backup scenarios, a primary AC IP address is configured. When APs attempt to go online, they preferentially associate with the primary AC and establish CAPWAP tunnels.

Precautions

  • The configurations of primary-access and backup-access take effect only if both the commands are run to configure different IP addresses.
  • primary-access and backup-access cannot be configured with priority or protect-ac.
  • It is not recommended that primary-access and backup-access be configured with ac protect protect-ac or ac protect priority.
  • The configuration takes effect only after the AP is restarted.
  • The IP addresses specified by primary-access and backup-access must be configured the same as CAPWAP source IP addresses. If the CAPWAP source addresses have been translated using NAT, set the primary-access and backup-access IP addresses to the translated addresses.

Example

# Set the primary AC IP address to 10.33.12.56.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-system-profile name sys1
[HUAWEI-wlan-ap-system-prof-sys1] primary-access ip-address 10.33.12.56
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >