1. Configure a physical GRE port with a logical interface name and address:
•
For IPv4 over GRE, specify the protocol family inet:
[edit interfaces]
user@host# set gr-fpc/pic/port unit number family inet address
•
For IPv6 over GRE, specify the protocol family inet6:
[edit interfaces]
user@host# set gr-fpc/pic/port unit number family inet6 address
2. Specify the tunnel source address for the logical interface:
[edit interfaces]
user@host# set gr-fpc/pic/port unit number tunnel source source-address
3. Specify the destination address:
[edit interfaces]
user@host# set gr-fpc/pic/port unit number tunnel destination destination-address
Related
Documentation
Understanding Generic Routing Encapsulation on ACX Series on page 581•
• Configuring Unicast Tunnels on page 585
Configuring Unicast Tunnels
To configure a unicast tunnel, you configure a gr- interface (to use GRE encapsulation)
and include the tunnel and family statements:
gr-fpc/pic/port {
unit logical-unit-number {
tunnel {
destination destination-address;
routing-instance {
destination routing-instance-name;
}
source address;
ttl number;
}
family family {
address address {
destination address;
}
}
}
}
You can configure these statements at the [edit interfaces] hierarchy level.
You can configure multiple logical units for each GRE interface, and you can configure
only one tunnel per unit.
You must specify the tunnel’s destination and source addresses. The remaining
statements are optional.
585Copyright © 2017, Juniper Networks, Inc.
Chapter 19: Configuring Generic Routing Encapsulation