# Monitoring Detailed Configuration Information about Specified Tunnels

#### Purpose

Display detailed configuration information about specified tunnels.

#### Action

To display detailed configuration information about specified tunnel by ip address:

    host1#show l2tp tunnel virtual router default ip 172.31.1.98
    L2TP tunnel 1/xyz is Up with 13 active sessions
    L2TP tunnel 1/aol.com is Up with 13 active sessions
    L2TP tunnel 1/isp.com is Up with 13 active sessions
    L2TP tunnel 1/msn.com is Up with 13 active sessions
    L2TP tunnel 1/mv.com is Up with 12 active sessions
    5 L2TP tunnels found

To display detailed configuration information about specified tunnel:

    host1#show l2tp tunnel detail 1/xyz
    L2TP tunnel 1/xyz is Up with 13 active sessions
    Configuration
      Administrative state is enabled
      SNMP traps are enabled
    Tunnel address
      Transport ipUdp
      Virtual router default
      Local address 192.168.1.230, peer address 172.31.1.98
      Local UDP port 1701, peer UDP port: 1701
    Tunnel status
      Effective administrative state is enabled
      State is established
      Local tunnel id is 14529, peer tunnel id is 34
    Sub-interfaces    total   active   failed
      Sessions        13      13       0
    Statistics    packets      octets       discards   errors
      Control rx  14           683          0          0
      Control tx  41           4666         0          0
      Data rx     67900944     67900944     0          0
      Data tx     67900944     67900944     0          0
    Control channel statistics
      Receive window size = 4
      Receive ZLB = 17
      Receive out-of-sequence = 0
      Receive out-of-window = 0
      Transmit window size = 4
      Transmit ZLB = 12
      Transmit queue depth = 0
      Retransmissions = 8
    Tunnel operational configuration
      Peer host name is 'Juniper-POS'
      Peer vendor name is 'XYZ, Inc.'
      Peer protocol version is 1.1
      Peer firmware revision is 0x1120
      Peer bearer capabilities are digital and analog
      Peer framing capabilities are sync and async

#### Meaning

Table 94 lists the show l2tp tunnel command output fields.

Table 94: show l2tp tunnel Output Fields

Field Name | Field Description
--- | ---
Configuration | Configured status of the tunnel enabled
Administrative state | Administrative status of the enabled tunnel: enabled—No restrictions on creation and operation of sessions for this tunnel disabled—Router disabled existing sessions and will not create new sessions on this tunnel drain—Router will not create new sessions on this tunnel
SNMP traps | Whether or not the router sends traps to SNMP for operational state changes
Tunnel address | Tunnel address information.
Transport | Method used to transfer traffic
Virtual router | Name of the virtual router on which the tunnel is configured
Local and peer addresses | IP addresses of the local and remote ends of the tunnel. If the router is set up to ignore address and port changes in SCCRP packets, both the transmit and receive addresses are listed for the peer.
Local and peer UDP ports | UDP ports for the local and remote ends of the tunnel. If the router is set up to accept address and port changes in SCCRP packets, both the transmit and receive UDP ports are listed for the peer.
Tunnel status | Tunnel status information.
Effective administrative state | Most restrictive of the following administrative states: E Series router, destination, and tunnel. This setting, rather than the administrative state of the tunnel, determines whether the router can create new sessions on a tunnel or whether the sessions on a tunnel are disabled or not.
State | Status of the enabled tunnel: idle connecting established disconnecting
Local and peer tunnel id | Names the router used to identify the tunnel locally and remotely
Sub-interfaces: | Sub-interface information for the enabled tunnel: total—Number of sessions that the router has created on this tunnel active—Number of operational sessions on the tunnel failed—Number of requests that did not reach an operational state
Statistics | Information about the traffic sent and received
Control channel statistics | Tunnel control channel information
Receive window size | Number of packets that the peer can transmit without receiving an acknowledgment from the router.
Receive ZLB | Number of acknowledgments that the router has received from the peer.
Receive out-of-sequence | Number of received control packets that were out of order.
Receive out-of-window | Number of packets that arrived at the router outside the receiving window.
Transmit window size | Number of packets that the router can transmit before receiving an acknowledgment from the peer.
Transmit ZLB | Number of acknowledgments that the router has sent to the peer.
Transmit queue depth | Number of packets that the router is waiting to send to the peer, plus the number of packets for which the peer has not yet acknowledged receipt.
Tunnel operation configuration | Information received from the peer when the tunnel was created

#### Related Documentation

- show l2tp tunnel