show running-config interface tunnel

Syntax

show running-config interface tunnel<TUNNEL-NUMBER> [vsx-peer]

Description

Shows the commands used to configure an IP tunnel.

Command context

Manager (#)

Parameters

<TUNNEL-NUMBER>

Specifies the number of an IP tunnel. Range: 1 to 127.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Examples

Shows the configuration for a GRE tunnel.
switch# show running-config interface tunnel2
  interface tunnel 2 mode gre ipv4
  source ip 10.10.20.11
  destination ip 10.20.1.2
  ip address 10.10.10.1/24
  ttl 60
Shows the configuration for IPv6 in IPv4 tunnel.
switch# show running-config interface tunnel5
  interface tunnel5 mode ip 6in4
  source ip 10.10.10.12
  destination ip 22.20.20.20
  ip6 address 2001:DB8:5::1/64
  ttl 60
  no shutdown
  description Network10
Shows the configuration for IPv6 in IPv6 tunnel.
switch# show running-config interface tunnel1
  interface tunnel 1 mode ip 6in6
  description Network2 Tunnel
  source ipv6 2::1
  destination ipv6 2::2
  ipv6 address 4::1/64
  ttl 60