Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

gre (Routing Options)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
gre <source-address> <destination-networks>;

Hierarchy Level

content_copy zoom_out_map
[edit logical-systems logical-system-name routing-options dynamic-tunnels tunnel-name],
[edit routing-options dynamic-tunnels tunnel-name]

Description

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.

Options

destination-networks

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

source-address

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.

footer-navigation