D-Link xStack Reference Manual page 479

Dgs-3120 series layer 3 managed gigabit switch
Hide thumbs Also See for xStack:
Table of Contents

Advertisement

®
xStack
DGS-3120 Series Layer 3 Managed Gigabit Switch CLI Reference Guide
destination - (Optional) Specify the destination address of the GRE tunnel interface. It is used as
the destination address for packets in the tunnel.
<ipaddr> - Enter the IPv4 destination address.
<ipv6addr> - Enter the IPv6 destination address.
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-3120-24TC: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-3120-24TC:admin#config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address
2000::1/64
Command: config ip_tunnel gre tn1 ipaddress 2.0.0.1/8 ipv6address 2000::1/64
Success.
DGS-3120-24TC:admin#
To display the configuration of a GRE tunnel interface named "tn1":
DGS-3120-24TC:admin#show ip_tunnel tn1
Command: show ip_tunnel tn1
Tunnel Interface
Interface Admin State
Tunnel Mode
IPv4 Address
IPv6 Global Unicast Address : 2000::1/64
Tunnel Source
Tunnel Destination
DGS-3120-24TC:admin#
45-7
show ip_tunnel
Description
This command is used to show one or all IP tunnel interfaces' information.
Format
show ip_tunnel {<tunnel_name 12>}
: tn1
: Enabled
: GRE
: 2.0.0.1/8
: 1.0.0.1
: 1.0.0.2
474

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120-24tc

Table of Contents