encap-type

Configures encapsulation type for outgoing packets.

Syntax

encap-type gre
no encap-type gre

Parameters

gre
Sets encapsulation type to GRE.

Modes

Encap config mode

Usage Guidelines

Validations for the command are as follows:

Examples

The following examples show GRE encapsulation.

device# configure terminal 
device(config)# encap encap-1 
device(config-encap)# encap-type gre 

Show running:  
device# show running-config encap 
encap encap-1 
  encap-type gre