add vpn tunnel (VTI)

Description

Adds a new numbered or unnumbered Virtual Tunnel Interface (VTI) to be used for Route-based VPN purposes.

Syntax

add vpn tunnel <vpn tunnel> type { unnumbered peer <peer> internet-connection <internet-connection> | numbered local <local> remote <remote> peer <peer> }

Parameters

Parameter

Description

internet-connection

The local interface for unnumbered VTI.

local

The IP address of the interface.

peer

Remote peer name as defined in the VPN community.

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

The Peer ID is an alpha-numeric character string.

A string that begins with a letter and contain 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

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

type

The type of VTI: Numbered VTI that uses a specified, static IPv4 addresses for local and remote connections, or unnumbered VTI that uses the interface and the remote peer name to get addresses.

Press the TAB key to see the available options.

vpn tunnel

A number identifying the Virtual Tunnel Interface (VTI).

Example

add vpn tunnel 12 type unnumbered peer site17 internet-connection My connection