encapsulation encapsulation-type

no encapsulation encapsulation-type

Syntax Description:


Encapsulation type; one of the following keywords:

  • atm-dxi�ATM Mode-Data Exchange Interface.
  • bstun�Block Serial Tunnel.
  • frame-relay�Frame Relay (for serial interface).
  • hdlc�High-Level Data Link Control (HDLC) protocol for serial interface. This encapsulation method provides the synchronous framing and error detection functions of HDLC without windowing or retransmission. This is the default for synchronous serial interfaces.
  • isl�Inter-Switch Link (ISL) (for virtual LANs).
  • lapb�X.25 Link Access Procedure, Balanced. Data link layer protocol (LAPB) DTE operation (for serial interface).
  • ppp�PPP (for serial interface).
  • sdlc�IBM serial Systems Network Architecture (SNA).
  • sdlc-primary�IBM serial SNA (for primary serial interface).
  • sdlc-secondary�IBM serial SNA (for secondary serial interface).
  • slip�Specifies Serial Line Internet Protocol (SLIP) encapsulation for an interface configured for dedicated asynchronous mode or dial-on-demand routing (DDR). This is the default for asynchronous interfaces.
smds�Switched Multimegabit Data Services (SMDS) (for serial interface).



The default depends on the type of interface. For example, synchronous serial interfaces default to HDLC and asynchronous interfaces default to SLIP.


Command Description:


To set the encapsulation method used by the interface, use the encapsulation command in interface configuration mode. To remove the encapsulation use the no form of this command.


The following example resets HDLC serial encapsulation on serial interface 1:


Router(config)#interface serial 1

Router(config-if)#encapsulation hdlc

The following example enables PPP encapsulation on serial interface 0:

Router(config)#interface serial 0

Router(config-if)#encapsulation ppp

In the following example, async interface 1 is configured for PPP encapsulation:


Router#configure terminal

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.


Router(config)#interface async 1

 Router(config-if)#encapsulation ppp



Related Commands:

keepalive (LMI)

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)