show interface tunnel

Syntax

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

Description

Displays configuration settings for all GRE tunnels or a specific tunnel.

Command context

Manager (#)

Parameters

<TUNNEL-NUMBER>

Specifies the number of a GRE 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

This example shows configuration settings for tunnel 10.

switch# show interface tunnel10

Interface tunnel10 is up
 Admin state is up
 tunnel type GRE IPv4
 tunnel interface IPv4 address 180.0.0.18/24
 tunnel source IPv4 address 1.1.1.1
 tunnel destination IPv4 address 2.2.2.2
 tunnel ttl 60
RX
            0 input packets              0 bytes
            0 dropped

TX
            0 output packets             0 bytes
            0 dropped

This example shows configuration settings for all tunnels.

switch# show interface tunnel

Interface tunnel10 is up
 Admin state is up
 tunnel type GRE IPv4
 tunnel interface IPv4 address 180.0.0.18/24
 tunnel source IPv4 address 1.1.1.1
 tunnel destination IPv4 address 2.2.2.2
 tunnel ttl 60
RX
            0 input packets              0 bytes
            0 dropped

TX
            0 output packets             0 bytes
            0 dropped

Interface tunnel11 is up
 Admin state is up
 tunnel type GRE IPv4
 tunnel interface IPv4 address 10.0.0.18/24
 tunnel source IPv4 address 110.1.1.1
 tunnel destination IPv4 address 20.2.2.2
 tunnel ttl 80
RX
            0 input packets              0 bytes
            0 dropped

TX
            0 output packets             0 bytes
            0 dropped