# tunnel destination

#### Syntax

For DVMRP and GRE in Interface Configuration mode:

tunnel destination { ipAddress1 | hostname }

no tunnel destination

For DVMRP and GRE in IP Tunnel Destination Profile Configuration mode:

tunnel destination { subnet ipAddress2 mask | range ipAddressLow ipAddressHigh }

For IPSec:

tunnel destination { ipAddress3 | identity fqdn }

no tunnel destination

For MPLS in Interface Configuration mode:

tunnel destination ipAddress4

no tunnel destination

For MPLS in Tunnel Profile Configuration mode:

[ no ] tunnel destination
{ { isis-level-2 | ospf-bdr } [ { access-list | prefix-list } listName ] |
{ ipAddress [ ipAddress4 ]* }

#### Release Information

Command introduced before JunosE Release 7.1.0.
IP Tunnel Destination Profile Configuration mode added in JunosE Release 8.2.0.

#### Description

For DVMRP or GRE in Interface Configuration mode, configures the tunnel endpoint for static tunnels. The no version deletes the endpoint.

For DVMRP or GRE in IP Tunnel Destination Profile Configuration mode, configures the tunnel endpoint for dynamic tunnels. The no version deletes the endpoint.

For IPSec, configures the remote tunnel endpoint. You can identify the remote peer by either IP address or fully qualified domain name (FQDN). The no version deletes the endpoint.

For MPLS in Interface Configuration mode, configures the tunnel endpoint for static MPLS tunnels. The no version deletes the endpoint.

For MPLS in Tunnel Profile Configuration mode, configures the source of tunnel endpoints (destinations) within a tunnel profile. You can specify that the endpoints are to be learned from IS-IS or OSPF so that tunnels are created when the destinations are learned from the specified IGP, or you can provide one or more IP addresses as the endpoint(s) so that tunnels are created as soon as the destination addresses are configured. If you specify the destination address, it must be the address of the MPLS interface or the router ID of the destination router. The no version deletes the endpoints.

#### Options

- ipAddress1—IP address of the interface on the remote router
- hostname—Name of the host to serve as the tunnel endpoint
- ipAddress2—IP address of the tunnel destination address subnet
- mask—IP mask of the tunnel destination address subnet
- ipAddressLow—First IP address in a destination address range
- ipAddressHigh—Last IP address in a destination address range
- ipAddress3—IP address of the interface on the remote router or the router ID of the destination router that serves as the tunnel endpoint
- fqdn—Fully qualified domain name of the interface on the remote router that serves as the tunnel endpoint; a maximum of 80 characters
- isis-level-2—Specifies IS-IS level-2 routers as acceptable destinations
- ospf-bdr—Specifies OSPF border routers as acceptable destinations
- listName—Name of access list or prefix list that contains the IP addresses that are acceptable as tunnel endpoints
- ipAddress4—IP address of the interface on the remote router or the router ID of the destination router that serves as the tunnel endpoint; for a tunnel profile, you can list multiple addresses
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

#### Mode

Interface Configuration, IP Tunnel Destination Profile Configuration, Tunnel Profile Configuration