set vpn tunnel (VTI)

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Configures an existing Virtual Tunnel Interface (VTI) for route based VPN.

Syntax

set vpn tunnel <tunnel> type

      numbered [ local <local> ] [ remote <remote> ] [ peer <peer> ]

      unnumbered [ peer <peer> ] [ internet-connection <internet-connection> ]

Parameters

Parameter

Description

internet-connection

Specifies the local interface for unnumbered VTI.

Press the TAB key to see the available options.

local

Configures the IP address of the interface.

peer

Configures the remote peer name as defined in the VPN community.

You must define the two peers in the VPN community before you can define the VTI.

The Peer ID is an alpha-numeric character string.

A string that begins with a letter and contains up to 32 characters without spaces, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

remote

Configures the remote peer IPv4 address, used at the peer gateway's point-to-point virtual interface (numbered VTI only)

tunnel

Configures a number identifying the Virtual Tunnel Interface (VTI)

type

Specifies the type of VTI:

  • Numbered VTI uses a specified, static IPv4 addresses for local and remote connections

  • Unnumbered VTI uses the interface and the remote peer name to get addresses

Example Command

set vpn tunnel 15 type unnumbered peer Site17 internet-connection MyConnection