Technical Documentation



dynamic-tunnels tunnel-name {destination-networks prefix;source-address address;tunnel-type gre;}

Hierarchy Level

[edit logical-systems logical-system-name routing-options],[edit routing-options]

Release Information

Statement introduced before JUNOS Release 7.4.


Enable dynamic tunnel creation.


destination-networks prefix—Specifies the IP version 4 (IPv4) prefix range for the destination network by including the destination-networks statement. Only tunnels within the specified IPv4 prefix range are allowed to be initiated.

source-address address—Specifies the source address for the generic routing encapsulation (GRE) tunnels. The source address specifies the address used as the source for the local tunnel endpoint. This could be any local address on the router (typically the router ID or the loopback address).

tunnel-name—Specifies the name of the dynamic tunnel.

tunnel-type gre—Specifies that a GRE tunnel is to be dynamically created.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2010-04-27