encapsulation

Last Updated : Nov 06, 2012 |

Sets the encapsulation mode for a Serial interface. By default, the Serial interface has PPP encapsulation. Use no encapsulation, which has no parameters, to return to the default.

Use the encapsulation frame-relay option to create a frame-relay interface of the IETF (RFC1490/RFC2427) type or non-IETF type. This command deletes the PPP interface associated with the current Serial interface. The PPP interface cannot be deleted if at least one IP interface is defined on it. Instead, the following message appears, You cannot update this L2 interface since L3 interfaces are defined on it.

By default, the Frame Relay encapsulation type for the main interface is IETF.

Note:

Non-IETF encapsulation is compatible with other vendors.

Syntax

encapsulation {ppp | frame-relay [type]}

no encapsulation

Parameters

Parameter

Description

Possible Values

Default Value

ppp

Keyword indicating that the encapsulation be set to PPP

frame-relay

Keyword indicating that the encapsulation be set to Frame Relay

type

The value for the type of Frame Relay encapsulation

IETF (RFC1490/RFC2427), non-IETF

IETF

User level

read-write

Context

interface:Serial (DS1 PPP L2, DS1 PPP L2-L3, DS1 FR L2, USP PPP L2, USP PPP L2-L3, USP FR L2)

Example

To create a Frame-Relay interface with IETF encapsulation:

Gxxx-001(if:Serial 3/1:1)# encapsulation frame-relay ietf