dynamic-tunnels
Syntax
dynamic-tunnels tunnel-name {
bgp-signal;
destination-networks prefix;
gre;
ipip
rsvp-te entry-name {
destination-networks network-prefix;
label-switched-path-template (Multicast) {
default-template;
template-name;
}
}
source-address address;
spring-te;
srv6;
traceoptions;
tunnel-attributes name {
dynamic-tunnel-anchor-pfe dynamic-tunnel-anchor-pfe;
dynamic-tunnel-anti-spoof (off | on);
dynamic-tunnel-gre-key
dynamic-tunnel-mtu dynamic-tunnel-mtu;
dynamic-tunnel-source-prefix dynamic-tunnel-source-prefix;
dynamic-tunnel-type (BGP-SIGNAL | GRE | UDP | V4oV6);
}
v4ov6 ipv6-anycast-source-duplication;
}
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options], [edit logical-systems logical-system-name routing-options], [edit routing-instances routing-instance-name routing-options], [edit routing-options]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Configure a dynamic tunnel between two PE routers.
ACX Series routers do not support the gre statement.
Configure dynamic IPv4-over-IPv6 tunnels and define their attributes to forward IPv4
traffic over an IPv6-only network. IPv4 traffic is tunneled from customer premises
equipment to IPv4-over-IPv6 gateways. You must also configure
extended-nexthop
option at [edit protocols bgp family inet unicast]
hierarchy level to allow BGP to route IPv4 address families over an IPv6
session.
Options
| bgp-signal |
Enable the creation of a tunnel signaled by BGP. |
| gre |
Enable dynamic generic routing encapsulation type tunnel mode for IPv4.
|
| ipip |
Enable dynamic IP in IP encapsulation type tunnel mode for IPv4
|
| source-address |
Specify the source address of the tunnel. |
tunnel-name |
Name of the dynamic tunnel. |
| srv6 | Configure an SRv6 dynamic tunnel using the following
statements:set routing-options dynamic-tunnels <tunnel-name> source-address <IPv6 address> set routing-options dynamic-tunnels <tunnel-name> destination-networks <IPv6 address> set routing-options dynamic-tunnels <tunnel-name> srv6 set routing-options dynamic-tunnels forwarding-rib <inet6.0> inet6-import <policy-name> set policy-options policy-statement <policy_name> then tunnel-end-point-address <IPv4/IPv6 address> |
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
bgp-signal option introduced in Junos OS Release 17.4R1.
srv6 option introduced in Junos OS Evolved Release 25.2R1.