# show l2tp tunnel

モード
  特権EXECモード
カテゴリー
  VPN / L2TPv2

## 構文

コマンド構文

`# show l2tp tunnel [detail]`

## コマンド説明

L2TPv2トンネルの情報を表示する。

## パラメーター

`detail`
  詳細な情報を表示したいときに指定する

## 使用例

    awplus# show l2tp tunnel

    L2TP Tunnel Information

    --------------------------------------------------------------------------------
    Tunnel ID:                      25351
    Tunnel Name:                    tunnel1
    Local IP Address:               10.1.1.2
    Remote IP Address:              10.1.1.1
    State:                          ESTABLISHED
    Created At:                     May 31 20:03:04 2016
    Tunnel Mode:                    LAC
    Remote Tunnel ID:               43832
    Remote Host Name:               AWP-1
    Remote Vendor Name:             Allied Telesis International
    Local UDP Port:                 1701
    Remote UDP Port:                1701
    Hello Timeout:                  60
    Retry Timeout:                  1
    Idle Timeout:                   0
    Establish Timeout:              60

    awplus# show l2tp tunnel detail

    L2TP Tunnel Information details

    Tunnel 25351, from 10.1.1.2 to 10.1.1.1:-
      state: ESTABLISHED
      created at:  May 31 20:03:04 2016
      administrative name: 'tunnel1'
      created by admin: YES, tunnel mode: LAC, persist: YES
      peer tunnel id: 43832, host name: AWP-1
      UDP ports: local 1701, peer 1701
      authorization mode: CHALLENGE, hide AVPs: OFF
      digest type: md5
      tunnel secret: 'hello'
      session limit: 0, session count: 1
      tunnel profile: tunnel_profile_tunnel1, session profile: session_profile_tunne
    l1, peer profile: peer_profile_tunnel1
      hello timeout: 60, retry timeout: 1, idle timeout: 0
      establish timeout: 60
      persist pend timeout: 60
      rx window size: 10, tx window size: 10, max retries: 5
      use udp checksums: ON
      do pmtu discovery: OFF, mtu: 1460
      tos: inherit
      framing capability: SYNC ASYNC, bearer capability: DIGITAL ANALOG
      use tiebreaker: ON
      tiebreaker: f6 5e 50 9c 02 99 45 83
      interopability flags: 128
      trace flags: PROTOCOL FSM API AVP FUNC XPRT DATA PPP SYSTEM
      Status:-
        peer vendor name: Allied Telesis International
        peer protocol version: 1.0, firmware 385
        peer framing capability: SYNC ASYNC
        peer bearer capability: DIGITAL ANALOG
        peer rx window size: 10
      Transport status:-
        ns/nr: 8/9, peer 8/8
        cwnd: 9, ssthresh: 10, congpkt_acc: 0
      Transport statistics:-
        out-of-sequence control/data discards: 0/0
        zlbs tx/txfail/rx: 6/0/5
        retransmits: 0, duplicate pkt discards: 0, data pkt discards: 0
        hellos tx/txfail/rx: 1/0/5
        control rx packets: 14, rx bytes: 413
        control tx packets: 14, tx bytes: 542
        data rx packets: 4, rx bytes: 100, rx errors: 0
        data tx packets: 14, tx bytes: 512, tx errors: 0
      memory usage: 2111 bytes
      Events:-
        20:03:04 OPEN_REQ in state IDLE, new state WAITCTLREPLY
        20:03:04 SCCRP_ACCEPT in state WAITCTLREPLY, new state ESTABLISHED

## 関連コマンド