decapsulate gre
To enable decapsulation of the Generic Routing Encapsulation (GRE) packets, use the decapsulate gre command in policy map class configuration mode. To remove a previously configured GRE decapsulation for a class, use the no form of this command.
decapsulate gre
no decapsulate gre
Command Default
No default action.
Command Modes
Policy map class configuration
Command History
Release |
Modification |
---|---|
Release 6.0.1 |
This command was introduced. |
Usage Guidelines
This command applies only to the incoming IPv4 packets only.
Task ID
Task ID |
Operations |
---|---|
qos |
read, write |
Examples
This example shows how to configure decapsulation of the GRE packets :
RP/0/RP0/CPU0:router(config)# policy-map type pbr gre-policy
RP/0/RP0/CPU0:router(config-pmap)# class type traffic gre-class
RP/0/RP0/CPU0:router(config-pmap-c)# decapsulate gre