Got it

CAPWAP Overview and Tunnel Establishment Process

Latest reply: Feb 27, 2022 13:09:43 1670 21 19 0 1

Hello everyone,

Today I will share with you the CAPWAP overview and tunnel establishment process.


1. CAPWAP Overview

Control and Provisioning of Wireless Access Points (CAPWAP) is defined in RFC 5415. A tunnel is established between an AC and an AP to carry control packets and user data packets, facilitating centralized management and protection of user data. The CAPWAP performs the following functions: automatic discovery of APs and ACs, operation and maintenance of their state machines, management of APs by the AC, service configuration delivery, and forwarding of STA data over the CAPWAP tunnel.


2. CAPWAP tunnel establishment

The CAPWAP tunnel establishment process is as follows:

CAPWAP tunnel establishment process

The DTLS process and the Image Data process are not mandatory processes. During the DTLS process, encryption and decryption are implemented. During the Image Data process, version synchronization is required when the AP and AC versions are inconsistent.

Configure the AP to go online through Xstorm and collect the packets (excluding the DTLS and Image Data processes) during the CAPWAP tunnel establishment process. See the following figure

CAPWAP tunnel establishment process

 

2.1 DHCP Process

The AP requests the DHCP server to assign an IP address to itself.

 

2.2 Discovery Process

The AP discovers the AC that can be associated with the AP. The AP obtains the AC address through the DHCP ACK message in the DHCP process. Therefore, the AP sends unicast packets. The Request packet contains AP information.

Request packet

After receiving the request packet from the AP, the AC returns a response packet carrying the AC information.

response packet

 

2.3 Join Process

The AP sends a join request packet carrying the AP version information, the fat, and fit mode.

join request packet

join request packet -2

After receiving the join request, the AC returns a join response, which also contains AC information.

join response

join response-2

 

2.4 Configure Process

The AP sends a Configuration Status Request message carrying AC name and radio information.

Configuration Status Request message

After receiving the configuration status request, the AC returns a configuration status response. No configuration is delivered in this phase.

configuration status response

 

2.5 Data Check Process

After the configuration process is complete, the AP starts the data check phase. The AP sends a Change State Event Request message carrying information such as radio and result code.

Change State Event Request message

The AC replies with change state event response after receiving a change state event request.

chenge state event response

2.6 Run Process

After receiving the change state event response, the AP enters the run state, establishes a data tunnel, and delivers the data tunnel forwarding table. Sends Keep alive packets.

Keep alive packets

The AC replies with keep alive after receiving keep alive form AP.

Keep alive packets-2

During the RUN process, keepalive packets are transmitted through the data port and echo packets are transmitted through the control port. No information about the echo packets is found.

When the AP enters the Run state, the control and data channels between the AP and the AC are established successfully.

 

2.7 Configure Process (update)

Subsequently, the AP and AC exchange configuration update request and configuration update response messages for configuration upgrade.

configuration update request

That is all I want to share with you! Thank you!

 


Dear all,

For more information of CAPWAP, you can refer to the CAPWAP protocol overview.

View more
  • x
  • convention:

merci pour le partage
View more
  • x
  • convention:

Good post
View more
  • x
  • convention:

Thank you for sharing!
View more
  • x
  • convention:

Thank you for sharing!
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Interesting information. Thanks. In this case we would only have to set the IP in the access point?
View more
  • x
  • convention:

Very Interesting knowledge
View more
  • x
  • convention:

GREAT
View more
  • x
  • convention:

The overview of CAPWAP and tunnel establishment process is explained in details, thank you.


View more
  • x
  • convention:

123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.