- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-WLAN high availability commands | 59.77 KB |
WLAN high availability commands
Dual-link backup 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, an 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
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
You can specify only one IPv4 address or one IPv6 address in either AP view or AP group view.
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.
Examples
# Specify a backup AC for AP ap1.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA6320
[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 tunnel-preempt
Use wlan tunnel-preempt enable to enable master CAPWAP tunnel preemption.
Use wlan tunnel-preempt disable to disable master CAPWAP tunnel preemption.
Use undo wlan tunnel-preempt to restore the default.
Syntax
wlan tunnel-preempt { disable | enable }
undo wlan tunnel-preempt
Default
In AP view, an AP uses the configuration in AP group view. If no configuration exists in AP group view, the AP uses the configuration in global configuration view.
In AP group view, an AP uses the configuration in global configuration view.
In global configuration view, master CAPWAP tunnel preemption is disabled.
Views
AP view
AP group view
Global configuration view
Predefined user roles
network-admin
Usage guidelines
When this feature is enabled, the backup CAPWAP tunnel will become the master tunnel after 10 minutes if the backup AC has higher AP connection priority than the master AC.
When this feature is disabled, the backup CAPWAP tunnel becomes the master tunnel only when the master AC fails.
Examples
# Enable master CAPWAP tunnel preemption for AP ap1.
<Sysname> system-view
[Sysname] wlan ap ap1 model WA6320
[Sysname-ap-ap1] wlan tunnel-preempt enable
# Enable master CAPWAP tunnel preemption for APs in AP group group1.
<Sysname> system-view
[Sysname] wlan ap-group group1
[Sysname-wlan-ap-group-group1] wlan tunnel-preempt enable
# Enable master CAPWAP tunnel preemption globally.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration] wlan tunnel-preempt enable
WLAN VSRP commands
display vsrp instance
Use display wlan client vsrp instance to display WLAN VSRP instance information.
Syntax
display wlan client vsrp instance [ instance-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance-name: Specifies a WLAN VSRP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify a WLAN VSRP instance, this command displays information about all WLAN VSRP instances.
Examples
# Display information about WLAN VSRP instance abc.
<Sysname> display wlan client vsrp instance abc
VSRP instance name : abc
Instance peer address : 1.1.1.1
Instance status : Master
Tunnel status : Checking
Created at : 2021.9.16
------------------------------------------------------------------------
Table 1 Command output
Field |
Description |
Instance peer address |
Peer IP address of the TCP connection. |
Instance status |
VSRP instance state: · Master—The device acts as the master in the VSRP instance. · Backup—The device acts as the backup in the VSRP instance. · Down—The device is not running in the VSRP instance. |
Tunnel status |
Backup data tunnel state: · Up—The tunnel is in up state and can be used for data backup. · Down—The tunnel is in down state and cannot be used for data backup. · Checking—Checking AP BSS information at both ends of the tunnel. If the information is consistent, the system can perform data backup for wireless clients. If the information is inconsistent, the system cannot perform data backup for wireless clients. |
Created at |
Time at which the VSRP instance is associated with the AC. |
client vsrp-port
Use client vsrp-port to specify a TCP port number for WLAN VSRP to establish the data channel for wireless client data backup.
Use undo client vsrp-port to restore the default.
Syntax
client vsrp-port port-number
undo client vsrp-port
Default
TCP port 60048 is used to establish the data channel for wireless client data backup.
Views
Global configuration view
Predefined user roles
network-admin
Parameters
port-number: Specifies a TCP port number in the range of 1 to 65535. The TCP port cannot be used by other services or be a well-known port.
Usage guidelines
To back up wireless client data, the device must establish a TCP data channel with the peer device. You can use this command to change the TCP port number for establishing the data channel. After you change the port number, the device disconnects the data channel and then reestablishes it by using the new port number.
Examples
# Specify TCP port 20000 for VSRP to establish the data channel for wireless client data backup.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration] client vsrp-port 20000
Related commands
vsrp-instance (Global configuration view)
vsrp-instance (Global configuration view)
Use vsrp-instance to associate the AC with a VSRP instance.
Use undo vsrp-instance to restore the default.
Syntax
vsrp-instance vsrp-instance-name
undo vsrp-instance
Default
The AC is not associated with any VSRP instance.
Views
Global configuration view
Predefined user roles
network-admin
Parameters
vsrp-instance-name: Specifies a VSRP instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
WLAN VSRP establishes a data backup tunnel between the master AC and backup AC for real-time synchronization of WLAN service data. If the master AC or the link to the master AC fails, the backup AC takes over services to ensure service continuity. After the switchover, online clients can still access network resources without being reauthenticated and client accounting and authorization information is retained.
Make sure the master AC and backup AC are associated with the same VSRP instance.
Examples
# Associate the AC with VSRP instance abc.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration] vsrp-instance abc
Related commands
client vsrp-port