run show l3-interface tunnel


To display information about an GRE tunnel interface, use the run show l3-interface tunnel command in L2/L3 configuration mode.

NOTE:

GRE tunnel is a logical interface created by Linux kernel on software side. Once created, GRE tunnel stays in "UP" state in the display of this show command. Unless it is shut down by CLI command "set l3-interface tunnel ddd disable", the state will change to “DOWN”.

Command Syntax

run show l3-interface tunnel <tunnel-interface-name>

Parameters

ParameterDescription
tunnel <tunnel-interface-name>The GRE tunnel interface name.

Example

  • The following example displays information about GRE tunnel interface tnl1. In the output information, Inet addr indicates the tunnel interface IP address.
admin@Xorplus# run show l3-interface tunnel tnl1
tnl1        State:UP 
            Tunnel Source: 1.1.1.1
            Tunnel Destnation:: 2.2.2.2
            Tunnel protocol/transport: gre-ip
            Inet addr: 10.1.1.1/24
            Traffic statistics:
              5 sec input rate IPv4 0 packets/sec, IPv6 0 packets/sec
              5 sec forwarding rate IPv4 0 packets/sec, IPv6 0 packets/sec
              IPv4 Input Packets............................0
              IPv4 Forwarding Packets.......................0
              IPv6 Input Packets............................0
              IPv6 Forwarding Packets.......................0


Copyright © 2024 Pica8 Inc. All Rights Reserved.