xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
405
DGS-3420-28SC:admin# show ip_tunnel tn1
Command: show ip_tunnel tn1
Tunnel Interface : tn1
Interface Admin State : Enabled
Tunnel Mode : GRE
Ipv4 Address : 2.0.0.1/8
IPv6 Global Unicast Address : 2001::1/64
Tunnel Source : 1.0.0.1
Tunnel Destination : 1.0.0.2
DGS-3420-28SC:admin#
To configure a GRE tunnel (tunnel with the name “tn2”, the delivery protocol IPv6, the tunnel
source IPv6 address 2000::1, the tunnel destination IPv6 address 2000::2, the GRE tunnel
interface’s IPv6 address 3001::1/64, the GRE tunnel interface’s IPv4 address 3.0.0.1/8):
DGS-3420-28SC:admin# config ip_tunnel gre tn2 source 2000::1 destination
2000::2
Command: config ip_tunnel gre tn2 source 2000::1 destination 2000::2
Success.
DGS-3420-28SC:admin# config ip_tunnel gre tn2 ipaddress 3.0.0.1/8
Command: config ip_tunnel gre tn2 ipaddress 3.0.0.1/8
Success.
DGS-3420-28SC:admin# config ip_tunnel gre tn2 ipv6address 3001::1/64
Command: config ip_tunnel gre tn2 ipv6address 3001::1/64
Success.
DGS-3420-28SC:admin#
To display the configuration of a GRE tunnel interface named “tn2”:
DGS-3420-28SC:admin# show ip_tunnel tn2
Command: show ip_tunnel tn2
Tunnel Interface : tn2
Interface Admin State : Enabled
Tunnel Mode : GRE
Ipv4 Address : 3.0.0.1/8
IPv6 Global Unicast Address : 3001::1/64
Tunnel Source : 2000::1
Tunnel Destination : 2000::2
DGS-3420-28SC:admin#