AAL5SNAP (ATM Adaptation Layer 5 Subnetwork Access Protocol) is an encapsulation method used to carry network layer protocols like IP over ATM networks.
It combines two key components: AAL5 for ATM cell adaptation and SNAP for protocol identification.
ATM Adaptation Layer 5 (AAL5): AAL5 is one of several ATM Adaptation Layers that segment higher-layer data into 48-byte payloads for ATM cells.
Unlike other AALs, AAL5 uses a "null" header approach - it doesn't add overhead to each cell but instead adds an 8-byte trailer to the entire packet.
This trailer contains length and CRC information for error detection and packet reassembly. AAL5 is highly efficient and became the standard for data communications over ATM.
SNAP (Subnetwork Access Protocol): SNAP is an IEEE 802.2 extension that identifies the network layer protocol being carried. It consists of a 5-byte header containing an Organizational Unique Identifier (OUI) and a protocol type field.
For IP traffic, the OUI is typically 0x000000 and the protocol type is 0x0800 (indicating IP).
AAL5SNAP Process:
- IP packet arrives at the ATM interface
- SNAP header (5 bytes) is prepended to identify the protocol
- AAL5 processes the packet, adding an 8-byte trailer
- The resulting data is segmented into 48-byte payloads
- Each payload becomes the data portion of a 53-byte ATM cell
- Cells are transmitted across the ATM network
Configuration Context:
Router(config-if-atm-vc)# encapsulation aal5snap
This command tells the router to use AAL5SNAP encapsulation for the virtual circuit, enabling IP traffic to traverse the ATM network.
Advantages:
- Efficient for variable-length packets
- Low overhead compared to other AAL types
- Robust error detection through CRC
- Protocol flexibility through SNAP headers
Legacy Note: While AAL5SNAP was crucial for early ATM deployments, modern networks primarily use Ethernet-based encapsulation methods as ATM has been largely phased out in favor of more cost-effective technologies.