Chapter 43 Managed AP Commands

43.3 CAPWAP Client Commands

Use the CAPWAP client commands to configure the AP’s IP address and other related management interface settings. Do not use the original interface commands to configure the IP address and related settings on the AP, because the AP does not save interface command settings after rebooting.

The following table identifies the values required for many of these commands. Other input values are discussed with the corresponding commands.

Table 157 Input Values for CAPWAP Client Commands

LABEL

DESCRIPTION

ip

IPv4 address.

 

 

netmask

The network subnet mask. For example, 255.255.255.0.

 

 

gateway

The default gateway IP address of the interface. Enter a standard IPv4 IP

 

address (for example, 127.0.0.1).

 

 

primary_ac_ap

The primary IPv4 address of the NXC.

 

 

secondary_ac_ap

Optional IPv4 address of the NXC.

 

 

vid

The VLAN ID (1~4094) of the managed AP.

 

 

primary_ac_dns

The primary fully qualified domain name (FQDN) of the NXC.

 

 

secondary_ac_dns

The secondary fully qualified domain name (FQDN) of the NXC.

 

 

The following table describes commands for configuring the AP’s CAPWAP client parameters, which include the management interface. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 158 Command Summary: CAPWAP Client

COMMAND

DESCRIPTION

capwap ap vlan ip address ip netmask

Sets the IP address and network mask of the AP’s

 

management interface.

capwap ap vlan ip gateway gateway

Sets the default gateway IP address for the AP’s

 

management interface.

capwap ap vlan no ip gateway

Clears the default gateway IP address setting for the AP’s

 

management interface.

capwap ap vlan vlan-id vid { tag untag }

Sets the AP’s management VLAN ID as well as whether

 

the AP sends tagged or untagged packets. The

 

management VLAN on the NXC and AP must match for

 

the NXC to manage the AP. The NXC’s force vlan

 

command (see Table 29 on page 74) takes priority over

 

this command.

 

 

capwap ap ac-ip

Specifies the primary and secondary IP address or

{primary_ac_ipprimary_ac_dns}

domain name of the AP controller (the NXC) to which the

{secondary_ac_ipsecondary_ac_dns}

AP connects.

 

 

capwap ap ac-ip auto

Sets the AP to use DHCP to get the address of the AP

 

controller (the NXC).

show capwap ap info

Displays the IP address of the NXC managing the AP and

 

CAPWAP settings and status.

show capwap ap discovery-type

Displays how the AP finds the NXC.

show capwap ap ac-ip

Displays the address of the NXC or auto if the AP finds

 

the NXC through broadcast packets.

272

 

NXC CLI Reference Guide