gre-tunnel policy { input | output } policyName
[ statistics { enabled | disabled | preserve
} | merge ]
no gre-tunnel policy { input | output } [ policyName ]
Command introduced before JunosE Release
7.1.0.
merge keyword added
in JunosE Release 7.2.0.
Assigns a GRE tunnel policy list to an interface. If you enter the gre-tunnel policy command and the policy list does not exist, the router creates a policy list with no rules, the default. Attaching this policy list to an interface filters all packets on that interface. You must specify the input or output keyword to assign the policy list to the ingress or egress of the interface. The no version removes the association between a policy list and an interface.
Interface Configuration