xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
504
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 : tn1
Interface Admin State : Enabled
Tunnel Mode : GRE
IPv4 Address : 2.0.0.1/8
IPv6 Global Unicast Address : 2000::1/64
Tunnel Source : 1.0.0.1
Tunnel Destination : 1.0.0.2
DGS-3120-24TC:admin#
46-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>}
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...