D-Link xstack DGS-3620 series Reference Manual page 633

Layer 3 managed stackable gigabit switch
Hide thumbs Also See for xstack DGS-3620 series:
Table of Contents

Advertisement

xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
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 IPv4 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 Administrators, Operators and Power-Users can issue this command. (EI Mode Only
Command)
Example
To configure a GRE tunnel (tunnel with: the name "tn1", the delivery protocol as IPv4, tunnel
source the IPv4 address 1.0.0.1, the tunnel destination IPv4 address i1.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):
628

Advertisement

Table of Contents
loading

Table of Contents