
C613-50186-01 Rev B
Command Reference for AR2050V
2757
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
GRE T
UNNELING
C
OMMANDS
TUNNEL
DESTINATION
(GRE)
tunnel destination (GRE)
Overview
Use this command to specify a tunnel destination for the remote end of the tunnel.
Tunnel destination can be specified by using a destination network name or an
IPv4 address.
Use the
no
variant of this command to remove a configured tunnel destination.
Syntax
tunnel source {
<ipv4-addr>
|
<destination-network-name>
}
no tunnel destination
Mode
Interface Configuration
Examples
To configure an IPv4 tunnel destination by using an IPv4 address, use the
commands:
awplus#
configure terminal
awplus(config)#
interface tunnel40
awplus(config-if)#
tunnel mode gre
awplus(config-if)#
tunnel destination 2.2.2.2
To configure a GRE tunnel destination by using a destination network name, use
the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel40
awplus(config-if)#
tunnel mode gre
awplus(config-if)#
tunnel destination
corporate_lan.example.com
To remove a GRE tunnel destination, use the commands:
awplus#
configure terminal
awplus(config)#
interface tunnel40
awplus(config-if)#
no tunnel destination
Parameter
Description
<ipv4-addr>
Specify the tunnel destination IPv4 address in the dotted decimal
format A.B.C.D.
The endpoints of the tunnel must be configured by mirroring IP
addresses, that is, the tunnel source on one endpoint must be
specified as the tunnel destination on the other endpoint.
<destination
-
network-name
>
Destination network name.
If the destination network name cannot be resolved, then the GRE
tunnel remains inactive.