D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
376
DGS-3627:admin# config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2
Command: config ip_tunnel manual tn2 source 1.0.0.1 destination 1.0.0.2
Success.
DGS-3627:admin# config ip_tunnel manual tn2 ipv6address 2001::1/64
Command: config ip_tunnel manual tn2 ipv6address 2001::1/64
Success.
DGS-3627:admin#
config ip_tunnel 6to4
Purpose Used to configure an IPv6 6to4 tunnel.
Syntax
config ip_tunnel 6to4 <tunnel_name 12> {ipv6address <ipv6networkaddr> | source
<ipaddr >}(1)
Description The config ip_tunnel 6to4 command is used to configure an existing IPv6 tunnel as an IPv6
6to4 tunnel on the switch. If this tunnel has previously been configured in another mode, the
tunnel’s information will still exist in the database. However, whether the tunnel’s former
information is invalid or not will depend on the current mode. A maximum of one IPv6 6to4
tunnel can exist on the system.
IPv6 6to4 tunnels are point-to-multipoint tunnels that can be used to connect isolated IPv6
sites. Each IPv6 site has at least one connection to a shared IPv4 network and this IPv4
network could be the global Internet or a corporate backbone. The key requirement is that
each site has a globally unique IPv4 address, which is used to construct a 48-bit globally
unique 6to4 IPv6 prefix (It starts with the prefix 2002::/16).
Parameters
<tunnel_name 12> - IPv6 Tunnel interface name, maximum of 12 characters.
ipv6address <ipv6networkaddr> - The IPv6 address assigned to this IPv6 tunnel interface.
IPv6 processing would be enabled on this IPv6 tunnel interface when an IPv6 address is
configured. The 32 bits following the initial 2002::/16 prefix correspond to an IPv4 address
assigned to the tunnel source.
source <ipaddr> - The source IPv4 address of this IPv6 tunnel interface. It is used as the
source address for packets in this IPv6 tunnel. The tunnel destination IPv4 address is
extracted from the remote tunnel endpoint’s IPv6 6to4 address that starts with the prefix
2002::/16.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure an IPv6 6to4 tunnel (Tunnel name is “tn2”, Tunnel source IPv4 address is 10.0.0.1, Tunnel IPv6 address is
2002:a00:1::1/64):
DGS-3627:admin# config ip_tunnel 6to4 tn2 source 10.0.0.1
Command: config ip_tunnel 6to4 tn2 source 10.0.0.1
Success.
DGS-3627:admin# config ip_tunnel 6to4 tn2 ipv6address 2002:a00:1::1/64
Command: config ip_tunnel 6to4 tn2 ipv6address 2002:a00:1::1/64
Success.
DGS-3627:admin#