encap
Configures encapsulation parameters for
the outgoing packets.
Syntax
Parameters
-
name
- Specifies the name of the encap object. Supports 1-64 characters.
- The name must start with an
alphabet character or an underscore.
Modes
Config mode
Encap config mode
Usage Guidelines
Validations for the command are as follows:
- 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.
- If the no form of the
command is run with the configuration, all sub-mode configurations are removed
along with the encap object.
- The following reserved keywords
cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.
Examples
The following example configures encapsulation parameters for encap-1.
device(config)# encap encap-1
device(config-encap-1)#