
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
523
DGS-3620-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-3620-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-3620-28SC:admin#
To display the configuration of a GRE tunnel interface named “tn1”:
DGS-3620-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 Address : 2001::1/64
Tunnel Source : 1.0.0.1
Tunnel Destination : 1.0.0.2
DGS-3620-28SC:admin#
To configure a GRE tunnel (tunnel with: the name “tn2”, the delivery protocol IPv6, tunnel source
t
he 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-3620-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-3620-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-3620-28SC:admin# config ip_tunnel gre tn2 ipv6address 3001::1/64
Command: config ip_tunnel gre tn2 ipv6address 3001::1/64
Success.
DGS-3620-28SC:admin#
To display the configuration of a GRE tunnel interface named “tn2”: