
C613-50186-01 Rev B
Command Reference for AR2050V
2727
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
SEC
C
OMMANDS
TUNNEL
DESTINATION
(IP
SEC
)
tunnel destination (IPsec)
Overview
Use this command to specify a destination IPv4 or IPv6 address or destination
network name for the remote end of the tunnel.
Use the
no
variant of this command to remove a configured tunnel destination
address.
Syntax
tunnel destination {<
WORD
>|<
ipv4-address
>|<
ipv6-address
>}
no tunnel destination {<
WORD
>|<
ipv4-addres
s>|<
ipv6-address
>}
Mode
Interface Configuration
Examples
To configure a destination IPv4 address for IPsec
tunnel145
, use the commands
below:
awplus#
configure terminal
awplus(config)#
interface tunnel145
awplus(config-if)#
tunnel mode ipsec ipv4
awplus(config-if#
tunnel destination 192.0.3.1
To configure a destination IPv6 address for IPsec
tunnel145
, use the commands
below:
awplus#
configure terminal
awplus(config)#
interface tunnel145
awplus(config-if)#
tunnel mode ipsec ipv6
awplus(config-if#
tunnel destination 2001:0db8::
To configure a destination network name for IPsec
tunnel145
, use the
commands below:
awplus#
configure terminal
awplus(config)#
interface tunnel145
awplus(config-if)#
tunnel mode ipsec ipv4
awplus(config-if#
tunnel destination www.z.com
Parameter
Description
<
WORD
>
Destination network name or “dynamic”. The “dynamic”
parameter allows you to specify a dynamic IP address for the
remote endpoint. The dynamic IP address can be obtained,
for example, via DHCP.
<
ipv4-address
>
Destination IPv4 address. The IPv4 address uses the
format A.B.C.D.
<
ipv6-address
>
Destination IPv6 address. The IPv4 address uses the
format X:X::X:X.