encapsulation
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.
encapsulation encapsulation-type
no encapsulation encapsulation-type
Syntax Description
encapsulation-type |
Encapsulation type; one of the following keywords:
|
Command Default
NA
Command Modes
Interface configuration (config-if)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.2.1v |
Command qualified for use in Cisco vManage CLI templates. The following keywords are qualified:
|
Cisco IOS XE Catalyst SD-WAN Release 17.3.1a |
Command qualified for use in Cisco vManage CLI templates. The following keywords are qualified:
|
Usage Guidelines
For usage guidelines, see the Cisco IOS XE encapsulation command.
The following example shows how to enable frame-relay encapsulation on Serial interface 0:
Device(config)# interface Serial 0
Device(config-if)# encapsulation frame-relay
The following example shows how to configure Dialer interface 1 for PPP encapsulation:
Device(config)# interface Dialer 1
Device(config-if)# encapsulation ppp