show tunnel

show [{tunnel} {tunnel_name} | tunnel {vr [vrname | all]} {payload-vr payload_vrname} {detail]

Description

Displays system tunnel information for a specified tunnel or for all tunnels.

Syntax Description

tunnel_name Specifies a tunnel name.
vr Specifies showing tunnel information by VR.
vrname Specifies showing tunnel information for a specific VR by name. The default is the context VR.
all Specifies showing tunnels for all VRs.
payload-vr Specifies showing tunnel information for payload VRs.
payload_vrname Specifies showing tunnel information for a specific payload VR by name. If not specified, all tunnel payload VRs are shown.
detail Shows detailed information for a tunnel.

Default

If not specified, the VR of current command context is used.

If not specified, all tunnel payload VRs are shown.

Usage Guidelines

The tunnel keyword is optional only when you specify a valid IPv6-in-IPv4 or IPv6-to-IPv4 tunnel name. The Total tunnels count in the display represents all tunnels on the switch.

Example

The following example displays system tunnel information for all tunnels:

# show tunnel
Name                             Type                                    Flags
tunfour                          6in4 10.20.30.40 => 10.10.10.10         U
mytun                            GRE 1.1.1.2 => 1.1.1.1                  
Utunfive2                        6to4 10.20.30.40 => *.*.*.*             D
Total tunnels: 3
Flags: (U) Up / (D) Down / (a) Administratively Disabled
       (S) System Disabled (incompatible hardware)

The following example displays system tunnel information for tunnel "tunfour":

# show "tunfour"
Name                             Type                                    Flags
tunfour                          6in4 10.20.30.40 => 10.10.10.10         U
Total tunnels: 2
Flags: (U) Up / (D) Down

The following example shows detailed information about tunnel "mytunl":

# show tunnel mytun1 detail
    Tunnel Name : mytun
    Tunnel Type : GRE
    Flags : Administratively Disabled
    Source Address : 1.1.1.1
    Destination Address : 1.1.1.2
    IPv4 Forwarding : Enabled
    Virtual Router (VR) : vr-transport
    Payload VR : vr-tenant
    Interface Address : 2.0.0.1/24

The following example shows detailed information about tunnel "mytunnel" with TCP MSS adjustment configuration:

# show mytunnel detail
    Tunnel Name         : mytunnel
    Tunnel Type         : GRE
    Flags               : Up
    Source Address      : 1.1.1.1
    Destination Address : 1.1.1.2
    IPv4 Forwarding     : Enabled
    Virtual Router (VR) : VR-Default
    Payload VR          : VR-Default
    Interface Address   : 2.0.0.1/24
    TCP Adjust MSS      : On
    TCP MSS Value       : 1360

The following example shows detailed information about tunnel "mytunnel" with an IP MTU value of 1400:

# show mytunnel detail
    Tunnel Name         : mytunnel
    Tunnel Type         : GRE
    Flags               : Up
    Source Address      : 1.1.1.1
    Destination Address : 1.1.1.2
    IPv4 Forwarding     : Enabled
    Virtual Router (VR) : VR-Default
    Payload VR          : VR-Default
    Interface Address   : 2.0.0.1/24
    IP MTU              : 1400
    TCP Adjust MSS      : On
    TCP MSS Value       : 1360

History

This command was first available in ExtremeXOS 11.2.

Options to specify VR/payload VR and detailed tunnel information were added in ExtremeXOS 31.2.

TCP MSS adjustment information was added in ExtremeXOS 31.6.

Platform Availability

This command is available on the platforms listed for the IPv6 interworking feature in the Switch Engine 32.2 Feature License Requirements document.