Configure the Encapsulation on a Logical Interface
Generally, you configure an interface's encapsulation at the
[edit interfacesinterface-name]hierarchy level. However, for some encapsulation types, such as Frame Relay, ATM, and Ethernet VLAN encapsulations, you can also configure the encapsulation type that is used inside the Frame Relay, ATM, or VLAN circuit itself. To do this, include theencapsulationstatement:encapsulation (atm-ccc-cell-relay | atm-ccc-vc-mux | atm-tcc-vc-mux | atm-cisco-nlpid | atm-mlppp-llc | atm-nlpid | atm-ppp-llc | atm-ppp-vc-mux | atm-snap | atm-tcc-snap | atm-vc-mux | ether-over-atm-llc | ether-vpls-over-atm-llc | frame-relay-ccc | frame-relay-tcc | multilink-frame-relay-end-to-end | multilink-ppp | vlan-ccc| vlan-vpls);You can configure this statement at the following hierarchy levels:
[edit interfacesinterface-nameunitlogical-unit-number]- [
edit logical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-number]Some of the ATM encapsulations are defined in RFC 2684, Multiprotocol Encapsulation over ATM Adaptation Layer 5.
The following restrictions apply to logical interface encapsulation:
- With the
atm-nlpid,atm-cisco-nlpid, andatm-vc-muxencapsulations, you can configure the familyinetonly.- With the circuit cross-connect (CCC) circuit encapsulations, you cannot configure a family on the logical interface.
- A logical interface cannot have
frame-relay-cccencapsulation unless the physical device also hasframe-relay-cccencapsulation.- A logical interface cannot have
frame-relay-tccencapsulation unless the physical device also hasframe-relay-tccencapsulation. In addition, you must assign this logical interface a DLCI from 512 through 1022 and configure it as point-to-point.- For interfaces that carry IPv4 traffic, you can configure
ether-over-atm-llcencapsulation.- When you use
ether-over-atm-llcencapsulation, you cannot configure multipoint interfaces.- A logical interface cannot have
vlan-cccorvlan-vplsencapsulation unless the physical device also hasvlan-cccorvlan-vplsencapsulation, respectively. In addition, you must assign this logical interface a VLAN ID from 512 through 1023; if the VLAN ID is 511 or lower, it is subject to the normal destination filter lookups in addition to source address filtering. For more information, see Configure VLAN CCC or VPLS Encapsulation.- You can create an ATM cell-relay circuit by configuring an entire ATM physical device or an individual virtual circuit (VC). When you configure an entire device, only cell-relay encapsulation is allowed on the logical interfaces. For more information, see Configure an ATM 1 Cell-Relay Circuit.
For more information about ATM encapsulations, see Configure ATM Interface Encapsulation.
For more information about Frame Relay encapsulations, see Configure Frame Relay Interface Encapsulation.
For more information about multilink encapsulations, see Configure Multilink and Link Services Logical Interface Encapsulation.