encap-type
Configures encapsulation type for
outgoing packets.
Syntax
Parameters
- gre
- Sets encapsulation type to GRE.
Usage Guidelines
Validations for the command are as follows:
- The encap-type
cannot be modified or deleted when the encap is associated with the egress
object.
- If the same command is run more
than once, the second and subsequent instances are ignored
and no error is reported.
- If the no form of the command is run
without the configuration, the command is ignored and no
error is reported.
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