WLAN high availability commands -- backup-ac

Use backup-ac to specify a backup AC.

Use undo backup-ac to remove the backup AC configuration.

Syntax

backup-ac { ip ipv4-address | ipv6 ipv6-address }

undo backup-ac { ip | ipv6 }

Default

In AP view, the AP uses the configuration in AP group view.

In AP group view, no backup AC is specified.

Views

AP view

AP group view

Predefined user roles

network-admin

mdc-admin

Parameters

ip ip-address: Specifies a backup AC by its IPv4 address.

ipv6 ipv6-address: Specifies a backup AC by its IPv6 address.

Usage guidelines

The configuration in AP view takes precedence over the configuration in AP group view. If you execute the undo command in AP view, the backup AC specified in AP group view will be used.

Executing the undo command also terminates the backup CAPWAP tunnel.

You can specify only one IPv4 address or one IPv6 address in either AP view or AP group view.

Examples

# Specify a backup AC for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA4320i-ACN

[Sysname-wlan-ap-ap1] backup-ac ip 192.168.1.1

# Specify a backup AC for AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group 1

[Sysname-wlan-ap-group-1] backup-ac ip 192.168.1.1

WLAN high availability commands -- display wlan ap backup-status

Use display wlan ap backup-status to display backup state information for all APs or the specified AP.

Syntax

display wlan ap backup-status { all | ap-name name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

all: Specifies all APs.

ap-name name: Specifies an AP by its name, a case-insensitive string of 1 to 64 characters. The string can contain letters, digits, underscores (_), left brackets ([), right brackets (]), forward slashes (/), and hyphens (-).

Examples

# Display backup state information for AP ap1.

<Sysname> display wlan ap backup-status ap-name ap1

Backup mode: Dual-link

AP name State VSRP instance

ap1 Idle Not configured

# Display backup state information for all APs.

<Sysname> display wlan ap backup-status all

Backup mode: Dual-link

AP name State VSRP instance

ap1 Idle Not configured

ap2 Master-Init 1

ap3 Master-Batch 2

ap4 Idle Not configured

ap5 Master-Run instance1

ap6 Idle Not configured

ap7 Backup-Init instance2

ap8 Idle Not configured

Table 1 Command output

Field | Description
Backup mode | Backup mode: Dual-link.
State | Backup state: · Idle—The AP is offline. · Master-Init—The AP is online and the AC is the master AC. The backup AC has not started to backup data. · Master-Batch—The AP is online and the AC is the master AC. Data backup is in process. · Master-Run—The AP is online and the AC is the master AC. Data backup has completed. · Backup-Init—The AP is online and the AC is the backup AC. The backup AC has not started to backup data. · Backup-Batch—The AP is online and the AC is the backup AC. Data backup is in process. · Backup-Run—The AP is online and the AC is the backup AC. Data backup has completed. · Backup-to-Master—The backup AC is switching to the master AC.
VSRP instance | VSRP instance associated with the AC interface. This field displays Not configured if no VSRP instance is associated with the AC interface.

WLAN high availability commands -- wlan backup-mode dual-link

Use wlan backup-mode dual-link to enable the dual-link backup mode.

Use undo wlan backup-mode to restore the default.

Syntax

wlan backup-mode dual-link

undo wlan backup-mode

Default

The dual-link backup mode is disabled.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

For a successful backup, make sure the two ACs are both enabled with the dual-link backup mode.

If you disable the dual-link backup mode on an AC during a backup process, the process will be terminated.

Examples

# Enable dual-link backup.

<Sysname> system-view

[Sysname] wlan backup-mode dual-link

Related commands

backup-ac

WLAN high availability commands -- wlan uplink track

Use wlan uplink track to associate a track entry with WLAN uplink detection.

Use undo wlan uplink track to restore the default.

Syntax

wlan uplink track track-entry-number

undo wlan uplink track

Default

WLAN uplink detection is not associated with a track entry.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

track-entry-number: Specifies a track entry ID in the range of 1 to 1024.

Usage guidelines

This command enables the AC to adjust radio state based on the uplink state associated with a track entry. When the track entry is in Negative state, the AC disables radios of all connected APs. When the track entry is in Positive state, the AC enables radios of all connected APs.

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Associate track entry 1 with WLAN uplink detection.

<Sysname> system-view

[Sysname] wlan uplink track 1

WLAN high availability commands -- wlan vsrp-instance

Use wlan vsrp-instance to associate an interface with a VSRP instance.

Use undo wlan vsrp-instance to restore the default.

Syntax

wlan vsrp-instance instance-name

undo wlan vsrp-instance

Default

No VSRP instance is associated with an interface.

Views

Layer 3 interface view

VLAN interface view

Predefined user roles

network-admin

mdc-admin

Parameters

instance-name: Specifies a VSRP instance by its name, a case-sensitive string of 1 to 31 characters. The instance must exist.

Usage guidelines

After you execute this command on both ACs, the AC with the lower IP address will establish a TCP data channel with the other.

The undo form of the command also terminates the data channel between the two ACs.

Before you execute this command, create a VSRP instance and associate the VSRP instance with a VSRP peer.

A VSRP instance can be associated with multiple interfaces, and all the associations take effect and are independent of each other.

Examples

# Associate VLAN-interface 1 with VSRP instance instance1.

<Sysname> system-view

[Sysname] interface vlan-interface 1

[Sysname-Vlan-interface1] wlan vsrp-instance instance1