# show l2tp session

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

## 構文

コマンド構文

`# show l2tp session [detail]`

## コマンド説明

L2TPv2セッションの情報を表示する。

## パラメーター

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

## 使用例

    awplus# show l2tp session

    L2TP Session Information

    --------------------------------------------------------------------------------
    Session ID:                     59400
    Tunnel ID:                      25351
    State:                          RETRY
    Created At:                     May 31 20:03:04 2016
    Interface Name:                 ppp1
    Remote Session ID:              61156
    Establish Timeout:              120

    awplus# show l2tp session detail

    L2TP Session Information details

    Session 59400 on tunnel 25351:-
      type: LAC Incoming Call, state: ESTABLISHED
      created at:  May 31 20:03:04 2016
      administrative name: session_tunnel1
      interface name: ppp1
      created by admin: YES, peer session id: 41165
      session profile name: session_profile_tunnel1
      ppp profile name: ppp_profile_ppp1
      use data sequence numbers: OFF
      establish timeout: 120
      trace flags: PROTOCOL FSM API AVP FUNC XPRT DATA PPP SYSTEM
      framing types: SYNC ASYNC
      bearer types: DIGITAL ANALOG
      call serial number: 1
      sub address: 'office1'
    Status:-
      data rx packets: 4, rx bytes: 100, rx errors: 0
      data tx packets: 4, tx bytes: 132, tx errors: 0
      Peer configuration data:-
        framing types: NONE
        bearer types: NONE
      memory usage: 2011 bytes
      Events:-
        20:03:04 INCALL_IND in state IDLE, new state WAITTUNNEL
        20:03:04 TUNNEL_OPEN_IND in state WAITTUNNEL, new state WAITREPLY
        20:03:04 ICRP_ACCEPT in state WAITREPLY, new state ESTABLISHED
        20:03:40 CLOSE_REQ in state ESTABLISHED, new state IDLE
        20:04:41 TUNNEL_OPEN_IND in state IDLE, new state WAITREPLY
        20:04:41 ICRP_ACCEPT in state WAITREPLY, new state ESTABLISHED

## 関連コマンド