On each WAN connection, data is encapsulated into frames before crossing the WAN link. To ensure that the correct protocol is used, the appropriate Layer 2 encapsulation type must be configured. The choice of protocol depends on the WAN technology and the communicating equipment. The figure displays the more common WAN protocols and where they are used. The following are short descriptions of each type of WAN protocol: