D-Link xStack DGS-3420 Series Reference Manual page 497

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
GRE tunnel are simple point-to-point tunnels that can be used within a site or between sites.
When a user wants to configure a GRE IPv6/IPv4-in-IPv4 tunnel, both the source and destination
address must be IPv4 addresses because the delivery protocol is the IPv4 protocol. If the source and
destination address type are not consistent, then the GRE tunnel will not work.
When a user wants to configure a GRE IPv6/IPv4-in-IPv6 tunnel, both the source and destination
address must be IPv6 addresses because the delivery protocol is the IPv6 protocol. If the source and
destination address type are not consistent then the GRE tunnel will not work.
Format
config ip_tunnel gre <tunnel_name 12> {ipaddress <network_address> | ipv6address
<ipv6networkaddr> | source [<ipaddr> | <ipv6addr>] | destination [<ipaddr> | <ipv6addr>]}(1)
Parameters
<tunnel_name 12> - Enter the IP tunnel interface name used here. This name can be up to 12
characters long.
ipaddress - (Optional) Specifies the IPv4 address assigned to the GRE tunnel interface. IPv4
processing will be enabled on the IPv4 tunnel interface when an IPv4 address is configured.
This IPv4 address is not connected with the tunnel source or destination IPv4 address.
<network_address> - Enter the IPv4 network address used here.
ipv6address - (Optional) Specifies the IPv6 address assigned to the GRE tunnel interface. IPv6
processing will be enabled on the IPv6 tunnel interface when an IPv6 address is configured.
This IPv6 address is not connected with the tunnel source or destination IPv6 address.
<ipv6networkaddr> - Enter the IPv6 network address used here.
source - (Optional) Specifies the source IPv4 or IPv6 address of the GRE tunnel interface. It is
used as the source address for packets in the tunnel. The address type that will be used
depends on the Delivery Protocol. The address type used at both the source and destination
must be consistent, otherwise, the GRE tunnel will not work.
<ipaddr> - Enter the IPv4 source address used here.
<ipv6addr> - Enter the IPv6 source address used here.
destination - (Optional) Specifies the destination IPv4 or IPv6 address of the GRE tunnel
interface. It is used as the destination address for packets in the tunnel. The address type that
will be used depends on the Delivery Protocol. The address type used at both the source and
destination must be consistent, otherwise, the GRE tunnel will not work.
<ipaddr> - Enter the IPv4 destination address used here.
<ipv6addr> - Enter the IPv6 destination address used here.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a GRE tunnel (tunnel with the name "tn1", the delivery protocol as IPv4, the tunnel source
IPv4 address 1.0.0.1, the tunnel destination IPv4 address 1.0.0.2, the GRE tunnel interface's IPv6
address 2001::1/64, and the GRE tunnel interface's IPv4 address 2.0.0.1/8):
492

Advertisement

Table of Contents
loading

Table of Contents