show services l2tp tunnel
Syntax
show services l2tp tunnel <brief | detail | extensive> <local-gateway gateway-address> <local-gateway-name gateway-name> <local-tunnel-id tunnel-id> <peer-gateway gateway-address> <peer-gateway-name gateway-name> <statistics> <tunnel-group group-name>
Description
Display information about L2TP tunnels for LAC and LNS; the tunnels may or may not have active sessions.
Options
none | Display standard information about all active L2TP tunnels. |
brief | detail | extensive | (Default) Display the specified level of output. |
local-gateway gateway-address | (Optional) Display L2TP tunnel information for only the specified local gateway address. |
local-gateway-name gateway-name | (Optional) Display L2TP tunnel information for only the specified local gateway name. |
local-tunnel-id tunnel-id | (Optional) Display L2TP tunnel information for only the specified local tunnel identifier. |
peer-gateway gateway-address | (Optional) Display L2TP tunnel information for only the specified peer gateway address. |
peer-gateway-name gateway-name | (Optional) Display L2TP tunnel information for only the specified peer gateway name. |
statistics | (Optional) Display the number of control packets and bytes transmitted and received for the tunnel. The statistics for a tunnel are retained until the tunnel is disconnected, rather than until the last session in the tunnel is cleared. Retaining the statistics enables them to increment in the event a new session subsequently uses the tunnel. You cannot include this option with any of the level options, |
tunnel-group group-name | (Optional) Display L2TP tunnel information for only the specified tunnel group. |
Required Privilege Level
view
Output Fields
show services l2tp tunnel lists the output fields for the
show services l2tp tunnel
command. Output fields are listed in the
approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
(LNS only) Name of an adaptive services interface. |
|
(LNS only) Name of a tunnel group. |
|
On the LNS, number assigned by the LNS that identifies the local endpoint of the tunnel relative to the LNS: the LNS. On the LAC, number assigned by the LAC that identifies the local endpoint of the tunnel relative to the LAC: the LAC. |
|
On the LNS, number assigned by the LAC that identifies the remote endpoint of the tunnel relative to the LNS: the LAC. On the LAC, number assigned by the LNS that identifies the remote endpoint of the tunnel relative to the LAC: the LNS. |
|
IP address of the peer endpoint of the tunnel. |
|
Number of L2TP sessions established through the tunnel. |
|
State of the L2TP tunnel:
|
|
(LAC only) Name of the created tunnel. This value includes the destination name followed by the value of the RADIUS Tunnel-Assignment-ID VSA [82]. |
|
IP address of the local endpoint of the tunnel. |
|
Name used for local tunnel endpoint during tunnel negotiation. |
|
Name used for remote tunnel endpoint during tunnel negotiation. |
|
(LAC only) Peer resynchronization mechanism (PRM) in effect for the tunnel:
|
|
NAS port method (type), which indicates whether the LAC sends Cisco NAS Port Info AVP (100) in ICRQs to the LNS:
|
|
Logical system in which the L2TP tunnel is brought up. |
|
Routing instance in which the L2TP tunnel is brought up. |
|
Maximum number of sessions that can be established on this tunnel. The displayed limit for configured sessions is set to the lowest of the following configured session values for either LAC or LNS:
For LNS only, the following configuration is also considered:
|
|
Number of control messages that can be sent without receipt of an acknowledgment. |
|
Interval between the transmission of hello messages, in seconds. |
|
Date and time when the tunnel was created. While the LNS and LAC are connected, this value should correspond to the when the call was created. If connection to the LAC is severed, the State changes to |
|
Amount of time elapsed since the tunnel became active, in hours, minutes, and seconds. |
|
Amount of time elapsed since the tunnel became idle, in hours, minutes, and seconds. |
|
Date and time when collection of the following statistics began:
|
Sample Output
- show services l2tp tunnel (LAC)
- show services l2tp tunnel detail (LAC)
- show services l2tp tunnel detail (LNS)
- show services l2tp tunnel extensive (LAC)
- show services l2tp tunnel extensive (LNS)
- show services l2tp tunnel statistics
show services l2tp tunnel (LAC)
user@host> show services l2tp tunnel Local ID Remote ID Remote IP Sessions State 17185 1 203.0.113.101:1701 1 Established
show services l2tp tunnel detail (LAC)
user@host> show services l2tp tunnel detail Tunnel local ID: 17301, Tunnel remote ID: 1 Remote IP: 203.0.113.101:1701 Sessions: 1, State: Established Tunnel Name: 2/tunnel-to-LNS-2 Local IP: 192.0.2.2:1701 Local name: ce-lac, Remote name: ce-lns Effective Peer Resync Mechanism: silent failover Tunnel Logical System: default, Tunnel Routing Instance: default
show services l2tp tunnel detail (LNS)
user@host> show services l2tp tunnel detail Tunnel local ID: 17301, Tunnel remote ID: 1 Remote IP: 198.51.100.15:1701 Sessions: 1, State: Established Tunnel Name: 2/2 Local IP: 198.51.100.5:1701 Local name: ce-bras-mx240-e, Remote name: testlac2 Effective Peer Resync Mechanism: silent failover Tunnel Logical System: default, Tunnel Routing Instance: vrf1
show services l2tp tunnel extensive (LAC)
user@host> show services l2tp tunnel extensive Tunnel local ID: 17185, Tunnel remote ID: 1 Remote IP: 203.0.113.101:1701 Sessions: 1, State: Established Tunnel Name: 2/tunnel-to-LNS-2 Local IP: 192.0.2.22:1701 Local name: ce-lac, Remote name: ce-lns Effective Peer Resync Mechanism: failover protocol Max sessions: 32000, Window size: 4, Hello interval: 60 Create time: Tue Nov 9 15:23:29 2010, Up time: 00:00:26 Idle time: 00:00:00
show services l2tp tunnel extensive (LNS)
user@host> show services l2tp tunnel extensive Tunnel local ID: 40553, Tunnel remote ID: 1 Remote IP: 192.0.2.3:1701 Sessions: 1, State: Established Tunnel Name: 3/1838 Local IP: 203.0.113.2:1701 Local name: lns-mx960, Remote name: testlac Effective Peer Resync Mechanism: silent failover Nas Port Method: none Tunnel Logical System: default, Tunnel Routing Instance: vrf1 Max sessions: 60000, Window size: 4, Hello interval: 60 Create time: Mon Apr 25 20:27:50 2011, Up time: 00:01:11 Idle time: 00:00:00, ToS Reflect: Enabled Tunnel Group Name: tg1 Statistics since: Mon Apr 25 20:27:50 2011 Packets Bytes Control Tx 4 219 Control Rx 4 221 Data Tx 0 0 Data Rx 6 64 Errors Tx 0 Errors Rx 0
show services l2tp tunnel statistics
user@host>show services l2tp tunnel statistics Tunnel local ID: 17185, Tunnel remote ID: 1 Sessions: 31.8k, State: Established Statistics since: Mon Aug 1 13:21:38 2011 Packets Bytes Control Tx 90.3k 9.0M Control Rx 32.0k 1296.9k Data Tx 127.3k 1591.6k Data Rx 100.8k 1273.4k Errors Tx 0 Errors Rx 0