Configure the Encapsulation Type
The encapsulation type you configure at each Layer 2 VPN site varies depending on which Layer 2 protocol you choose to configure. You need to use the same protocol at each Layer 2 VPN site if you configure
ethernet-vlanas the encapsulation type. You do not need to use the same protocol at each Layer 2 VPN site if you configure any of the following encapsulation types:
atm-aal5—ATM Adaptation Layer (AAL/5)atm-cell—ATM cell relayatm-cell-port-mode—ATM cell relay port promiscuous modeatm-cell-vc-mode—ATM virtual circuit (VC) cell relay non-promiscuous modeatm-cell-vp-mode—ATM virtual path (VP) cell relay promiscuous modecisco-hdlc—Cisco Systems-compatible High-level Data Link Control (HDLC)ethernet—Ethernetethernet-vlan—Ethernet VLANframe-relay—Frame Relayinterworking—Layer 2.5 interworking VPNppp—Point-to-Point Protocol (PPP)If you configure different protocols at your Layer 2 VPN sites, you need to configure a TCC encapsulation type. For more information, see Configure TCC Encapsulation on Interfaces.
To configure the Layer 2 protocol accepted by the PE router, specify the encapsulation type by including the encapsulation statement:
encapsulationtype;You can configure this statement at the following hierarchy levels: