Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


gre (Routing Options)


Hierarchy Level


Define a dynamic generic routing encapsulation (GRE) tunnel for IPv4 to automatically establish label-switched paths (LSPs) for any new provider edge (PE) router added to a full mesh of LSPs.



A list of one or more destination prefixes that are reachable through the GRE tunnel.


The source address used for the dynamic GRE tunnel.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.1.

next-hop-based-tunnel option introduced in Junos OS Release 16.2.