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.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Shows the configuration commands for tunnel 12.

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 commands for tunnel 15.

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