D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
404
<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):
DGS-3420-28SC:admin# config ip_tunnel gre tn1 source 1.0.0.1 destination
1.0.0.2
Command: config ip_tunnel gre tn1 source 1.0.0.1 destination 1.0.0.2
Success.
DGS-3420-28SC:admin# config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address
2001::1/64
Command: config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2001::1/64
Success.
DGS-3420-28SC:admin#
To display the configuration of a GRE tunnel interface named “tn1”: