soft-gre
Syntax
soft-gre group-name {
destination-networks [prefix];
dynamic-profile profile-name;
tunnel {
tunnel-name {
remote-address mdu-ip-address;
}
}
service-interface psn;
source-address wag-ip-address;
<tunnel-idle-timeout seconds>;
}
Hierarchy Level
[edit services]
Description
Configure the conditions for enabling dynamic-bridged generic routing encapsulation
(GRE) tunnel creation on the MX Series router Wi-Fi access gateway (WAG).
You can
configure the tunnel conditions for both IPv4 and IPv6 networks. The IP addresses
for source-address, destination-networks, and
remote-address specified in a given soft-GRE group must belong
to the same address family. Therefore, you need to use two different Soft-GRE groups
to configure both GRE over IPv4 and GRE over IPv6 dynamic or static
tunnels.
Options
| destination-networks [prefix] | Use the specified IP subnets from which soft-GRE connection requests from the customer can be processed. |
| group-name | Name of the dynamic GRE tunnel group. |
| dynamic-profile profile-name | Name of the dynamic profile that creates the tunnel. Note:
To support VLAN autosensing on a GRE tunnel, you must
also specify the |
| tunnel tunnel-name |
Define static soft GRE tunnels for static subscribers. The
|
| service-interface psn | Use the specified pseudowire subscriber interface device (IFD) on which the tunnels are built. |
| source-address wag-ip-address | Use the specified source IP address of the GRE tunnels for the WAG. This is the IP address on which incoming GRE traffic must be received by the MX Series router. |
| tunnel-idle-timeout seconds | (Optional) Use the specified number of seconds that a GRE tunnel remains up after the last subscriber session on the tunnel has ended. If set to 0, then no idle timeout is set, and the tunnel remains up for an unlimited period of time.
|
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.2R1.
The option tunnel added in Junos OS Release 25.2R1.
Statement support for IPv6 soft-GRE tunnels introduced in Junos OS Release 25.4R1.