capwap Commands
• capwap ap, on page 2
• capwap ap auth-token, on page 3
• capwap ap erase, on page 4
• capwap ap ethernet, on page 5
• capwap ap hostname, on page 6
• capwap ap ip, on page 7
• capwap ap lag, on page 8
• capwap ap mesh strict-wired-uplink, on page 9
• capwap ap mode, on page 10
• capwap ap restart, on page 11
capwap Commands
1
capwap Commands
capwap ap
capwap ap
To configure the primary, secondary and tertiary controllers for the AP, use the capwap ap command.
capwap ap {primary-base | secondary-base | tertiary-base}
controller-name controller-ip-address
Syntax Description primary-base Configure AP's primary controller
secondary-base Configure AP's secondary controller
tertiary-base Configure AP's tertiary controller
controller-name Name of the controller
controller-ip-address IP address of the controller.
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure the primary controller for the AP:
cisco-wave2-ap# capwap ap primary-base wlc-5520 209.165.200.224
capwap Commands
2
capwap Commands
capwap ap auth-token
capwap ap auth-token
To configure authentication token, use the capwap ap auth-token command.
capwap ap auth-token ssc-token
Syntax Description ssc-token SSC token; valid range is 8 to 32 characters
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure authentication token,:
cisco-wave2-ap# capwap ap auth-token myauthtoken
capwap Commands
3
capwap Commands
capwap ap erase
capwap ap erase
To erase CAPWAP configuration, use the capwap ap erase command.
capwap ap erase {all | static-ip}
Syntax Description all Erases all CAPWAP configuration
Note If the AP is in Bridge mode, then the same Bridge mode is retained after the factory reset
of the AP; if the AP is in FlexConnect, Local, Sniffer, or any other mode, then the AP
mode is set to Local mode after the factory reset of the AP. If you press the Reset button
on the AP and perform a true factory reset, then the AP moves to a cookie configured
mode.
static-ip Erase static IP or DNS configuration
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to erase all the CAPWAP configuration on the AP:
cisco-wave2-ap# capwap ap erase all
capwap Commands
4
capwap Commands
capwap ap ethernet
capwap ap ethernet
To configure AP Ethernet parameters, use the capwap ap ethernet command.
capwap ap ethernet tag ethernet-vlan-id
Syntax Description ethernet-vlan-id Ethernet VLAN ID; valid range is 0 to 4094. If you enter the VLAN ID value as 0, the
VLAN tagging is disabled.
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure Ethernet VLAN tagging on the AP:
cisco-wave2-ap# capwap ap ethernet tag 2
capwap Commands
5
capwap Commands
capwap ap hostname
capwap ap hostname
To configure AP hostname, use the capwap ap hostname command.
capwap ap hostname ap-name
Syntax Description ap-name AP
name
Command Modes Privileged EXEC (#)
Usage Guidelines If the AP is already associated with a Cisco WLC, the new hostname is reflected on the Cisco WLC only after
the AP dissociates and reassociates with the Cisco WLC.
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure a hostname for the AP:
cisco-wave2-ap# capwap ap hostname cisco-wave2-ap-2802
capwap Commands
6
capwap Commands
capwap ap ip
capwap ap ip
To configure static IP address and DNS for the CAPWAP AP, use the capwap ap ip command.
capwap ap ip static-ip-addr static-netmask ip-addr-default-gateway [ip-addr-dns1 | ip-addr-dns2]
[domain-name]
Syntax Description static-ip-addr Static IP address of the AP
static-netmask Static netmask
ip-addr-default-gateway IP address of the default gateway
[ip-addr-dns1 | ip-addr-dns2] (Optional parameters) IP address(es) of the DNS
[domain-name] (Optional parameter) Domain name
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure static IP address and DNS for the CAPWAP AP:
cisco-wave2-ap# capwap ap ip 209.165.200.225 255.255.255.224 209.165.200.227 209.165.200.226
example.org
capwap Commands
7
capwap Commands
capwap ap lag
capwap ap lag
To configure CAPWAP lag, use the capwap ap lag command.
capwap ap lag {enable | disable}
Syntax Description enable Enables
LAG
disable Disables
LAG
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to enable LAG on the AP:
cisco-wave2-ap# capwap ap lag enable
capwap Commands
8
capwap Commands
capwap ap mesh strict-wired-uplink
capwap ap mesh strict-wired-uplink
To configure the root access points (RAPs) to stay as persistent RAPs even if the wired uplink is lost, use the
capwap ap mesh strict-wired-uplink command.
capwap ap mesh strict-wired-uplink {enable | disable}
Syntax Description enable Enables strict wired uplink on the Cisco AP.
disable Disables strict wired uplink on the Cisco AP.
Command Modes Privileged EXEC (#)
Command History Release Modification
8.9 This command was
introduced.
Cisco IOS XE Gibraltar 16.11.1
Examples
The following example shows how to enable the root access points (RAPs) to stay as persistent RAPs
even if the wired uplink is lost:
cisco-wave2-ap# capwap ap mesh strict-wired-uplink enable
capwap Commands
9
capwap Commands
capwap ap mode
capwap ap mode
To configure AP mode, use the capwap ap mode command.
capwap ap mode {bridge | local}
Syntax Description bridge Enables bridge
mode
local Enables local mode
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to configure the AP to operate in local mode:
cisco-wave2-ap# capwap ap mode local
capwap Commands
10
capwap Commands
capwap ap restart
capwap ap restart
To restart the CAPWAP protocol, use the capwap ap restart command.
capwap ap restart
Syntax Description restart Restart the CAPWAP
protocol
Command Modes Privileged EXEC (#)
Command History Release Modification
8.1.111.0 This command was
introduced.
Examples
The following example shows how to restart CAPWAP protocol:
cisco-wave2-ap# capwap ap restart
capwap Commands
11
capwap Commands
capwap ap restart
capwap Commands
12